Jelajahi Sumber

feat(types): 存入指标库数据传输类型

zhangweicheng 4 tahun lalu
induk
melakukan
3b17a83cef
2 mengubah file dengan 14 tambahan dan 1 penghapusan
  1. 1 1
      types/package.json
  2. 13 0
      types/src/interface/project.ts

+ 1 - 1
types/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@sc/types",
-  "version": "1.0.36",
+  "version": "1.0.37",
   "description": "共用类型文件",
   "main": "./dist/index.cjs.js",
   "module": "./dist/index.esm.js",

+ 13 - 0
types/src/interface/project.ts

@@ -411,3 +411,16 @@ export interface IImportLog {
   constructID?: string;
   constructName?: string;
 }
+export interface ISaveUnitInfo {
+  unitName: string;
+  singleName: string;
+  constructionName: string;
+  unitID: string;
+  singleID: string;
+  constructionID: string;
+  indexTypes: string[];
+  projLocation: string;
+  year: string;
+  month: string;
+  fileType: FileType;
+}