diff --git a/prisma/schema.prisma b/prisma/schema.prisma index d9975e3..fd697b2 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -999,6 +999,8 @@ model WorkflowTemplateStep { responsiblePerson WorkflowTemplateStepUser[] responsibleInstitution WorkflowTemplateStepInstitution[] + attributes Json? + workflowTemplate WorkflowTemplate? @relation(fields: [workflowTemplateId], references: [id], onDelete: Cascade) workflowTemplateId String? } diff --git a/src/controllers/04-flow-template-controller.ts b/src/controllers/04-flow-template-controller.ts index ff81158..f8980f5 100644 --- a/src/controllers/04-flow-template-controller.ts +++ b/src/controllers/04-flow-template-controller.ts @@ -34,6 +34,7 @@ type WorkflowPayload = { detail?: string | null; type?: string | null; value?: string[] | null; + attributes?: { [key: string]: any }; responsiblePersonId?: string[]; responsibleInstitution?: string[]; }[];