Generated record surfaces
View as MarkdownIdentity
Section titled “Identity”TableRoute, NewRecordRoute, form components/stores, and table actions from
@sapporta/frontend.
Contract
Section titled “Contract”TableRouterenders a table-aware list/detail surface from serialized schema metadata.NewRecordRouteandNewRecordPagerender metadata-derived creation forms.RecordFormProviderand its hooks expose supported custom form integration.- Generated forms consume required column kinds, Drizzle-derived select options, references, defaults, visibility, and API write policy from parsed schema metadata.
- Numeric, date, and timestamp controls keep raw draft text while the user
edits.
parseCreateDraft()decodes the complete draft on submit and associates local issues with public SQL column names without rewriting invalid input. - Optional empty non-text controls are omitted from creates, while an empty text
input remains
"". This keeps omission, empty text, and explicitnulldistinct. - Select-backed text renders as a searchable, clearable single-value combobox. Lookup controls remain scoped remote pickers.
- Generated routes run inside auth boot and use scoped table HTTP clients.