refactor: src/types

This commit is contained in:
pa
2025-07-16 12:14:13 +09:00
committed by Natsumi
parent 39381de29e
commit 342850dc7e
14 changed files with 280 additions and 292 deletions
+18 -16
View File
@@ -15,7 +15,7 @@ declare global {
Discord: Discord;
AssetBundleManager: AssetBundleManager;
webApiService: webApiService;
request: {};
request: any;
configRepository: any;
datebase: any;
gameLogService: any;
@@ -62,21 +62,23 @@ declare global {
overlayHand: int
) => Promise<void>;
};
__APP_GLOBALS__: {
debug: boolean;
debugWebSocket: boolean;
debugUserDiff: boolean;
debugPhotonLogging: boolean;
debugGameLog: boolean;
debugWebRequests: boolean;
debugFriendState: boolean;
errorNoty: any;
dontLogMeOut: boolean;
endpointDomain: string;
endpointDomainVrchat: string;
websocketDomain: string;
websocketDomainVrchat: string;
};
__APP_GLOBALS__: AppGlobals;
}
interface AppGlobals {
debug: boolean;
debugWebSocket: boolean;
debugUserDiff: boolean;
debugPhotonLogging: boolean;
debugGameLog: boolean;
debugWebRequests: boolean;
debugFriendState: boolean;
errorNoty: any;
dontLogMeOut: boolean;
endpointDomain: string;
endpointDomainVrchat: string;
websocketDomain: string;
websocketDomainVrchat: string;
}
const CefSharp: {