StandardSchema

Type Alias: StandardSchema<T>

ts
type StandardSchema<T> = StandardSchemaV1 & object;
type StandardSchema<T> = StandardSchemaV1 & object;

Defined in: packages/db/src/types.ts:250

The Standard Schema interface. This follows the standard-schema specification: https://github.com/standard-schema/standard-schema

Type declaration

~standard

ts
~standard: object;
~standard: object;

~standard.types?

ts
optional types: object;
optional types: object;

~standard.types.input

ts
input: T;
input: T;

~standard.types.output

ts
output: T;
output: T;

Type Parameters

T