Rename pipeline schema (#184)
This commit is contained in:
@ -0,0 +1,27 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { InputType } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
|
||||
@InputType()
|
||||
export class PipelineProgressCreateManyPipelineInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
id!: string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
createdAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
updatedAt?: Date | string;
|
||||
|
||||
@Field(() => Date, { nullable: true })
|
||||
deletedAt?: Date | string;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
pipelineStageId!: string;
|
||||
|
||||
@Field(() => PipelineProgressableType, { nullable: false })
|
||||
associableType!: keyof typeof PipelineProgressableType;
|
||||
|
||||
@Field(() => String, { nullable: false })
|
||||
associableId!: string;
|
||||
}
|
||||
Reference in New Issue
Block a user