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
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
~standard | readonly | Props<Input, Output> | The Standard Schema entry point holding the validator and the inferred input/output types. |