-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/schema generation update (#347)
* ClassesVisitor - Removed interface and basic inheritance logic * TypescriptModuleWriter - added generalized ContentReferenceField and ContentReferenceListField * Cleanup: Schema * fix(TypescriptModuleWriter) Image and Binary simplified prop type, allowed reference filters * chore(TypescriptEnumsVisitor): single quote to double quote, removed namespace from example * chore(TypescriptFormatter): extracted disabled content types * refac(TypescriptFieldSettingsVisitor): removed logic, options, ctor, added FieldDataType and IsVisible properties * refac(TypescriptClassesVisitor): fixed imports, removed some static comments, added descriptions * chore(TypescriptComplexTypesVisitor): addex explicit Actions and Type properties for base types * refac(TypescriptComplexTypesVisitor): added missing access types , removed ctor & assignment logic * fix(TypescriptCtdVisitor): changed single quotes to double quotes (tslint change), added assignment assertions * chore(TypescriptEnumsVisitor): added disable tslint comment, fixed indention * feat(TypescriptFieldSettingsVisitor): added isFieldSettingOfType() type guard, fixed indention * feat(TypescriptModuleWriter): removed FieldDataType and Visible from blacklist, added simplified property type to AllowedChildTypes and EffectiveAllowedChildTypes * TypescriptFieldSettings, TypescriptModuleWriter: removed FieldDataType property, enabled FieldClassName * chore(TypescriptClassesVisitor): RequiredFields to private * chore(TypescriptFormatter): DisabledContentTypeNames made internal * Small cleanup and remove the undone.
- Loading branch information
Showing
8 changed files
with
239 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.