Interface SchemaItem

Hierarchy

  • SchemaItem

Properties

enum?: Record<string, string>
max?: number
min?: number
required?: boolean
validate?: {
    message?: string;
    validator: ((fieldValue) => boolean);
}

Type declaration

  • Optional message?: string
  • validator: ((fieldValue) => boolean)
      • (fieldValue): boolean
      • Parameters

        • fieldValue: any

        Returns boolean

Generated using TypeDoc