Просмотр исходного кода

feat(types): 系统设置定义新增

lishihao 5 лет назад
Родитель
Сommit
2698b1c9b9
2 измененных файлов с 9 добавлено и 1 удалено
  1. 1 1
      types/package.json
  2. 8 0
      types/src/interface/User.ts

+ 1 - 1
types/package.json

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

+ 8 - 0
types/src/interface/User.ts

@@ -60,3 +60,11 @@ export interface IUser {
   contacts?: IContact[];
   [key: string]: any;
 }
+
+export interface IOptions {
+  ID: string;
+  userID: string;
+  compilationID: string;
+  rationQtyFromBillQty: boolean;
+  rationQtyFromRationUnit: boolean;
+}