From deb7331f2779eb36d079a55c1ace4020f23c150f Mon Sep 17 00:00:00 2001 From: Muskan Bararia Date: Tue, 7 Nov 2023 16:33:00 +0530 Subject: [PATCH] fix: typo fix for jsdoc Signed-off-by: Muskan Bararia --- packages/concerto-core/api.txt | 2 +- packages/concerto-core/changelog.txt | 2 +- packages/concerto-core/lib/decoratormanager.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/concerto-core/api.txt b/packages/concerto-core/api.txt index 414c0b65c..59242c4a9 100644 --- a/packages/concerto-core/api.txt +++ b/packages/concerto-core/api.txt @@ -57,7 +57,7 @@ class Concerto { class DecoratorManager { + ModelManager validate(decoratorCommandSet,ModelFile[]) throws Error + ModelManager decorateModels(ModelManager,decoratorCommandSet,object?,boolean?,boolean?,boolean?) - + Object extractDecorators(ModelManager,object?,boolean,string) + + Object extractDecorators(ModelManager,object,boolean,string) + void validateCommand(ModelManager,command) + Boolean falsyOrEqual(string||,string[]) + void applyDecorator(decorated,string,newDecorator) diff --git a/packages/concerto-core/changelog.txt b/packages/concerto-core/changelog.txt index 2758baa54..443f2bd33 100644 --- a/packages/concerto-core/changelog.txt +++ b/packages/concerto-core/changelog.txt @@ -24,7 +24,7 @@ # Note that the latest public API is documented using JSDocs and is available in api.txt. # -Version 3.14.2 {6654e5bbbd1bc868362f6aa15e07aaeb} 2023-11-03 +Version 3.14.2 {86711a7ba556ad7f2be251f03e99b448} 2023-11-07 - Added DCS and vocabulary extraction support for decoratorManager Version 3.13.1 {f5a9a1ea6a64865843a3abb77798cbb0} 2023-10-18 diff --git a/packages/concerto-core/lib/decoratormanager.js b/packages/concerto-core/lib/decoratormanager.js index 266af937d..cbd7b106a 100644 --- a/packages/concerto-core/lib/decoratormanager.js +++ b/packages/concerto-core/lib/decoratormanager.js @@ -256,7 +256,7 @@ class DecoratorManager { /** * Extracts all the decorator commands from all the models in modelManager * @param {ModelManager} modelManager the input model manager - * @param {object} [options] - decorator models options + * @param {object} options - decorator models options * @param {boolean} options.removeDecoratorsFromModel - flag to strip out decorators from models * @param {string} options.locale - locale for extracted vocabulary set * @returns {Object} a new model manager with the decorations removed and a list of extracted decorator jsons