Catalog alignment
[sdc.git] / catalog-ui / src / app / models / properties.ts
index 016c5b9..b87edff 100644 (file)
@@ -40,6 +40,7 @@ export class PropertiesGroup {
 export interface IPropertyModel extends InputPropertyBase {
 
     //server data
+    //constraints:Array<Object>;
     source:string;
 
     //instance properties
@@ -59,6 +60,7 @@ export class PropertyModel extends PropertyBEModel implements IPropertyModel {
     //server data
     uniqueId:string;
     name:string;
+    constraints:Array<Object>;
     defaultValue:string;
     description:string;
     password:boolean;
@@ -91,6 +93,7 @@ export class PropertyModel extends PropertyBEModel implements IPropertyModel {
     constructor(property?:PropertyModel) {
         super(property);
         if (property) {
+            // this.constraints = property.constraints;
             this.source = property.source;
             this.valueUniqueUid = property.valueUniqueUid;
             this.path = property.path;