feat: add attributes to workflow template
This commit is contained in:
parent
aebbed0145
commit
672647b61b
2 changed files with 3 additions and 0 deletions
|
|
@ -999,6 +999,8 @@ model WorkflowTemplateStep {
|
|||
responsiblePerson WorkflowTemplateStepUser[]
|
||||
responsibleInstitution WorkflowTemplateStepInstitution[]
|
||||
|
||||
attributes Json?
|
||||
|
||||
workflowTemplate WorkflowTemplate? @relation(fields: [workflowTemplateId], references: [id], onDelete: Cascade)
|
||||
workflowTemplateId String?
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ type WorkflowPayload = {
|
|||
detail?: string | null;
|
||||
type?: string | null;
|
||||
value?: string[] | null;
|
||||
attributes?: { [key: string]: any };
|
||||
responsiblePersonId?: string[];
|
||||
responsibleInstitution?: string[];
|
||||
}[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue