import { Field } from '@nestjs/graphql'; import { ObjectType } from '@nestjs/graphql'; import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum'; import { HideField } from '@nestjs/graphql'; @ObjectType() export class PipelineMinAggregate { @Field(() => String, { nullable: true }) 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: true }) name?: string; @Field(() => String, { nullable: true }) icon?: string; @Field(() => PipelineProgressableType, { nullable: true }) pipelineProgressableType?: keyof typeof PipelineProgressableType; @HideField() workspaceId?: string; }