diff options
author | 2019-12-25 11:13:46 +0200 | |
---|---|---|
committer | 2019-12-30 11:52:17 +0200 | |
commit | 11a93717a4292c30c71de950fb39637f9c8efd17 (patch) | |
tree | 68620c3c23c11338254b14c8d7ed532ee73b6d0e /cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/definitions/VlbDefinition.ts | |
parent | e3447bd3e00253056e89551437e997e77e65034d (diff) |
add package creation component and fixing designer compilation and linting
Issue-ID: CCSDK-2014
Issue-ID: CCSDK-1780
Signed-off-by: shaaban Altanany <shaaban.eltanany.ext@orange.com>
Change-Id: I65e02ba498516edb27eefd2448d50a61779cc22c
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/definitions/VlbDefinition.ts')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/definitions/VlbDefinition.ts | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/definitions/VlbDefinition.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/definitions/VlbDefinition.ts new file mode 100644 index 000000000..5c59404c2 --- /dev/null +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/definitions/VlbDefinition.ts @@ -0,0 +1,29 @@ +import {JsonObject, JsonProperty} from 'json2typescript'; + +@JsonObject +export class VlbDefinition { + + // tslint:disable-next-line:variable-name + tosca_definitions_version: string; + metadata: Metadata; + imports: Import[]; + // dsl_definitions: DSLDefinitions; + // topology_template: TopologyTemplate; +} + +export class Metadata { + @JsonProperty('template_author') + templateAuthor: string; + 'author-email': string; + 'user-groups': string; + @JsonProperty('template_name') + templateName: string; + @JsonProperty('template_version') + templateVersion: string; + @JsonProperty('template_tag') + templateTags: string; +} + +export class Import { + file: string; +} |