fix: type
This commit is contained in:
parent
02546b53aa
commit
b77c6dce1a
2 changed files with 2 additions and 2 deletions
|
|
@ -334,7 +334,7 @@ const useUserStore = defineStore('api-user', () => {
|
|||
|
||||
async function editById(
|
||||
id: string,
|
||||
data: Partial<UserCreate & { status: 'ACTIVE' | 'INACTIVE' }>,
|
||||
data: Partial<UserCreate & { status?: 'ACTIVE' | 'INACTIVE' }>,
|
||||
flow?: {
|
||||
sessionId: string;
|
||||
refTransactionId: string;
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ export type UserCreate = {
|
|||
userRole: string;
|
||||
userType: string;
|
||||
username: string;
|
||||
status: Status;
|
||||
status?: Status;
|
||||
profileImage?: File | null; // required but not strict
|
||||
birthDate?: Date | null;
|
||||
responsibleArea?: string | null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue