Model fields
handler
One page handler: an export of the page's Lua with its input and output schemas.
inputSchemaRequiredmodeRequiredread loads data for rendering; action runs on a form submit or event and may change things.
- Allowed values
["read","action"]
nameRequiredThe handler's name: the export of the page's server Lua it calls, and the name its template uses.
- Minimum length
1
outputSchemaRequiredOnly the fields listed here are accepted.