mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-07-25 01:13:57 +10:00
refactor: Converting useGame to DownloadableMetadata
Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user