refactor: moved the game status to a global file (accessible to the render part) and used it in game entity

This commit is contained in:
lilezek
2024-04-29 20:50:10 +02:00
parent c6e4ba4789
commit 6fa4c178a7
13 changed files with 26 additions and 20 deletions

View File

@@ -1,3 +1,5 @@
import { GameStatus } from "@globals";
export type GameShop = "steam" | "epic";
export type CatalogueCategory = "recently_added" | "trending";
@@ -75,7 +77,7 @@ export interface Game extends Omit<CatalogueEntry, "cover"> {
id: number;
title: string;
iconUrl: string;
status: string;
status: GameStatus | "";
folderName: string;
downloadPath: string | null;
repacks: GameRepack[];