mirror of
https://github.com/Novattz/creamlinux-installer.git
synced 2026-05-02 13:02:04 -04:00
hook up #93
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { createContext } from 'react'
|
||||
import { Game, DlcInfo } from '@/types'
|
||||
import { Game, DlcInfo, EpicGame } from '@/types'
|
||||
import { ActionType } from '@/components/buttons/ActionButton'
|
||||
import { DlcDialogState } from '@/hooks/useDlcManager'
|
||||
|
||||
@@ -49,6 +49,16 @@ export interface AppContextType {
|
||||
handleDlcDialogClose: () => void
|
||||
handleUpdateDlcs: (gameId: string) => Promise<void>
|
||||
|
||||
// Epic Games
|
||||
epicGames: EpicGame[]
|
||||
epicLoading: boolean
|
||||
epicInstallingId: string | null
|
||||
loadEpicGames: () => Promise<void>
|
||||
handleEpicInstall: (game: EpicGame) => void
|
||||
handleEpicUninstallScream: (game: EpicGame) => void
|
||||
handleEpicUninstallKoaloader: (game: EpicGame) => void
|
||||
handleEpicSettings: (game: EpicGame) => void
|
||||
|
||||
// Game actions
|
||||
progressDialog: ProgressDialogState
|
||||
handleGameAction: (gameId: string, action: ActionType) => Promise<void>
|
||||
|
||||
Reference in New Issue
Block a user