A String property. This will validate and render the value
The node being managed
The name of the node
The entire symbol tree so that references can be identified
The immediate parent in the symbol tree
Checks if all array's values are unique. Comparison for objects is reference-based.
The class name for the items in the array, if any
The path to the the prooperty from the base property
Checks if array contains all values from the given array of values.
A default value for the property
Detailed documentation
Checks if given value is empty (=== '', === null, === undefined).
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.
What the types of the array are allowed to be
Checks if array's length is as maximal this number.
Checks if array's length is as minimal this number.
The name of the symbol
Checks if array does not contain any of the given values.
Checks if given value is empty (=== '', === null, === undefined).
Checks if value equals ("===") comparison.
The prop instance's own type decorator
The immediate parent in the symbol tree
The type that was defined in the json/yaml
The entire symbol tree so that references can be identified
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
A String property. This will validate and render the value