import { object } from "https://deno.land/x/valibot@v0.28.1/src/schemas/object/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.