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