feat:profile endpoint change and complete pinning functionality

This commit is contained in:
Moyasee
2025-09-24 14:04:55 +03:00
parent 33c15baf0e
commit 092af7e421
12 changed files with 96 additions and 23 deletions

View File

@@ -73,8 +73,15 @@ export type UserGame = {
hasManuallyUpdatedPlaytime: boolean;
isFavorite: boolean;
isPinned: boolean;
pinnedDate?: Date | null;
} & ShopAssets;
export interface UserLibraryResponse {
totalCount: number;
library: UserGame[];
pinnedGames: UserGame[];
}
export interface GameRunning {
id: string;
title: string;

View File

@@ -45,6 +45,7 @@ export interface Game {
launchOptions?: string | null;
favorite?: boolean;
pinned?: boolean;
pinnedDate?: Date | null;
automaticCloudSync?: boolean;
hasManuallyUpdatedPlaytime?: boolean;
}