fennec-be/src/pipeline-tasks/dtos/create-pipeline-task.input.ts
2021-03-12 23:00:12 +08:00

12 lines
237 B
TypeScript

import { Field, InputType } from '@nestjs/graphql';
import { PipelineUnits } from '../enums/pipeline-units.enum';
@InputType()
export class CreatePipelineTaskInput {
pipelineId: string;
commit: string;
units: PipelineUnits[];
}