profile update

This commit is contained in:
2026-04-07 12:20:05 +07:00
parent a1af516879
commit 91f3b16634
9 changed files with 227 additions and 135 deletions

View File

@@ -25,3 +25,29 @@ export interface UserData {
roles: UserRole[];
}
export interface Profile {
avatar_url?: string;
bio?: string;
country_code?: string;
display_name?: string;
full_name?: string;
location?: string;
phone?: string;
website?: string;
}
export interface Data {
email?: string;
profile?: Profile;
roles?: Role[];
id: string;
}
export interface Role {
id?: number;
name?: string;
}
export interface UserMetaCardProps {
message?: string;
status?: boolean;
data?: Data;
}