chore: change the login and regitster flow to single route

This commit is contained in:
mahyargdz
2025-08-16 12:50:58 +03:30
parent 629b8dbdd5
commit ef57dc7107
24 changed files with 340 additions and 235 deletions
@@ -10,6 +10,7 @@ export enum NotifCategory {
export enum NotifType {
// Account category
USER_LOGIN = "USER_LOGIN",
USER_PASSWORD = "USER_PASSWORD",
ANNOUNCEMENT = "ANNOUNCEMENT",
// Finance category
@@ -50,6 +51,8 @@ export const NotifDescriptions: Record<NotifType, { fa: string; category: NotifC
// Account category
[NotifType.USER_LOGIN]: { fa: "ورود به ناحیه کاربری", category: NotifCategory.ACCOUNT },
[NotifType.ANNOUNCEMENT]: { fa: "اعلانات و اطلاعیه ها", category: NotifCategory.ACCOUNT },
//DO_NOT_CREATE_THIS_NOTIFICATION_IN_DATABASE
[NotifType.USER_PASSWORD]: { fa: "ارسال رمز عبور پیش‌فرض", category: NotifCategory.ACCOUNT },
// Finance category
[NotifType.PAYMENT_REMINDER]: { fa: "یادآوری پرداخت", category: NotifCategory.FINANCE },