* chore: move dnd lib comment aligned with import * feature: add onUpdate on board * chore: remove multi entity pipelines * feature: add pipelineProgressableType field * feature: fetch progressableType in board * feature: implement on update to persist progress change
32 lines
834 B
TypeScript
32 lines
834 B
TypeScript
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;
|
|
}
|