chore: change the login and regitster flow to single route
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user