@voyantjs/legal-contracts
v0.104.2
Published
Pure legal validation schemas and enums (contracts + policies) for consumers (the Admin SDK, Voyant Connect) that validate legal payloads without the legal runtime (Drizzle schema, Hono routes, services).
Readme
@voyantjs/legal-contracts
Pure legal validation schemas and enums (contracts + policies) for consumers (the Admin SDK, Voyant Connect) that validate legal payloads without the legal runtime (Drizzle schema, Hono routes, services).
@voyantjs/legal re-exports these from ./contracts/validation and
./policies/validation, so existing import paths are unchanged.
Contract bodies are Liquid templates, so
contracts/validationvalidates their syntax via@voyantjs/templating(a lean,liquidjs-only package). This package depends onzod+@voyantjs/schema-kit+@voyantjs/templating— no data layer (Drizzle /@voyantjs/db) in the dependency tree.
