diff options
author | 2019-07-19 13:59:02 +0000 | |
---|---|---|
committer | 2019-07-19 13:59:02 +0000 | |
commit | 6434d38dc045a10f17beec4d015348580ac09ddf (patch) | |
tree | 9ad987440afa6730a6d12c5caf245c960dc23bf4 /cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts | |
parent | d28f86b37755a173eedacfd433af6793eaa469cd (diff) | |
parent | 11d85d45cff55a57a8a250fdc90912b67e32f903 (diff) |
Merge "resource-edit changes"
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts b/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts index bd06abbc1..417f6edb3 100644 --- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts +++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-edit.service.ts @@ -36,4 +36,14 @@ export class ResourceEditService { saveResource(resource) { return this.api.post(ResourceDictionaryURLs.saveResourceDictionary, resource); } + + getSources() { + // to do + return this.api.get('ResourceDictionaryURLs.getSources'); + } + + getModelType(name) { + // to do + return this.api.get("ResourceDictionaryURLs.getModelType + '/' + name"); + } }
\ No newline at end of file |