import { objectAsync } from "https://deno.land/x/valibot@v0.30.0/src/schemas/object/index.ts";
Creates an async object schema.
Type Parameters
TEntries extends ObjectEntriesAsync
Parameters
entries: TEntries
The object entries.
optional
pipe: PipeAsync<ObjectOutput<TEntries, undefined>>A validation and transformation pipe.
Returns
An async object schema.
Creates an async object schema.
Type Parameters
TEntries extends ObjectEntriesAsync
Parameters
entries: TEntries
The object entries.
optional
message: ErrorMessageThe error message.
optional
pipe: PipeAsync<ObjectOutput<TEntries, undefined>>A validation and transformation pipe.
Returns
An async object schema.
Creates an async object schema.
Type Parameters
TEntries extends ObjectEntriesAsync
TRest extends BaseSchema | BaseSchemaAsync | undefined
Returns
An async object schema.
Creates an async object schema.
Type Parameters
TEntries extends ObjectEntriesAsync
TRest extends BaseSchema | BaseSchemaAsync | undefined
Parameters
entries: TEntries
The object entries.
rest: TRest
The object rest.
optional
message: ErrorMessageThe error message.
optional
pipe: PipeAsync<ObjectOutput<TEntries, TRest>>A validation and transformation pipe.
Returns
An async object schema.