@sapphire/shapeshift v4.0.0
Enumerations
Enumeration | Description |
---|---|
ObjectValidatorStrategy | - |
Classes
Interfaces
Interface | Description |
---|---|
BaseConstraintErrorJsonified | - |
BaseErrorJsonified | - |
ExpectedConstraintErrorJsonified | - |
ExpectedValidationErrorJsonified | - |
IConstraint | - |
MissingPropertyErrorJsonified | - |
MultiplePossibilitiesConstraintErrorJsonified | - |
NativeEnumLike | - |
StringUuidOptions | - |
UnknownEnumKeyErrorJsonified | - |
UnknownEnumValueErrorJsonified | - |
UrlOptions | - |
ValidationErrorJsonified | - |
ValidatorOptions | Additional options to pass to the validator. Right now this only supports a custom error message, but we provide an option for future expansion. |
Type Aliases
Type alias | Description |
---|---|
ArrayConstraintName | - |
BigIntConstraintName | - |
BooleanConstraintName | - |
ConstraintErrorNames | - |
Constructor | - |
DateConstraintName | - |
ExpandSmallerTuples | - |
GrowExp | - |
GrowExpRev | - |
InferResultType | - |
InferType | Infers the type of a schema object given typeof schema . The schema has to extend ObjectValidator. |
MappedObjectValidator | - |
NumberConstraintName | - |
SchemaOf | An alias of ObjectValidator with a name more common among object validation libraries. This is the type of a schema after using s.object({ ... }) |
Shift | - |
StringConstraintName | - |
StringDomain | - |
StringProtocol | - |
Tuple | - |
Type | - |
TypedArrayConstraintName | - |
UndefinedToOptional | - |
UnshiftTuple | - |
Unwrap | - |
UnwrapTuple | - |
UUIDVersion | - |
ValidatorError | - |
Variables
Variable | Description |
---|---|
customInspectSymbol | - |
customInspectSymbolStackLess | - |
s | - |