Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/src/schemas/index.ts

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
import * as valibot from "https://deno.land/x/valibot@v0.22.0/src/schemas/index.ts";

Variables

See variant

v
enumType
deprecated
v
enumTypeAsync
deprecated
v
intersection
deprecated
v
nativeEnum
deprecated

See enum_

v
nativeEnumAsync
deprecated
v
nullType
deprecated

See null_

v
nullTypeAsync
deprecated
v
undefinedType
deprecated
v
voidType
deprecated

See void_

v
voidTypeAsync
deprecated

Functions

Creates a any schema.

Creates an async any schema.

Creates a array schema.

Creates an async array schema.

Creates a bigint schema.

Creates an async bigint schema.

Creates a blob schema.

Creates an async blob schema.

Creates a boolean schema.

Creates an async boolean schema.

Creates a date schema.

Creates an async date schema.

Creates a enum schema.

Creates an async enum schema.

Creates an instance schema.

Creates an async instance schema.

Creates an intersect schema.

Creates a literal schema.

Creates an async literal schema.

Creates a map schema.

Creates an async map schema.

Creates a NaN schema.

Creates an async NaN schema.

Creates a never schema.

Creates an async never schema.

Creates a non nullable schema.

Creates an async non nullable schema.

Creates a non nullish schema.

Creates an async non nullish schema.

Creates a non optional schema.

Creates an async non optional schema.

Creates a null schema.

Creates a nullable schema.

Creates an async nullable schema.

Creates an async null schema.

Creates a nullish schema.

Creates an async nullish schema.

Creates a number schema.

Creates an async number schema.

Creates an object schema.

Creates an async object schema.

Creates a optional schema.

Creates an async optional schema.

Creates a picklist schema.

Creates an async picklist schema.

Creates a record schema.

Creates an async record schema.

Creates a recursive schema.

Creates an async recursive schema.

Creates a set schema.

Creates an async set schema.

Creates a special schema.

Creates an async special schema.

Creates a string schema.

Creates an async string schema.

Creates a symbol schema.

Creates an async symbol schema.

Creates a tuple schema.

Creates an async tuple schema.

Creates a undefined schema.

Creates an async undefined schema.

Creates a union schema.

Creates an async union schema.

Creates a unknown schema.

Creates an async unknown schema.

Creates a variant (aka discriminated union) schema.

Creates an async variant (aka discriminated union) schema.

Creates a void schema.

Creates an async void schema.

Type Aliases

Any schema type.

Any schema type.

Array path item type.

Array schema type.

Array schema async type.

Bigint schema type.

Bigint schema async type.

Blob schema type.

Blob schema async type.

Boolean schema type.

Boolean schema async type.

Class enum type.

Date schema type.

Date schema async type.

Enum type.

Native enum schema type.

Native enum schema async type.

Instance schema type.

Instance schema type.

Intersect options type.

Intersect schema type.

Literal type.

Literal schema type.

Literal schema async type.

Map input inference type.

Map output inference type.

Map path item type.

Map schema type.

Map schema async type.

NaN schema type.

NaN schema async type.

Never schema type.

Never schema async type.

Non nullable type.

Non nullable schema type.

Non nullable schema async type.

Non nullish type.

Non nullish schema type.

Non nullish schema async type.

Non optional type.

Non optional schema type.

Non optional schema async type.

Nullable schema type.

Nullable schema async type.

Nullish schema type.

Nullish schema async type.

Null schema type.

Null schema async type.

Number schema type.

Number schema async type.

Object entries type.

Object entries async type.

Object input inference type.

Object output inference type.

Object path item type.

Object schema type.

Object schema async type.

Optional schema type.

Optional schema async type.

Picklist options type.

Picklist schema type.

Picklist schema async type.

Record input inference type.

Record key type.

Record key type.

Record output inference type.

Record path item type.

Record schema type.

Record schema async type.

Recursive schema type.

Recursive schema async type.

Set output inference type.

Set output inference type.

Set path item type.

Set schema type.

Set schema async type.

Special schema type.

Special schema async type.

String schema type.

String schema async type.

Symbol schema type.

Symbol schema async type.

Tuple input inference type.

Tuple shape type.

Tuple shape async type.

Tuple with rest output inference type.

Tuple path item type.

Tuple schema type.

Tuple schema async type.

Undefined schema type.

Undefined schema async type.

Union options type.

Union options async type.

Union schema type.

Union schema async type.

Unknown schema type.

Unknown schema async type.

Variant option type.

Variant option async type.

Variant options type.

Variant options async type.

Variant schema type.

Variant schema async type.

Void schema type.

Void schema async type.