Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/types/index.ts

The modular and type safe schema library for validating structural data 🤖
Go to Latest
import * as valibot from "https://deno.land/x/valibot@v1.0.0-beta.4/src/types/index.ts";

Interfaces

Array path item type.

Base issue type.

Base metadata type.

Base schema type.

Base schema async type.

Base transformation type.

Base transformation async type.

Base validation type.

Base validation async type.

Config type.

Failure dataset type.

Generic issue type.

Generic metadata type.

Generic schema type.

Generic schema async type.

Generic transformation type.

Generic transformation async type.

Generic validation type.

Generic validation async type.

Map path item type.

Object entries type.

Object entries async type.

Object path item type.

Partial dataset type.

Set path item type.

The result interface if validation fails.

The Standard Schema properties interface.

The result interface if validation succeeds.

Success dataset type.

Unknown dataset type.

Unknown path item type.

Type Aliases

Deeply picks N specific keys.

Default type.

Default async type.

Default value type.

Error message type.

Extracts first tuple item.

Infer input type.

Infer issue type.

Infer object input type.

Infer object issue type.

Infer object output type.

Infer output type.

Infer tuple input type.

Infer tuple issue type.

Infer tuple output type.

Issue dot path type.

Issue path item type.

Extracts last tuple item.

Marks specific keys as optional.

Constructs a type that is maybe a promise.

Constructs a type that is maybe readonly.

Extracts null from a type.

Extracts null and undefined from a type.

Extracts undefined from a type.

Object keys type.

Output dataset type.

Extracts tuples with path keys.

Pipe action type.

Pipe action async type.

Pipe item type.

Pipe item async type.

Prettifies a type for better readability.

Schema without pipe type.

The result interface of the validate function.

Tuple items type.

Tuple items async type.

Converts union to intersection type.

Converts union to tuple type.