2024-06-11 12:56:51 +02:00

30 lines
794 B
TypeScript

import rawConfig from "@/config.json";
interface IConfig {
mongodbUrl: string;
logger: ILoggerConfig;
myAddress: string;
httpPort?: number;
httpsPort?: number;
autoCreateAccount?: boolean;
skipStoryModeChoice?: boolean;
skipTutorial?: boolean;
unlockAllScans?: boolean;
unlockAllMissions?: boolean;
unlockAllQuests?: boolean;
completeAllQuests?: boolean;
infiniteResources?: boolean;
unlockAllShipFeatures?: boolean;
unlockAllShipDecorations?: boolean;
unlockAllFlavourItems?: boolean;
unlockAllSkins?: boolean;
spoofMasteryRank?: number;
}
interface ILoggerConfig {
files: boolean;
level: string; // "fatal" | "error" | "warn" | "info" | "http" | "debug" | "trace";
}
export const config: IConfig = rawConfig;