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

x/valibot/src/schemas/object/objectAsync.ts>ObjectSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface ObjectSchemaAsync
implements BaseSchemaAsync<InferObjectInput<TEntries>, InferObjectOutput<TEntries>, ObjectIssue | InferObjectIssue<TEntries>>
import { type ObjectSchemaAsync } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/schemas/object/objectAsync.ts";

Object schema async type.

Type Parameters

TEntries extends ObjectEntriesAsync
TMessage extends ErrorMessage<ObjectIssue> | undefined

Properties

readonly
type: "object"

The schema type.

readonly
reference: objectAsync

The schema reference.

readonly
expects: "Object"

The expected property.

readonly
entries: TEntries

The entries schema.

readonly
message: TMessage

The error message.