Explorar o código

feat(types): 新增generalSetting

LuoHaoxuan %!s(int64=3) %!d(string=hai) anos
pai
achega
8ba7311ef6
Modificáronse 2 ficheiros con 10 adicións e 0 borrados
  1. 9 0
      types/src/interface/generalSetting.ts
  2. 1 0
      types/src/interface/index.ts

+ 9 - 0
types/src/interface/generalSetting.ts

@@ -0,0 +1,9 @@
+export interface IWorkbench {
+  earlyWarningDays: number;
+  emergencyDays: number;
+}
+
+export interface IGeneralSetting {
+  ID: string;
+  workbench: IWorkbench;
+}

+ 1 - 0
types/src/interface/index.ts

@@ -40,3 +40,4 @@ export * from './gatherYsProfileFile';
 export * from './platformSwitch';
 export * from './area';
 export * from './processLog';
+export * from './generalSetting';