Interface: BlockUi
Defined in: packages/core/src/catalog.types.ts:58
The editing half of a catalog entry: how the studio should treat this block's fields.
Example
import type { BlockUi } from "@nubbin/core";
const ui: BlockUi = { fields: { "cta.label": { data: { revalidate: 60 } } } };
Properties
fields?
optionalfields?:Record<string,FieldHint>
Defined in: packages/core/src/catalog.types.ts:63
Keyed by schema path (title, cta.label, items[].icon). Unresolvable paths fail
registration, read through the schema's own JSON Schema converter rather than a validator.