Parcourir la source

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

vian il y a 5 ans
Parent
commit
9420eb6c9b
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  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 interface ICreatShare {
+  receiver: string;
   doc: ShareItem;
   type: ShareType;
 }
 
 export interface IUpdateShare {
-  filter: { projectID?: string; compilationID?: string };
+  filter: { receiver: string; projectID?: string; compilationID?: string };
   update: {
     updateDate?: number;
     isRead?: boolean;
@@ -52,7 +53,7 @@ export interface IUpdateShare {
 }
 
 export interface IDelShare {
-  filter: { projectID?: string; compilationID?: string };
+  filter: { receiver: string; projectID?: string; compilationID?: string };
   type: ShareType;
 }