Localize order modals, add dual logos, and improve admin order tools.

Farsi business order/variation UI, light/dark logo upload on business profile, payment order steps, variation editing, super-admin site links, and checkout/auth fixes.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-26 00:21:48 +03:30
co-authored by Cursor
parent dc570c1e7f
commit 5e799eddf9
30 changed files with 779 additions and 169 deletions
+12 -2
View File
@@ -43,15 +43,25 @@ export interface LoginResponse {
user: AuthUser
accessToken: string
refreshToken: string
/** True when a pending cross-site password change was applied after OTP. */
passwordUpdated?: boolean
}
export interface MeResponse {
user: AuthUser
}
export interface RegisterResponse extends LoginResponse {
export interface RegisterResponse {
message: string
user: AuthUser
accessToken?: string
refreshToken?: string
smsEnabled?: boolean
/** True when an existing Meshkee account was linked and its password was replaced. */
/** True when OTP is still required before the session is usable. */
requiresOtp?: boolean
/** True when a new password is held until OTP succeeds. */
passwordPending?: boolean
/** True when an existing Meshkee account password was already replaced. */
passwordUpdated?: boolean
registeredBusiness?: { id: string; name: string; slug: string }
}