diff --git a/src/stores/types.ts b/src/stores/types.ts index 7a1ab7a5..92c5425c 100644 --- a/src/stores/types.ts +++ b/src/stores/types.ts @@ -49,6 +49,8 @@ export type UpdatedBy = { }; export interface CreatedBy { + selectedImage: string; + namePrefix: string; updatedByUserId: string; updatedAt: string; createdByUserId: string; diff --git a/src/stores/workflow-template/types.ts b/src/stores/workflow-template/types.ts index f6a629d7..f8319bb2 100644 --- a/src/stores/workflow-template/types.ts +++ b/src/stores/workflow-template/types.ts @@ -19,6 +19,7 @@ export type WorkflowStep = { export type WorkflowTemplate = { id: string; name: string; + registeredBranchId: string; step: WorkflowStep[]; status: Status; statusOrder: number; @@ -30,11 +31,27 @@ export type WorkflowTemplate = { export type WorkflowTemplatePayload = { registeredBranchId?: string; + status: Status; name: string; step: { name: string; - type?: string; + type?: string | null; value?: string[]; responsiblePersonId?: string[]; }[]; }; + +export type WorkflowUserInTable = { + name: string; + resposiblePerson: { + id: string; + selectedImage?: string; + gender: string; + namePrefix?: string | null; + firstName: string; + lastName: string; + firstNameEN: string; + lastNameEN: string; + code: string; + }[]; +};