vian 4 лет назад
Родитель
Сommit
9f87db4d7d
1 измененных файлов с 12 добавлено и 6 удалено
  1. 12 6
      types/src/interface/share.ts

+ 12 - 6
types/src/interface/share.ts

@@ -77,12 +77,6 @@ export interface IBulkShare {
   remove?: IDelShare[];
 }
 
-// 初始化分享弹窗时需要的数据
-export interface IPreparePopup {
-  history: IShareHistory[];
-  recentContacts: IRecentUser[];
-}
-
 // 分享链接
 export interface IShareLink {
   // 链接ID
@@ -95,8 +89,20 @@ export interface IShareLink {
   projectID: string;
   // 项目所属费用定额ID
   compilationID: string;
+  // 拥有者ID
+  owner: string;
   // 创建链接的人ID
   creator: string;
   // 分享时间
   shareDate: number;
 }
+
+// 初始化分享弹窗时需要的数据
+export interface IPreparePopup {
+  // 已分享
+  history: IShareHistory[];
+  // 最近分享
+  recentContacts: IRecentUser[];
+  // 分享链接
+  shareLink?: IShareLink;
+}