StandardSchemaV1 #

A schema from a library that follows Standard Schema (https://standardschema.dev), such as Zod, Valibot or ArkType. KawaPress only needs the ~standard property, so a site can use any of them.

Fields #

~standardStandardSchemaProps<Input, Output>
Full type signature
TypeScript
interface StandardSchemaV1<Input = unknown, Output = Input> {
  readonly ~standard: StandardSchemaProps<Input, Output>
}

Edit this page

Comments