summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/models
diff options
context:
space:
mode:
authorIdan Amit <ia096e@intl.att.com>2018-01-18 19:07:38 +0200
committerIdan Amit <ia096e@intl.att.com>2018-01-21 06:52:00 +0000
commit30e728d280b77193500a7f0941db336ee60b80a6 (patch)
treef57f86948f47f3dd2333e21e12e5cdc1ccaeff33 /catalog-ui/src/app/models
parenta7735509a29580d0bf8a9eac92f4402940b74517 (diff)
Update designer configuraiton file
Updated the designer configuration file to support the new display options Made sure that the old code still works Change-Id: Ia63cb89b0f8cb92fc86e0804afe7e2c2caea0541 Issue-ID: SDC-938 Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'catalog-ui/src/app/models')
-rw-r--r--catalog-ui/src/app/models/designers-config.ts10
1 files changed, 7 insertions, 3 deletions
diff --git a/catalog-ui/src/app/models/designers-config.ts b/catalog-ui/src/app/models/designers-config.ts
index c784be2707..c218c89e7a 100644
--- a/catalog-ui/src/app/models/designers-config.ts
+++ b/catalog-ui/src/app/models/designers-config.ts
@@ -1,13 +1,17 @@
export class Designer {
- displayName: string;
+ designerId: string;
designerHost: string;
designerPort: number;
designerPath: string;
designerStateUrl: string;
designerProtocol: string;
- designerButtonLocation: Array<string>;
- designerTabPresentation: Array<string>;
+ designerDisplayOptions: Map<string, DesignerDisplayOptions>;
+}
+
+export class DesignerDisplayOptions {
+ displayName: string;
+ validResourceTypes: Array<string>;
}
export type Designers = Array<Designer>;