chore: 兼容数据库

This commit is contained in:
xiaojunnuo
2024-12-25 00:52:39 +08:00
parent 2d580a26af
commit c937f5afc7
9 changed files with 326 additions and 4 deletions
@@ -35,7 +35,9 @@ export type SysPublicSetting = {
managerOtherUserPipeline?: boolean;
icpNo?: string;
};
export type SuiteSetting = {
enabled?: boolean;
};
export type SysPrivateSetting = {
httpProxy?: string;
httpsProxy?: string;
@@ -67,6 +69,7 @@ export type AllSettings = {
siteInfo: SiteInfo;
siteEnv: SiteEnv;
headerMenus: HeaderMenus;
suiteSetting: SuiteSetting;
};
export async function loadAllSettings(): Promise<AllSettings> {