Преглед изворни кода

refactor(types): 分享相关类型变更

vian пре 5 година
родитељ
комит
9420eb6c9b
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      types/src/interface/share.ts

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

@@ -36,12 +36,13 @@ export interface IShare {
 export type ShareItem = IShareProject | IShareLib;
 export type ShareItem = IShareProject | IShareLib;
 
 
 export interface ICreatShare {
 export interface ICreatShare {
+  receiver: string;
   doc: ShareItem;
   doc: ShareItem;
   type: ShareType;
   type: ShareType;
 }
 }
 
 
 export interface IUpdateShare {
 export interface IUpdateShare {
-  filter: { projectID?: string; compilationID?: string };
+  filter: { receiver: string; projectID?: string; compilationID?: string };
   update: {
   update: {
     updateDate?: number;
     updateDate?: number;
     isRead?: boolean;
     isRead?: boolean;
@@ -52,7 +53,7 @@ export interface IUpdateShare {
 }
 }
 
 
 export interface IDelShare {
 export interface IDelShare {
-  filter: { projectID?: string; compilationID?: string };
+  filter: { receiver: string; projectID?: string; compilationID?: string };
   type: ShareType;
   type: ShareType;
 }
 }