浏览代码

fix(types): 编办信息新增结构分部、单体结构的type

lishihao 4 年之前
父节点
当前提交
b766592920
共有 1 个文件被更改,包括 29 次插入0 次删除
  1. 29 0
      types/src/interface/compilation.ts

+ 29 - 0
types/src/interface/compilation.ts

@@ -129,3 +129,32 @@ export interface IProCptItem {
   // 锁信息
   lock: LockInfo;
 }
+
+
+interface ISubStructuralSegment {
+  dispName: string;
+  key: string;
+  type: string;
+  subItems?: ISubStructuralSegment[];
+  property?: any;
+}
+
+// 结构分布
+export interface IStructuralSegment {
+  monomerType: string;
+  items: ISubStructuralSegment[];
+}
+
+interface ISubMonomerTemplate {
+  dispName: string;
+  key: string;
+  monomerType: string;
+  isHaveStructuralSegment: string;
+}
+
+//单体模板
+export interface IMonomerTemplate {
+  dispName: string;
+  key: string;
+  items: ISubMonomerTemplate[];
+}