Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / StandardSchemaV1

StandardSchemaV1 ​

Interfaces ​

InterfaceDescription
FailureResultThe result interface if validation fails.
IssueThe issue interface of the failure output.
Options-
PathSegmentThe path segment interface of the issue.
PropsThe Standard Schema properties interface.
SuccessResultThe result interface if validation succeeds.
TypesThe Standard types interface.

Type Aliases ​

Type AliasDescription
InferInputInfers the input type of a Standard.
InferOutputInfers the output type of a Standard.
ResultThe result interface of the validate function.