z.StandardSchemaV1
The Standard Schema interface.
type StandardSchemaV1<Input = unknown, Output = Input> = {
readonly ~standard: StandardSchemaV1.Props<Input, Output>;
};§Type
§
{
[src]readonly ~standard: StandardSchemaV1.Props<Input, Output>;
}§Interfaces
| z.StandardSchemaV1.FailureResult | The result interface if validation fails. |
| z.StandardSchemaV1.Issue | The issue interface of the failure output. |
| z.StandardSchemaV1.PathSegment | The path segment interface of the issue. |
| z.StandardSchemaV1.Props | The Standard Schema properties interface. |
| z.StandardSchemaV1.SuccessResult | The result interface if validation succeeds. |
| z.StandardSchemaV1.Types | The Standard Schema types interface. |
§Type Aliases
| z.StandardSchemaV1.InferInput | Infers the input type of a Standard Schema. |
| z.StandardSchemaV1.InferOutput | Infers the output type of a Standard Schema. |
| z.StandardSchemaV1.Result | The result interface of the validate function. |