[{"data":1,"prerenderedAt":4548},["ShallowReactive",2],{"navigation_docs":3,"-modules-volunteering-operations":732,"-modules-volunteering-operations-surround":4543},[4,54,159,535,608,651],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":53},"Get Started","i-lucide-rocket","\u002Fget-started","1.get-started",[10,15,20,24,29,34,39,44,48],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fget-started\u002Fintroduction","1.get-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fget-started\u002Finstallation","1.get-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23},"Project Structure","\u002Fget-started\u002Fproject-structure","1.get-started\u002F3.project-structure",{"title":25,"path":26,"stem":27,"icon":28},"Configuration","\u002Fget-started\u002Fconfiguration","1.get-started\u002F4.configuration","i-lucide-settings",{"title":30,"path":31,"stem":32,"icon":33},"Authentication","\u002Fget-started\u002Fauthentication","1.get-started\u002F5.authentication","i-lucide-lock",{"title":35,"path":36,"stem":37,"icon":38},"Adding modules","\u002Fget-started\u002Fadding-modules","1.get-started\u002F6.adding-modules","i-lucide-puzzle",{"title":40,"path":41,"stem":42,"icon":43},"Database","\u002Fget-started\u002Fdatabase","1.get-started\u002F7.database","i-lucide-database",{"title":45,"path":46,"stem":47,"icon":6},"Deployment","\u002Fget-started\u002Fdeployment","1.get-started\u002F8.deployment",{"title":49,"path":50,"stem":51,"icon":52},"Upgrading","\u002Fget-started\u002Fupgrading","1.get-started\u002F9.upgrading","i-lucide-circle-arrow-up",false,{"title":55,"icon":56,"path":57,"stem":58,"children":59,"page":53},"Guide","i-lucide-book-open","\u002Fguide","2.guide",[60,94,119,129],{"title":61,"icon":53,"path":62,"stem":63,"children":64,"page":53},"Concepts","\u002Fguide\u002Fconcepts","2.guide\u002F1.concepts",[65,70,75,80,84,89],{"title":66,"path":67,"stem":68,"icon":69},"Architecture","\u002Fguide\u002Fconcepts\u002Farchitecture","2.guide\u002F1.concepts\u002F1.architecture","i-lucide-blocks",{"title":71,"path":72,"stem":73,"icon":74},"Access control","\u002Fguide\u002Fconcepts\u002Fauth-and-scopes","2.guide\u002F1.concepts\u002F2.auth-and-scopes","i-lucide-shield-check",{"title":76,"path":77,"stem":78,"icon":79},"Extension points","\u002Fguide\u002Fconcepts\u002Fextension-points","2.guide\u002F1.concepts\u002F3.extension-points","i-lucide-plug",{"title":81,"path":82,"stem":83,"icon":43},"Database extensions","\u002Fguide\u002Fconcepts\u002Fdatabase-extensions","2.guide\u002F1.concepts\u002F4.database-extensions",{"title":85,"path":86,"stem":87,"icon":88},"Identity","\u002Fguide\u002Fconcepts\u002Fidentity","2.guide\u002F1.concepts\u002F5.identity","i-lucide-fingerprint",{"title":90,"path":91,"stem":92,"icon":93},"Glossary","\u002Fguide\u002Fconcepts\u002Fglossary","2.guide\u002F1.concepts\u002F6.glossary","i-lucide-book-a",{"title":95,"icon":53,"path":96,"stem":97,"children":98,"page":53},"UX patterns","\u002Fguide\u002Fux-patterns","2.guide\u002F2.ux-patterns",[99,104,109,114],{"title":100,"path":101,"stem":102,"icon":103},"Layouts and navigation","\u002Fguide\u002Fux-patterns\u002Flayouts-and-navigation","2.guide\u002F2.ux-patterns\u002F1.layouts-and-navigation","i-lucide-layout-template",{"title":105,"path":106,"stem":107,"icon":108},"Pages","\u002Fguide\u002Fux-patterns\u002Fpages","2.guide\u002F2.ux-patterns\u002F2.pages","i-lucide-table",{"title":110,"path":111,"stem":112,"icon":113},"Forms and actions","\u002Fguide\u002Fux-patterns\u002Fforms-and-actions","2.guide\u002F2.ux-patterns\u002F3.forms-and-actions","i-lucide-square-pen",{"title":115,"path":116,"stem":117,"icon":118},"Text and formatting","\u002Fguide\u002Fux-patterns\u002Ftext-and-formatting","2.guide\u002F2.ux-patterns\u002F4.text-and-formatting","i-lucide-type",{"title":120,"icon":53,"path":121,"stem":122,"children":123,"page":53},"Best practices","\u002Fguide\u002Fbest-practices","2.guide\u002F3.best-practices",[124],{"title":125,"path":126,"stem":127,"icon":128},"HTTP routes","\u002Fguide\u002Fbest-practices\u002Fhttp-routes","2.guide\u002F3.best-practices\u002F1.http-routes","i-lucide-route",{"title":130,"icon":53,"path":131,"stem":132,"children":133,"page":53},"Going further","\u002Fguide\u002Fgoing-further","2.guide\u002F4.going-further",[134,139,144,149,154],{"title":135,"path":136,"stem":137,"icon":138},"Use your own OAuth server","\u002Fguide\u002Fgoing-further\u002Fown-oauth-server","2.guide\u002F4.going-further\u002F1.own-oauth-server","i-lucide-key-round",{"title":140,"path":141,"stem":142,"icon":143},"Create an OAuth application","\u002Fguide\u002Fgoing-further\u002Foauth-application","2.guide\u002F4.going-further\u002F2.oauth-application","i-lucide-app-window",{"title":145,"path":146,"stem":147,"icon":148},"Signing keys","\u002Fguide\u002Fgoing-further\u002Fsigning-keys","2.guide\u002F4.going-further\u002F3.signing-keys","i-lucide-key-square",{"title":150,"path":151,"stem":152,"icon":153},"Stripe setup","\u002Fguide\u002Fgoing-further\u002Fstripe-setup","2.guide\u002F4.going-further\u002F4.stripe-setup","i-lucide-credit-card",{"title":155,"path":156,"stem":157,"icon":158},"Migrate to the permission model","\u002Fguide\u002Fgoing-further\u002Fmigrate-access-control","2.guide\u002F4.going-further\u002F5.migrate-access-control","i-lucide-arrow-right-left",{"title":160,"icon":161,"path":162,"stem":163,"children":164},"Modules","i-lucide-boxes","\u002Fmodules","3.modules",[165,167,252,261,290,303,350,396,473,518],{"title":160,"path":162,"stem":166},"3.modules\u002Findex",{"title":85,"icon":53,"path":168,"stem":169,"children":170,"page":53},"\u002Fmodules\u002Fidentity","3.modules\u002F1.identity",[171,198,202,206,228,232,248],{"title":172,"path":173,"stem":174,"children":175},"Auth","\u002Fmodules\u002Fidentity\u002Fauth","3.modules\u002F1.identity\u002F1.auth\u002Findex",[176,178,182,186,190,194],{"title":177,"path":173,"stem":174},"Overview",{"title":179,"path":180,"stem":181},"Server API","\u002Fmodules\u002Fidentity\u002Fauth\u002Fserver","3.modules\u002F1.identity\u002F1.auth\u002F2.server",{"title":183,"path":184,"stem":185},"Reference","\u002Fmodules\u002Fidentity\u002Fauth\u002Freference","3.modules\u002F1.identity\u002F1.auth\u002F3.reference",{"title":187,"path":188,"stem":189},"Client mode","\u002Fmodules\u002Fidentity\u002Fauth\u002Fclient-mode","3.modules\u002F1.identity\u002F1.auth\u002F4.client-mode",{"title":191,"path":192,"stem":193},"OAuth providers","\u002Fmodules\u002Fidentity\u002Fauth\u002Foauth-providers","3.modules\u002F1.identity\u002F1.auth\u002F5.oauth-providers",{"title":195,"path":196,"stem":197},"Resource mode","\u002Fmodules\u002Fidentity\u002Fauth\u002Fresource-mode","3.modules\u002F1.identity\u002F1.auth\u002F6.resource-mode",{"title":199,"path":200,"stem":201},"Users","\u002Fmodules\u002Fidentity\u002Fusers","3.modules\u002F1.identity\u002F2.users",{"title":203,"path":204,"stem":205},"Account","\u002Fmodules\u002Fidentity\u002Faccount","3.modules\u002F1.identity\u002F3.account",{"title":207,"path":208,"stem":209,"children":210},"Authorization","\u002Fmodules\u002Fidentity\u002Fauthorization","3.modules\u002F1.identity\u002F4.authorization\u002Findex",[211,212,216,220,224],{"title":177,"path":208,"stem":209},{"title":213,"path":214,"stem":215},"Roles and requirements","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Froles-and-requirements","3.modules\u002F1.identity\u002F4.authorization\u002F2.roles-and-requirements",{"title":217,"path":218,"stem":219},"Policies","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fpolicies","3.modules\u002F1.identity\u002F4.authorization\u002F3.policies",{"title":221,"path":222,"stem":223},"Client","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fclient","3.modules\u002F1.identity\u002F4.authorization\u002F4.client",{"title":225,"path":226,"stem":227},"Admin","\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fadmin","3.modules\u002F1.identity\u002F4.authorization\u002F5.admin",{"title":229,"path":230,"stem":231},"Preferences","\u002Fmodules\u002Fidentity\u002Fpreferences","3.modules\u002F1.identity\u002F5.preferences",{"title":233,"path":234,"stem":235,"children":236},"OAuth Server","\u002Fmodules\u002Fidentity\u002Foauth-server","3.modules\u002F1.identity\u002F6.oauth-server\u002Findex",[237,238,241,245],{"title":177,"path":234,"stem":235},{"title":179,"path":239,"stem":240},"\u002Fmodules\u002Fidentity\u002Foauth-server\u002Fserver","3.modules\u002F1.identity\u002F6.oauth-server\u002F2.server",{"title":242,"path":243,"stem":244},"Hooks","\u002Fmodules\u002Fidentity\u002Foauth-server\u002Fhooks","3.modules\u002F1.identity\u002F6.oauth-server\u002F3.hooks",{"title":183,"path":246,"stem":247},"\u002Fmodules\u002Fidentity\u002Foauth-server\u002Froutes-and-clients","3.modules\u002F1.identity\u002F6.oauth-server\u002F4.routes-and-clients",{"title":249,"path":250,"stem":251},"OAuth Resource","\u002Fmodules\u002Fidentity\u002Foauth-resource","3.modules\u002F1.identity\u002F8.oauth-resource",{"title":253,"icon":53,"path":254,"stem":255,"children":256,"page":53},"Organisation","\u002Fmodules\u002Forganisation","3.modules\u002F2.organisation",[257],{"title":258,"path":259,"stem":260},"Teams","\u002Fmodules\u002Forganisation\u002Fteams","3.modules\u002F2.organisation\u002F1.teams",{"title":262,"icon":53,"path":263,"stem":264,"children":265,"page":53},"Commerce","\u002Fmodules\u002Fcommerce","3.modules\u002F3.commerce",[266,270,274],{"title":267,"path":268,"stem":269},"Stripe","\u002Fmodules\u002Fcommerce\u002Fstripe","3.modules\u002F3.commerce\u002F1.stripe",{"title":271,"path":272,"stem":273},"Payments","\u002Fmodules\u002Fcommerce\u002Fpayments","3.modules\u002F3.commerce\u002F2.payments",{"title":275,"path":276,"stem":277,"children":278},"Subscriptions","\u002Fmodules\u002Fcommerce\u002Fsubscriptions","3.modules\u002F3.commerce\u002F3.subscriptions\u002Findex",[279,280,283,287],{"title":177,"path":276,"stem":277},{"title":179,"path":281,"stem":282},"\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Fserver","3.modules\u002F3.commerce\u002F3.subscriptions\u002F2.server",{"title":284,"path":285,"stem":286},"App","\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Fapp","3.modules\u002F3.commerce\u002F3.subscriptions\u002F3.app",{"title":183,"path":288,"stem":289},"\u002Fmodules\u002Fcommerce\u002Fsubscriptions\u002Freference","3.modules\u002F3.commerce\u002F3.subscriptions\u002F4.reference",{"title":291,"icon":53,"path":292,"stem":293,"children":294,"page":53},"Content","\u002Fmodules\u002Fcontent","3.modules\u002F4.content",[295,299],{"title":296,"path":297,"stem":298},"Help center","\u002Fmodules\u002Fcontent\u002Fhelp-center","3.modules\u002F4.content\u002F2.help-center",{"title":300,"path":301,"stem":302},"Documents","\u002Fmodules\u002Fcontent\u002Fdocuments","3.modules\u002F4.content\u002F3.documents",{"title":304,"icon":53,"path":305,"stem":306,"children":307,"page":53},"Features","\u002Fmodules\u002Ffeatures","3.modules\u002F5.features",[308,323,342,346],{"title":309,"path":310,"stem":311,"children":312},"Events","\u002Fmodules\u002Ffeatures\u002Fevents","3.modules\u002F5.features\u002F1.events\u002Findex",[313,314,317,320],{"title":177,"path":310,"stem":311},{"title":179,"path":315,"stem":316},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Fserver","3.modules\u002F5.features\u002F1.events\u002F2.server",{"title":284,"path":318,"stem":319},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Fapp","3.modules\u002F5.features\u002F1.events\u002F3.app",{"title":183,"path":321,"stem":322},"\u002Fmodules\u002Ffeatures\u002Fevents\u002Freference","3.modules\u002F5.features\u002F1.events\u002F4.reference",{"title":324,"path":325,"stem":326,"children":327},"Forms","\u002Fmodules\u002Ffeatures\u002Fforms","3.modules\u002F5.features\u002F2.forms\u002Findex",[328,329,333,336,339],{"title":177,"path":325,"stem":326},{"title":330,"path":331,"stem":332},"Definition","\u002Fmodules\u002Ffeatures\u002Fforms\u002Fdefinition","3.modules\u002F5.features\u002F2.forms\u002F2.definition",{"title":179,"path":334,"stem":335},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Fserver","3.modules\u002F5.features\u002F2.forms\u002F3.server",{"title":284,"path":337,"stem":338},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Fapp","3.modules\u002F5.features\u002F2.forms\u002F4.app",{"title":183,"path":340,"stem":341},"\u002Fmodules\u002Ffeatures\u002Fforms\u002Freference","3.modules\u002F5.features\u002F2.forms\u002F5.reference",{"title":343,"path":344,"stem":345},"Cookie Consent","\u002Fmodules\u002Ffeatures\u002Fcookie-consent","3.modules\u002F5.features\u002F3.cookie-consent",{"title":347,"path":348,"stem":349},"MCP","\u002Fmodules\u002Ffeatures\u002Fmcp","3.modules\u002F5.features\u002F4.mcp",{"title":351,"icon":53,"path":352,"stem":353,"children":354,"page":53},"Communication","\u002Fmodules\u002Fcommunication","3.modules\u002F6.communication",[355,359,376,380,384,388,392],{"title":356,"path":357,"stem":358},"Notify","\u002Fmodules\u002Fcommunication\u002Fnotify","3.modules\u002F6.communication\u002F1.notify",{"title":360,"path":361,"stem":362,"children":363},"Email Templates","\u002Fmodules\u002Fcommunication\u002Femail-templates","3.modules\u002F6.communication\u002F2.email-templates\u002Findex",[364,365,369,372],{"title":177,"path":361,"stem":362},{"title":366,"path":367,"stem":368},"Email components","\u002Fmodules\u002Fcommunication\u002Femail-templates\u002Fcomponents","3.modules\u002F6.communication\u002F2.email-templates\u002F2.components",{"title":179,"path":370,"stem":371},"\u002Fmodules\u002Fcommunication\u002Femail-templates\u002Fserver","3.modules\u002F6.communication\u002F2.email-templates\u002F3.server",{"title":373,"path":374,"stem":375},"Module emails","\u002Fmodules\u002Fcommunication\u002Femail-templates\u002Fmodule-emails","3.modules\u002F6.communication\u002F2.email-templates\u002F4.module-emails",{"title":377,"path":378,"stem":379},"Push","\u002Fmodules\u002Fcommunication\u002Fpush","3.modules\u002F6.communication\u002F3.push",{"title":381,"path":382,"stem":383},"Inbox","\u002Fmodules\u002Fcommunication\u002Finbox","3.modules\u002F6.communication\u002F4.inbox",{"title":385,"path":386,"stem":387},"Short links","\u002Fmodules\u002Fcommunication\u002Fshort-links","3.modules\u002F6.communication\u002F5.short-links",{"title":389,"path":390,"stem":391},"Campaigns","\u002Fmodules\u002Fcommunication\u002Fcampaigns","3.modules\u002F6.communication\u002F6.campaigns",{"title":393,"path":394,"stem":395},"SMS","\u002Fmodules\u002Fcommunication\u002Fsms","3.modules\u002F6.communication\u002F7.sms",{"title":397,"icon":53,"path":398,"stem":399,"children":400,"page":53},"Interface","\u002Fmodules\u002Finterface","3.modules\u002F7.interface",[401,426,429,433,437,451,455,469],{"title":402,"path":403,"stem":404,"children":405},"UI","\u002Fmodules\u002Finterface\u002Fui","3.modules\u002F7.interface\u002F1.ui\u002Findex",[406,407,411,415,419,423],{"title":177,"path":403,"stem":404},{"title":408,"path":409,"stem":410},"Page components","\u002Fmodules\u002Finterface\u002Fui\u002Fpage-components","3.modules\u002F7.interface\u002F1.ui\u002F2.page-components",{"title":412,"path":413,"stem":414},"App shell","\u002Fmodules\u002Finterface\u002Fui\u002Fapp-shell","3.modules\u002F7.interface\u002F1.ui\u002F3.app-shell",{"title":416,"path":417,"stem":418},"Form inputs","\u002Fmodules\u002Finterface\u002Fui\u002Fform-inputs","3.modules\u002F7.interface\u002F1.ui\u002F4.form-inputs",{"title":420,"path":421,"stem":422},"Composables and helpers","\u002Fmodules\u002Finterface\u002Fui\u002Fcomposables","3.modules\u002F7.interface\u002F1.ui\u002F5.composables",{"title":183,"path":424,"stem":425},"\u002Fmodules\u002Finterface\u002Fui\u002Freference","3.modules\u002F7.interface\u002F1.ui\u002F6.reference",{"title":225,"path":427,"stem":428},"\u002Fmodules\u002Finterface\u002Fadmin","3.modules\u002F7.interface\u002F2.admin",{"title":430,"path":431,"stem":432},"Menu","\u002Fmodules\u002Finterface\u002Fmenu","3.modules\u002F7.interface\u002F3.menu",{"title":434,"path":435,"stem":436},"Widget","\u002Fmodules\u002Finterface\u002Fwidget","3.modules\u002F7.interface\u002F4.widget",{"title":438,"path":439,"stem":440,"children":441},"Mobile","\u002Fmodules\u002Finterface\u002Fmobile","3.modules\u002F7.interface\u002F5.mobile\u002Findex",[442,443,447],{"title":177,"path":439,"stem":440},{"title":444,"path":445,"stem":446},"CLI and devices","\u002Fmodules\u002Finterface\u002Fmobile\u002Fcli-and-devices","3.modules\u002F7.interface\u002F5.mobile\u002F2.cli-and-devices",{"title":448,"path":449,"stem":450},"Splash screen","\u002Fmodules\u002Finterface\u002Fmobile\u002Fsplash-screen","3.modules\u002F7.interface\u002F5.mobile\u002F3.splash-screen",{"title":452,"path":453,"stem":454},"Dashboard","\u002Fmodules\u002Finterface\u002Fdashboard","3.modules\u002F7.interface\u002F6.dashboard",{"title":456,"path":457,"stem":458,"children":459},"Desktop","\u002Fmodules\u002Finterface\u002Fdesktop","3.modules\u002F7.interface\u002F7.desktop\u002Findex",[460,461,465],{"title":177,"path":457,"stem":458},{"title":462,"path":463,"stem":464},"CLI","\u002Fmodules\u002Finterface\u002Fdesktop\u002Fcli","3.modules\u002F7.interface\u002F7.desktop\u002F2.cli",{"title":466,"path":467,"stem":468},"Local mode","\u002Fmodules\u002Finterface\u002Fdesktop\u002Flocal-mode","3.modules\u002F7.interface\u002F7.desktop\u002F3.local-mode",{"title":470,"path":471,"stem":472},"Maps","\u002Fmodules\u002Finterface\u002Fmaps","3.modules\u002F7.interface\u002F8.maps",{"title":474,"icon":53,"path":475,"stem":476,"children":477,"page":53},"Platform","\u002Fmodules\u002Fplatform","3.modules\u002F8.platform",[478,500],{"title":479,"path":480,"stem":481,"children":482},"Module Kit","\u002Fmodules\u002Fplatform\u002Fmodule-kit","3.modules\u002F8.platform\u002F1.module-kit\u002Findex",[483,484,488,492,496],{"title":177,"path":480,"stem":481},{"title":485,"path":486,"stem":487},"Server toolkit","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fserver-toolkit","3.modules\u002F8.platform\u002F1.module-kit\u002F2.server-toolkit",{"title":489,"path":490,"stem":491},"Registries and menus","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fregistries-and-menus","3.modules\u002F8.platform\u002F1.module-kit\u002F3.registries-and-menus",{"title":493,"path":494,"stem":495},"Translations","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fi18n","3.modules\u002F8.platform\u002F1.module-kit\u002F4.i18n",{"title":497,"path":498,"stem":499},"Database helpers","\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fdatabase","3.modules\u002F8.platform\u002F1.module-kit\u002F5.database",{"title":501,"path":502,"stem":503,"children":504},"Base Layer","\u002Fmodules\u002Fplatform\u002Fbase-layer","3.modules\u002F8.platform\u002F2.base-layer\u002Findex",[505,506,510,514],{"title":177,"path":502,"stem":503},{"title":507,"path":508,"stem":509},"Content collections","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Fcontent-collections","3.modules\u002F8.platform\u002F2.base-layer\u002F2.content-collections",{"title":511,"path":512,"stem":513},"Layouts and routing","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Flayouts-and-routing","3.modules\u002F8.platform\u002F2.base-layer\u002F3.layouts-and-routing",{"title":515,"path":516,"stem":517},"Composables and utils","\u002Fmodules\u002Fplatform\u002Fbase-layer\u002Fcomposables-and-utils","3.modules\u002F8.platform\u002F2.base-layer\u002F4.composables-and-utils",{"title":519,"icon":53,"path":520,"stem":521,"children":522,"page":53},"Volunteering","\u002Fmodules\u002Fvolunteering","3.modules\u002F9.volunteering",[523,527,531],{"title":524,"path":525,"stem":526},"Operations","\u002Fmodules\u002Fvolunteering\u002Foperations","3.modules\u002F9.volunteering\u002F1.operations",{"title":528,"path":529,"stem":530},"Crew","\u002Fmodules\u002Fvolunteering\u002Fcrew","3.modules\u002F9.volunteering\u002F2.crew",{"title":532,"path":533,"stem":534},"Shifts","\u002Fmodules\u002Fvolunteering\u002Fshifts","3.modules\u002F9.volunteering\u002F3.shifts",{"title":536,"icon":537,"path":538,"stem":539,"children":540,"page":53},"Examples","i-lucide-code-xml","\u002Fexamples","4.examples",[541,570,580],{"title":542,"icon":53,"path":543,"stem":544,"children":545,"page":53},"Starters","\u002Fexamples\u002Fstarters","4.examples\u002F1.starters",[546,550,555,560,565],{"title":547,"path":548,"stem":549},"Workspace","\u002Fexamples\u002Fstarters\u002Fworkspace","4.examples\u002F1.starters\u002F1.workspace",{"title":551,"path":552,"stem":553,"icon":554},"Mobile starter","\u002Fexamples\u002Fstarters\u002Fmobile","4.examples\u002F1.starters\u002F2.mobile","i-lucide-smartphone",{"title":556,"path":557,"stem":558,"icon":559},"Standalone mobile starter","\u002Fexamples\u002Fstarters\u002Fmobile-standalone","4.examples\u002F1.starters\u002F3.mobile-standalone","i-lucide-tablet-smartphone",{"title":561,"path":562,"stem":563,"icon":564},"Desktop starter","\u002Fexamples\u002Fstarters\u002Fdesktop","4.examples\u002F1.starters\u002F4.desktop","i-lucide-monitor",{"title":566,"path":567,"stem":568,"icon":569},"Multi-platform starter","\u002Fexamples\u002Fstarters\u002Fmulti-platform","4.examples\u002F1.starters\u002F5.multi-platform","i-lucide-layers",{"title":571,"icon":53,"path":572,"stem":573,"children":574,"page":53},"Apps","\u002Fexamples\u002Fapps","4.examples\u002F2.apps",[575],{"title":576,"path":577,"stem":578,"icon":579},"Frigear website app","\u002Fexamples\u002Fapps\u002Ffrigear-nu-website","4.examples\u002F2.apps\u002F1.frigear-nu-website","i-lucide-layout-dashboard",{"title":581,"icon":53,"path":582,"stem":583,"children":584,"page":53},"Tasks","\u002Fexamples\u002Ftasks","4.examples\u002F3.tasks",[585,589,593,598,603],{"title":586,"path":587,"stem":588,"icon":74},"Protect a route","\u002Fexamples\u002Ftasks\u002Fprotect-a-route","4.examples\u002F3.tasks\u002F1.protect-a-route",{"title":590,"path":591,"stem":592,"icon":579},"Add an admin page","\u002Fexamples\u002Ftasks\u002Fadd-an-admin-page","4.examples\u002F3.tasks\u002F2.add-an-admin-page",{"title":594,"path":595,"stem":596,"icon":597},"Sell event tickets","\u002Fexamples\u002Ftasks\u002Fsell-event-tickets","4.examples\u002F3.tasks\u002F3.sell-event-tickets","i-lucide-ticket",{"title":599,"path":600,"stem":601,"icon":602},"Build a form","\u002Fexamples\u002Ftasks\u002Fbuild-a-form","4.examples\u002F3.tasks\u002F4.build-a-form","i-lucide-clipboard-list",{"title":604,"path":605,"stem":606,"icon":607},"Send an email","\u002Fexamples\u002Ftasks\u002Fsend-an-email","4.examples\u002F3.tasks\u002F5.send-an-email","i-lucide-mail",{"title":462,"icon":609,"path":610,"stem":611,"children":612,"page":53},"i-lucide-square-terminal","\u002Fcli","5.cli",[613,616,621,625,630,633,638,642,647],{"title":177,"path":614,"stem":615,"icon":609},"\u002Fcli\u002Foverview","5.cli\u002F1.overview",{"title":617,"path":618,"stem":619,"icon":620},"Create a project","\u002Fcli\u002Fcreate-a-project","5.cli\u002F2.create-a-project","i-lucide-folder-plus",{"title":622,"path":623,"stem":624,"icon":569},"Platforms","\u002Fcli\u002Fplatforms","5.cli\u002F3.platforms",{"title":626,"path":627,"stem":628,"icon":629},"Custom platforms","\u002Fcli\u002Fcustom-platforms","5.cli\u002F4.custom-platforms","i-lucide-monitor-cog",{"title":160,"path":631,"stem":632,"icon":161},"\u002Fcli\u002Fmodules","5.cli\u002F5.modules",{"title":634,"path":635,"stem":636,"icon":637},"Refactoring","\u002Fcli\u002Frefactoring","5.cli\u002F6.refactoring","i-lucide-folder-tree",{"title":639,"path":640,"stem":641,"icon":52},"Upgrade","\u002Fcli\u002Fupgrade","5.cli\u002F7.upgrade",{"title":643,"path":644,"stem":645,"icon":646},"From code","\u002Fcli\u002Ffrom-code","5.cli\u002F8.from-code","i-lucide-code",{"title":648,"path":649,"stem":650,"icon":138},"Environment files","\u002Fcli\u002Fenvironment","5.cli\u002F9.environment",{"title":652,"icon":653,"path":654,"stem":655,"children":656,"page":53},"Contribute","i-lucide-git-pull-request","\u002Fcontribute","6.contribute",[657,660,665,691,696,699,703,716],{"title":177,"path":658,"stem":659,"icon":653},"\u002Fcontribute\u002Foverview","6.contribute\u002F1.overview",{"title":661,"path":662,"stem":663,"icon":664},"Local development","\u002Fcontribute\u002Flocal-development","6.contribute\u002F2.local-development","i-lucide-terminal",{"title":666,"icon":53,"path":667,"stem":668,"children":669,"page":53},"Writing a module","\u002Fcontribute\u002Fwriting-a-module","6.contribute\u002F3.writing-a-module",[670,674,679,683,688],{"title":671,"path":672,"stem":673,"icon":38},"Scaffold a module","\u002Fcontribute\u002Fwriting-a-module\u002Fscaffold","6.contribute\u002F3.writing-a-module\u002F1.scaffold",{"title":675,"path":676,"stem":677,"icon":678},"Setup checklist","\u002Fcontribute\u002Fwriting-a-module\u002Fsetup-checklist","6.contribute\u002F3.writing-a-module\u002F2.setup-checklist","i-lucide-list-checks",{"title":680,"path":681,"stem":682,"icon":43},"Database tables","\u002Fcontribute\u002Fwriting-a-module\u002Fdatabase-tables","6.contribute\u002F3.writing-a-module\u002F3.database-tables",{"title":684,"path":685,"stem":686,"icon":687},"Testing","\u002Fcontribute\u002Fwriting-a-module\u002Ftesting","6.contribute\u002F3.writing-a-module\u002F4.testing","i-lucide-flask-conical",{"title":71,"path":689,"stem":690,"icon":74},"\u002Fcontribute\u002Fwriting-a-module\u002Faccess-control","6.contribute\u002F3.writing-a-module\u002F5.access-control",{"title":692,"path":693,"stem":694,"icon":695},"Publishing","\u002Fcontribute\u002Fpublishing","6.contribute\u002F4.publishing","i-lucide-package-check",{"title":542,"path":697,"stem":698,"icon":6},"\u002Fcontribute\u002Fstarters","6.contribute\u002F5.starters",{"title":700,"path":701,"stem":702,"icon":56},"Documentation","\u002Fcontribute\u002Fdocumentation","6.contribute\u002F6.documentation",{"title":704,"icon":53,"path":705,"stem":706,"children":707,"page":53},"Tooling","\u002Fcontribute\u002Ftooling","6.contribute\u002F7.tooling",[708,711],{"title":462,"path":709,"stem":710,"icon":609},"\u002Fcontribute\u002Ftooling\u002Fcli","6.contribute\u002F7.tooling\u002F1.cli",{"title":712,"path":713,"stem":714,"icon":715},"ESLint config","\u002Fcontribute\u002Ftooling\u002Feslint-config","6.contribute\u002F7.tooling\u002F2.eslint-config","i-lucide-spell-check",{"title":717,"icon":53,"path":718,"stem":719,"children":720},"Decisions","\u002Fcontribute\u002Fdecisions","6.contribute\u002F8.decisions\u002Findex",[721,723,728],{"title":717,"path":718,"stem":719,"icon":722},"i-lucide-scale",{"title":724,"path":725,"stem":726,"icon":727},"Session lifetimes per OAuth client","\u002Fcontribute\u002Fdecisions\u002Foauth-token-lifetimes","6.contribute\u002F8.decisions\u002F1.oauth-token-lifetimes","i-lucide-timer",{"title":729,"path":730,"stem":731,"icon":74},"One permission model","\u002Fcontribute\u002Fdecisions\u002Fpermission-model","6.contribute\u002F8.decisions\u002F2.permission-model",{"id":733,"title":524,"body":734,"description":4537,"extension":4538,"links":4539,"meta":4540,"navigation":3258,"path":525,"seo":4541,"stem":526,"__hash__":4542},"docs\u002F3.modules\u002F9.volunteering\u002F1.operations.md",{"type":735,"value":736,"toc":4498},"minimark",[737,755,772,777,895,899,945,949,1303,1323,1327,1333,1428,1440,1461,1465,1474,1570,1650,1654,1666,1669,1672,1723,1750,1764,1767,1775,1815,1836,1840,1884,1887,1891,1904,1908,1920,2094,2098,2126,2128,2133,2290,2293,2317,2330,2344,2348,2403,2407,2423,2510,2522,2655,2700,2703,2706,2764,2831,2834,2840,2879,2882,2924,2928,2948,3034,3038,3059,3062,3065,3127,3130,3134,3204,3208,3226,3346,3360,3368,3371,3381,3471,3482,3485,3494,4060,4125,4128,4135,4207,4283,4292,4295,4323,4392,4450,4454,4469,4473,4494],[738,739,740,741,745,746,748,749,751,752,754],"p",{},"Operations holds the occasions your organisation works at, whether or not it hosts them: a festival's bars, a venue's\nautumn season. ",[742,743,744],"a",{"href":91},"Staff"," create an operation, set its period, place and host, and move it from\nplanning to archived. It is the anchor that ",[742,747,528],{"href":529},", ",[742,750,532],{"href":533},"\nand help content attach to. For dated events with tickets, use ",[742,753,309],{"href":310}," instead.",[738,756,757,758,762,763,766,767,771],{},"The package is ",[759,760,761],"code",{},"@frigear-nu\u002Foperations",". It registers the ",[759,764,765],{},"operation"," grant kind of Auth's ",[742,768,770],{"href":769},"\u002Fcontribute\u002Fwriting-a-module\u002Faccess-control#record-audiences","record audiences",".",[773,774,776],"h2",{"id":775},"what-you-get","What you get",[778,779,780,795,814,826,841,862,875,887],"ul",{},[781,782,783,786,787,790,791,794],"li",{},[784,785,105],"strong",{},": the public page of a public operation at ",[759,788,789],{},"\u002Foperations\u002F:slug"," (on by default, ",[759,792,793],{},"pages.public: false"," turns it\noff).",[781,796,797,800,801,803,804,807,808,811,812,771],{},[784,798,799],{},"Admin area"," (opt-in, with ",[742,802,225],{"href":427},"): an operation list at ",[759,805,806],{},"\u002Fadmin\u002Foperations",", and an\noperation page at ",[759,809,810],{},"\u002Fadmin\u002Foperations\u002F:id"," with a Details tab and the tabs other modules add. The sidebar entry\nneeds ",[742,813,430],{"href":431},[781,815,816,819,820,771],{},[784,817,818],{},"Server routes"," (on by default): browse the public operations and the ones you take part in, and a staff API for\noperations and their status. The staff API is guarded by ",[742,821,823],{"href":822},"#permissions",[759,824,825],{},"operations:manage",[781,827,828,830,831,748,834,837,838,771],{},[784,829,420],{},": ",[759,832,833],{},"useOperationActions",[759,835,836],{},"useOperationLinks"," and the path builders ",[759,839,840],{},"operationsApi",[781,842,843,830,845,748,848,851,852,855,856,851,859,771],{},[784,844,242],{},[759,846,847],{},"operations:created",[759,849,850],{},"operations:updated"," and ",[759,853,854],{},"operations:status-changed",", and the participation\nhooks ",[759,857,858],{},"operations:participation:resolve",[759,860,861],{},"operations:participants:resolve",[781,863,864,830,867,869,870,874],{},[784,865,866],{},"Grant kind",[759,868,765],{},", the people who take part in an operation (see ",[742,871,873],{"href":872},"#grants","Grants",").",[781,876,877,880,881,883,884,874],{},[784,878,879],{},"Wristbands"," (with ",[742,882,199],{"href":200},"): the bands people wear at an operation, by printed number and\nNFC UID, stored encrypted, with a staff tab, a CSV import, self-registration and a \"My wristband\" dashboard item\n(see ",[742,885,879],{"href":886},"#wristbands",[781,888,889,892,893,771],{},[784,890,891],{},"Emails."," None built in. Send one from ",[759,894,854],{},[896,897],"module-runtime",{":client":898,":server":898},"true",[900,901,902,905,906,748,908,748,910,912,913,905,916,919,920,923,924,905,927,929,930,932,933,935,936,938,939,941,942,771],"note",{},[784,903,904],{},"Installed for you:"," ",[742,907,172],{"href":173},[742,909,402],{"href":403},[742,911,470],{"href":471}," and Module Kit.\n",[784,914,915],{},"You add:",[759,917,918],{},"@nuxthub\u002Fcore",", and ",[759,921,922],{},"@nuxt\u002Fui"," for the pages.\n",[784,925,926],{},"Optional:",[742,928,225],{"href":427}," for the admin pages, ",[742,931,434],{"href":435}," for the tabs\nof the operation page, ",[742,934,430],{"href":431}," for the sidebar entry, ",[742,937,309],{"href":310}," to link\nan operation to an event, ",[742,940,199],{"href":200}," for ",[742,943,944],{"href":886},"wristbands",[773,946,948],{"id":947},"quick-setup","Quick setup",[950,951,952,957,985,989,992,1140,1144,1156,1168,1172,1185,1194],"steps",{},[953,954,956],"h3",{"id":955},"install-operations","Install Operations",[958,959,964],"pre",{"className":960,"code":961,"language":962,"meta":963,"style":963},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm add @frigear-nu\u002Foperations @nuxthub\u002Fcore\n","bash","",[759,965,966],{"__ignoreMap":963},[967,968,971,975,979,982],"span",{"class":969,"line":970},"line",1,[967,972,974],{"class":973},"sBMFI","pnpm",[967,976,978],{"class":977},"sfazB"," add",[967,980,981],{"class":977}," @frigear-nu\u002Foperations",[967,983,984],{"class":977}," @nuxthub\u002Fcore\n",[953,986,988],{"id":987},"add-it-to-nuxtconfigts","Add it to nuxt.config.ts",[738,990,991],{},"List Widget and Menu (or Admin, which installs them) before Operations, so the tabs and the menu entry register.",[958,993,998],{"className":994,"code":995,"filename":996,"language":997,"meta":963,"style":963},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  modules: ['@nuxthub\u002Fcore', '@frigear-nu\u002Fadmin', '@frigear-nu\u002Foperations'],\n  operations: {\n    settings: {\n      pages: { admin: true, adminOperation: true },\n    },\n  },\n})\n","nuxt.config.ts","ts",[759,999,1000,1021,1066,1077,1087,1119,1125,1131],{"__ignoreMap":963},[967,1001,1002,1006,1009,1013,1017],{"class":969,"line":970},[967,1003,1005],{"class":1004},"s7zQu","export",[967,1007,1008],{"class":1004}," default",[967,1010,1012],{"class":1011},"s2Zo4"," defineNuxtConfig",[967,1014,1016],{"class":1015},"sTEyZ","(",[967,1018,1020],{"class":1019},"sMK4o","{\n",[967,1022,1024,1028,1031,1034,1037,1039,1041,1044,1047,1050,1052,1054,1056,1058,1060,1063],{"class":969,"line":1023},2,[967,1025,1027],{"class":1026},"swJcz","  modules",[967,1029,1030],{"class":1019},":",[967,1032,1033],{"class":1015}," [",[967,1035,1036],{"class":1019},"'",[967,1038,918],{"class":977},[967,1040,1036],{"class":1019},[967,1042,1043],{"class":1019},",",[967,1045,1046],{"class":1019}," '",[967,1048,1049],{"class":977},"@frigear-nu\u002Fadmin",[967,1051,1036],{"class":1019},[967,1053,1043],{"class":1019},[967,1055,1046],{"class":1019},[967,1057,761],{"class":977},[967,1059,1036],{"class":1019},[967,1061,1062],{"class":1015},"]",[967,1064,1065],{"class":1019},",\n",[967,1067,1069,1072,1074],{"class":969,"line":1068},3,[967,1070,1071],{"class":1026},"  operations",[967,1073,1030],{"class":1019},[967,1075,1076],{"class":1019}," {\n",[967,1078,1080,1083,1085],{"class":969,"line":1079},4,[967,1081,1082],{"class":1026},"    settings",[967,1084,1030],{"class":1019},[967,1086,1076],{"class":1019},[967,1088,1090,1093,1095,1098,1101,1103,1107,1109,1112,1114,1116],{"class":969,"line":1089},5,[967,1091,1092],{"class":1026},"      pages",[967,1094,1030],{"class":1019},[967,1096,1097],{"class":1019}," {",[967,1099,1100],{"class":1026}," admin",[967,1102,1030],{"class":1019},[967,1104,1106],{"class":1105},"sfNiH"," true",[967,1108,1043],{"class":1019},[967,1110,1111],{"class":1026}," adminOperation",[967,1113,1030],{"class":1019},[967,1115,1106],{"class":1105},[967,1117,1118],{"class":1019}," },\n",[967,1120,1122],{"class":969,"line":1121},6,[967,1123,1124],{"class":1019},"    },\n",[967,1126,1128],{"class":969,"line":1127},7,[967,1129,1130],{"class":1019},"  },\n",[967,1132,1134,1137],{"class":969,"line":1133},8,[967,1135,1136],{"class":1019},"}",[967,1138,1139],{"class":1015},")\n",[953,1141,1143],{"id":1142},"generate-the-migration","Generate the migration",[1145,1146,1147,1148,1151,1152,1155],"warning",{},"Without a ",[742,1149,1150],{"href":91},"migration"," the ",[759,1153,1154],{},"operations"," table does not exist, and every request to it fails.",[958,1157,1159],{"className":960,"code":1158,"language":962,"meta":963,"style":963},"pnpm db:generate\n",[759,1160,1161],{"__ignoreMap":963},[967,1162,1163,1165],{"class":969,"line":970},[967,1164,974],{"class":973},[967,1166,1167],{"class":977}," db:generate\n",[953,1169,1171],{"id":1170},"decide-who-manages-operations","Decide who manages operations",[1145,1173,1174,1175,1177,1178,1180,1181,1184],{},"Staff routes check permissions through ",[742,1176,207],{"href":208},". Without a role that holds\n",[759,1179,825],{},", nobody can manage operations. The ",[759,1182,1183],{},"admin"," role holds it when your app defines it.",[738,1186,1187,1188,1190,1191,1193],{},"The module grants ",[759,1189,825],{}," to ",[759,1192,1183],{}," only, when your app defines it. Give it to a role of your own by\nname:",[958,1195,1197],{"className":994,"code":1196,"filename":996,"language":997,"meta":963,"style":963},"export default defineNuxtConfig({\n  authorization: {\n    roles: {\n      organiser: { label: 'Organiser', grant: ['operations:manage'], inherit: ['user'] },\n    },\n  },\n})\n",[759,1198,1199,1211,1220,1229,1289,1293,1297],{"__ignoreMap":963},[967,1200,1201,1203,1205,1207,1209],{"class":969,"line":970},[967,1202,1005],{"class":1004},[967,1204,1008],{"class":1004},[967,1206,1012],{"class":1011},[967,1208,1016],{"class":1015},[967,1210,1020],{"class":1019},[967,1212,1213,1216,1218],{"class":969,"line":1023},[967,1214,1215],{"class":1026},"  authorization",[967,1217,1030],{"class":1019},[967,1219,1076],{"class":1019},[967,1221,1222,1225,1227],{"class":969,"line":1068},[967,1223,1224],{"class":1026},"    roles",[967,1226,1030],{"class":1019},[967,1228,1076],{"class":1019},[967,1230,1231,1234,1236,1238,1241,1243,1245,1248,1250,1252,1255,1257,1259,1261,1263,1265,1267,1269,1272,1274,1276,1278,1281,1283,1286],{"class":969,"line":1079},[967,1232,1233],{"class":1026},"      organiser",[967,1235,1030],{"class":1019},[967,1237,1097],{"class":1019},[967,1239,1240],{"class":1026}," label",[967,1242,1030],{"class":1019},[967,1244,1046],{"class":1019},[967,1246,1247],{"class":977},"Organiser",[967,1249,1036],{"class":1019},[967,1251,1043],{"class":1019},[967,1253,1254],{"class":1026}," grant",[967,1256,1030],{"class":1019},[967,1258,1033],{"class":1015},[967,1260,1036],{"class":1019},[967,1262,825],{"class":977},[967,1264,1036],{"class":1019},[967,1266,1062],{"class":1015},[967,1268,1043],{"class":1019},[967,1270,1271],{"class":1026}," inherit",[967,1273,1030],{"class":1019},[967,1275,1033],{"class":1015},[967,1277,1036],{"class":1019},[967,1279,1280],{"class":977},"user",[967,1282,1036],{"class":1019},[967,1284,1285],{"class":1015},"] ",[967,1287,1288],{"class":1019},"},\n",[967,1290,1291],{"class":969,"line":1089},[967,1292,1124],{"class":1019},[967,1294,1295],{"class":969,"line":1121},[967,1296,1130],{"class":1019},[967,1298,1299,1301],{"class":969,"line":1127},[967,1300,1136],{"class":1019},[967,1302,1139],{"class":1015},[1304,1305,1308,1311,1312,1314,1315,1318,1319,1322],"callout",{"color":1306,"icon":1307},"success","i-lucide-check",[784,1309,1310],{},"What you should see:"," a signed-in coordinator opens ",[759,1313,806],{},", adds \"Summer festival 2027\" and lands\non its page in ",[759,1316,1317],{},"planning",". Marking it public shows it at ",[759,1320,1321],{},"\u002Foperations\u002Fsummer-festival-2027"," for everyone.",[773,1324,1326],{"id":1325},"options","Options",[738,1328,1329,1330,1332],{},"Options go under the ",[759,1331,1154],{}," key.",[1334,1335,1336,1355],"table",{},[1337,1338,1339],"thead",{},[1340,1341,1342,1346,1349,1352],"tr",{},[1343,1344,1345],"th",{},"Option",[1343,1347,1348],{},"Type",[1343,1350,1351],{},"Default",[1343,1353,1354],{},"Purpose",[1356,1357,1358,1387,1408],"tbody",{},[1340,1359,1360,1366,1371,1375],{},[1361,1362,1363],"td",{},[759,1364,1365],{},"settings.pages.public",[1361,1367,1368],{},[759,1369,1370],{},"string | boolean",[1361,1372,1373],{},[759,1374,898],{},[1361,1376,1377,1378,1380,1381,748,1383,1386],{},"The public page. ",[759,1379,898],{}," is ",[759,1382,789],{},[759,1384,1385],{},"false"," turns it off.",[1340,1388,1389,1394,1398,1401],{},[1361,1390,1391],{},[759,1392,1393],{},"settings.pages.admin",[1361,1395,1396],{},[759,1397,1370],{},[1361,1399,1400],{},"off",[1361,1402,1403,1404,1380,1406,771],{},"The staff operation list. ",[759,1405,898],{},[759,1407,806],{},[1340,1409,1410,1415,1419,1421],{},[1361,1411,1412],{},[759,1413,1414],{},"settings.pages.adminOperation",[1361,1416,1417],{},[759,1418,1370],{},[1361,1420,1400],{},[1361,1422,1423,1424,1380,1426,771],{},"The staff operation page. ",[759,1425,898],{},[759,1427,810],{},[738,1429,1430,1435,1436,1439],{},[784,1431,1432],{},[759,1433,1434],{},"settings.pages.*"," paths keep the parameters of the default, such as ",[759,1437,1438],{},":slug",". The admin pages need Admin.",[738,1441,1442,1443,1448,1449,1452,1453,1456,1457,771],{},"With Users, one runtime setting: ",[784,1444,1445],{},[759,1446,1447],{},"NUXT_OPERATIONS_WRISTBANDS_KEY"," (",[759,1450,1451],{},"runtimeConfig.operations.wristbandsKey","), the\nsecret wristband numbers and NFC UIDs are encrypted with, at least 32 characters. Unset, a key is derived from\n",[759,1454,1455],{},"NUXT_APP_SECRET",". See ",[742,1458,1460],{"href":1459},"#encryption","Encryption",[773,1462,1464],{"id":1463},"permissions","Permissions",[738,1466,1467,1468,1470,1471,771],{},"Operations registers these permissions with ",[742,1469,207],{"href":208},". Staff routes call\n",[759,1472,1473],{},"authorize(event, operationsAccess.permissions.manage)",[1334,1475,1476,1492],{},[1337,1477,1478],{},[1340,1479,1480,1483,1486,1489],{},[1343,1481,1482],{},"Name",[1343,1484,1485],{},"Flags",[1343,1487,1488],{},"Held by default",[1343,1490,1491],{},"What it allows",[1356,1493,1494,1509,1525,1542,1556],{},[1340,1495,1496,1500,1502,1506],{},[1361,1497,1498],{},[759,1499,825],{},[1361,1501],{},[1361,1503,1504],{},[759,1505,1183],{},[1361,1507,1508],{},"Create and edit operations, move them through their statuses and delete them.",[1340,1510,1511,1516,1519,1522],{},[1361,1512,1513],{},[759,1514,1515],{},"operations:read",[1361,1517,1518],{},"implicit",[1361,1520,1521],{},"every signed-in user",[1361,1523,1524],{},"Read the public operations and the ones you take part in.",[1340,1526,1527,1532,1535,1539],{},[1361,1528,1529],{},[759,1530,1531],{},"operation-wristbands:pii",[1361,1533,1534],{},"sensitive",[1361,1536,1537],{},[759,1538,1183],{},[1361,1540,1541],{},"See who wears which wristband, add, edit, replace, revoke, delete and import wristbands. With Users only.",[1340,1543,1544,1549,1551,1553],{},[1361,1545,1546],{},[759,1547,1548],{},"operation-wristbands:me",[1361,1550,1518],{},[1361,1552,1521],{},[1361,1554,1555],{},"Read your own active wristbands. With Users only.",[1340,1557,1558,1563,1565,1567],{},[1361,1559,1560],{},[759,1561,1562],{},"operation-wristbands:register",[1361,1564,1518],{},[1361,1566,1521],{},[1361,1568,1569],{},"Add your own wristband at a current operation you take part in. With Users only.",[778,1571,1572,1592,1615,1640],{},[781,1573,1574,1577,1578,1580,1581,1583,1584,1586,1587,851,1589,1591],{},[784,1575,1576],{},"Scope:"," a token may use the named scope ",[759,1579,1154],{}," or ",[759,1582,1515],{}," itself. Either lets it\nread operations, and both are refused every staff route. With Users, the named scope ",[759,1585,944],{}," stands for\n",[759,1588,1548],{},[759,1590,1562],{},": what an app needs to show and add the user's own\nbands.",[781,1593,1594,1599,1600,1603,1604,1608,1609,1611,1612,771],{},[784,1595,1596,1597,1030],{},"Policy on ",[759,1598,1515],{}," an operation is readable when it is ",[759,1601,1602],{},"public",", when the user takes\npart in it (see ",[742,1605,1607],{"href":1606},"#who-takes-part","Who takes part","), or when the caller holds\n",[759,1610,825],{},". Operations registers it itself with ",[759,1613,1614],{},"addPolicies",[781,1616,1617,1620,1621,1624,1625,1628,1629,1632,1633,1636,1637,1639],{},[784,1618,1619],{},"Wristbands are a resource of their own."," Permission names are ",[759,1622,1623],{},"resource:action",", so the wristband permissions are\n",[759,1626,1627],{},"operation-wristbands:*",", exported as ",[759,1630,1631],{},"operationWristbandsAccess",". ",[759,1634,1635],{},"operations:*"," does not reach them, and\n",[759,1638,1531],{}," is sensitive (it links people to identifiers): grant it to your staff roles by name.",[781,1641,1642,1645,1646,1649],{},[784,1643,1644],{},"Not readable is 404."," A non-public operation answers ",[759,1647,1648],{},"404"," to anyone who may not read it, the same as an unknown\nURL name, and only after the authentication checks.",[773,1651,1653],{"id":1652},"server","Server",[738,1655,1656,1657,1660,1661,1665],{},"Everything under ",[759,1658,1659],{},"\u002Fapi"," is in the ",[742,1662,1664],{"href":1663},"#routes","Routes"," section. This section covers what other modules build on.",[953,1667,1607],{"id":1668},"who-takes-part",[738,1670,1671],{},"Operations stores no participants. Two provider hooks answer who takes part, and the modules that know it (crew)\nlisten to them:",[1334,1673,1674,1687],{},[1337,1675,1676],{},[1340,1677,1678,1681,1684],{},[1343,1679,1680],{},"Hook",[1343,1682,1683],{},"Context",[1343,1685,1686],{},"Listeners add",[1356,1688,1689,1706],{},[1340,1690,1691,1695,1700],{},[1361,1692,1693],{},[759,1694,858],{},[1361,1696,1697],{},[759,1698,1699],{},"{ event, user, operationIds }",[1361,1701,1702,1703,1705],{},"The ids of the operations ",[759,1704,1280],{}," takes part in.",[1340,1707,1708,1712,1717],{},[1361,1709,1710],{},[759,1711,861],{},[1361,1713,1714],{},[759,1715,1716],{},"{ event, operationIds, userIds }",[1361,1718,1719,1720,771],{},"The ids (as text) of the users who take part in any of ",[759,1721,1722],{},"operationIds",[738,1724,1725,1728,1729,1731,1732,1734,1735,1738,1739,1742,1743,1746,1747,771],{},[759,1726,1727],{},"GET \u002Fapi\u002Foperations\u002Fme",", the public list, the ",[759,1730,1515],{}," policy and the ",[759,1733,765],{}," grant kind all ask these\nhooks. The answer for one user is cached per request. Identify the user from ",[759,1736,1737],{},"ctx.user",", never from the session on\n",[759,1740,1741],{},"ctx.event",": it is empty for bearer requests. A listener that throws counts as no participation. Until a module\nlistens, a signed-in user sees the public operations only, and ",[759,1744,1745],{},"\u002Fme"," answers ",[759,1748,1749],{},"[]",[738,1751,1752,1753,748,1756,1759,1760,1763],{},"The server utils ",[759,1754,1755],{},"operationsParticipationOf(event, userId)",[759,1757,1758],{},"operationsTakesPart(event, userId, operationId)"," and\n",[759,1761,1762],{},"operationsParticipants(event, operationIds)"," call them for other modules.",[953,1765,873],{"id":1766},"grants",[738,1768,1769,1770,1772,1773,1030],{},"Operations registers the ",[759,1771,765],{}," kind of Auth's ",[742,1774,770],{"href":769},[1334,1776,1777,1795],{},[1337,1778,1779],{},[1340,1780,1781,1784,1787,1790],{},[1343,1782,1783],{},"Kind",[1343,1785,1786],{},"Keys",[1343,1788,1789],{},"Admits",[1343,1791,1792],{},[759,1793,1794],{},"members",[1356,1796,1797],{},[1340,1798,1799,1803,1808,1811],{},[1361,1800,1801],{},[759,1802,765],{},[1361,1804,1805],{},[759,1806,1807],{},"operationId",[1361,1809,1810],{},"Signed-in users who take part in the operation.",[1361,1812,1813,771],{},[759,1814,861],{},[738,1816,1817,1818,1821,1822,1825,1826,1828,1829,1832,1833,1835],{},"A grant naming an operation that does not exist is refused when it is stored. In ",[759,1819,1820],{},"\u003CGrantsEditor>"," the kind picks an\noperation from the staff list (",[759,1823,1824],{},"GET \u002Fapi\u002Fadmin\u002Foperations",", the first 100), so only staff with ",[759,1827,825],{}," can\npick one. That is on purpose: who takes part in which operation is the operations staff's call. Anyone else editing a\ngrant list (an FAQ editor with ",[759,1830,1831],{},"faq:manage",", say) sees an empty picker, and a stored ",[759,1834,765],{}," grant keeps its id.",[953,1837,1839],{"id":1838},"status","Status",[738,1841,1842,1843,919,1846,1849,1850,1853,1854,1857,1858,1861,1862,1865,1866,851,1869,1872,1873,851,1876,1879,1880,1883],{},"An operation moves along ",[759,1844,1845],{},"planning → active → wrapped_up → archived",[759,1847,1848],{},"planning → archived"," for a plan that never\nhappens. ",[759,1851,1852],{},"archived"," is final. Any other move is ",[759,1855,1856],{},"409"," with the code ",[759,1859,1860],{},"invalid_status_transition",", and the response's\n",[759,1863,1864],{},"data"," holds ",[759,1867,1868],{},"from",[759,1870,1871],{},"to",". The helpers ",[759,1874,1875],{},"canTransition(from, to)",[759,1877,1878],{},"nextStatuses(from)"," are exported from\n",[759,1881,1882],{},"@frigear-nu\u002Foperations\u002Futils",", so a UI offers only the moves that work.",[738,1885,1886],{},"The status route updates conditionally on the status it read, so two staff members moving one operation at once cannot\nboth succeed.",[953,1888,1890],{"id":1889},"link-to-an-event","Link to an event",[738,1892,1893,1896,1897,1899,1900,1903],{},[759,1894,1895],{},"eventId"," names an ",[742,1898,309],{"href":310}," event. It is a plain column, not a foreign key: the id is checked\nagainst the events table (",[759,1901,1902],{},"400"," when it does not exist) only when Events is installed, and is accepted as it is\notherwise.",[953,1905,1907],{"id":1906},"location-and-venue-layout","Location and venue layout",[738,1909,1910,1911,1913,1914,1916,1917,1919],{},"Operations builds on ",[742,1912,470],{"href":471},", which it installs. Both values live in the ",[759,1915,1154],{}," table,\nand coordinators (",[759,1918,825],{},") edit them on the operation page.",[778,1921,1922,1951,1978,2007,2028,2056,2088],{},[781,1923,1924,905,1927,1930,1931,1934,1935,1938,1939,1942,1943,1946,1947,1950],{},[784,1925,1926],{},"Location.",[759,1928,1929],{},"location"," holds a name and an address to show, and the value of the location picker: a ",[759,1932,1933],{},"point",", with\n",[759,1936,1937],{},"radiusMeters"," or an ",[759,1940,1941],{},"area"," around it. The Details tab edits it with ",[759,1944,1945],{},"\u003CMapLocationField>",", and the public page shows\nthe place on a map. A radius or an area needs the point, never both, and an empty location is refused: send ",[759,1948,1949],{},"null","\nto clear it.",[781,1952,1953,905,1956,1959,1960,1963,1964,1967,1968,1971,1972,1975,1976,771],{},[784,1954,1955],{},"Venue layout.",[759,1957,1958],{},"venueLayout"," is a plane layout: the stations, containers and areas of the venue, drawn on an\nuploaded floor plan with ",[759,1961,1962],{},"\u003CMapPlaneEditor>"," in the Venue layout tab. Every feature has a stable id, which a shift's\n",[759,1965,1966],{},"location.featureId"," points to. The tab shows the saved layout under the editor, with the live layers of the\n",[759,1969,1970],{},"operations.venue-layout"," surface (",[759,1973,1974],{},"OPERATIONS_VENUE_SURFACE","), such as who is on duty from\n",[742,1977,532],{"href":533},[781,1979,1980,1983,1984,1987,1988,1991,1992,748,1995,748,1998,851,2001,1448,2004,874],{},[784,1981,1982],{},"Feature kinds."," Operations registers ",[759,1985,1986],{},"operations.station"," (a point or an area, with a description and taps) and\n",[759,1989,1990],{},"operations.container"," (a point or an area, with a number, contents and cooled). A venue layout may hold those and\nthe built-in ",[759,1993,1994],{},"maps.area",[759,1996,1997],{},"maps.line",[759,1999,2000],{},"maps.label",[759,2002,2003],{},"maps.marker",[759,2005,2006],{},"OPERATIONS_VENUE_KINDS",[781,2008,2009,2012,2013,2016,2017,2020,2021,2024,2025,2027],{},[784,2010,2011],{},"The underlay image"," is stored in NuxtHub Blob under ",[759,2014,2015],{},"operations\u002F\u003Cid>\u002F",", at most ",[759,2018,2019],{},"maps.maxUnderlayBytes",". Saving\nthe layout keeps it; a layout sent with ",[759,2022,2023],{},"underlay: null"," removes it, and deleting the operation deletes it. A layout\nsent with an external underlay URL is refused (",[759,2026,1902],{},"): Maps accepts only paths on the app.",[781,2029,2030,2033,2034,2037,2038,2041,2042,748,2045,2048,2049,2051,2052,2055],{},[784,2031,2032],{},"Two editors at once."," The staff ",[759,2035,2036],{},"GET"," answers the layout's ",[759,2039,2040],{},"revision",". Send it back with a change (",[759,2043,2044],{},"PUT { layout, revision }",[759,2046,2047],{},"POST ...\u002Funderlay?revision=",") and a layout someone changed since you read it is not overwritten: ",[759,2050,1856],{},"\nwith the code ",[759,2053,2054],{},"venue_layout_changed"," (an upload is refused before the image is stored). The upload answers the new\nrevision. Every write is also conditional on the layout the request read, so a save and an upload that run at the\nsame time never lose each other's change.",[781,2057,2058,2061,2062,2065,2066,2069,2070,2073,2074,2077,2078,851,2081,2084,2085,874],{},[784,2059,2060],{},"On the map."," Coordinators place the venue layout on the real map in the Venue layout tab: the map opens on the\noperation's location, which stays visible while they move, turn and scale the plan (see\n",[742,2063,470],{"href":2064},"\u002Fmodules\u002Finterface\u002Fmaps#on-the-map","). Without a location, the tab says so and links to Details. The placement\n(",[759,2067,2068],{},"venuePlacement",", a ",[759,2071,2072],{},"PlanePlacement",") holds the georeference, the underlay (none, map tiles or the floor plan) and\nits opacity, and the grid (plane units, or 0.5 m and 1 m once placed). It is saved apart from the layout with\n",[759,2075,2076],{},"PUT ...\u002Fvenue-layout\u002Fplacement",", which has its own ",[759,2079,2080],{},"placementRevision",[759,2082,2083],{},"409 venue_placement_changed",". The layout\ncan also be drawn directly on the map (",[759,2086,2087],{},"crs: 'geo'",[781,2089,2090,2093],{},[784,2091,2092],{},"Over the site map."," Once placed (or drawn on the map), the public page and the tab's \"On the site map\" card show\nthe layout over the operation's location, with a toggle, and the on-duty live layer of shifts on it for those allowed\nto read it.",[953,2095,2097],{"id":2096},"dashboard-item","Dashboard item",[738,2099,2100,2101,2103,2104,1190,2107,2110,2111,2115,2116,2118,2119,2121,2122,2125],{},"With ",[742,2102,452],{"href":453}," installed, Operations adds ",[759,2105,2106],{},"operations.upcoming",[759,2108,2109],{},"crew.home"," and\nthe ",[742,2112,2114],{"href":2113},"\u002Fmodules\u002Finterface\u002Fdashboard#the-hub","hub's dashboard"," (permission ",[759,2117,1515],{},", order 50): the operations the person takes part in that have not ended, soonest first,\nfrom ",[759,2120,1727],{},". It shows a skeleton while loading, an empty state when there are none, and links to the\npublic page of an operation when it has one. Texts are under ",[759,2123,2124],{},"operations.dashboard"," (Danish and English).",[773,2127,879],{"id":944},[738,2129,2100,2130,2132],{},[742,2131,199],{"href":200}," installed, an operation keeps the wristbands people wear there: the number\nwritten on the band and, when the band has a chip, its NFC UID. A gate or bar can later look a band up by either. Without\nUsers nothing of this is registered: no table, routes, tab or dashboard item.",[778,2134,2135,2156,2183,2232,2247,2257],{},[781,2136,2137,2140,2141,2144,2145,2148,2149,880,2152,2155],{},[784,2138,2139],{},"One active band per person per operation."," Adding a second answers ",[759,2142,2143],{},"409 wristband_active_exists","; with\n",[759,2146,2147],{},"replace: true"," the current band becomes ",[759,2150,2151],{},"lost",[759,2153,2154],{},"revokedAt",") and the new one is active. A partial unique index\nholds the rule in the database too.",[781,2157,2158,2161,2162,748,2165,2168,2169,2172,2173,2176,2177,2179,2180,771],{},[784,2159,2160],{},"Numbers and UIDs are unique per operation",", whatever the band's status: a lost or revoked band keeps its number\nand UID, so neither goes to someone else (",[759,2163,2164],{},"409 wristband_number_taken",[759,2166,2167],{},"409 wristband_nfc_taken","). Delete a band\nthat was added by mistake to free them, or add the new one with ",[759,2170,2171],{},"force: true"," to take them over: each band that has\nthe number or the UID is released (an active one becomes ",[759,2174,2175],{},"revoked",", with ",[759,2178,2154],{},"), keeps the values in its\nhistory and is no longer found by them. A band of the same person taken over this way needs no ",[759,2181,2182],{},"replace",[781,2184,2185,2188,2189,2192,2193,2195,2196,2199,2200,1580,2202,2204,2205,1448,2208,2210,2211,2213,2214,1448,2217,2219,2220,1448,2223,748,2226,2228,2229,2231],{},[784,2186,2187],{},"Who took a band out of use."," A band that is marked lost, revoked, replaced or taken over records the staff member\n(",[759,2190,2191],{},"revokedBy",", a user id, with ",[759,2194,2154],{},") and why (",[759,2197,2198],{},"revokedReason","): ",[759,2201,2151],{},[759,2203,2175],{}," (the revoke route, the\nstatus it set), ",[759,2206,2207],{},"replaced",[759,2209,2147],{},", or a ",[759,2212,2182],{}," row of the import) or ",[759,2215,2216],{},"taken_over",[759,2218,2171],{},"). The\nstaff DTO carries both, plus ",[759,2221,2222],{},"revokedByUser",[759,2224,2225],{},"{ id, name, nickname, email, avatar }",[759,2227,1949],{}," when unknown). Bands\nfrom before this was recorded have ",[759,2230,1949],{}," in all three.",[781,2233,2234,2237,2238,1380,2241,2244,2245,771],{},[784,2235,2236],{},"NFC UIDs"," are stored without separators and uppercased (",[759,2239,2240],{},"04:a2:2b:1c",[759,2242,2243],{},"04A22B1C","), 8, 14 or 20 hex characters\n(4, 7 and 10 byte UIDs). Anything else is a ",[759,2246,1902],{},[781,2248,2249,2252,2253,2256],{},[784,2250,2251],{},"Cleanup."," Deleting an operation deletes its bands; deleting a user (the ",[759,2254,2255],{},"users:deleted"," hook of Users) deletes\ntheirs.",[781,2258,2259,2264,2265,2268,2269,2272,2273,2276,2277,2281,2282,2285,2286,874],{},[784,2260,2261],{},[759,2262,2263],{},"source"," says how a band was added: ",[759,2266,2267],{},"manual"," (staff), ",[759,2270,2271],{},"import"," (a CSV), ",[759,2274,2275],{},"self"," (the person, see\n",[742,2278,2280],{"href":2279},"#self-registration","Self-registration",") or ",[759,2283,2284],{},"station"," (staff paired it in an app, see\n",[742,2287,2289],{"href":2288},"#pairing-at-a-station","Pairing at a station",[953,2291,1460],{"id":2292},"encryption",[738,2294,2295,2296,2299,2300,748,2303,2306,2307,2309,2310,2312,2313,2316],{},"The number and the NFC UID are stored encrypted (AES-GCM, ",[759,2297,2298],{},"v1.\u003Civ>.\u003Cciphertext>",", bound to the operation and the\nfield), next to an HMAC of each (",[759,2301,2302],{},"numberHash",[759,2304,2305],{},"nfcUidHash","), keyed per operation, that the unique indexes and lookups\nuse. Both keys are derived (HKDF) from one secret: ",[759,2308,1447],{},", else one derived from\n",[759,2311,1455],{},". With neither, the wristband routes answer ",[759,2314,2315],{},"501 not_configured"," as soon as they need the key.",[1145,2318,2319,2320,2322,2323,2326,2327,2329],{},"Changing the key, or ",[759,2321,1455],{}," while the wristband key is unset, makes every stored band unreadable\n(",[759,2324,2325],{},"500 wristband_unreadable",") and its number and UID unfindable. Set ",[759,2328,1447],{}," before you rotate\nthe app secret.",[738,2331,2332,2333,2335,2336,2339,2340,2343],{},"Bands stored before encryption hold plain text and no ",[759,2334,2302],{},". They are sealed on first access: the lookups, the\nstaff list and the import seal the operation's remaining ones first (one cheap ",[759,2337,2338],{},"IS NULL"," query when there are none).\n",[759,2341,2342],{},"sealPendingOperationWristbands(operationId?)"," does it from your own code. Because the values are encrypted, the staff\nsearch finds a band only by its whole number or UID, and the list cannot sort by number.",[953,2345,2347],{"id":2346},"the-staff-tab","The staff tab",[738,2349,2350,2351,2353,2354,2356,2357,851,2360,2363,2364,2367,2368,2371,2372,2375,2376,748,2379,748,2382,748,2384,748,2387,748,2390,748,2393,919,2396,2399,2400,2402],{},"The operation page gets a ",[784,2352,879],{}," tab (permission ",[759,2355,1531],{},"): a search over the person's name,\nnickname and email, and for a whole number or NFC UID (with or without separators), status and source filters, ",[784,2358,2359],{},"Add\nwristband",[784,2361,2362],{},"Import wristbands",". Bands people added themselves carry a ",[784,2365,2366],{},"Self-registered"," badge, bands paired in the app a ",[784,2369,2370],{},"Paired at a station","\nbadge; staff correct them with the same actions. A band out of use says who took it out and when under its status\n(\"Revoked by Ada · 1 Dec 2026, 14:03\", also \"Marked lost by\", \"Replaced by\", \"Taken over by\"). The row menu offers Edit wristband, Replace wristband, Mark as lost and\nRevoke wristband, and\nDelete wristband in its own group; revoking and deleting ask first. ",[759,2373,2374],{},"useOperationWristbandActions()"," owns these actions\n(",[759,2377,2378],{},"create",[759,2380,2381],{},"edit",[759,2383,2182],{},[759,2385,2386],{},"revoke",[759,2388,2389],{},"remove",[759,2391,2392],{},"importCsv",[759,2394,2395],{},"menu(band)",[759,2397,2398],{},"revokedNote(band)"," for that line).\nThe admin user page of Users gets a\n",[784,2401,879],{}," tab with the person's bands across operations.",[953,2404,2406],{"id":2405},"csv-import","CSV import",[738,2408,2409,2412,2413,1448,2416,2419,2420,2422],{},[759,2410,2411],{},"POST \u002Fapi\u002Fadmin\u002Foperations\u002F:id\u002Fwristbands\u002Fimport"," takes ",[759,2414,2415],{},"{ csv, dryRun }",[759,2417,2418],{},"dryRun"," defaults to ",[759,2421,898],{},"). The file\nhas a header line, then one band per line, comma, semicolon or tab separated, at most 5,000 rows:",[1334,2424,2425,2438],{},[1337,2426,2427],{},[1340,2428,2429,2432,2435],{},[1343,2430,2431],{},"Column",[1343,2433,2434],{},"Required",[1343,2436,2437],{},"Matches",[1356,2439,2440,2453,2465,2484,2497],{},[1340,2441,2442,2447,2450],{},[1361,2443,2444],{},[759,2445,2446],{},"userId",[1361,2448,2449],{},"one of the three",[1361,2451,2452],{},"The user with this id.",[1340,2454,2455,2460,2462],{},[1361,2456,2457],{},[759,2458,2459],{},"email",[1361,2461,2449],{},[1361,2463,2464],{},"The user with this email, in any case.",[1340,2466,2467,2472,2474],{},[1361,2468,2469],{},[759,2470,2471],{},"peopleNumber",[1361,2473,2449],{},[1361,2475,2476,2477,2480,2481,771],{},"The user with this ",[742,2478,2479],{"href":200},"people number",". Two users with the same number is ",[759,2482,2483],{},"ambiguous",[1340,2485,2486,2491,2494],{},[1361,2487,2488],{},[759,2489,2490],{},"number",[1361,2492,2493],{},"yes",[1361,2495,2496],{},"The printed number.",[1340,2498,2499,2504,2507],{},[1361,2500,2501],{},[759,2502,2503],{},"nfcUid",[1361,2505,2506],{},"no",[1361,2508,2509],{},"The chip's UID, in any of the forms above.",[738,2511,2512,2513,2515,2516,2518,2519,1030],{},"When a row has more than one of them, ",[759,2514,2446],{}," wins, then ",[759,2517,2459],{},". Header names ignore case, spaces and underscores.\nEvery row comes back with an ",[759,2520,2521],{},"action",[1334,2523,2524,2537],{},[1337,2525,2526],{},[1340,2527,2528,2531,2534],{},[1343,2529,2530],{},"Action",[1343,2532,2533],{},"Applied",[1343,2535,2536],{},"Meaning",[1356,2538,2539,2550,2564,2576,2591,2602,2629],{},[1340,2540,2541,2545,2547],{},[1361,2542,2543],{},[759,2544,2378],{},[1361,2546,2493],{},[1361,2548,2549],{},"The person's first band at this operation.",[1340,2551,2552,2556,2558],{},[1361,2553,2554],{},[759,2555,2182],{},[1361,2557,2493],{},[1361,2559,2560,2561,2563],{},"The person's active band becomes ",[759,2562,2151],{},", this one is added.",[1340,2565,2566,2571,2573],{},[1361,2567,2568],{},[759,2569,2570],{},"unchanged",[1361,2572,2506],{},[1361,2574,2575],{},"The person wears this band already.",[1340,2577,2578,2583,2585],{},[1361,2579,2580],{},[759,2581,2582],{},"unmatched",[1361,2584,2506],{},[1361,2586,2587,2588,874],{},"No user found (",[759,2589,2590],{},"reason: user_not_found",[1340,2592,2593,2597,2599],{},[1361,2594,2595],{},[759,2596,2483],{},[1361,2598,2506],{},[1361,2600,2601],{},"More than one user has the people number.",[1340,2603,2604,2609,2611],{},[1361,2605,2606],{},[759,2607,2608],{},"conflict",[1361,2610,2506],{},[1361,2612,2613,2616,2617,2620,2621,2624,2625,2628],{},[759,2614,2615],{},"number_taken"," \u002F ",[759,2618,2619],{},"nfc_taken"," (another band's), ",[759,2622,2623],{},"duplicate_in_file"," (the file names the number, UID or person twice: every such row), ",[759,2626,2627],{},"nfc_differs"," (the person's band has this number with another UID: edit it by hand).",[1340,2630,2631,2636,2638],{},[1361,2632,2633],{},[759,2634,2635],{},"invalid",[1361,2637,2506],{},[1361,2639,2640,748,2643,748,2646,748,2649,748,2652,771],{},[759,2641,2642],{},"number_missing",[759,2644,2645],{},"number_too_long",[759,2647,2648],{},"nfc_invalid",[759,2650,2651],{},"user_id_invalid",[759,2653,2654],{},"identity_missing",[738,2656,2657,2658,2661,2662,2664,2665,748,2667,851,2670,748,2672,851,2674,2676,2677,2680,2681,851,2683,2685,2686,2689,2690,2692,2693,2695,2696,2699],{},"The answer is ",[759,2659,2660],{},"{ dryRun, rows, counts, applied }",", each row with its ",[759,2663,969],{}," (the header is line 1), the matched\nperson's ",[759,2666,2446],{},[759,2668,2669],{},"name",[759,2671,2459],{},[759,2673,2490],{},[759,2675,2503],{},". With ",[759,2678,2679],{},"dryRun: false"," only the ",[759,2682,2378],{},[759,2684,2182],{},"\nrows are written (",[759,2687,2688],{},"source: 'import'","), in statements that stay under D1's 100 bound parameters; running the same file\nagain finds them ",[759,2691,2570],{},". A file without a ",[759,2694,2490],{}," column or any of the three person columns is ",[759,2697,2698],{},"400 invalid_csv",".\nThe tab's import slideover takes pasted text or a file, shows the dry run, then offers \"Import n wristbands\".",[953,2701,2280],{"id":2702},"self-registration",[738,2704,2705],{},"A person links the band they wear to their own account, from an app (the mobile app's Wallet). The rules are the staff\nones, with self-service answers:",[2707,2708,2709,2737],"ol",{},[781,2710,2711,2714,2715,2717,2718,2721,2722,1580,2725,2727,2728,1448,2731,2734,2735,771],{},[759,2712,2713],{},"GET \u002Fapi\u002Foperations\u002Fme\u002Fwristbands\u002Fregister"," lists the operations they may register for: the ones they take part in\n(",[759,2716,858],{},") that are current (",[759,2719,2720],{},"isCurrentOperation",": not ",[759,2723,2724],{},"wrapped_up",[759,2726,1852],{},", and\nnot ended), each with ",[759,2729,2730],{},"myWristband",[759,2732,2733],{},"{ id, numberLast4, nfcUidLast4 }",") when they wear a band there, else ",[759,2736,1949],{},[781,2738,2739,2742,2743,2746,2747,2749,2750,2752,2753,2756,2757,2760,2761,771],{},[759,2740,2741],{},"POST \u002Fapi\u002Foperations\u002Fme\u002Fwristbands"," with ",[759,2744,2745],{},"{ operationId, number, nfcUid }",": the number written on the band and the\nchip's UID the phone read, both required (",[759,2748,1902],{}," without ",[759,2751,2503],{},"), so a typed number alone cannot claim someone\nelse's band. Staff still add a band by number only. It answers ",[759,2754,2755],{},"201"," with the band (the shape of ",[759,2758,2759],{},"GET \u002Fapi\u002Foperations\u002Fme\u002Fwristbands","), saved with\n",[759,2762,2763],{},"source: 'self'",[1334,2765,2766,2776],{},[1337,2767,2768],{},[1340,2769,2770,2773],{},[1343,2771,2772],{},"Answer",[1343,2774,2775],{},"When",[1356,2777,2778,2788,2797,2807,2818],{},[1340,2779,2780,2785],{},[1361,2781,2782],{},[759,2783,2784],{},"403 not_participating",[1361,2786,2787],{},"The operation is not one of their current operations.",[1340,2789,2790,2794],{},[1361,2791,2792],{},[759,2793,2143],{},[1361,2795,2796],{},"They wear a band at the operation already: staff replace it.",[1340,2798,2799,2804],{},[1361,2800,2801],{},[759,2802,2803],{},"409 wristband_taken",[1361,2805,2806],{},"The number or the UID is another band's. It does not say which, so the route cannot be used to probe numbers.",[1340,2808,2809,2813],{},[1361,2810,2811],{},[759,2812,1902],{},[1361,2814,2815,2817],{},[759,2816,2503],{}," is missing, empty or not 8, 14 or 20 hex characters.",[1340,2819,2820,2825],{},[1361,2821,2822],{},[759,2823,2824],{},"429 rate_limited",[1361,2826,2827,2828,2830],{},"More than 10 attempts in 15 minutes by the same person, with the ",[742,2829,172],{"href":173}," rate limits on.",[953,2832,2289],{"id":2833},"pairing-at-a-station",[738,2835,2836,2837,2839],{},"Staff pair bands for people whose phone cannot read the chip, at a station: an app signed in as staff (the mobile app's\nscanner, mode \"Wristband\"). It needs ",[759,2838,1531],{}," as a scope, asked for by name (it is sensitive, so no\nwildcard or named scope covers it), and whatever verifies the person: the mobile app scans their Frigear ID with the\nhost's verify route and takes the user id from its answer.",[2707,2841,2842,2859],{},[781,2843,2844,2847,2848,1580,2850,2852,2853,2856,2857,771],{},[759,2845,2846],{},"GET \u002Fapi\u002Fadmin\u002Foperations\u002Fwristband-operations"," lists the current operations (not ",[759,2849,2724],{},[759,2851,1852],{},", and\nnot ended), soonest first, as ",[759,2854,2855],{},"{ id, slug, name, status, startsAt, endsAt }",", so the station needs no\n",[759,2858,825],{},[781,2860,2861,2742,2864,2867,2868,2616,2870,2873,2874,2876,2877,771],{},[759,2862,2863],{},"POST \u002Fapi\u002Fadmin\u002Foperations\u002F:id\u002Fwristbands",[759,2865,2866],{},"{ userId, number, nfcUid?, source: 'station' }",". The answers are\nthe staff ones: ",[759,2869,2164],{},[759,2871,2872],{},"wristband_nfc_taken"," say which value clashed, and\n",[759,2875,2143],{}," is answered by sending the request again with ",[759,2878,2147],{},[738,2880,2881],{},"To warn before the last step, the station checks as it goes:",[778,2883,2884,2895],{},[781,2885,2886,905,2889,2892,2893,771],{},[784,2887,2888],{},"The person.",[759,2890,2891],{},"GET \u002Fapi\u002Fadmin\u002Foperations\u002F:id\u002Fwristbands?userId=…&wristbandStatus=active"," lists the band they wear\nthere already. If there is one, staff choose to replace it (after a confirm: the old band stops working) and the\npairing sends ",[759,2894,2147],{},[781,2896,2897,905,2900,2742,2903,1580,2906,2909,2910,2913,2914,2917,2918,2920,2921,2923],{},[784,2898,2899],{},"The band.",[759,2901,2902],{},"POST \u002Fapi\u002Fadmin\u002Foperations\u002F:id\u002Fwristbands\u002Flookup",[759,2904,2905],{},"{ nfcUid }",[759,2907,2908],{},"{ number }"," (a POST, so the\nvalue stays out of URLs): ",[759,2911,2912],{},"{ wristband }",", the staff band with its holder in any status, or ",[759,2915,2916],{},"{ wristband: null }","\nwhen no band of the operation has it, and the station pairs it. ",[759,2919,1902],{}," for a missing or malformed value. If it is\nsomeone's, staff may use it anyway (after a confirm): the pairing sends ",[759,2922,2171],{}," and that band is revoked. Every\nway of taking a band out of use asks exactly once: a band of the person's own that was confirmed as a replacement is\nnot asked about again.",[953,2925,2927],{"id":2926},"look-a-band-up-from-your-own-code","Look a band up from your own code",[738,2929,2930,1580,2933,2936,2937,2940,2941,2944,2945,2947],{},[759,2931,2932],{},"findOperationWristband(operationId, { number })",[759,2934,2935],{},"findOperationWristband(operationId, { nfcUid })"," is auto-imported\non the server. It normalises the value like stored values, finds it by its hash and returns the row as stored (the\nvalues sealed: ",[759,2938,2939],{},"openOperationWristbandRows([row])"," opens them), any status, or ",[759,2942,2943],{},"undefined",". Check the ",[759,2946,1838],{}," and your\nown permission before you let anyone in:",[958,2949,2951],{"className":994,"code":2950,"language":997,"meta":963,"style":963},"const band = await findOperationWristband(operationId, { nfcUid: scanned })\nif (band?.status !== 'active') throw forbidden('Unknown or inactive wristband.')\n",[759,2952,2953,2990],{"__ignoreMap":963},[967,2954,2955,2959,2962,2965,2968,2971,2974,2976,2978,2981,2983,2986,2988],{"class":969,"line":970},[967,2956,2958],{"class":2957},"spNyl","const",[967,2960,2961],{"class":1015}," band ",[967,2963,2964],{"class":1019},"=",[967,2966,2967],{"class":1004}," await",[967,2969,2970],{"class":1011}," findOperationWristband",[967,2972,2973],{"class":1015},"(operationId",[967,2975,1043],{"class":1019},[967,2977,1097],{"class":1019},[967,2979,2980],{"class":1026}," nfcUid",[967,2982,1030],{"class":1019},[967,2984,2985],{"class":1015}," scanned ",[967,2987,1136],{"class":1019},[967,2989,1139],{"class":1015},[967,2991,2992,2995,2998,3001,3004,3007,3009,3012,3014,3017,3020,3023,3025,3027,3030,3032],{"class":969,"line":1023},[967,2993,2994],{"class":1004},"if",[967,2996,2997],{"class":1015}," (band",[967,2999,3000],{"class":1019},"?.",[967,3002,3003],{"class":1015},"status ",[967,3005,3006],{"class":1019},"!==",[967,3008,1046],{"class":1019},[967,3010,3011],{"class":977},"active",[967,3013,1036],{"class":1019},[967,3015,3016],{"class":1015},") ",[967,3018,3019],{"class":1004},"throw",[967,3021,3022],{"class":1011}," forbidden",[967,3024,1016],{"class":1015},[967,3026,1036],{"class":1019},[967,3028,3029],{"class":977},"Unknown or inactive wristband.",[967,3031,1036],{"class":1019},[967,3033,1139],{"class":1015},[953,3035,3037],{"id":3036},"my-wristband","My wristband",[738,3039,2100,3040,748,3042,3045,3046,3048,3049,3051,3052,3055,3056,3058],{},[742,3041,452],{"href":453},[759,3043,3044],{},"operations.wristband"," (\"My wristband\", order 45, permission\n",[759,3047,1548],{},") shows on ",[759,3050,2109],{}," and the hub's dashboard the band the person wears at each operation that is not archived: the\noperation, the number and the last 4 characters of the UID. It is an ",[759,3053,3054],{},"optional"," item: people without a band never see\nit. It reads ",[759,3057,2759],{},", which never sends a whole UID.",[773,3060,284],{"id":3061},"app",[953,3063,105],{"id":3064},"pages",[1334,3066,3067,3080],{},[1337,3068,3069],{},[1340,3070,3071,3074,3077],{},[1343,3072,3073],{},"Page",[1343,3075,3076],{},"Path",[1343,3078,3079],{},"For",[1356,3081,3082,3098,3113],{},[1340,3083,3084,3087,3091],{},[1361,3085,3086],{},"Public operation",[1361,3088,3089],{},[759,3090,789],{},[1361,3092,3093,3094,3097],{},"Everyone, for operations with ",[759,3095,3096],{},"public: true",". Anything else is a 404 page.",[1340,3099,3100,3103,3107],{},[1361,3101,3102],{},"Operation list",[1361,3104,3105],{},[759,3106,806],{},[1361,3108,3109,3110,3112],{},"Staff with ",[759,3111,825],{},". A status filter, search and sortable columns.",[1340,3114,3115,3118,3122],{},[1361,3116,3117],{},"Operation page",[1361,3119,3120],{},[759,3121,810],{},[1361,3123,3109,3124,3126],{},[759,3125,825],{},". Key facts, a Details tab (with the location picker), a Venue layout tab and the tabs other modules add.",[738,3128,3129],{},"The list's row menu offers Open, Edit, Change status and Delete in its own group. Archiving and deleting ask to confirm.\nCreating and editing open the same slideover. Dates are entered in the browser's time zone.",[953,3131,3133],{"id":3132},"composables","Composables",[1334,3135,3136,3146],{},[1337,3137,3138],{},[1340,3139,3140,3143],{},[1343,3141,3142],{},"Composable",[1343,3144,3145],{},"What it does",[1356,3147,3148,3170,3180],{},[1340,3149,3150,3155],{},[1361,3151,3152],{},[759,3153,3154],{},"useOperationActions()",[1361,3156,3157,748,3159,748,3161,748,3164,851,3166,3169],{},[759,3158,2378],{},[759,3160,2381],{},[759,3162,3163],{},"changeStatus",[759,3165,2389],{},[759,3167,3168],{},"menu(operation)",", with toasts and confirmations.",[1340,3171,3172,3177],{},[1361,3173,3174],{},[759,3175,3176],{},"useOperationLinks()",[1361,3178,3179],{},"Locale-aware links to the public page and the admin pages.",[1340,3181,3182,3186],{},[1361,3183,3184],{},[759,3185,2374],{},[1361,3187,3188,3189,748,3191,748,3193,748,3195,748,3197,748,3199,851,3201,3203],{},"With Users: ",[759,3190,2378],{},[759,3192,2381],{},[759,3194,2182],{},[759,3196,2386],{},[759,3198,2389],{},[759,3200,2392],{},[759,3202,2395],{}," for wristbands.",[953,3205,3207],{"id":3206},"add-a-tab-to-the-operation-page","Add a tab to the operation page",[738,3209,3210,3211,3214,3215,3217,3218,3221,3222,3225],{},"The staff operation page renders the ",[759,3212,3213],{},"admin.operations"," tab area of ",[742,3216,434],{"href":435},". Operations\nregisters ",[784,3219,3220],{},"Details"," there. Any module adds a tab from its ",[759,3223,3224],{},"setup()",", without Operations knowing about it:",[958,3227,3229],{"className":994,"code":3228,"language":997,"meta":963,"style":963},"import { extendTabs } from '@frigear-nu\u002Fwidget\u002Futils'\n\nextendTabs(nuxt, 'admin.operations', { id: 'crew', component: resolver.resolve('.\u002Fruntime\u002Fapp\u002Ftabs\u002FCrew.vue'), label: 'Crew', order: 10 })\n",[759,3230,3231,3254,3260],{"__ignoreMap":963},[967,3232,3233,3235,3237,3240,3243,3246,3248,3251],{"class":969,"line":970},[967,3234,2271],{"class":1004},[967,3236,1097],{"class":1019},[967,3238,3239],{"class":1015}," extendTabs",[967,3241,3242],{"class":1019}," }",[967,3244,3245],{"class":1004}," from",[967,3247,1046],{"class":1019},[967,3249,3250],{"class":977},"@frigear-nu\u002Fwidget\u002Futils",[967,3252,3253],{"class":1019},"'\n",[967,3255,3256],{"class":969,"line":1023},[967,3257,3259],{"emptyLinePlaceholder":3258},true,"\n",[967,3261,3262,3265,3268,3270,3272,3274,3276,3278,3280,3283,3285,3287,3290,3292,3294,3297,3299,3302,3304,3307,3309,3311,3314,3316,3319,3321,3323,3325,3327,3329,3331,3333,3336,3338,3342,3344],{"class":969,"line":1068},[967,3263,3264],{"class":1011},"extendTabs",[967,3266,3267],{"class":1015},"(nuxt",[967,3269,1043],{"class":1019},[967,3271,1046],{"class":1019},[967,3273,3213],{"class":977},[967,3275,1036],{"class":1019},[967,3277,1043],{"class":1019},[967,3279,1097],{"class":1019},[967,3281,3282],{"class":1026}," id",[967,3284,1030],{"class":1019},[967,3286,1046],{"class":1019},[967,3288,3289],{"class":977},"crew",[967,3291,1036],{"class":1019},[967,3293,1043],{"class":1019},[967,3295,3296],{"class":1026}," component",[967,3298,1030],{"class":1019},[967,3300,3301],{"class":1015}," resolver",[967,3303,771],{"class":1019},[967,3305,3306],{"class":1011},"resolve",[967,3308,1016],{"class":1015},[967,3310,1036],{"class":1019},[967,3312,3313],{"class":977},".\u002Fruntime\u002Fapp\u002Ftabs\u002FCrew.vue",[967,3315,1036],{"class":1019},[967,3317,3318],{"class":1015},")",[967,3320,1043],{"class":1019},[967,3322,1240],{"class":1026},[967,3324,1030],{"class":1019},[967,3326,1046],{"class":1019},[967,3328,528],{"class":977},[967,3330,1036],{"class":1019},[967,3332,1043],{"class":1019},[967,3334,3335],{"class":1026}," order",[967,3337,1030],{"class":1019},[967,3339,3341],{"class":3340},"sbssI"," 10",[967,3343,3242],{"class":1019},[967,3345,1139],{"class":1015},[738,3347,3348,3349,3351,3352,3355,3356,3359],{},"Each tab component receives ",[759,3350,765],{}," as a prop, the response of ",[759,3353,3354],{},"GET \u002Fapi\u002Fadmin\u002Foperations\u002F:id",", and may emit\n",[759,3357,3358],{},"refresh",". Without Widget, only the Details tab renders.",[3361,3362,3363,3364,3367],"caution",{},"Hiding a tab is not access control. Check the tab's API calls with ",[759,3365,3366],{},"authorize(event, 'operations:manage')"," too.",[773,3369,242],{"id":3370},"hooks",[738,3372,3373,3374,3377,3378,874],{},"Your app answers these ",[742,3375,3376],{"href":91},"Nitro"," hooks from a server plugin (",[759,3379,3380],{},"server\u002Fplugins\u002F*.ts",[1334,3382,3383,3394],{},[1337,3384,3385],{},[1340,3386,3387,3389,3391],{},[1343,3388,1680],{},[1343,3390,2775],{},[1343,3392,3393],{},"Payload",[1356,3395,3396,3412,3426,3440,3455],{},[1340,3397,3398,3402,3407],{},[1361,3399,3400],{},[759,3401,847],{},[1361,3403,3404,3405,771],{},"After an operation was created, always in ",[759,3406,1317],{},[1361,3408,3409],{},[759,3410,3411],{},"{ event, operation }",[1340,3413,3414,3418,3421],{},[1361,3415,3416],{},[759,3417,850],{},[1361,3419,3420],{},"After its fields were edited. A status move does not fire it.",[1361,3422,3423],{},[759,3424,3425],{},"{ event, operation, previous }",[1340,3427,3428,3432,3435],{},[1361,3429,3430],{},[759,3431,854],{},[1361,3433,3434],{},"After a move along the life cycle.",[1361,3436,3437],{},[759,3438,3439],{},"{ event, operation, from, to }",[1340,3441,3442,3446,3451],{},[1361,3443,3444],{},[759,3445,858],{},[1361,3447,3448,3449,771],{},"When a user's participation is needed. Add to ",[759,3450,1722],{},[1361,3452,3453],{},[759,3454,1699],{},[1340,3456,3457,3461,3467],{},[1361,3458,3459],{},[759,3460,861],{},[1361,3462,3463,3464,771],{},"When the participants of operations are listed. Add to ",[759,3465,3466],{},"userIds",[1361,3468,3469],{},[759,3470,1716],{},[738,3472,3473,851,3475,3478,3479,874],{},[759,3474,765],{},[759,3476,3477],{},"previous"," are the staff DTO (",[759,3480,3481],{},"AdminOperationDto",[773,3483,1664],{"id":3484},"routes",[738,3486,3487,3488,3490,3491,771],{},"Routes the module registers, and who may call them. Typed path builders are exported as ",[759,3489,840],{}," from\n",[759,3492,3493],{},"@frigear-nu\u002Foperations\u002Fapi",[1334,3495,3496,3508],{},[1337,3497,3498],{},[1340,3499,3500,3503,3506],{},[1343,3501,3502],{},"Route",[1343,3504,3505],{},"Who",[1343,3507,3145],{},[1356,3509,3510,3530,3545,3559,3582,3599,3612,3626,3640,3661,3681,3697,3739,3777,3793,3810,3827,3840,3884,3917,3934,3958,3975,3993,4010,4024],{},[1340,3511,3512,3517,3520],{},[1361,3513,3514],{},[759,3515,3516],{},"GET \u002Fapi\u002Foperations",[1361,3518,3519],{},"Everyone",[1361,3521,3522,3523,3526,3527,771],{},"The public operations, and the ones you take part in when signed in. ",[759,3524,3525],{},"?status="," filters; archived ones only with ",[759,3528,3529],{},"?status=archived",[1340,3531,3532,3536,3539],{},[1361,3533,3534],{},[759,3535,1727],{},[1361,3537,3538],{},"Signed in",[1361,3540,3541,3542,3544],{},"The operations you take part in (",[759,3543,858],{},"), public or not, whatever their status.",[1340,3546,3547,3552,3554],{},[1361,3548,3549],{},[759,3550,3551],{},"GET \u002Fapi\u002Foperations\u002F:slug",[1361,3553,3519],{},[1361,3555,3556,3557,771],{},"One operation by URL name. Public ones for everyone, others for participants and staff, otherwise ",[759,3558,1648],{},[1340,3560,3561,3565,3569],{},[1361,3562,3563],{},[759,3564,1824],{},[1361,3566,3567],{},[759,3568,825],{},[1361,3570,3571,3572,748,3574,3577,3578,3581],{},"Paginated list with ",[759,3573,1838],{},[759,3575,3576],{},"q"," (name in every language, and the URL name) and sort. Searches ",[759,3579,3580],{},"operations.searchText",", the folded name and slug, so Æ, Ø and Å match in any case on sqlite too.",[1340,3583,3584,3589,3593],{},[1361,3585,3586],{},[759,3587,3588],{},"POST \u002Fapi\u002Fadmin\u002Foperations",[1361,3590,3591],{},[759,3592,825],{},[1361,3594,3595,3596,3598],{},"Create an operation. ",[759,3597,1856],{}," when the URL name is taken.",[1340,3600,3601,3605,3609],{},[1361,3602,3603],{},[759,3604,3354],{},[1361,3606,3607],{},[759,3608,825],{},[1361,3610,3611],{},"One operation.",[1340,3613,3614,3619,3623],{},[1361,3615,3616],{},[759,3617,3618],{},"PATCH \u002Fapi\u002Fadmin\u002Foperations\u002F:id",[1361,3620,3621],{},[759,3622,825],{},[1361,3624,3625],{},"Edit any field except the status.",[1340,3627,3628,3633,3637],{},[1361,3629,3630],{},[759,3631,3632],{},"DELETE \u002Fapi\u002Fadmin\u002Foperations\u002F:id",[1361,3634,3635],{},[759,3636,825],{},[1361,3638,3639],{},"Delete an operation.",[1340,3641,3642,3647,3651],{},[1361,3643,3644],{},[759,3645,3646],{},"POST \u002Fapi\u002Fadmin\u002Foperations\u002F:id\u002Fstatus",[1361,3648,3649],{},[759,3650,825],{},[1361,3652,3653,3654,1632,3657,3660],{},"Body ",[759,3655,3656],{},"{ status }",[759,3658,3659],{},"409 invalid_status_transition"," for a move that is not allowed.",[1340,3662,3663,3668,3671],{},[1361,3664,3665],{},[759,3666,3667],{},"GET \u002Fapi\u002Foperations\u002F:slug\u002Fvenue-layout",[1361,3669,3670],{},"Readers of the operation",[1361,3672,3673,3674,3677,3678,3680],{},"The venue layout, with the underlay's URL and its ",[759,3675,3676],{},"placement",". The operation's ",[759,3679,1648],{}," for anyone else.",[1340,3682,3683,3688,3690],{},[1361,3684,3685],{},[759,3686,3687],{},"GET \u002Fapi\u002Foperations\u002F:slug\u002Fvenue-layout\u002Funderlay",[1361,3689,3670],{},[1361,3691,3692,3693,3696],{},"The underlay image, ",[759,3694,3695],{},"nosniff",", cached publicly only for a public operation.",[1340,3698,3699,3706,3710],{},[1361,3700,3701,748,3703],{},[759,3702,2036],{},[759,3704,3705],{},"PUT \u002Fapi\u002Fadmin\u002Foperations\u002F:id\u002Fvenue-layout",[1361,3707,3708],{},[759,3709,825],{},[1361,3711,3712,3713,3715,3716,851,3718,1632,3720,2412,3723,3726,3727,1448,3730,3732,3733,3736,3737,771],{},"The venue layout with its ",[759,3714,2040],{},", its ",[759,3717,3676],{},[759,3719,2080],{},[759,3721,3722],{},"PUT",[759,3724,3725],{},"{ layout, revision? }",", checked with ",[759,3728,3729],{},"validatePlaneLayout",[759,3731,1902],{}," with the issues); ",[759,3734,3735],{},"409 venue_layout_changed"," when the layout changed since ",[759,3738,2040],{},[1340,3740,3741,3746,3750],{},[1361,3742,3743],{},[759,3744,3745],{},"PUT \u002Fapi\u002Fadmin\u002Foperations\u002F:id\u002Fvenue-layout\u002Fplacement",[1361,3747,3748],{},[759,3749,825],{},[1361,3751,3752,3755,3756,3758,3759,1448,3762,3764,3765,3767,3768,3770,3771,3773,3774,771],{},[759,3753,3754],{},"{ placement, revision? }",": a ",[759,3757,2072],{}," checked with ",[759,3760,3761],{},"planePlacementSchema",[759,3763,1902],{}," with the issues), or ",[759,3766,1949],{}," to remove it. ",[759,3769,2083],{}," when it changed since ",[759,3772,2040],{},". Answers ",[759,3775,3776],{},"{ placement, revision }",[1340,3778,3779,3783,3787],{},[1361,3780,3781],{},[759,3782,2759],{},[1361,3784,3785],{},[759,3786,1548],{},[1361,3788,3789,3790,771],{},"Your active bands, one per operation that is not archived, with the operation and ",[759,3791,3792],{},"nfcUidLast4",[1340,3794,3795,3799,3803],{},[1361,3796,3797],{},[759,3798,2741],{},[1361,3800,3801],{},[759,3802,1562],{},[1361,3804,3805,3807,3808,771],{},[759,3806,2745],{},": add your own band, see ",[742,3809,2280],{"href":2279},[1340,3811,3812,3816,3820],{},[1361,3813,3814],{},[759,3815,2713],{},[1361,3817,3818],{},[759,3819,1562],{},[1361,3821,3822,3823,1580,3825,771],{},"Your current operations, each with ",[759,3824,2730],{},[759,3826,1949],{},[1340,3828,3829,3833,3837],{},[1361,3830,3831],{},[759,3832,2846],{},[1361,3834,3835],{},[759,3836,1531],{},[1361,3838,3839],{},"The current operations, soonest first, for a pairing station.",[1340,3841,3842,3847,3851],{},[1361,3843,3844],{},[759,3845,3846],{},"GET \u002Fapi\u002Fadmin\u002Foperations\u002F:id\u002Fwristbands",[1361,3848,3849],{},[759,3850,1531],{},[1361,3852,3853,3854,3856,3857,1448,3860,748,3862,748,3864,3866,3867,1448,3870,748,3872,748,3874,748,3876,3878,3879,1580,3882,771],{},"Paginated bands with the person. ",[759,3855,3576],{}," searches name, nickname and email, and finds a whole number or NFC UID; ",[759,3858,3859],{},"wristbandStatus",[759,3861,3011],{},[759,3863,2151],{},[759,3865,2175],{},") and ",[759,3868,3869],{},"wristbandSource",[759,3871,2267],{},[759,3873,2271],{},[759,3875,2275],{},[759,3877,2284],{},") filter; sort by ",[759,3880,3881],{},"createdAt",[759,3883,1838],{},[1340,3885,3886,3890,3894],{},[1361,3887,3888],{},[759,3889,2863],{},[1361,3891,3892],{},[759,3893,1531],{},[1361,3895,3896,1448,3899,830,3901,1580,3903,3905,3906,748,3908,748,3911,3913,3914,3916],{},[759,3897,3898],{},"{ userId, number, nfcUid?, note?, replace?, source? }",[759,3900,2263],{},[759,3902,2267],{},[759,3904,2284],{},"). ",[759,3907,2143],{},[759,3909,3910],{},"wristband_number_taken",[759,3912,2872],{},"; ",[759,3915,1902],{}," for an unknown user.",[1340,3918,3919,3924,3928],{},[1361,3920,3921],{},[759,3922,3923],{},"PATCH \u002Fapi\u002Fadmin\u002Foperations\u002F:id\u002Fwristbands\u002F:wristbandId",[1361,3925,3926],{},[759,3927,1531],{},[1361,3929,3930,3933],{},[759,3931,3932],{},"{ number?, nfcUid?, note? }",". The person and status stay.",[1340,3935,3936,3941,3945],{},[1361,3937,3938],{},[759,3939,3940],{},"POST \u002Fapi\u002Fadmin\u002Foperations\u002F:id\u002Fwristbands\u002F:wristbandId\u002Frevoke",[1361,3942,3943],{},[759,3944,1531],{},[1361,3946,3947,748,3949,1580,3951,3953,3954,3957],{},[759,3948,3656],{},[759,3950,2151],{},[759,3952,2175],{},", for an active band (",[759,3955,3956],{},"409 wristband_not_active"," otherwise).",[1340,3959,3960,3965,3969],{},[1361,3961,3962],{},[759,3963,3964],{},"DELETE \u002Fapi\u002Fadmin\u002Foperations\u002F:id\u002Fwristbands\u002F:wristbandId",[1361,3966,3967],{},[759,3968,1531],{},[1361,3970,3971,3972,874],{},"Delete a band added by mistake (",[759,3973,3974],{},"204",[1340,3976,3977,3981,3985],{},[1361,3978,3979],{},[759,3980,2411],{},[1361,3982,3983],{},[759,3984,1531],{},[1361,3986,3987,3989,3990,771],{},[759,3988,2415],{},", see ",[742,3991,2406],{"href":3992},"#csv-import",[1340,3994,3995,4000,4004],{},[1361,3996,3997],{},[759,3998,3999],{},"GET \u002Fapi\u002Fadmin\u002Foperations\u002F:id\u002Fwristbands\u002Fpeople",[1361,4001,4002],{},[759,4003,1531],{},[1361,4005,4006,4009],{},[759,4007,4008],{},"?q=",": up to 20 people (name, nickname or email) for the person picker, with their emails.",[1340,4011,4012,4017,4021],{},[1361,4013,4014],{},[759,4015,4016],{},"GET \u002Fapi\u002Fadmin\u002Fusers\u002F:id\u002Fwristbands",[1361,4018,4019],{},[759,4020,1531],{},[1361,4022,4023],{},"Every band of one user across operations, with the operation (the admin user page's tab).",[1340,4025,4026,4031,4035],{},[1361,4027,4028],{},[759,4029,4030],{},"POST \u002Fapi\u002Fadmin\u002Foperations\u002F:id\u002Fvenue-layout\u002Funderlay",[1361,4032,4033],{},[759,4034,825],{},[1361,4036,4037,4038,4041,4042,4045,4046,4049,4050,4053,4054,4056,4057,771],{},"Multipart ",[759,4039,4040],{},"file",": a PNG, JPEG or WebP (",[759,4043,4044],{},"415"," otherwise, ",[759,4047,4048],{},"413"," when too large), ",[759,4051,4052],{},"?revision="," optional (",[759,4055,3735],{},"). Answers ",[759,4058,4059],{},"{ url, width, height, revision }",[738,4061,4062,4063,748,4066,748,4069,748,4071,851,4073,4076,4077,851,4079,4082,4083,748,4086,748,4088,1065,4091,748,4094,748,4097,748,4100,748,4103,4106,4107,4110,4111,1448,4113,4116,4117,851,4119,4121,4122,4124],{},"The URL names ",[759,4064,4065],{},"me",[759,4067,4068],{},"new",[759,4070,2381],{},[759,4072,1183],{},[759,4074,4075],{},"api"," are reserved. Responses are allowlisted DTOs with ISO dates; the\npublic one has no ",[759,4078,3881],{},[759,4080,4081],{},"updatedAt",". The body of create and edit takes ",[759,4084,4085],{},"slug",[759,4087,2669],{},[759,4089,4090],{},"description",[759,4092,4093],{},"hostName",[759,4095,4096],{},"hostUrl",[759,4098,4099],{},"startsAt",[759,4101,4102],{},"endsAt",[759,4104,4105],{},"schedule"," (a ",[742,4108,4109],{"href":480},"Schedule"," of Module Kit),\n",[759,4112,1929],{},[759,4114,4115],{},"{ name?, address?, point?, radiusMeters?, area? }","), ",[759,4118,1602],{},[759,4120,1895],{},". The admin forms do not edit\n",[759,4123,4105],{},": the API stores it, and the forms keep what is stored. Dates are ISO datetimes with an offset: a string\nwithout one is refused, so the server's time zone never shifts an operation's period.",[773,4126,40],{"id":4127},"database",[738,4129,4130,4131,4134],{},"Tables the module adds. Generate and commit a ",[742,4132,1150],{"href":4133},"\u002Fget-started\u002Fdatabase#migrations"," after installing.",[1334,4136,4137,4147],{},[1337,4138,4139],{},[1340,4140,4141,4144],{},[1343,4142,4143],{},"Table",[1343,4145,4146],{},"Holds",[1356,4148,4149],{},[1340,4150,4151,4155],{},[1361,4152,4153],{},[759,4154,1154],{},[1361,4156,4157,4160,4161,4163,4164,851,4166,748,4168,4171,4172,748,4174,748,4176,2616,4178,4180,4181,2069,4183,4185,4186,4188,4189,4191,4192,1448,4194,748,4196,748,4198,748,4200,4116,4202,4204,4205,771],{},[759,4158,4159],{},"opr_"," id, a unique ",[759,4162,4085],{},", Translated ",[759,4165,2669],{},[759,4167,4090],{},[759,4169,4170],{},"searchText"," (name and slug folded for search), ",[759,4173,4093],{},[759,4175,4096],{},[759,4177,4099],{},[759,4179,4102],{},", an optional ",[759,4182,4105],{},[759,4184,1929],{}," json, a ",[759,4187,1958],{}," json (a plane layout of Maps), a ",[759,4190,2068],{}," json (where it lies on the map), ",[759,4193,1838],{},[759,4195,1317],{},[759,4197,3011],{},[759,4199,2724],{},[759,4201,1852],{},[759,4203,1602],{}," and an optional ",[759,4206,1895],{},[738,4208,4209,4210,4213,4214,4217,4218,748,4220,748,4222,851,4224,4226,4227,851,4229,4231,4232,4234,4235,1448,4237,748,4239,748,4241,4116,4243,748,4245,1448,4247,748,4249,748,4251,748,4253,4116,4255,748,4257,748,4260,748,4262,4264,4265,851,4268,4271,4272,4274,4275,4278,4279,4282],{},"| ",[759,4211,4212],{},"operation_wristbands"," | With Users only. ",[759,4215,4216],{},"owb_"," id, ",[759,4219,1807],{},[759,4221,2446],{},[759,4223,2490],{},[759,4225,2503],{}," (nullable), both encrypted, ",[759,4228,2302],{},[759,4230,2305],{}," (their HMACs; ",[759,4233,2302],{}," is null only on a band from before encryption), ",[759,4236,1838],{},[759,4238,3011],{},[759,4240,2151],{},[759,4242,2175],{},[759,4244,900],{},[759,4246,2263],{},[759,4248,2267],{},[759,4250,2271],{},[759,4252,2275],{},[759,4254,2284],{},[759,4256,3881],{},[759,4258,4259],{},"createdBy",[759,4261,2154],{},[759,4263,4081],{},". Unique ",[759,4266,4267],{},"(operationId, numberHash)",[759,4269,4270],{},"(operationId, nfcUidHash)",", an index on ",[759,4273,2446],{},", and a partial unique ",[759,4276,4277],{},"(operationId, userId)"," where ",[759,4280,4281],{},"status = 'active'",". No foreign keys: the rows go with the operation or the user. |",[738,4284,4285,4286,4289,4290,771],{},"Translated texts are a string or a ",[759,4287,4288],{},"{ da, en }"," map. Operations has no participants table: see\n",[742,4291,1607],{"href":1606},[773,4293,493],{"id":4294},"translations",[738,4296,4297,4298,4301,4302,851,4305,4308,4309,1456,4312,4316,4317,4320,4321,771],{},"Override any string in your app's ",[759,4299,4300],{},"i18n\u002Flocales\u002F\u003Ccode>.json",". The module registers ",[759,4303,4304],{},"da",[759,4306,4307],{},"en"," files under\n",[759,4310,4311],{},"operations.*",[742,4313,4315],{"href":4314},"\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fi18n#overriding-module-strings-in-your-app","overriding module strings",".\nWithout ",[759,4318,4319],{},"@nuxtjs\u002Fi18n",", the pages use ",[759,4322,4307],{},[958,4324,4328],{"className":4325,"code":4326,"language":4327,"meta":963,"style":963},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{ \"operations\": { \"admin\": { \"statuses\": { \"wrapped_up\": \"Done\" } } } }\n","json",[759,4329,4330],{"__ignoreMap":963},[967,4331,4332,4335,4338,4340,4343,4345,4347,4349,4351,4353,4355,4357,4359,4362,4364,4366,4368,4370,4372,4374,4376,4378,4381,4383,4385,4387,4389],{"class":969,"line":970},[967,4333,4334],{"class":1019},"{",[967,4336,4337],{"class":1019}," \"",[967,4339,1154],{"class":2957},[967,4341,4342],{"class":1019},"\"",[967,4344,1030],{"class":1019},[967,4346,1097],{"class":1019},[967,4348,4337],{"class":1019},[967,4350,1183],{"class":973},[967,4352,4342],{"class":1019},[967,4354,1030],{"class":1019},[967,4356,1097],{"class":1019},[967,4358,4337],{"class":1019},[967,4360,4361],{"class":3340},"statuses",[967,4363,4342],{"class":1019},[967,4365,1030],{"class":1019},[967,4367,1097],{"class":1019},[967,4369,4337],{"class":1019},[967,4371,2724],{"class":1026},[967,4373,4342],{"class":1019},[967,4375,1030],{"class":1019},[967,4377,4337],{"class":1019},[967,4379,4380],{"class":977},"Done",[967,4382,4342],{"class":1019},[967,4384,3242],{"class":1019},[967,4386,3242],{"class":1019},[967,4388,3242],{"class":1019},[967,4390,4391],{"class":1019}," }\n",[738,4393,4394,4395,748,4398,748,4401,748,4404,880,4407,748,4410,1759,4413,4116,4416,851,4419,880,4422,748,4425,1065,4428,748,4431,851,4434,4437,4438,748,4441,748,4444,851,4447,771],{},"Key groups: ",[759,4396,4397],{},"menu.*",[759,4399,4400],{},"permissions.*",[759,4402,4403],{},"scopes.*",[759,4405,4406],{},"admin.*",[759,4408,4409],{},"admin.tabs.*",[759,4411,4412],{},"admin.statuses.*",[759,4414,4415],{},"admin.statusActions.*",[759,4417,4418],{},"dashboard.*",[759,4420,4421],{},"wristbands.*",[759,4423,4424],{},"wristbands.statuses.*",[759,4426,4427],{},"wristbands.sources.*",[759,4429,4430],{},"wristbands.errors.*",[759,4432,4433],{},"wristbands.importActions.*",[759,4435,4436],{},"wristbands.importReasons.*","). Top-level keys include ",[759,4439,4440],{},"notFound",[759,4442,4443],{},"when",[759,4445,4446],{},"where",[759,4448,4449],{},"hostedBy",[773,4451,4453],{"id":4452},"who-sees-what","Who sees what",[738,4455,4456,4457,4459,4460,4462,4463,4465,4466,4468],{},"The public list (",[759,4458,3516],{},") never widens for staff: it shows public operations and the ones the caller takes\npart in, whoever asks. Staff list everything through the admin API. The slug route (",[759,4461,3551],{},") does\nlet staff read any operation, and participants read theirs. The public page at ",[759,4464,789],{}," is stricter: it is\na 404 page for an operation that is not ",[759,4467,1602],{},", for participants and staff too.",[773,4470,4472],{"id":4471},"next-steps","Next steps",[778,4474,4475,4480,4489],{},[781,4476,4477,4479],{},[742,4478,528],{"href":529}," – applications and invites that make people an operation's crew.",[781,4481,4482,4485,4486,4488],{},[742,4483,4484],{"href":769},"Record audiences"," – the grant lists the ",[759,4487,765],{}," kind belongs to.",[781,4490,4491,4493],{},[742,4492,434],{"href":435}," – the tab areas modules extend on the operation page.",[4495,4496,4497],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":963,"searchDepth":1023,"depth":1023,"links":4499},[4500,4501,4507,4508,4509,4517,4526,4531,4532,4533,4534,4535,4536],{"id":775,"depth":1023,"text":776},{"id":947,"depth":1023,"text":948,"children":4502},[4503,4504,4505,4506],{"id":955,"depth":1068,"text":956},{"id":987,"depth":1068,"text":988},{"id":1142,"depth":1068,"text":1143},{"id":1170,"depth":1068,"text":1171},{"id":1325,"depth":1023,"text":1326},{"id":1463,"depth":1023,"text":1464},{"id":1652,"depth":1023,"text":1653,"children":4510},[4511,4512,4513,4514,4515,4516],{"id":1668,"depth":1068,"text":1607},{"id":1766,"depth":1068,"text":873},{"id":1838,"depth":1068,"text":1839},{"id":1889,"depth":1068,"text":1890},{"id":1906,"depth":1068,"text":1907},{"id":2096,"depth":1068,"text":2097},{"id":944,"depth":1023,"text":879,"children":4518},[4519,4520,4521,4522,4523,4524,4525],{"id":2292,"depth":1068,"text":1460},{"id":2346,"depth":1068,"text":2347},{"id":2405,"depth":1068,"text":2406},{"id":2702,"depth":1068,"text":2280},{"id":2833,"depth":1068,"text":2289},{"id":2926,"depth":1068,"text":2927},{"id":3036,"depth":1068,"text":3037},{"id":3061,"depth":1023,"text":284,"children":4527},[4528,4529,4530],{"id":3064,"depth":1068,"text":105},{"id":3132,"depth":1068,"text":3133},{"id":3206,"depth":1068,"text":3207},{"id":3370,"depth":1023,"text":242},{"id":3484,"depth":1023,"text":1664},{"id":4127,"depth":1023,"text":40},{"id":4294,"depth":1023,"text":493},{"id":4452,"depth":1023,"text":4453},{"id":4471,"depth":1023,"text":4472},"The occasions your organisation works at, such as a festival bar, with a period, a place and a status, for crew, shifts and maps to attach to.","md",null,{},{"title":524,"description":4537},"LQGWI3KoJI474T9DHclq5qCRYAXKJrCTXBfX9uHNGuU",[4544,4546],{"title":515,"path":516,"stem":517,"description":4545,"children":-1},"Read the site config, the current page and the navigation, and build links between locales.",{"title":528,"path":529,"stem":530,"description":4547,"children":-1},"Applications, approvals and invite links that turn people into an operation's crew, built on teams.",1796157345751]