Implements

Constructors

Properties

$data?: string | false
_error: any
allErrors?: boolean
data: Name
errsCount?: Name
gen: CodeGen
keyword: string
parentSchema: AnySchemaObject
schema: any
schemaCode: number | boolean | Code
schemaType: ("string" | "number" | "boolean" | "object" | "integer" | "null" | "array")[]
schemaValue: number | boolean | Code

Methods

  • Returns void

  • Parameters

    • valid: Name
    • codeBlock: (() => void)
        • (): void
        • Returns void

    • Optional $dataValid: Code

    Returns void

  • Parameters

    • Optional valid: Name
    • Optional $dataValid: Code

    Returns void

  • Parameters

    Returns void

  • Parameters

    • Optional condition: Code

    Returns void

  • Parameters

    Returns void

  • Parameters

    • condition: Code
    • Optional successAction: (() => void)
        • (): void
        • Returns void

    • Optional failAction: (() => void)
        • (): void
        • Returns void

    Returns void

  • Returns Code

  • Parameters

    Returns void

  • Parameters

    Returns boolean | void

  • Parameters

    • cond: boolean | Code

    Returns void

  • Parameters

    • condition: Code
    • Optional failAction: (() => void)
        • (): void
        • Returns void

    Returns void

  • Returns void

  • Parameters

    • condition: Code
    • Optional successAction: (() => void)
        • (): void
        • Returns void

    • Optional failAction: (() => void)
        • (): void
        • Returns void

    Returns void

  • Parameters

    Returns void

  • Parameters

    • appl: Partial<{
          allErrors: boolean;
          compositeRule: true;
          createErrors: boolean;
          data: Code;
          dataProp: string | number | Code;
          dataPropType: Type;
          dataTypes: ("string" | "number" | "boolean" | "object" | "integer" | "null" | "array")[];
          definedProperties: Set<string>;
          errSchemaPath: string;
          jtdDiscriminator: string;
          jtdMetadata: boolean;
          keyword: string;
          propertyName: Name;
          schema: AnySchema;
          schemaPath: Code;
          schemaProp: string | number;
          topSchemaRef: Code;
      }>
    • valid: Name

    Returns SchemaCxt