Procházet zdrojové kódy

feat(types): 分享定额库调整

vian před 4 roky
rodič
revize
6b792109d1
2 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 3 0
      types/src/interface/ration.ts
  2. 2 0
      types/src/interface/share.ts

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

@@ -1,3 +1,4 @@
+import { IReceivedShareLib } from './share';
 /* eslint-disable camelcase */
 import {
   RationPrefix,
@@ -448,4 +449,6 @@ export enum RationSubProp {
 export interface IPrepareCptRationLib {
   // 定额库分享人数
   shareCount: number;
+  // 接收到的分享定额库数据
+  receiveLibs: IReceivedShareLib[];
 }

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

@@ -152,4 +152,6 @@ export interface IReceivedShareLib {
   shareDate: number;
   // 来自用户名
   fromUserName: string;
+  // 指定用户(名称)
+  toUsers?: string[];
 }