Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SchemaInternals

Hierarchy

Index

Properties

$_super

0.0.46 provide
$_super: Schema<any>

Parent schema object.

$_terms

0.0.46 provide
$_terms: Record<string, any>

Terms of current schema.

Methods

$_addRule

0.0.46 provide
  • Adds a rule to current validation schema.

    Parameters

    Returns Schema<any>

$_compile

0.0.46 provide
  • Internally compiles schema.

    Parameters

    Returns Schema<any>

$_createError

0.0.46 provide

$_getFlag

0.0.46 provide
  • $_getFlag(name: string): any
  • Get value from given flag.

    Parameters

    • name: string

    Returns any

$_getRule

0.0.46 provide
  • Retrieve some rule configuration.

    Parameters

    • name: string

    Returns undefined | GetRuleOptions

$_mapLabels

0.0.46 provide
  • $_mapLabels(path: string | string[]): string
  • Parameters

    • path: string | string[]

    Returns string

$_match

0.0.46 provide
  • Returns true if validations runs fine on given value.

    Parameters

    Returns boolean

$_modify

0.0.46 provide
  • Parameters

    Returns Schema<any>

$_mutateRebuild

0.0.46 provide
  • Resets current schema.

    Returns SchemaInternals

$_mutateRegister

0.0.46 provide

$_property

0.0.46 provide
  • $_property(name: string): any
  • Get value from given property.

    Parameters

    • name: string

    Returns any

$_reach

0.0.46 provide
  • $_reach(path: string[]): Schema<any>
  • Get schema at given path.

    Parameters

    • path: string[]

    Returns Schema<any>

$_rootReferences

0.0.46 provide
  • $_rootReferences(): any
  • Get current schema root references.

    Returns any

$_setFlag

0.0.46 provide
  • Set flag to given value.

    Parameters

    Returns void

$_validate

0.0.46 provide