feat: simplify phone-first authentication flow

This commit is contained in:
2026-09-28 22:06:42 +03:30
parent 4c969a7c9f
commit b7d5f7bc65
12 changed files with 150 additions and 401 deletions

View File

@@ -172,7 +172,7 @@ export interface RegisterOtpVerifySchema {
export interface OtpSendSchema {
mobile: string;
mode: "register" | "login" | "reset_password" | "verify_mobile" | "google_claim";
mode: "register" | "login" | "verify_mobile" | "google_claim";
}
export interface OtpSendResponseSchema {
@@ -194,12 +194,6 @@ export interface MobileLookupSchema {
has_password: boolean;
}
export interface PasswordResetSchema {
mobile: string;
code: string;
new_password: string;
}
export interface MobileOtpSendSchema {
mobile: string;
}