feat: show current game on other users profile

This commit is contained in:
Zamitto 2024-08-19 19:56:20 -03:00
parent bde396c7db
commit 629b005ea4
4 changed files with 43 additions and 17 deletions

View file

@ -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 {