vian 5 лет назад
Родитель
Сommit
a663810c00
1 измененных файлов с 5 добавлено и 2 удалено
  1. 5 2
      types/src/interface/share.ts

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

@@ -41,8 +41,11 @@ export type ShareItem = IShareProject | IShareLib;
 
 // 分享历史
 export interface IShareHistory extends ISharePermission {
+  ID: string; // 分享ID
   user: IUser;
   shareType: ShareType;
+  projectID?: string;
+  compilationID?: string;
 }
 
 export interface ICreatShare {
@@ -52,7 +55,7 @@ export interface ICreatShare {
 }
 
 export interface IUpdateShare {
-  filter: { receiver: string; projectID?: string; compilationID?: string };
+  filter: { ID: string; projectID?: string; compilationID?: string };
   update: {
     updateDate?: number;
     isRead?: boolean;
@@ -63,7 +66,7 @@ export interface IUpdateShare {
 }
 
 export interface IDelShare {
-  filter: { receiver: string; projectID?: string; compilationID?: string };
+  filter: { ID: string; projectID?: string; compilationID?: string };
   type: ShareType;
 }