Add account stuff

This commit is contained in:
Lncvrt committed 2026-05-08 13:51:52 -07:00
1 parent dfc9b32264
commit 9e14aeaa0c
5 files changed
+402 -4

No files matched your search

+5
View File
@@ -52,6 +52,7 @@ type GlobalCtxType = {
getSpecialVersionsList: (game?: number) => GameVersion[]
settings: Store | null
versions: Store | null
account: Store | null
notificationsAllowed: boolean
sidebarAlwaysShowGames: boolean
linuxUseWine: boolean
@@ -61,6 +62,10 @@ type GlobalCtxType = {
developerMode: boolean
versionsList: Record<string, number>
modsList: Record<string, Record<string, number>>
accountSession: string | null
accountId: string | null
accountName: string | null
accountAdmin: boolean
movingData: boolean
setMovingData: Dispatch<SetStateAction<boolean>>
managingGame: number | null