Explorar o código

feat(types): 在ICollaborator添加permissions属性

LuoHaoxuan %!s(int64=3) %!d(string=hai) anos
pai
achega
793f2d701d
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      types/src/interface/process.ts

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

@@ -153,10 +153,17 @@ export interface SimpleDynamicStep {
   executorName?: string;
 }
 
+export interface ICollaboratorPermission {
+  form: string[];
+  cost: string[];
+  profile: string[];
+}
+
 // 3合1协审人信息
 export interface ICollaborator {
   ID: string; // 用户ID
   deadline: string; //  截至时间
+  permissions?: ICollaboratorPermission[]; // 协审权限
 }
 // 3合1参与者信息
 export interface IProcedureParticipantInfo {