* perf: md format

* add systemConfig schema (#2)

* fix: markdown

* fix: root

* fix: root

---------

Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
This commit is contained in:
Archer
2023-12-08 16:33:15 +08:00
committed by GitHub
parent b58249fc3a
commit 84cf6b5658
8 changed files with 70 additions and 21 deletions

View File

@@ -0,0 +1,13 @@
export enum SystemConfigsTypeEnum {
fastgpt = 'fastgpt',
fastgptPro = 'fastgptPro'
}
export const SystemConfigsTypeMap = {
[SystemConfigsTypeEnum.fastgpt]: {
label: 'fastgpt'
},
[SystemConfigsTypeEnum.fastgptPro]: {
label: 'fastgptPro'
}
};

View File

@@ -0,0 +1,8 @@
import { SystemConfigsTypeEnum } from "./constants";
export type SystemConfigsType = {
_id: string;
type: `${SystemConfigsTypeEnum}`;
value: Record<string, any>;
createTime: Date;
};