summaryrefslogtreecommitdiffstats
path: root/cds-ui/server/src/services/resource-dictionary.service.ts
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-09-09 19:27:04 +0530
committerArundathi Patil <arundpil@in.ibm.com>2019-09-09 19:27:10 +0530
commit7918513759a4a6fd5ae90640c6b654a1a61f46b8 (patch)
tree21b87087fd7df8c939eb5b7ebbcf1deac493c89f /cds-ui/server/src/services/resource-dictionary.service.ts
parenta257847a16a8424a9612e14b4a2f09f3973c90ec (diff)
Resource Dictionary: fecthing data-type list
Created loopback API function to fetch data-types from backend and display them in data-type drop-down Issue-ID: CCSDK-707 Change-Id: I797177b9042558c99a94df9c9dd4295c43389d29 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'cds-ui/server/src/services/resource-dictionary.service.ts')
-rw-r--r--cds-ui/server/src/services/resource-dictionary.service.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/cds-ui/server/src/services/resource-dictionary.service.ts b/cds-ui/server/src/services/resource-dictionary.service.ts
index 9a781d6b8..8df22085c 100644
--- a/cds-ui/server/src/services/resource-dictionary.service.ts
+++ b/cds-ui/server/src/services/resource-dictionary.service.ts
@@ -9,6 +9,7 @@ export interface ResourceDictionaryService {
save(resourceDictionary: JSON): Promise<JSON>;
searchbyNames(resourceDictionaryList: JSON): Promise<JSON>;
getModelType(source: string): Promise<JSON>;
+ getDataTypes(): Promise<JSON>;
}
export class ResourceDictionaryServiceProvider implements Provider<ResourceDictionaryService> {