You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
474 B

import { LogLevel } from "logger/common"
import AppConfig from "./app_config.json"
import ExeConfig from "./exe_config.json"
// 定义主题类型
type ThemeType = "light" | "dark" | "auto"
// 定义语言类型
type LanguageType = "zh" | "en"
export type IConfig = typeof AppConfig &
Pick<Partial<typeof AppConfig>, "common.theme"> & {
language: LanguageType
"common.theme": ThemeType
"dev:debug": LogLevel
}
export default {
AppConfig,
ExeConfig,
}