@accordproject/concerto-cto
Advanced tools
Comparing version 1.2.2-20211217155508 to 1.2.2-20211219104658
@@ -160,7 +160,7 @@ /* | ||
result += ` ${mm.name}`; | ||
result += defaultString; | ||
result += validatorString; | ||
if (mm.isOptional) { | ||
result += ' optional'; | ||
} | ||
result += defaultString; | ||
result += validatorString; | ||
return result; | ||
@@ -203,2 +203,6 @@ } | ||
} | ||
if (mm.superType) { | ||
result += `extends ${mm.superType.name} `; | ||
} | ||
// XXX Needs to be fixed to support `identified` | ||
if (mm.identified) { | ||
@@ -211,5 +215,2 @@ if (mm.identified.$class === 'concerto.metamodel.IdentifiedBy') { | ||
} | ||
if (mm.superType) { | ||
result += `extends ${mm.superType.name} `; | ||
} | ||
result += '{'; | ||
@@ -230,7 +231,2 @@ mm.properties.forEach((property) => { | ||
let result = ''; | ||
if (metaModel.concertoVersion) { | ||
result += `concerto version "${metaModel.concertoVersion}"`; | ||
result += '\n'; | ||
result += '\n'; | ||
} | ||
result += `namespace ${metaModel.namespace}`; | ||
@@ -237,0 +233,0 @@ if (metaModel.imports && metaModel.imports.length > 0) { |
{ | ||
"name": "@accordproject/concerto-cto", | ||
"version": "1.2.2-20211217155508", | ||
"version": "1.2.2-20211219104658", | ||
"description": "Parser for Concerto CTO files", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/accordproject/concerto", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
350264
9521