v9.1.0
envaptInterfaces

StandardSchemaV1

Standard Schema V1 interface. Inlined verbatim from the spec at https://standardschema.dev so envapt has zero runtime peer dependencies on any specific schema library (zod / valibot / arktype / etc).

envapt accepts synchronous schemas only. A validate that returns a Promise fails to type-check and throws InvalidUserDefinedConfig at runtime.

See

https://envapt.materwelon.dev/docs/standard-schema#any-conformant-validator-or-none

Type Parameters

Type ParameterDefault type
Inputunknown
OutputInput

Properties

PropertyModifierTypeDescription
~standardreadonlyProps<Input, Output>The Standard Schema entry point holding the validator and the inferred input/output types.

On this page