🐛 fix(locales): Add error message for incorrect user information

This commit is contained in:
web@ppanel
2025-01-28 13:43:53 +07:00
parent 331bbea45f
commit 3d92902f1b
26 changed files with 130 additions and 10 deletions
+18 -3
View File
@@ -69,6 +69,12 @@ declare namespace API {
register: RegisterConfig;
};
type AuthMethod = {
auth_type: string;
auth_identifier: string;
verified: boolean;
};
type CheckUserParams = {
email: string;
};
@@ -571,9 +577,6 @@ declare namespace API {
type User = {
id: number;
email: string;
telephone: string;
telephone_area_code: string;
avatar: string;
balance: number;
commission: number;
@@ -590,6 +593,7 @@ declare namespace API {
enable_login_notify: boolean;
enable_subscribe_notify: boolean;
enable_trade_notify: boolean;
auth_methods: AuthMethod[];
created_at: number;
updated_at: number;
deleted_at?: number;
@@ -613,6 +617,17 @@ declare namespace API {
created_at: number;
};
type UserDevice = {
id: number;
user_id: number;
device_number: string;
online: boolean;
last_online: number;
enabled: boolean;
created_at: number;
updated_at: number;
};
type UserLoginRequest = {
email: string;
password: string;