Skip to content

rulvar API reference


rulvar API reference / @rulvar/core / StandardSchemaV1 / Props

Interface: Props<Input, Output>

Defined in: packages/core/src/vendor/standard-schema.d.ts:48

The Standard Schema properties interface.

Extends

  • Props<Input, Output>

Type Parameters

Type ParameterDefault type
Inputunknown
OutputInput

Properties

PropertyModifierTypeDescriptionInherited fromDefined in
types?readonlyTypes<Input, Output>Inferred types associated with the schema.StandardTypedV1.Props.typespackages/core/src/vendor/standard-schema.d.ts:23
validatereadonly(value, options?) => | Result<Output> | Promise<Result<Output>>Validates unknown input values.-packages/core/src/vendor/standard-schema.d.ts:50
vendorreadonlystringThe vendor name of the schema library.StandardTypedV1.Props.vendorpackages/core/src/vendor/standard-schema.d.ts:21
versionreadonly1The version number of the standard.StandardTypedV1.Props.versionpackages/core/src/vendor/standard-schema.d.ts:19