@accordproject/concerto-tools
Advanced tools
Comparing version 3.0.1-20221208132153 to 3.0.1-20221212163447
@@ -32,3 +32,5 @@ /* | ||
const OpenApiVisitor = require('./fromcto/openapi/openapivisitor'); | ||
const AvroVisitor = require('./fromcto/avro/avrovisitor'); | ||
const InferFromJsonSchema = require('./fromJsonSchema/cto/inferModel'); | ||
@@ -51,2 +53,3 @@ | ||
OpenApiVisitor, | ||
AvroVisitor, | ||
InferFromJsonSchema, | ||
@@ -66,4 +69,5 @@ formats: { | ||
protobuf: ProtobufVisitor, | ||
openapi: OpenApiVisitor | ||
openapi: OpenApiVisitor, | ||
avro: AvroVisitor | ||
} | ||
}; |
@@ -61,2 +61,4 @@ /* | ||
return this.visitClassDeclaration(thing, parameters); | ||
} else if (thing.isTypeScalar?.()) { | ||
return this.visitField(thing.getScalarField(), parameters); | ||
} else if (thing.isField?.()) { | ||
@@ -63,0 +65,0 @@ return this.visitField(thing, parameters); |
@@ -52,2 +52,4 @@ /* | ||
return this.visitClassDeclaration(thing, parameters); | ||
} else if (thing.isTypeScalar?.()) { | ||
return this.visitField(thing.getScalarField(), parameters); | ||
} else if (thing.isField?.()) { | ||
@@ -54,0 +56,0 @@ return this.visitField(thing, parameters); |
@@ -50,2 +50,4 @@ /* | ||
return this.visitModelFile(thing, parameters); | ||
} else if (thing.isTypeScalar?.()) { | ||
return this.visitField(thing.getScalarField(), parameters); | ||
} else if (thing.isField?.()) { | ||
@@ -52,0 +54,0 @@ return this.visitField(thing, parameters); |
@@ -54,2 +54,4 @@ /* | ||
return this.visitClassDeclaration(thing, parameters); | ||
} else if (thing.isTypeScalar?.()) { | ||
return this.visitField(thing.getScalarField(), parameters); | ||
} else if (thing.isField?.()) { | ||
@@ -56,0 +58,0 @@ return this.visitField(thing, parameters); |
@@ -151,2 +151,4 @@ /* | ||
return this.visitClassDeclaration(thing, parameters); | ||
} else if (thing.isTypeScalar?.()) { | ||
return this.visitField(thing.getScalarField(), parameters); | ||
} else if (thing.isField?.()) { | ||
@@ -153,0 +155,0 @@ return this.visitField(thing, parameters); |
@@ -50,2 +50,4 @@ /* | ||
return false; | ||
} else if (thing.isTypeScalar?.()) { | ||
return this.visitField(thing.getScalarField(), parameters); | ||
} else if (thing.isField?.()) { | ||
@@ -52,0 +54,0 @@ return this.visitField(thing, parameters); |
@@ -74,2 +74,4 @@ /* | ||
return this.visitEnumDeclaration(thing, parameters); | ||
} else if (thing.isTypeScalar?.()) { | ||
return this.visitField(thing.getScalarField(), parameters); | ||
} else if (thing.isField?.()) { | ||
@@ -76,0 +78,0 @@ return this.visitField(thing, parameters); |
@@ -51,2 +51,4 @@ /* | ||
return this.visitClassDeclaration(thing, parameters); | ||
} else if (thing.isTypeScalar?.()) { | ||
return this.visitField(thing.getScalarField(), parameters); | ||
} else if (thing.isField?.()) { | ||
@@ -53,0 +55,0 @@ return this.visitField(thing, parameters); |
@@ -65,2 +65,4 @@ /* | ||
return this.visitClassDeclaration(thing, parameters); | ||
} else if (thing.isTypeScalar?.()) { | ||
return this.visitField(thing.getScalarField(), parameters); | ||
} else if (thing.isField?.()) { | ||
@@ -67,0 +69,0 @@ return this.visitField(thing, parameters); |
@@ -52,2 +52,4 @@ /* | ||
return this.visitClassDeclaration(thing, parameters); | ||
} else if (thing.isTypeScalar?.()) { | ||
return this.visitField(thing.getScalarField(), parameters); | ||
} else if (thing.isField?.()) { | ||
@@ -54,0 +56,0 @@ return this.visitField(thing, parameters); |
@@ -178,2 +178,4 @@ /* | ||
return this.visitClassDeclaration(thing, parameters); | ||
} else if (thing.isTypeScalar?.()) { | ||
return this.visitField(thing.getScalarField(), parameters); | ||
} else if (thing.isField?.()) { | ||
@@ -180,0 +182,0 @@ return this.visitField(thing, parameters); |
@@ -47,2 +47,4 @@ /* | ||
return this.visitClassDeclaration(thing, parameters); | ||
} else if (thing.isTypeScalar?.()) { | ||
return this.visitField(thing.getScalarField(), parameters); | ||
} else if (thing.isField?.()) { | ||
@@ -49,0 +51,0 @@ return this.visitField(thing, parameters); |
@@ -46,2 +46,4 @@ /* | ||
return this.visitClassDeclaration(thing, parameters); | ||
} else if (thing.isTypeScalar?.()) { | ||
return this.visitField(thing.getScalarField(), parameters); | ||
} else if (thing.isField?.()) { | ||
@@ -48,0 +50,0 @@ return this.visitField(thing, parameters); |
{ | ||
"name": "@accordproject/concerto-tools", | ||
"version": "3.0.1-20221208132153", | ||
"version": "3.0.1-20221212163447", | ||
"description": "Tools for the Concerto Modeling Language", | ||
@@ -70,4 +70,4 @@ "homepage": "https://github.com/accordproject/concerto", | ||
"dependencies": { | ||
"@accordproject/concerto-core": "3.0.1-20221208132153", | ||
"@accordproject/concerto-util": "3.0.1-20221208132153", | ||
"@accordproject/concerto-core": "3.0.1-20221212163447", | ||
"@accordproject/concerto-util": "3.0.1-20221212163447", | ||
"ajv": "8.10.0", | ||
@@ -140,3 +140,3 @@ "ajv-formats": "2.1.1", | ||
"statements": 99, | ||
"branches": 98, | ||
"branches": 97, | ||
"functions": 100, | ||
@@ -143,0 +143,0 @@ "lines": 99 |
@@ -16,2 +16,3 @@ export var CodeGen: { | ||
OpenApiVisitor: typeof import("./lib/codegen/fromcto/openapi/openapivisitor"); | ||
AvroVisitor: typeof import("./lib/codegen/fromcto/avro/avrovisitor"); | ||
InferFromJsonSchema: typeof import("./lib/codegen/fromJsonSchema/cto/inferModel"); | ||
@@ -32,4 +33,5 @@ formats: { | ||
openapi: typeof import("./lib/codegen/fromcto/openapi/openapivisitor"); | ||
avro: typeof import("./lib/codegen/fromcto/avro/avrovisitor"); | ||
}; | ||
}; | ||
export var version: any; |
@@ -15,2 +15,3 @@ import AbstractPlugin = require("./abstractplugin"); | ||
import OpenApiVisitor = require("./fromcto/openapi/openapivisitor"); | ||
import AvroVisitor = require("./fromcto/avro/avrovisitor"); | ||
import InferFromJsonSchema = require("./fromJsonSchema/cto/inferModel"); | ||
@@ -31,3 +32,4 @@ export declare namespace formats { | ||
export { OpenApiVisitor as openapi }; | ||
export { AvroVisitor as avro }; | ||
} | ||
export { AbstractPlugin, GoLangVisitor, JSONSchemaVisitor, XmlSchemaVisitor, PlantUMLVisitor, TypescriptVisitor, JavaVisitor, GraphQLVisitor, CSharpVisitor, ODataVisitor, MermaidVisitor, MarkdownVisitor, ProtobufVisitor, OpenApiVisitor, InferFromJsonSchema }; | ||
export { AbstractPlugin, GoLangVisitor, JSONSchemaVisitor, XmlSchemaVisitor, PlantUMLVisitor, TypescriptVisitor, JavaVisitor, GraphQLVisitor, CSharpVisitor, ODataVisitor, MermaidVisitor, MarkdownVisitor, ProtobufVisitor, OpenApiVisitor, AvroVisitor, InferFromJsonSchema }; |
/*! | ||
* Concerto Tools v3.0.1-20221208132153 | ||
* Concerto Tools v3.0.1-20221212163447 | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
@@ -4,0 +4,0 @@ * you may not use this file except in compliance with the License. |
Sorry, the diff of this file is too big to display
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
1545622
54
7567
+ Added@accordproject/concerto-core@3.0.1-20221212163447(transitive)
+ Added@accordproject/concerto-cto@3.0.1-20221212163447(transitive)
+ Added@accordproject/concerto-metamodel@3.0.1-20221212163447(transitive)
+ Added@accordproject/concerto-util@3.0.1-20221212163447(transitive)
- Removed@accordproject/concerto-core@3.0.1-20221208132153(transitive)
- Removed@accordproject/concerto-cto@3.0.1-20221208132153(transitive)
- Removed@accordproject/concerto-metamodel@3.0.1-20221208132153(transitive)
- Removed@accordproject/concerto-util@3.0.1-20221208132153(transitive)