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

x/valibot/src/index.ts>ObjectSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface ObjectSchemaAsync
Re-export
import { type ObjectSchemaAsync } from "https://deno.land/x/valibot@v0.30.0/src/index.ts";

Object schema async type.

Type Parameters

TEntries extends ObjectEntriesAsync
optional
TRest extends BaseSchema | BaseSchemaAsync | undefined = undefined
optional
TOutput = ObjectOutput<TEntries, TRest>

Properties

type: "object"

The schema type.

entries: TEntries

The object entries schema.

rest: TRest

The object rest schema.

message: ErrorMessage | undefined

The error message.

pipe: PipeAsync<ObjectOutput<TEntries, TRest>> | undefined

The validation and transformation pipeline.