fix: user status
Deploy banu-front / deploy (push) Failing after 7s

This commit is contained in:
sajjadtalkhabi
2026-06-11 16:57:17 +03:30
parent 130266b416
commit a007db0d50
17 changed files with 123 additions and 119 deletions
+6 -7
View File
@@ -39,16 +39,15 @@ export const STUDENT_REGISTRATION = Object.freeze({
export const STUDENT_REGISTRATION_ORDER = Object.freeze(Object.values(STUDENT_REGISTRATION))
// User lifecycle states (Set User Status endpoint):
// pending just registered
// verified phone OTP-confirmed
// approved full access
// blocked no access (existing tokens revoked)
// pending registered, phone not yet OTP-verified
// verified phone OTP-verified and registration steps completed (awaiting admin)
// approved approved by admin (full access)
// blocked blocked by admin (no access; existing tokens revoked)
export const USER_STATUS = Object.freeze({
pending: 'در انتظار',
verified: 'تأیید تلفن',
pending: 'تأیید نشده',
verified: 'در انتظار تأیید',
approved: 'تأیید شده',
blocked: 'مسدود',
rejected: 'رد شده',
})
export const MARITAL_STATUS = Object.freeze({