feat: adding new messages to hero panel

This commit is contained in:
Chubby Granny Chaser 2024-05-24 00:26:21 +01:00
parent a240c3ae24
commit d431c01d1b
No known key found for this signature in database
28 changed files with 398 additions and 358 deletions

View file

@ -148,7 +148,7 @@ export interface SteamGame {
clientIcon: string | null;
}
export type AppUpdaterEvents =
export type AppUpdaterEvent =
| { type: "error" }
| { type: "checking-for-updates" }
| { type: "update-not-available" }
@ -156,3 +156,13 @@ export type AppUpdaterEvents =
| { type: "update-downloaded" }
| { type: "download-progress"; info: ProgressInfo }
| { type: "update-cancelled" };
/* Events */
export interface StartGameDownloadPayload {
repackId: number;
objectID: string;
title: string;
shop: GameShop;
downloadPath: string;
downloader: Downloader;
}