Skip to content

Client API Reference

@uuki/schemable-validator-client exposes four distinct groups of exports.

Import pathWhat you get
@uuki/schemable-validator-clientvalidateObject, Result primitives, Constraint pipeline, schema types
@uuki/schemable-validator-client/zodsv, createSv, toZodSchema, checkZodSchema, type exports
@uuki/schemable-validator-client/valibotsv, createSv, toValibotSchema, checkValibotSchema, type exports

PageContents
Core validatorvalidateObject, isAllValid, extractErrors
Result primitivesok, err, isOk, isErr, map, flatMap, mapErr, getOrElse
Constraint pipelineconstraintsFromSchema, composeConstraints, individual factories, PATTERN_MAX_INPUT_LENGTH
Zod adaptersv, createSv, ZodRefiner, ZodAsyncRefiner, toZodSchema, checkZodSchema
Valibot adaptersv, createSv, ValibotRefiner, ValibotAsyncRefiner, toValibotSchema, checkValibotSchema
Type referenceObjectSchema, PropertySchema, WhenCondition, FieldResult, FieldState, Constraint