diff --git a/src/stores/user/types.ts b/src/stores/user/types.ts index 8aab4fd8..44fbaa08 100644 --- a/src/stores/user/types.ts +++ b/src/stores/user/types.ts @@ -51,16 +51,16 @@ export type UserCreate = { gender: string; addressEN: string; address: string; - trainingPlace?: string; - importNationality?: string; - sourceNationality?: string; + trainingPlace?: string | null; + importNationality?: string | null; + sourceNationality?: string | null; licenseExpireDate?: Date | null; licenseIssueDate?: Date | null; - licenseNo?: string; + licenseNo?: string | null; discountCondition?: string; retireDate?: Date | null; startDate?: Date | null; - registrationNo?: string; + registrationNo?: string | null; lastNameEN: string; lastName: string; firstNameEN: string; @@ -68,5 +68,5 @@ export type UserCreate = { userRole: string; userType: string; keycloakId: string; - profileImage?: File; + profileImage: File; };