@knot0/schemas
v2.0.34
Published
Runtime access to Knot0 v2 JSON Schemas (loads from monorepo schemas-v2/json)
Readme
@knot0/schemas
Runtime accessors for Knot0 v2 JSON Schemas from the monorepo.
Usage
const Schemas = require('@knot0/schemas');
const componentSchema = Schemas.Component();Note: This package reads schemas from knot0-src/schemas-v2/json at runtime. Build schemas first:
node knot0-src/schemas-v2/scripts/build.mjs