Преглед изворни кода

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[];
+}