Interface ConstraintApplication<TBoot, TOptions>

Schema constraint application context.

Type Parameters

  • out TBoot extends UccBootstrap<TBoot>

    Type of schema processing bootstrap.

  • out TOptions

    Constraint options type.

Hierarchy

Properties

constraint: UcSchemaConstraint

The constraint to apply.

entry: undefined | string

Constrained schema entry. This may be e.g. a serializer or deserializer name.

undefined for nested schema. This happens e.g. when model processed explicitly rather automatically.

options: TOptions

Constraint options.

processor: UcProcessorName

Name of schema processor that applies the constraint.

schema: UcSchema<unknown>

Constrained schema.

within: undefined | keyof UcFormatPresentations<unknown, UcSchema<unknown>> | keyof UcInsetPresentations<unknown, UcSchema<unknown>>

Schema instance presentation the constraint to is applied within.

Methods

Generated using TypeDoc