Просмотр исходного кода

feat(types): 增加项目权限相关

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

+ 7 - 0
types/src/interface/project.ts

@@ -2,6 +2,7 @@ import { ValuationType } from './compilation';
 import { IIncreaseSetting } from './increaseFee';
 import { IIncreaseSetting } from './increaseFee';
 import { ITreeScm, DeleteEnum, INumFileRef, IColumnMeta } from './base';
 import { ITreeScm, DeleteEnum, INumFileRef, IColumnMeta } from './base';
 import { ICalcOption, ITenderSetting } from './calculation';
 import { ICalcOption, ITenderSetting } from './calculation';
+import { ISharePermission } from './share';
 
 
 export enum ProjectType {
 export enum ProjectType {
   FOLDER = 1,
   FOLDER = 1,
@@ -252,3 +253,9 @@ export interface IConstructionDefaultSetting {
   calcOption: IProperty['calcOption'];
   calcOption: IProperty['calcOption'];
   colMetas: IProject['colMetas'];
   colMetas: IProject['colMetas'];
 }
 }
+
+// 项目权限
+export interface IProjectPermission {
+  projectID: string;
+  share: ISharePermission;
+}