Skip to content

postgrelize / StandardSchemaV1

Type Alias: StandardSchemaV1 ​

StandardSchemaV1 = Readonly<{ ~standard: StandardSchemaProps; }>

Defined in: src/validation/standard-schema.ts:42

Any schema implementing Standard Schema v1 — zod, valibot, arktype and others. Used by validate: { schema } on attributes and schema on models.

Released under the MIT License.