fix(pipelines): 更新时重复判断时误判问题。

This commit is contained in:
Ivan Li
2021-06-27 10:32:39 +08:00
parent b626eed859
commit 9d735c582c
5 changed files with 33 additions and 14 deletions

View File

@@ -1,9 +1,10 @@
import { InputType, ObjectType } from '@nestjs/graphql';
import { Field, InputType, Int, ObjectType } from '@nestjs/graphql';
import { WorkUnit } from './work-unit.model';
@InputType('WorkUnitMetadataInput')
@ObjectType()
export class WorkUnitMetadata {
@Field(() => Int)
version = 1;
units: WorkUnit[];
}