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; infiniteResources?: boolean; unlockallShipFeatures?: boolean; unlockAllShipDecorations?: boolean; unlockAllFlavourItems?: boolean; spoofMasteryRank?: number; } interface ILoggerConfig { files: boolean; level: string; // "fatal" | "error" | "warn" | "info" | "http" | "debug" | "trace"; } export const config: IConfig = rawConfig;