mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: add user badges
This commit is contained in:
parent
e086369b13
commit
cf202c8f01
8 changed files with 97 additions and 4 deletions
|
|
@ -130,6 +130,8 @@ export interface UserProfileCurrentGame extends Omit<GameRunning, "objectId"> {
|
|||
|
||||
export type ProfileVisibility = "PUBLIC" | "PRIVATE" | "FRIENDS";
|
||||
|
||||
export type UserBadge = "THEME_CREATOR";
|
||||
|
||||
export interface UserDetails {
|
||||
id: string;
|
||||
username: string;
|
||||
|
|
@ -164,6 +166,7 @@ export interface UserProfile {
|
|||
quirks: {
|
||||
backupsPerGameLimit: number;
|
||||
};
|
||||
badges: UserBadge[];
|
||||
}
|
||||
|
||||
export interface UpdateProfileRequest {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue