QUESTPIE

Registries

Field, view, and component registries — how the admin resolves renderers from schema.

Registries are the mechanism that connects server-side schema to client-side rendering. When the admin panel encounters a text field, it looks up the text renderer in the field registry.

How Registries Work

Mermaid

Field Registry

Maps field types to React components:

Field typeRenderer
textTextInput
textareaTextareaInput
richTextRichTextEditor (TipTap)
numberNumberInput
booleanCheckbox / Switch
dateDatePicker
datetimeDateTimePicker
selectSelectDropdown
relationRelationPicker
uploadFileUpload
objectNestedForm
arrayRepeatableItems
blocksBlockEditor
jsonJSONEditor

View Registry

Maps view types to React components:

View typeRenderer
tableTableView (list)
formFormView (edit)

Component Registry

General-purpose component registry for dynamic rendering:

Component typeRenderer
iconIconComponent
badgeBadgeComponent

Extending Registries

Register custom renderers by placing files in the admin directory. Codegen discovers them automatically:

Mermaid

These are merged with built-in defaults during codegen and exported in .generated/client.ts.

On this page