Moss · API
verifyApp
Runs the check a boot runs, for an app that is not booted: the charter with each role’s closure audited, every entry’s reach, and the layout variants. A boot refuses an app whose errors is not empty. Example: the programme gains a button that opens seats, which guest and usher are not granted; that is no error, and the closure audit lists it under both roles.
{
id: 'programme',
layout: {
component: 'Stack',
children: [
{ component: 'Text', children: 'programme' },
{
component: 'Button',
ref: 'book',
children: 'Book seats',
},
],
},
triggers: [
{
event: 'ui:click',
ref: 'book',
do: [{ push: { action: 'seats' } }],
},
],
}verifyApp(app, grants)
none
{
guest: [
'programme: step pushes action "seats" which is not in the catalog',
],
member: [],
usher: [
'programme: step pushes action "seats" which is not in the catalog',
],
manager: [],
}Computed when this site was built, by the installed package, which does not run in a browser. The site’s checks recompute it on every change.