diff options
author | 2020-02-02 19:29:27 +0000 | |
---|---|---|
committer | 2020-02-02 19:29:27 +0000 | |
commit | 7b1469e1883097ab0c2b4dc76f5307667482be2d (patch) | |
tree | ab6db43bbda74b23f76460be2a4ab07d475bf60c /cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/CBAPacakge.model.ts | |
parent | 95a224b2fea180a93bd2c3251e0f8c3fdaebb886 (diff) | |
parent | fc3164594f1824451139da582c83cb662f568595 (diff) |
Merge "adding DSL-Definition component"
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 { |