A String property. This will validate the value it is connected with and render it down
The node being managed
The name of the node
Checks if the string contains only letters and numbers
The path to the the prooperty from the base property
Checks if the string contains the seed.
A default value for the property
Detailed documentation
Checks if given value is empty (=== '', === null, === undefined).
Checks if value equals ("===") comparison
Checks if the string contains only letters (a-zA-Z).
Checks if the string contains ASCII chars only.
Checks if a string is base64 encoded.
Checks if a string is a boolean (e.g. is "true" or "false").
Checks if a string is a complete representation of a date (e.g. "2017-06-07T14:34:08.700Z", "2017-06-07T14:34:08.700 or "2017-06-07T14:34:08+04:00").
Checks if value is defined (!== undefined, !== null). This is the only decorator that ignores skipMissingProperties option.
Checks if the string is an email.
Checks if the string is a fully qualified domain name (e.g. domain.com).
Checks if value is in a array of allowed values.
Checks if the string is an IP address
Checks if the string is a valid ISO 8601 date.
Checks if the string is valid JSON.
Checks if the string is lowercase.
Checks if the string is a valid representation of military time in the format HH:MM.
Checks if the string is a valid hex-encoded representation of a MongoDB ObjectId.
Checks if value is not in a array of disallowed values.
Checks if a string is a number.
Checks if given value is empty (=== null, === undefined) and if so, ignores all the validators on the property.
Checks if the string is uppercase.
Checks if the string is an url.
Checks if the string is a UUID (version 3, 4 or 5).
Regular Expression to validate against
Maximum string length
Minimum string length
The name of the symbol
Checks if the string not contains the seed.
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
A String property. This will validate the value it is connected with and render it down