迁移后端认证与拆分 Spacetime 客户端

This commit is contained in:
2026-04-24 14:10:11 +08:00
parent ef53028be5
commit 4f369617c7
55 changed files with 9206 additions and 343 deletions

View File

@@ -32,6 +32,26 @@ export type AuthEntryResponse = {
user: AuthUser;
};
export type AuthPasswordChangeRequest = {
currentPassword?: string;
newPassword: string;
};
export type AuthPasswordChangeResponse = {
user: AuthUser;
};
export type AuthPasswordResetRequest = {
phone: string;
code: string;
newPassword: string;
};
export type AuthPasswordResetResponse = {
token: string;
user: AuthUser;
};
export type AuthPhoneSendCodeRequest = {
phone: string;
scene?: 'login' | 'bind_phone' | 'change_phone';