fix: admin users
Deploy banu-front / deploy (push) Failing after 16s

This commit is contained in:
sajjadtalkhabi
2026-06-10 20:55:54 +03:30
parent b8ccbcc030
commit b9fa65b84f
51 changed files with 373 additions and 255 deletions
+4 -5
View File
@@ -16,12 +16,11 @@ export const rejectionReasonSchema = object().shape({
})
const baseUserShape = {
roleId: string().required(),
firstName: string().required().min(2),
lastName: string().required().min(2),
phoneNumber: phoneNumberRule,
role: string().required(),
name: string().required().min(3),
phone: phoneNumberRule,
nationalCode: nationalCodeRule,
birthDate: string().nullable().notRequired(),
birthday: string().nullable().notRequired(),
maritalStatus: string().nullable().notRequired(),
gender: string().nullable().notRequired(),
bio: string().nullable().notRequired(),