Skip to content

Commit

Permalink
fix(core) Some corrections to the JSDoc
Browse files Browse the repository at this point in the history
Signed-off-by: jeromesimeon <[email protected]>
  • Loading branch information
jeromesimeon committed Dec 2, 2021
1 parent 9a6f449 commit c641751
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/concerto-core/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class ModelManager {
+ void constructor(object?)
+ boolean isModelManager()
+ Object accept(Object,Object)
+ void validateModelFile(string,string?) throws IllegalModelException
+ void validateModelFile(string|ModelFile,string?) throws IllegalModelException
+ Object addModelFile(string|ModelFile,string,boolean?) throws IllegalModelException
+ Object updateModelFile(string|ModelFile,string?,boolean?) throws IllegalModelException
+ void deleteModelFile(string)
Expand Down
2 changes: 1 addition & 1 deletion packages/concerto-core/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# Note that the latest public API is documented using JSDocs and is available in api.txt.
#

Version 1.2.2 {f3671c1416edd096c788dffd63639b48} 2021-11-24
Version 1.2.2 {e30709343834104db4936fc5f1c96091} 2021-11-24
- Remove custom instanceof and add methods to check runtime type
- Remove support for Node 12
- Generate Typescript definitions from JSDoc
Expand Down
4 changes: 2 additions & 2 deletions packages/concerto-core/lib/introspect/modelfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class ModelFile {
* Use the ModelManager to manage ModelFiles.
* @param {ModelManager} modelManager - the ModelManager that manages this
* ModelFile
* @param {object} ast - The DSL model as a string.
* @param {string} [definitions] - The (optional) CTO model as a string.
* @param {object} ast - The abstract syntax tree of the model as a JSON object.
* @param {string} [definitions] - The optional CTO model as a string.
* @param {string} [fileName] - The optional filename for this modelfile
* @throws {IllegalModelException}
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/concerto-core/lib/modelmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ abstract concept Event {}
* Note that if there are dependencies between multiple files the files
* must be added in dependency order, or the addModelFiles method can be
* used to add a set of files irrespective of dependencies.
* @param {string} modelFile - The Concerto file as a string
* @param {string|ModelFile} modelFile - The Concerto file as a string
* @param {string} [fileName] - a file name to associate with the model file
* @throws {IllegalModelException}
*/
Expand Down

0 comments on commit c641751

Please sign in to comment.