Interface UcConstraints<T, TSchema>

Schema constraints for schema processors.

Each property corresponds to particular schema processor.

More processors may be added by augmenting this interface.

Type Parameters

  • out T = unknown

    Implied data type.

  • out TSchema extends UcSchema<T> = UcSchema<T>

    Supported schema type.

Hierarchy

  • UcConstraints

Properties

deserializer?: UcSchemaConstraint | readonly UcSchemaConstraint[]

Schema deserializer constraints.

serializer?: UcSchemaConstraint | readonly UcSchemaConstraint[]

Schema serializer constraints.

validator?: UcSchemaConstraint | readonly UcSchemaConstraint[]

Schema validation constraints.

Methods

Generated using TypeDoc