Skip to main content
Version: v10.0.0

StandardSchemaV1

The Standard Schema interface. Zod, Valibot, ArkType and other libraries implement it, so a collection accepts any of them without an adapter.


Import
import { StandardSchemaV1 } from "@hyper-fetch/db"

Preview​

type StandardSchemaV1<Input,Output> = {
~standard: StandardSchemaV1Props<Input, Output>;
}

Structure​

StandardSchemaV1
NameTypeDescription
~standard
StandardSchemaV1Props<Input, Output>