mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: show current game on other users profile
This commit is contained in:
parent
bde396c7db
commit
629b005ea4
4 changed files with 43 additions and 17 deletions
|
@ -141,9 +141,8 @@ export interface Game {
|
|||
export type LibraryGame = Omit<Game, "repacks">;
|
||||
|
||||
export interface GameRunning {
|
||||
id: number;
|
||||
title: string;
|
||||
iconUrl: string;
|
||||
iconUrl: string | null;
|
||||
objectID: string;
|
||||
shop: GameShop;
|
||||
sessionDurationInMillis: number;
|
||||
|
@ -318,7 +317,7 @@ export interface UserProfile {
|
|||
friends: UserFriend[];
|
||||
totalFriends: number;
|
||||
relation: UserRelation | null;
|
||||
currentGame: UserGame | null;
|
||||
currentGame: GameRunning | null;
|
||||
}
|
||||
|
||||
export interface UpdateProfileProps {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue