diff options
author | 2020-02-02 11:20:55 +0200 | |
---|---|---|
committer | 2020-02-02 11:20:55 +0200 | |
commit | fc3164594f1824451139da582c83cb662f568595 (patch) | |
tree | 51714d53ff1398da046f30b5aa2ffbfddc2e971c /cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/CBAPacakge.model.ts | |
parent | 3da10ae82ee1810e0fb995141dae5495eff28176 (diff) |
adding DSL-Definition component
Issue-ID: CCSDK-2066
Signed-off-by: shaaban Altanany <shaaban.eltanany.ext@orange.com>
Change-Id: I8b16e78cf3961c0c37a721fd37898fb3a7a850a0
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/CBAPacakge.model.ts')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/CBAPacakge.model.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/CBAPacakge.model.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/CBAPacakge.model.ts index a5f5ec70a..78a9b5212 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/CBAPacakge.model.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/CBAPacakge.model.ts @@ -4,12 +4,14 @@ export class Definition { public metaDataTab: MetaDataTabModel; public imports: Map<string, string>; + public dslDefinition: DslDefinition; // public dslDefinition: constructor() { this.imports = new Map<string, string>(); this.metaDataTab = new MetaDataTabModel(); + this.dslDefinition = new DslDefinition(); } public setImports(key: string, value: string) { @@ -22,6 +24,14 @@ export class Definition { return this; } + public setDslDefinition(dslDefinition: DslDefinition): Definition { + this.dslDefinition = dslDefinition; + return this; + } +} + +export class DslDefinition { + content: string; } export class Scripts { |