Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ValidationDecoratorOptions

Hierarchy

  • ValidationDecoratorOptions

Index

Properties

Optional async

async: undefined | boolean

Indicates if this decorator will perform async validation.

Optional constraints

constraints: undefined | any[]

Array of validation constraints.

Optional name

name: undefined | string

Name of the validation that is being registered.

Optional options

options: undefined | ValidationOptions

Validator options.

propertyName

propertyName: string

Target object's property name to be validated.

target

target: Function

Target object to be validated.

validator

validator: Function | ValidatorConstraintInterface

Validator that performs validation.

Generated using TypeDoc