Skip to content

Commit

Permalink
Merge branch 'main' into mr-fix-missing-strictQualifiedDateTimes
Browse files Browse the repository at this point in the history
  • Loading branch information
mttrbrts committed May 1, 2024
2 parents a337bfc + dfbf14c commit b6dcb16
Show file tree
Hide file tree
Showing 12 changed files with 47 additions and 46 deletions.
68 changes: 35 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions packages/concerto-core/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ class Declaration extends Decorated {
}
class Decorator {
+ void constructor(ClassDeclaration|Property,Object) throws IllegalModelException
+ Object accept(Object,Object)
+ void getParent()
+ string getName()
+ object[] getArguments()
Expand Down Expand Up @@ -161,6 +162,7 @@ class IllegalModelException extends BaseFileException {
}
class Introspector {
+ void constructor(ModelManager)
+ Object accept(Object,Object)
+ ClassDeclaration[] getClassDeclarations()
+ ClassDeclaration getClassDeclaration(String) throws Error
}
Expand Down Expand Up @@ -208,6 +210,7 @@ class ModelFile extends Decorated {
+ string getVersion()
+ Boolean isSystemModelFile()
+ boolean isExternal()
+ Object accept(Object,Object)
+ ModelManager getModelManager()
+ string[] getImports()
~ void validate() throws IllegalModelException
Expand Down
5 changes: 5 additions & 0 deletions packages/concerto-core/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,14 @@
# Note that the latest public API is documented using JSDocs and is available in api.txt.
#


Version 3.16.7 {44d3b20134cd254582e44ccb6d5dd276} 2024-05-01
- Added missing `strictQualifiedDateTimes` option to Serializer.fromJSON

Version 3.13.4 {56df3674b9e8d094cec0ae690c07ea1f} 2024-04-20
- Mark accept methods in introspect classes as public
- Generate changes in TypeScript definitions

Version 3.13.3 {8f59b43e6071c4d3ae42e94476142f7a} 2023-11-07
- Added DCS and vocabulary extraction support for decoratorManager
- Added errortype to BaseException and used that to define error types in introspect
Expand Down
1 change: 0 additions & 1 deletion packages/concerto-core/lib/introspect/decorated.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ class Decorated {
* @param {Object} visitor - the visitor
* @param {Object} parameters - the parameter
* @return {Object} the result of visiting or null
* @private
*/
accept(visitor,parameters) {
return visitor.visit(this, parameters);
Expand Down
1 change: 0 additions & 1 deletion packages/concerto-core/lib/introspect/decorator.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ class Decorator {
* @param {Object} visitor - the visitor
* @param {Object} parameters - the parameter
* @return {Object} the result of visiting or null
* @private
*/
accept(visitor, parameters) {
return visitor.visit(this, parameters);
Expand Down
1 change: 0 additions & 1 deletion packages/concerto-core/lib/introspect/introspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ class Introspector {
* @param {Object} visitor - the visitor
* @param {Object} parameters - the parameter
* @return {Object} the result of visiting or null
* @private
*/
accept(visitor,parameters) {
return visitor.visit(this, parameters);
Expand Down
1 change: 0 additions & 1 deletion packages/concerto-core/lib/introspect/modelfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ class ModelFile extends Decorated {
* @param {Object} visitor - the visitor
* @param {Object} parameters - the parameter
* @return {Object} the result of visiting or null
* @private
*/
accept(visitor,parameters) {
return visitor.visit(this, parameters);
Expand Down
1 change: 0 additions & 1 deletion packages/concerto-core/lib/introspect/validator.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ class Validator {
* @param {Object} visitor - the visitor
* @param {Object} parameters - the parameter
* @return {Object} the result of visiting or null
* @private
*/
accept(visitor,parameters) {
return visitor.visit(this, parameters);
Expand Down
3 changes: 1 addition & 2 deletions packages/concerto-core/types/lib/introspect/decorated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ declare class Decorated {
* @param {Object} visitor - the visitor
* @param {Object} parameters - the parameter
* @return {Object} the result of visiting or null
* @private
*/
private accept;
accept(visitor: any, parameters: any): any;
/**
* Process the AST and build the model
*
Expand Down
3 changes: 1 addition & 2 deletions packages/concerto-core/types/lib/introspect/decorator.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ declare class Decorator {
* @param {Object} visitor - the visitor
* @param {Object} parameters - the parameter
* @return {Object} the result of visiting or null
* @private
*/
private accept;
accept(visitor: any, parameters: any): any;
/**
* Returns the owner of this property
* @return {ClassDeclaration|Property} the parent class or property declaration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ declare class Introspector {
* @param {Object} visitor - the visitor
* @param {Object} parameters - the parameter
* @return {Object} the result of visiting or null
* @private
*/
private accept;
accept(visitor: any, parameters: any): any;
/**
* Returns all the class declarations for the business network.
* @return {ClassDeclaration[]} the array of class declarations
Expand Down
3 changes: 1 addition & 2 deletions packages/concerto-core/types/lib/introspect/validator.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ declare class Validator {
* @param {Object} visitor - the visitor
* @param {Object} parameters - the parameter
* @return {Object} the result of visiting or null
* @private
*/
private accept;
accept(visitor: any, parameters: any): any;
/**
* Returns the field or scalar declaration that this validator applies to
* @return {Object} the field
Expand Down

0 comments on commit b6dcb16

Please sign in to comment.