mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding dynamic badges
This commit is contained in:
parent
8513f83169
commit
e5f7e9addc
19 changed files with 118 additions and 103 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue