Support complex types in interface operation inputs
[sdc.git] / catalog-ui / src / app / ng2 / services / data-type.service.ts
index 5b08e93..70555a5 100644 (file)
@@ -60,6 +60,10 @@ export class DataTypeService {
         return this.dataTypeService.getAllDataTypesFromModel(modelName);
     }
 
+    public findAllDataTypesByModel(modelName: string): Promise<Map<string, DataTypeModel>> {
+        return this.dataTypeService.findAllDataTypesByModel(modelName);
+    }
+
     public getConstraintsByParentTypeAndUniqueID(rootPropertyType, propertyName){
         // const property = this.dataTypes[rootPropertyType].properties.filter(property =>
         //     property.name == propertyName);