feat: adding dynamic badges

This commit is contained in:
Chubby Granny Chaser 2025-03-04 19:44:35 +00:00
parent 8513f83169
commit e5f7e9addc
No known key found for this signature in database
19 changed files with 118 additions and 103 deletions

View file

@ -130,7 +130,13 @@ export interface UserProfileCurrentGame extends Omit<GameRunning, "objectId"> {
export type ProfileVisibility = "PUBLIC" | "PRIVATE" | "FRIENDS";
export type UserBadge = "THEME_CREATOR";
export interface Badge {
name: string;
description: string;
badge: {
url: string;
};
}
export interface UserDetails {
id: string;
@ -166,7 +172,7 @@ export interface UserProfile {
quirks: {
backupsPerGameLimit: number;
};
badges: UserBadge[];
badges: string[];
}
export interface UpdateProfileRequest {