This commit is contained in:
2026-04-29 20:56:59 +08:00
parent fb6f455530
commit 730f485f48
200 changed files with 9881 additions and 2221 deletions

View File

@@ -6,6 +6,7 @@ export type AuthUser = {
publicUserCode: string;
username: string;
displayName: string;
avatarUrl: string | null;
phoneNumberMasked: string | null;
loginMethod: AuthLoginMethod;
bindingStatus: AuthBindingStatus;
@@ -16,6 +17,7 @@ export type PublicUserSummary = {
id: string;
publicUserCode: string;
displayName: string;
avatarUrl: string | null;
};
export type PublicUserSearchResponse = {
@@ -41,6 +43,15 @@ export type AuthPasswordChangeResponse = {
user: AuthUser;
};
export type AuthProfileUpdateRequest = {
displayName?: string;
avatarDataUrl?: string;
};
export type AuthProfileUpdateResponse = {
user: AuthUser;
};
export type AuthPasswordResetRequest = {
phone: string;
code: string;