Support occurrences on node templates
[sdc.git] / catalog-ui / src / app / models / componentsInstances / componentInstance.ts
index c3188ba..86411b2 100644 (file)
@@ -94,6 +94,8 @@ export class ComponentInstance implements IComponentInstance{
     public sourceModelName:string;
     public sourceModelUid:string;
     public sourceModelUuid:string;
+    public minOccurrences: string;
+    public maxOccurrences: string;
     //custom properties
     public certified:boolean;
     public iconSprite:string;
@@ -137,6 +139,8 @@ export class ComponentInstance implements IComponentInstance{
             this.originArchived = componentInstance.originArchived;
             this.directives = componentInstance.directives;
             this.interfaces = componentInstance.interfaces;
+            this.minOccurrences = componentInstance.minOccurrences;
+            this.maxOccurrences = componentInstance.maxOccurrences;
         }
     }