Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core):added extract decorator method #754

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
bb0ef5e
feat(core):added extract decorator method
Nov 6, 2023
809c932
feat(core):added extract decorator method
Nov 6, 2023
34be7eb
chore:Merged with main
Nov 6, 2023
a512353
fix: Added bugfix for no decorators
Nov 6, 2023
249fbf6
fix: Removed mutability and typos fixed
Nov 7, 2023
deb7331
fix: typo fix for jsdoc
Nov 7, 2023
8863f95
fix: call Model functions for getting version
Nov 7, 2023
c5438f3
feat: Extract decorators and vocab via visitor pattern
Nov 8, 2023
5ff26dd
feat: Extract decorators and vocab via visitor pattern
Nov 8, 2023
f0afdfd
feat: Extract decorators and vocab via visitor pattern
Nov 8, 2023
c85329c
Merge branch 'main' of https://github.com/muskanbararia/concerto into…
Nov 9, 2023
ae03cba
feat: Extract decorators and vocab for all types including maps and a…
Nov 9, 2023
55a2547
fix:minor linting fixes
Nov 9, 2023
a53454d
feat: Added new testcase and created a Util for decorators
Nov 10, 2023
398ba83
feat: Added new testcase and created a Util for decorators
Nov 10, 2023
29e390e
fix: broke down functions so they are more readable
Nov 10, 2023
5d7d4ef
fix: added relevant types
Nov 10, 2023
b0a286d
fix: removed two loops in parsing and better breakdown
Nov 13, 2023
26da05a
fix: better breakdown by adding transform functions
Nov 13, 2023
bb83859
fix: better breakdown by adding constructor functions
Nov 13, 2023
578cbfa
fix: created decorator extractor class
Nov 14, 2023
4cfefe8
fix: created decorator extractor class
Nov 14, 2023
079f3a5
chore: Merge branch 'main' of https://github.com/muskanbararia/concer…
Nov 14, 2023
d86d203
chore: added linting fix
Nov 14, 2023
b030c98
fix: added proper check to test for map type
Nov 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/concerto-core/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,13 @@ class Concerto {
+ string getNamespace(obj)
}
+ object setCurrentTime()
class DecoratorExtractor {
+ void constructor(boolean,string,string,Object)
}
class DecoratorManager {
+ ModelManager validate(decoratorCommandSet,ModelFile[]) throws Error
+ ModelManager decorateModels(ModelManager,decoratorCommandSet,object?,boolean?,boolean?,boolean?)
+ ExtractDecoratorsResult extractDecorators(ModelManager,object,boolean,string)
+ void validateCommand(ModelManager,command)
+ Boolean falsyOrEqual(string||,string[])
+ void applyDecorator(decorated,string,newDecorator)
Expand Down
3 changes: 3 additions & 0 deletions packages/concerto-core/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
# Note that the latest public API is documented using JSDocs and is available in api.txt.
#

Version 3.13.3 {b286dfdeeb654d25be7c5f9cc6305e38} 2023-11-07
- Added DCS and vocabulary extraction support for decoratorManager

Version 3.13.2 {dccc690753912cf87e7ceec56d949058} 2023-10-18
- Add getNamespace method to key type and value type of maps

Expand Down
Loading
Loading