diff --git a/src/stores/branch/types.ts b/src/stores/branch/types.ts index 55a07087..76db798b 100644 --- a/src/stores/branch/types.ts +++ b/src/stores/branch/types.ts @@ -46,6 +46,7 @@ export type BranchCreate = { email: string; longitude: string; latitude: string; + status?: Status; subDistrictId?: string | null; districtId?: string | null; provinceId?: string | null; diff --git a/src/stores/user/index.ts b/src/stores/user/index.ts index 53f8b198..df4e0a98 100644 --- a/src/stores/user/index.ts +++ b/src/stores/user/index.ts @@ -334,7 +334,7 @@ const useUserStore = defineStore('api-user', () => { async function editById( id: string, - data: Partial>, + data: Partial, flow?: { sessionId: string; refTransactionId: string; diff --git a/src/stores/user/types.ts b/src/stores/user/types.ts index 137be587..c622f60f 100644 --- a/src/stores/user/types.ts +++ b/src/stores/user/types.ts @@ -74,6 +74,7 @@ export type UserCreate = { userRole: string; userType: string; username: string; + status: Status; profileImage?: File | null; // required but not strict birthDate?: Date | null; responsibleArea?: string | null;