API
Every export of @formdef/core, with its TSDoc.
@formdef/core exports the functions and types below and nothing else. Each page shows the
export's documentation as it ships with the package, so your editor shows the same text on hover.
Registry
What a form is built from and with.
createRegistrybinds the widgets to the TanStack contexts.Registryis what it returns:createForm,Fields,formHookandextendRegistry.FormConfig,FieldsOfandLayoutOftype a config, or a part of one, written outsidecreateForm.FormPropstypes the props of a form component, andFormHandlethe form an inline layout entry receives.InferDatais the data type of a schema, andValidationsays when the schema runs.
Widgets
What a widget is written with.
FieldOfstates the value type a widget serves, andFieldApiOfis the field it receives.fieldPartswires a control to its field and returnsFieldParts, witherrorsOfandfieldIdfor the parts on their own.
Structure
The props of the components that fill the structure slots:
BodyProps, SectionProps,
RowProps and ArrayFrameProps.