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[]
|
responsiblePerson WorkflowTemplateStepUser[]
|
||||||
responsibleInstitution WorkflowTemplateStepInstitution[]
|
responsibleInstitution WorkflowTemplateStepInstitution[]
|
||||||
|
|
||||||
|
attributes Json?
|
||||||
|
|
||||||
workflowTemplate WorkflowTemplate? @relation(fields: [workflowTemplateId], references: [id], onDelete: Cascade)
|
workflowTemplate WorkflowTemplate? @relation(fields: [workflowTemplateId], references: [id], onDelete: Cascade)
|
||||||
workflowTemplateId String?
|
workflowTemplateId String?
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ type WorkflowPayload = {
|
||||||
detail?: string | null;
|
detail?: string | null;
|
||||||
type?: string | null;
|
type?: string | null;
|
||||||
value?: string[] | null;
|
value?: string[] | null;
|
||||||
|
attributes?: { [key: string]: any };
|
||||||
responsiblePersonId?: string[];
|
responsiblePersonId?: string[];
|
||||||
responsibleInstitution?: string[];
|
responsibleInstitution?: string[];
|
||||||
}[];
|
}[];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue