* Hide workspace and refresh token from schema * Add pipe models and migrations * Add seeds * Update FE graphql schema
31 lines
836 B
TypeScript
31 lines
836 B
TypeScript
import { Field } from '@nestjs/graphql';
|
|
import { InputType } from '@nestjs/graphql';
|
|
import { PipelineAssociableType } from '../pipeline/pipeline-associable-type.enum';
|
|
|
|
@InputType()
|
|
export class PipelineAssociationCreateManyInput {
|
|
@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 })
|
|
pipelineId!: string;
|
|
|
|
@Field(() => String, { nullable: false })
|
|
pipelineStageId!: string;
|
|
|
|
@Field(() => PipelineAssociableType, { nullable: false })
|
|
associableType!: keyof typeof PipelineAssociableType;
|
|
|
|
@Field(() => String, { nullable: false })
|
|
associableId!: string;
|
|
}
|