Jelajahi Sumber

feat(types): 分享库调整

vian 4 tahun lalu
induk
melakukan
46a6d8e7bd
2 mengubah file dengan 20 tambahan dan 0 penghapusan
  1. 6 0
      types/src/interface/ration.ts
  2. 14 0
      types/src/interface/share.ts

+ 6 - 0
types/src/interface/ration.ts

@@ -443,3 +443,9 @@ export enum RationSubProp {
   INS = 'rationInstallList', // 定额安装增加费
   INS = 'rationInstallList', // 定额安装增加费
   TPL = 'rationTemplate', // 定额子目模板
   TPL = 'rationTemplate', // 定额子目模板
 }
 }
+
+// 进入定额库需要准备的数据(一些状态)
+export interface IPrepareCptRationLib {
+  // 定额库分享人数
+  shareCount: number;
+}

+ 14 - 0
types/src/interface/share.ts

@@ -139,3 +139,17 @@ export interface IPrepareShareLinkProject {
   // 报表设置信息(用户)
   // 报表设置信息(用户)
   customizeCfg: any;
   customizeCfg: any;
 }
 }
+
+// 接收到的库数据
+export interface IReceivedShareLib {
+  // 类型
+  type: ShareType;
+  // 库名称
+  name: string;
+  // 拼接成的库ID(非分享数据ID)
+  ID: string;
+  // 分享时间
+  shareDate: number;
+  // 来自用户名
+  fromUserName: string;
+}