diff options
Diffstat (limited to 'catalog-ui/src/app/ng2/services')
-rw-r--r-- | catalog-ui/src/app/ng2/services/data-type.service.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/catalog-ui/src/app/ng2/services/data-type.service.ts b/catalog-ui/src/app/ng2/services/data-type.service.ts index 5b08e9323f..70555a5efd 100644 --- a/catalog-ui/src/app/ng2/services/data-type.service.ts +++ b/catalog-ui/src/app/ng2/services/data-type.service.ts @@ -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); |