Explorar o código

feat(types): 分享项目要包含建设项目ID

vian %!s(int64=4) %!d(string=hai) anos
pai
achega
2dfafe742b
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      types/src/interface/share.ts

+ 3 - 0
types/src/interface/share.ts

@@ -20,6 +20,7 @@ export interface IShareProject extends ISharePermission {
   shareDate: number;
   updateDate?: number;
   projectID: string; // 项目ID
+  constructionID: string; // 项目所属建设项目ID,涉及到一些层级,有这个字段会更方便
   compilationID: string;
   isRead?: boolean;
 }
@@ -90,6 +91,8 @@ export interface IShareLink {
   password?: string;
   // 分享的项目ID
   projectID: string;
+  // 所属建设项目ID
+  constructionID: string;
   // 项目所属费用定额ID
   compilationID: string;
   // 拥有者ID