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

x/valibot/src/schemas/record/recordAsync.ts>RecordSchemaAsync

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

Record schema async type.

Type Parameters

TKey extends RecordKeyAsync
TValue extends BaseSchema | BaseSchemaAsync
optional
TOutput = RecordOutput<TKey, TValue>

Properties

type: "record"

The schema type.

key: TKey

The key schema.

value: TValue

The value schema.

message: ErrorMessage | undefined

The error message.

pipe: PipeAsync<RecordOutput<TKey, TValue>> | undefined

The validation and transformation pipeline.