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 { InputType } from '@nestjs/graphql';
|
||||
import { PipelineProgressableType } from '../prisma/pipeline-progressable-type.enum';
|
||||
import { HideField } from '@nestjs/graphql';
|
||||
import { PipelineStageUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-stage/pipeline-stage-unchecked-create-nested-many-without-pipeline.input';
|
||||
import { PipelineProgressUncheckedCreateNestedManyWithoutPipelineInput } from '../pipeline-progress/pipeline-progress-unchecked-create-nested-many-without-pipeline.input';
|
||||
@ -24,6 +25,9 @@ export class PipelineUncheckedCreateInput {
|
||||
@Field(() => String, { nullable: false })
|
||||
icon!: string;
|
||||
|
||||
@Field(() => PipelineProgressableType, { nullable: true })
|
||||
pipelineProgressableType?: keyof typeof PipelineProgressableType;
|
||||
|
||||
@HideField()
|
||||
workspaceId!: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user