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:
Sammy Teillet
2023-06-20 10:56:36 +02:00
committed by GitHub
parent 950a0b77fe
commit c120903a45
50 changed files with 308 additions and 40 deletions

View File

@ -3,6 +3,7 @@ import { InputType } from '@nestjs/graphql';
import { StringFieldUpdateOperationsInput } from '../prisma/string-field-update-operations.input';
import { DateTimeFieldUpdateOperationsInput } from '../prisma/date-time-field-update-operations.input';
import { NullableDateTimeFieldUpdateOperationsInput } from '../prisma/nullable-date-time-field-update-operations.input';
import { EnumPipelineProgressableTypeFieldUpdateOperationsInput } from '../prisma/enum-pipeline-progressable-type-field-update-operations.input';
@InputType()
export class PipelineUpdateManyMutationInput {
@ -23,4 +24,9 @@ export class PipelineUpdateManyMutationInput {
@Field(() => StringFieldUpdateOperationsInput, { nullable: true })
icon?: StringFieldUpdateOperationsInput;
@Field(() => EnumPipelineProgressableTypeFieldUpdateOperationsInput, {
nullable: true,
})
pipelineProgressableType?: EnumPipelineProgressableTypeFieldUpdateOperationsInput;
}