Persist update on board drag and drop (#328)
* 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
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { Field } from '@nestjs/graphql';
|
||||
import { ObjectType } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
|
||||
@ObjectType()
|
||||
@ -22,6 +23,9 @@ export class PipelineMinAggregate {
|
||||
@Field(() => String, { nullable: true })
|
||||
icon?: string;
|
||||
|
||||
@Field(() => PipelineProgressableType, { nullable: true })
|
||||
pipelineProgressableType?: keyof typeof PipelineProgressableType;
|
||||
|
||||
@HideField()
|
||||
workspaceId?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user