refactor: Converting useGame to DownloadableMetadata

Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
quexeky
2025-06-05 12:59:45 +10:00
parent beea0505d1
commit 9b68ebc910
11 changed files with 144 additions and 114 deletions
+9 -1
View File
@@ -38,6 +38,7 @@ export type Game = {
};
export type GameVersion = {
versionName: string;
launchCommandTemplate: string;
};
@@ -75,7 +76,7 @@ export enum DownloadableType {
export type DownloadableMetadata = {
id: string;
version: string;
version?: string;
downloadType: DownloadableType;
};
@@ -84,3 +85,10 @@ export type Settings = {
maxDownloadThreads: number;
forceOffline: boolean;
};
export type QueueMetadata = {
mName: string;
cover: string;
mShortDescription: string;
}