|
|
@@ -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;
|
|
|
}
|
|
|
|