An Enumeration node. This will validate the value it is connected with and render it down
The node being managed
The name of the node
The path to the the prooperty from the base property
A default value for the property
Detailed documentation
Checks if given value is empty (=== '', === null, === undefined).
The generated name of the enum
Checks if value equals ("===") comparison
Checks if value is defined (!== undefined, !== null). This is the only decorator that ignores skipMissingProperties option.
Checks if value is in a array of allowed values.
Checks if value is not in a array of disallowed values.
Checks if given value is empty (=== null, === undefined) and if so, ignores all the validators on the property.
The enum contents
The name of the symbol
Checks if given value is empty (=== '', === null, === undefined).
Checks if value equals ("===") comparison.
The prop instance's own type decorator
The type that was defined in the json/yaml
A local for templates to access lodash
Short documentation
The name typescript expects for the type
The template to render this type
The list of decorators templates supported by this type
Things like extra classes and enums that need to be at the top level of the module
Returns a string array of needed imports
Render the decorators and characteristics
Render the property, decorators and types and formats the output
Gets the validators that are actually in use so that a single import can be created
The default options for the template render
The map from property to template decorators of the class validator class
Generated using TypeDoc
An Enumeration node. This will validate the value it is connected with and render it down