@sapphire/shapeshift v4.0.0
Enumerations
| Enumeration | Description |
|---|---|
| ObjectValidatorStrategy | - |
Classes
Interfaces
| Interface | Description |
|---|---|
| ArrayValidator | - |
| BaseConstraintError | - |
| BaseConstraintErrorJsonified | - |
| BaseErrorJsonified | - |
| BaseValidator | - |
| BigIntValidator | - |
| BooleanValidator | - |
| DateValidator | - |
| DefaultValidator | - |
| ExpectedConstraintErrorJsonified | - |
| ExpectedValidationErrorJsonified | - |
| IConstraint | - |
| InstanceValidator | - |
| LiteralValidator | - |
| MapValidator | - |
| MissingPropertyErrorJsonified | - |
| MultiplePossibilitiesConstraintErrorJsonified | - |
| NativeEnumLike | - |
| NativeEnumValidator | - |
| NeverValidator | - |
| NullishValidator | - |
| NumberValidator | - |
| ObjectValidator | - |
| PassthroughValidator | - |
| RecordValidator | - |
| SetValidator | - |
| Shapes | - |
| StringUuidOptions | - |
| StringValidator | - |
| TupleValidator | - |
| TypedArrayValidator | - |
| UnionValidator | - |
| 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
Variables
| Variable | Description |
|---|---|
| customInspectSymbol | - |
| customInspectSymbolStackLess | - |
| s | - |
Functions
| Function | Description |
|---|---|
| getGlobalValidationEnabled | - |
| setGlobalValidationEnabled | Sets whether validators should run on the input, or if the input should be passed through. |