API reference / @evolu/common / Type / StandardSchemaV1 / Props

Interface: Props<Input, Output>

Defined in: packages/common/src/Type.ts:4222

The Standard Schema properties interface.

Type Parameters

Type ParameterDefault type
Inputunknown
OutputInput

Properties

PropertyModifierTypeDescriptionDefined in
types?readonlyTypes<Input, Output>Inferred types associated with the schema.packages/common/src/Type.ts:4232
validatereadonly(value) => | Result<Output> | Promise<Result<Output>>Validates unknown input values.packages/common/src/Type.ts:4228
vendorreadonlystringThe vendor name of the schema library.packages/common/src/Type.ts:4226
versionreadonly1The version number of the standard.packages/common/src/Type.ts:4224

Was this page helpful?