Metakit / API
@doeixd/metakit/inspect
Schema inspector (@doeixd/metakit/inspect) for forms, data grids, CMS fields, and
AI agent JSON Schemas.
Reads Effect SchemaAST, Expr.refinementsOf and Domain.domainOf
directly — no interpreter interface in between.
Functions
fieldSpecs | Extract per-field kind, optionality, nullability, tightest bounds, enum literals, and domain metadata from a struct Schema (a non-struct Schema reads as one… |
fn | Extract parameter specs, JSON Schemas, return metadata, and contract counts from a Fn or FnSpec. |
toJsonSchema | Generate a JSON Schema object enriched with Expr.refine bounds, title/description annotations, and @doeixd/metakit/domain metadata (x-metakit-domain).… |
Interfaces
FieldSpec | |
FnSpecInfo | Inspected metadata for a @doeixd/metakit/fn Fn or FnSpec (forms, docs, agent tools). |