|
|
@@ -138,13 +138,14 @@ interface ISubStructuralSegment {
|
|
|
property?: any;
|
|
|
}
|
|
|
|
|
|
+export interface IStructuralSegmentData {
|
|
|
+ monomerType: string;
|
|
|
+ items: ISubStructuralSegment[];
|
|
|
+}
|
|
|
// 结构分布
|
|
|
export interface IStructuralSegment {
|
|
|
compilationID: string;
|
|
|
- data: {
|
|
|
- monomerType: string;
|
|
|
- items: ISubStructuralSegment[];
|
|
|
- };
|
|
|
+ data: IStructuralSegmentData;
|
|
|
}
|
|
|
|
|
|
interface ISubMonomerTemplate {
|
|
|
@@ -154,12 +155,14 @@ interface ISubMonomerTemplate {
|
|
|
isHaveStructuralSegment: string;
|
|
|
}
|
|
|
|
|
|
+export interface IMonomerTemplateData {
|
|
|
+ dispName: string;
|
|
|
+ key: string;
|
|
|
+ items: ISubMonomerTemplate[];
|
|
|
+}
|
|
|
+
|
|
|
// 单体模板
|
|
|
export interface IMonomerTemplate {
|
|
|
compilationID: string;
|
|
|
- data: {
|
|
|
- dispName: string;
|
|
|
- key: string;
|
|
|
- items: ISubMonomerTemplate[];
|
|
|
- };
|
|
|
+ data: IMonomerTemplateData;
|
|
|
}
|