The initial version will then optionally load test data
Implement schema pre-processors.
The sm-preprocessor should have commands smType and smEnums and can be used as in:
someSchema.yaml
properties:
lastSaved:
"description": "Breadcrumb of who last updated this document"
"smType":"breadcrumb"
userName:
"description": "User name"
"smType":"word"
status:
"description": "Status"
"smEnums":"myStatus"
Create preprocessor for smEnums
[ ] Enums(listName)
[ ] Flat approach to enumerators (reusable)
Create smTypes processor
[ ] process before smEnums, repeat until not found
[ ] include type constraints from file in schemas folder
SchemaManager
Refactor the existing mongosh scripts into typescript configuration-as-code product called SchemaManager.
For each version
Implement schema pre-processors.
The
sm
-preprocessor should have commandssmType
andsmEnums
and can be used as in:someSchema.yaml
Create preprocessor for smEnums
Create smTypes processor
Create default smTypes