feat: signout modal text

This commit is contained in:
Zamitto
2024-06-20 18:09:49 -03:00
parent 468af807b0
commit adcb505ab7
10 changed files with 47 additions and 49 deletions

View File

@@ -14,7 +14,6 @@ import type {
RealDebridUser,
DownloadSource,
UserProfile,
RunningGameEvent,
} from "@types";
import type { DiskSpace } from "check-disk-space";
@@ -72,8 +71,10 @@ declare global {
removeGame: (gameId: number) => Promise<void>;
deleteGameFolder: (gameId: number) => Promise<unknown>;
getGameByObjectID: (objectID: string) => Promise<Game | null>;
onRunningGames: (
cb: (runningGames: RunningGameEvent) => void
onGamesRunning: (
cb: (
gamesRunning: Pick<GameRunning, "id" | "sessionDurationInMillis">[]
) => void
) => () => Electron.IpcRenderer;
onLibraryBatchComplete: (cb: () => void) => () => Electron.IpcRenderer;