A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
TypeScript amazon-primeelectronepic-games-launcherepic-games-storeepic-storegaminggoggog-galaxyheroic-games-launcherlinuxplay-gamesprotonsteamwine
import React from 'react'
import { GameInfo } from 'common/types'
import { LibraryContextType } from 'frontend/types'
const initialContext: LibraryContextType = {
storesFilters: {
legendary: true,
gog: true,
nile: true,
sideload: true,
zoom: true,
itchio: true,
steam: true
},
platformsFilters: { win: true, linux: true, mac: true, browser: true },
filterText: '',
setStoresFilters: () => null,
handleLayout: () => null,
handleAddGameButtonClick: () => null,
setPlatformsFilters: () => null,
handleSearch: () => null,
layout: 'grid',
showHidden: false,
setShowHidden: () => null,
showFavourites: false,
setShowFavourites: () => null,
showNonAvailable: true,
setShowNonAvailable: () => null,
showInstalledOnly: false,
setShowInstalledOnly: () => null,
sortDescending: true,
setSortDescending: () => null,
sortInstalled: true,
setSortInstalled: () => null,
showSupportOfflineOnly: false,
setShowSupportOfflineOnly: () => null,
showThirdPartyManagedOnly: false,
setShowThirdPartyManagedOnly: () => null,
showBundlesOnly: false,
setShowBundlesOnly: () => null,
showFreeOnly: false,
setShowFreeOnly: () => null,
showUpdatesOnly: false,
setShowUpdatesOnly: () => null,
showSteamOwnedOnly: false,
setShowSteamOwnedOnly: () => null,
setShowCategories: () => null,
showAlphabetFilter: false,
onToggleAlphabetFilter: () => null,
alphabetFilterLetter: null,
setAlphabetFilterLetter: () => null,
gamesForAlphabetFilter: [] as GameInfo[]
}
export default React.createContext(initialContext)