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