1
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user