[]previous and next page

StandardSchemaV1

The Standard Schema v1 interface (https://standardschema.dev), inlined so that Zod, Valibot, ArkType and any other conforming library work without a dependency on any of them.

The Standard Schema v1 interface (https://standardschema.dev), inlined so that Zod, Valibot, ArkType and any other conforming library work without a dependency on any of them.

Import#

ts
import type { StandardSchemaV1 } from "@shadow-js/dusk/server";

Signature#

ts
interface StandardSchemaV1<Input = unknown, Output = Input> {
  readonly "~standard": StandardSchemaV1Props<Input, Output>;
}

Members#

Name Type Description
Input Input = unknown
Output Output = Input
~standard readonly "~standard": StandardSchemaV1Props<Input, Output>