[{"data":1,"prerenderedAt":7698},["ShallowReactive",2],{"navigation_docs":3,"-modules-volunteering-shifts":732,"-modules-volunteering-shifts-surround":7694},[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":532,"body":734,"description":7687,"extension":7688,"links":7689,"meta":7690,"navigation":7691,"path":533,"seo":7692,"stem":534,"__hash__":7693},"docs\u002F3.modules\u002F9.volunteering\u002F3.shifts.md",{"type":735,"value":736,"toc":7639},"minimark",[737,759,766,771,921,925,974,978,1237,1260,1264,1271,1654,1715,1743,1747,1752,1940,2049,2053,2065,2069,2083,2126,2147,2158,2162,2169,2173,2220,2227,2231,2253,2263,2339,2354,2424,2430,2433,2436,2477,2579,2587,2619,2625,2689,2718,2765,2768,2777,2807,2822,2830,2948,2952,2961,3007,3040,3067,3071,3089,3150,3169,3182,3246,3259,3275,3279,3302,3348,3352,3363,3444,3454,3458,3471,3475,3492,3570,3576,3580,3601,3672,3676,3691,3694,3697,3714,3720,3724,3749,3855,3887,3911,3915,3929,4001,4005,4029,4126,4130,4139,4142,4153,4225,4240,4302,4307,4310,4629,4637,4640,4643,4666,4670,4677,4680,4714,4761,4769,4772,4891,4907,4910,4913,5017,5020,5056,5060,5075,5122,5140,5157,5161,5306,5309,5319,5538,5684,5687,5697,7002,7015,7018,7025,7488,7495,7498,7518,7614,7618,7635],[738,739,740,741,745,746,748,749,751,752,755,756,758],"p",{},"Shifts is when people work an operation. ",[742,743,744],"a",{"href":91},"Staff"," build a schedule of shifts for the\noperation's teams, publish it and put people on the shifts. Volunteers see their shifts, trade or give them away as far\nas the schedule allows, and check in: a lead of their team scans their QR pass, or they scan the rotating code of a\nstation or check in by their location, as the schedule allows. They get reminders before a shift, can follow their\nshifts in a calendar app, and earn perks (two beers, a meal) for every shift they attend, which an app such as the\nvouchers app hands out. When a shift ends, a task gives out the perks, can mark the people who never turned up as no-shows,\nand sends the leads one digest of what needs a look. Coordinators and leads message a team. Everyone who\ntakes part sees who is on shift now and which lead is on duty. The people come from ",[742,747,528],{"href":529}," and ",[742,750,258],{"href":259},": a person\ncan hold a shift when they hold a ",[742,753,754],{"href":91},"team role"," on its team. The operations themselves are in\n",[742,757,524],{"href":525},".",[738,760,761,762,758],{},"The package is ",[763,764,765],"code",{},"@frigear-nu\u002Fshifts",[767,768,770],"h2",{"id":769},"what-you-get","What you get",[772,773,774,827,849,855,868,874],"ul",{},[775,776,777,781,782,785,786,748,789,792,793,795,796,799,800,803,804,807,808,811,812,815,816,819,820,823,824,826],"li",{},[778,779,780],"strong",{},"Volunteer pages"," (on by default, each can be turned off): my shifts (a list by day and a month calendar, with\n",[778,783,784],{},"Subscribe in calendar",") and the open swaps, as the ",[778,787,788],{},"My shifts",[778,790,791],{},"Swaps"," tabs of the crew home of\n",[742,794,528],{"href":529}," (",[763,797,798],{},"\u002Fdashboard\u002Fcrew?tab=shifts",", ",[763,801,802],{},"?tab=swaps","); one shift at ",[763,805,806],{},"\u002Fdashboard\u002Fcrew\u002Fshifts\u002F:assignmentId","\n(the lead on duty, the QR pass with a countdown and a full-screen view, checking in at a station or by location, what\nthe shift earns, and the swap); the page of a team's leads at ",[763,809,810],{},"\u002Fshifts\u002Flead\u002F:teamId"," (it opens on the exceptions, with\n",[778,813,814],{},"Message team"," and the team's stations), their scanner at ",[763,817,818],{},"\u002Fshifts\u002Fcheck-in\u002F:teamId",", and a station's full-screen\nrotating QR code at ",[763,821,822],{},"\u002Fshifts\u002Fstation\u002F:stationId",". With ",[742,825,438],{"href":439},", a Shifts tab on my\nshifts.",[775,828,829,832,833,748,835,837,838,840,841,844,845,848],{},[778,830,831],{},"Admin area"," (with ",[742,834,225],{"href":427},[742,836,434],{"href":435},"): a ",[778,839,532],{}," tab on\nthe operation page of Operations. It lists the schedules and who is working now; a schedule opens with a timeline per\nday and team, a list, its shift roles, the swaps that wait for approval and its check-in (modes, the check-in place,\nautomatic no-shows and the stations); a shift's form picks its place on the venue layout. Below the schedules, the operation's\n",[778,842,843],{},"perks"," and its ",[778,846,847],{},"messages"," (the broadcasts sent, and the button to send one).",[775,850,851,854],{},[778,852,853],{},"Server routes",": my shifts, the pass, checking in myself and my swaps; my earned perks (for the vouchers app); the\nmarketplace and offers; the lead's check-in, attendance, exceptions, stations, broadcasts and team view; who is on\nshift now; my calendar feed; and a staff API for schedules, roles, shifts, stations, assignments, swaps, perks and\nbroadcasts.",[775,856,857,859,860,863,864,867],{},[778,858,581],{},": ",[763,861,862],{},"shifts:send-reminders"," emails people a day and two hours before a shift starts; ",[763,865,866],{},"shifts:close-shifts","\ngives out the perks of ended shifts, marks automatic no-shows and sends the leads' digest.",[775,869,870,873],{},[778,871,872],{},"Emails",": the swap emails (on a new offer, an accepted or rejected offer, a completed swap, a swap that waits for\napproval and a trade aimed at somebody's shift; a trade's emails name both shifts), the reminder, the broadcast and the\nleads' digest.",[775,875,876,859,878,799,881,799,884,799,887,890,891,799,894,799,897,799,900,890,903,799,906,799,909,799,912,890,915,748,918,758],{},[778,877,242],{},[763,879,880],{},"shifts:schedule:published",[763,882,883],{},"shifts:shift:created",[763,885,886],{},"shifts:shift:updated",[763,888,889],{},"shifts:assignment:changed",",\n",[763,892,893],{},"shifts:swap:offered",[763,895,896],{},"shifts:swap:accepted",[763,898,899],{},"shifts:swap:rejected",[763,901,902],{},"shifts:swap:completed",[763,904,905],{},"shifts:attendance:marked",[763,907,908],{},"shifts:reminder:sent",[763,910,911],{},"shifts:broadcast:sent",[763,913,914],{},"shifts:perk:earned",[763,916,917],{},"shifts:perk:revoked",[763,919,920],{},"shifts:digest:sent",[922,923],"module-runtime",{":client":924,":mobile":924,":server":924},"true",[926,927,928,931,932,799,934,890,936,799,938,799,940,890,942,799,944,799,946,948,949,931,952,955,956,959,960,931,963,748,965,967,968,970,971,973],"note",{},[778,929,930],{},"Installed for you:"," ",[742,933,528],{"href":529},[742,935,258],{"href":259},[742,937,524],{"href":525},[742,939,356],{"href":357},[742,941,172],{"href":173},[742,943,199],{"href":200},[742,945,470],{"href":471},[742,947,402],{"href":403}," and Module Kit.\n",[778,950,951],{},"You add:",[763,953,954],{},"@nuxthub\u002Fcore",", and ",[763,957,958],{},"@nuxt\u002Fui"," for the pages.\n",[778,961,962],{},"Optional:",[742,964,225],{"href":427},[742,966,434],{"href":435}," for the Shifts tab,\n",[742,969,438],{"href":439}," for the tab,\nand ",[742,972,360],{"href":361}," to render the emails from templates.",[767,975,977],{"id":976},"quick-setup","Quick setup",[979,980,981,986,1014,1018,1021,1163,1174,1178,1186,1198,1202,1220,1224],"steps",{},[982,983,985],"h3",{"id":984},"install-shifts","Install Shifts",[987,988,993],"pre",{"className":989,"code":990,"language":991,"meta":992,"style":992},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm add @frigear-nu\u002Fshifts @nuxthub\u002Fcore\n","bash","",[763,994,995],{"__ignoreMap":992},[996,997,1000,1004,1008,1011],"span",{"class":998,"line":999},"line",1,[996,1001,1003],{"class":1002},"sBMFI","pnpm",[996,1005,1007],{"class":1006},"sfazB"," add",[996,1009,1010],{"class":1006}," @frigear-nu\u002Fshifts",[996,1012,1013],{"class":1006}," @nuxthub\u002Fcore\n",[982,1015,1017],{"id":1016},"add-it-to-nuxtconfigts","Add it to nuxt.config.ts",[738,1019,1020],{},"List Admin and Widget before Shifts, so the tab registers. Operations needs its admin pages for the tab to have a page\nto live on.",[987,1022,1027],{"className":1023,"code":1024,"filename":1025,"language":1026,"meta":992,"style":992},"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\u002Fwidget', '@frigear-nu\u002Fshifts'],\n  operations: { settings: { pages: { admin: true, adminOperation: true } } },\n})\n","nuxt.config.ts","ts",[763,1028,1029,1050,1103,1154],{"__ignoreMap":992},[996,1030,1031,1035,1038,1042,1046],{"class":998,"line":999},[996,1032,1034],{"class":1033},"s7zQu","export",[996,1036,1037],{"class":1033}," default",[996,1039,1041],{"class":1040},"s2Zo4"," defineNuxtConfig",[996,1043,1045],{"class":1044},"sTEyZ","(",[996,1047,1049],{"class":1048},"sMK4o","{\n",[996,1051,1053,1057,1060,1063,1066,1068,1070,1073,1076,1079,1081,1083,1085,1088,1090,1092,1094,1096,1098,1101],{"class":998,"line":1052},2,[996,1054,1056],{"class":1055},"swJcz","  modules",[996,1058,1059],{"class":1048},":",[996,1061,1062],{"class":1044}," [",[996,1064,1065],{"class":1048},"'",[996,1067,954],{"class":1006},[996,1069,1065],{"class":1048},[996,1071,1072],{"class":1048},",",[996,1074,1075],{"class":1048}," '",[996,1077,1078],{"class":1006},"@frigear-nu\u002Fadmin",[996,1080,1065],{"class":1048},[996,1082,1072],{"class":1048},[996,1084,1075],{"class":1048},[996,1086,1087],{"class":1006},"@frigear-nu\u002Fwidget",[996,1089,1065],{"class":1048},[996,1091,1072],{"class":1048},[996,1093,1075],{"class":1048},[996,1095,765],{"class":1006},[996,1097,1065],{"class":1048},[996,1099,1100],{"class":1044},"]",[996,1102,890],{"class":1048},[996,1104,1106,1109,1111,1114,1117,1119,1121,1124,1126,1128,1131,1133,1137,1139,1142,1144,1146,1149,1151],{"class":998,"line":1105},3,[996,1107,1108],{"class":1055},"  operations",[996,1110,1059],{"class":1048},[996,1112,1113],{"class":1048}," {",[996,1115,1116],{"class":1055}," settings",[996,1118,1059],{"class":1048},[996,1120,1113],{"class":1048},[996,1122,1123],{"class":1055}," pages",[996,1125,1059],{"class":1048},[996,1127,1113],{"class":1048},[996,1129,1130],{"class":1055}," admin",[996,1132,1059],{"class":1048},[996,1134,1136],{"class":1135},"sfNiH"," true",[996,1138,1072],{"class":1048},[996,1140,1141],{"class":1055}," adminOperation",[996,1143,1059],{"class":1048},[996,1145,1136],{"class":1135},[996,1147,1148],{"class":1048}," }",[996,1150,1148],{"class":1048},[996,1152,1153],{"class":1048}," },\n",[996,1155,1157,1160],{"class":998,"line":1156},4,[996,1158,1159],{"class":1048},"}",[996,1161,1162],{"class":1044},")\n",[738,1164,1165,1166,1169,1170,1173],{},"Shift times are entered and shown in the app's time zone. Set it once in ",[763,1167,1168],{},"app.config.ts",", as\n",[763,1171,1172],{},"frigearUi: { timeZone: 'Europe\u002FBerlin' }","; without it they are in UTC.",[982,1175,1177],{"id":1176},"generate-the-migration","Generate the migration",[1179,1180,1181,1182,1185],"warning",{},"Without a ",[742,1183,1184],{"href":91},"migration"," the shifts tables do not exist, and every request to them fails.",[987,1187,1189],{"className":989,"code":1188,"language":991,"meta":992,"style":992},"pnpm db:generate\n",[763,1190,1191],{"__ignoreMap":992},[996,1192,1193,1195],{"class":998,"line":999},[996,1194,1003],{"class":1002},[996,1196,1197],{"class":1006}," db:generate\n",[982,1199,1201],{"id":1200},"decide-who-manages-shifts","Decide who manages shifts",[1179,1203,1204,1205,1207,1208,1211,1212,1215,1216,1219],{},"Staff routes check permissions through ",[742,1206,207],{"href":208},". Without a role that holds\n",[763,1209,1210],{},"shifts:manage",", nobody can build a schedule. The ",[763,1213,1214],{},"admin"," role holds it when your app defines it; grant it to your own\nroles by name (",[763,1217,1218],{},"authorization.roles.\u003Crole>.grant: ['shifts:manage', 'shifts:broadcast', 'shifts:pii']",").",[982,1221,1223],{"id":1222},"build-a-schedule","Build a schedule",[738,1225,1226,1227,1229,1230,1233,1234,758],{},"Open the operation, then its ",[778,1228,532],{}," tab. Create a schedule, then ",[778,1231,1232],{},"Create shifts",": pick a team, the first and last\nday and the time slots. Open a shift to put people on it, then ",[778,1235,1236],{},"Publish schedule",[1238,1239,1242,1245,1246,795,1249,1251,1252,1255,1256,1259],"callout",{"color":1240,"icon":1241},"success","i-lucide-check",[778,1243,1244],{},"What you should see:"," an approved volunteer opens ",[778,1247,1248],{},"Crew → My shifts",[763,1250,798],{},") and sees their shift. From an hour before it starts, the\nshift's page shows a QR code. A lead of the team opens ",[763,1253,1254],{},"\u002Fshifts\u002Fcheck-in\u002F\u003CteamId>",", scans it and the volunteer is\nchecked in. The operation's Shifts tab shows them under ",[778,1257,1258],{},"Working now",", with that lead on duty.",[767,1261,1263],{"id":1262},"options","Options",[738,1265,1266,1267,1270],{},"Options go under the ",[763,1268,1269],{},"shifts"," key.",[1272,1273,1274,1293],"table",{},[1275,1276,1277],"thead",{},[1278,1279,1280,1284,1287,1290],"tr",{},[1281,1282,1283],"th",{},"Option",[1281,1285,1286],{},"Type",[1281,1288,1289],{},"Default",[1281,1291,1292],{},"Purpose",[1294,1295,1296,1339,1375,1399,1423,1445,1468,1491,1516,1536,1557,1577,1595,1614,1635],"tbody",{},[1278,1297,1298,1304,1309,1312],{},[1299,1300,1301],"td",{},[763,1302,1303],{},"settings.pages.shifts",[1299,1305,1306],{},[763,1307,1308],{},"string | boolean",[1299,1310,1311],{},"on",[1299,1313,1314,1315,799,1319,1321,1322,1325,1326,1328,1329,1331,1332,1334,1335,1338],{},"My shifts: the My shifts tab of the crew home. When the crew home is in the ",[742,1316,1318],{"href":1317},"\u002Fmodules\u002Finterface\u002Fdashboard#the-hub","hub",[763,1320,924],{}," adds no page (",[763,1323,1324],{},"\u002Fshifts"," redirects to ",[763,1327,798],{},") and a path adds one there; without the hub, or with Mobile, ",[763,1330,924],{}," is also a page at ",[763,1333,1324],{},". ",[763,1336,1337],{},"false"," turns both off.",[1278,1340,1341,1346,1350,1352],{},[1299,1342,1343],{},[763,1344,1345],{},"settings.pages.shift",[1299,1347,1348],{},[763,1349,1308],{},[1299,1351,1311],{},[1299,1353,1354,1355,1357,1358,1360,1361,1364,1365,1368,1369,1371,1372,758],{},"One of my shifts. With the crew home in the hub (and no Mobile), ",[763,1356,924],{}," is ",[763,1359,806],{},", in the hub's layout, and the old ",[763,1362,1363],{},"\u002Fshifts\u002F:assignmentId"," redirects there (",[763,1366,1367],{},"301","); otherwise ",[763,1370,1363],{},". A path must contain ",[763,1373,1374],{},":assignmentId",[1278,1376,1377,1382,1386,1388],{},[1299,1378,1379],{},[763,1380,1381],{},"settings.pages.swaps",[1299,1383,1384],{},[763,1385,1308],{},[1299,1387,1311],{},[1299,1389,1390,1391,1394,1395,795,1397,1219],{},"The open swaps: the Swaps tab of the crew home, and a page at ",[763,1392,1393],{},"\u002Fshifts\u002Fswaps"," on the same terms as ",[763,1396,1269],{},[763,1398,802],{},[1278,1400,1401,1406,1410,1412],{},[1299,1402,1403],{},[763,1404,1405],{},"settings.pages.checkIn",[1299,1407,1408],{},[763,1409,1308],{},[1299,1411,1311],{},[1299,1413,1414,1415,1357,1417,1419,1420,758],{},"The scanner of a team's leads. ",[763,1416,924],{},[763,1418,818],{},"; a path must contain ",[763,1421,1422],{},":teamId",[1278,1424,1425,1430,1434,1436],{},[1299,1426,1427],{},[763,1428,1429],{},"settings.pages.lead",[1299,1431,1432],{},[763,1433,1308],{},[1299,1435,1311],{},[1299,1437,1438,1439,1357,1441,1419,1443,758],{},"The page of a team's leads: exceptions, shifts, attendance and swaps to approve. ",[763,1440,924],{},[763,1442,810],{},[763,1444,1422],{},[1278,1446,1447,1452,1456,1458],{},[1299,1448,1449],{},[763,1450,1451],{},"settings.pages.station",[1299,1453,1454],{},[763,1455,1308],{},[1299,1457,1311],{},[1299,1459,1460,1461,1357,1463,1419,1465,758],{},"A check-in station's screen. ",[763,1462,924],{},[763,1464,822],{},[763,1466,1467],{},":stationId",[1278,1469,1470,1475,1480,1484],{},[1299,1471,1472],{},[763,1473,1474],{},"settings.operationsTab",[1299,1476,1477],{},[763,1478,1479],{},"boolean",[1299,1481,1482],{},[763,1483,924],{},[1299,1485,1486,1487,1490],{},"Add the Shifts tab to the ",[763,1488,1489],{},"admin.operations"," tab area.",[1278,1492,1493,1498,1503,1506],{},[1299,1494,1495],{},[763,1496,1497],{},"timeZone",[1299,1499,1500],{},[763,1501,1502],{},"string",[1299,1504,1505],{},"the app's",[1299,1507,1508,1509,1512,1513,1219],{},"The time zone shift times are entered and shown in, when it is not the app's own (",[763,1510,1511],{},"appConfig.frigearUi.timeZone",", else ",[763,1514,1515],{},"UTC",[1278,1517,1518,1523,1528,1533],{},[1299,1519,1520],{},[763,1521,1522],{},"checkInOpensMinutes",[1299,1524,1525],{},[763,1526,1527],{},"number",[1299,1529,1530],{},[763,1531,1532],{},"60",[1299,1534,1535],{},"How many minutes before a shift starts its QR pass shows and check-in opens.",[1278,1537,1538,1543,1548,1551],{},[1299,1539,1540],{},[763,1541,1542],{},"reminders.cron",[1299,1544,1545],{},[763,1546,1547],{},"string | false",[1299,1549,1550],{},"every ten minutes",[1299,1552,1553,1554,1556],{},"The cron expression the reminder task runs on. ",[763,1555,1337],{}," registers the task without a schedule.",[1278,1558,1559,1564,1569,1574],{},[1299,1560,1561],{},[763,1562,1563],{},"reminders.offsets",[1299,1565,1566],{},[763,1567,1568],{},"number[]",[1299,1570,1571],{},[763,1572,1573],{},"[1440, 120]",[1299,1575,1576],{},"Minutes before a shift starts that a reminder goes out (a day and two hours). Whole minutes up to a week.",[1278,1578,1579,1584,1588,1592],{},[1299,1580,1581],{},[763,1582,1583],{},"reminders.sms",[1299,1585,1586],{},[763,1587,1479],{},[1299,1589,1590],{},[763,1591,1337],{},[1299,1593,1594],{},"Also text people who have a phone number. SMS costs money, so it is off.",[1278,1596,1597,1602,1606,1611],{},[1299,1598,1599],{},[763,1600,1601],{},"reminders.batchSize",[1299,1603,1604],{},[763,1605,1527],{},[1299,1607,1608],{},[763,1609,1610],{},"100",[1299,1612,1613],{},"The most due assignments one run handles, soonest shift first (1 to 1000). The next run takes the rest.",[1278,1615,1616,1621,1625,1628],{},[1299,1617,1618],{},[763,1619,1620],{},"automation.cron",[1299,1622,1623],{},[763,1624,1547],{},[1299,1626,1627],{},"every five minutes",[1299,1629,1630,1631,1334,1633,1556],{},"The cron expression of ",[763,1632,866],{},[763,1634,1337],{},[1278,1636,1637,1642,1646,1651],{},[1299,1638,1639],{},[763,1640,1641],{},"automation.batchSize",[1299,1643,1644],{},[763,1645,1527],{},[1299,1647,1648],{},[763,1649,1650],{},"200",[1299,1652,1653],{},"The most rows of each kind (ended shifts, auto no-shows, digest items) one run handles (1 to 1000).",[738,1655,1656,1659,1660,1663,1664,1667,1668,1663,1671,1675,1676,1678,1679,1682,1683,1685,1686,1689,1690,1693,1694,1696,1697,1700,1701,1704,1705,748,1708,1711,1712,1714],{},[778,1657,1658],{},"Station check-in needs a station key."," Station codes are signed with ",[763,1661,1662],{},"NUXT_SHIFTS_STATION_KEY","\n(",[763,1665,1666],{},"runtimeConfig.shifts.stationKey","), else with a key derived from ",[763,1669,1670],{},"NUXT_APP_SECRET",[742,1672,1674],{"href":1673},"\u002Fget-started\u002Fconfiguration#secrets","Secrets","), so it works in any app that sets ",[763,1677,1670],{}," (32+ characters).\nAn own key is optional; when you set one, make it at least 32 characters (for example ",[763,1680,1681],{},"openssl rand -base64 32","): a\nshorter key stops the build when it is in ",[763,1684,1025],{}," and the server at startup when it comes from the\nenvironment, with an error that says so. Where the environment only reaches a request (Cloudflare), a short key is\nlogged and counts as no key. Without any key station check-in is off: the station screen and a ",[763,1687,1688],{},"station"," check-in\nanswer ",[763,1691,1692],{},"501 not_configured",", the pass leaves ",[763,1695,1688],{}," out of ",[763,1698,1699],{},"checkIn.modes",", and the schedule's ",[778,1702,1703],{},"Check-in"," view\nshows that the key is missing and does not let staff turn the mode on. The lead's scan, ",[763,1706,1707],{},"location",[763,1709,1710],{},"daily"," work\nwithout it. Changing the key, or ",[763,1713,1670],{}," while the key is derived, invalidates the codes on screen for at\nmost a minute.",[738,1716,1717,1721,1722,1725,1726,1729,1730,1732,1733,1735,1736,1739,1740,1742],{},[778,1718,1719],{},[763,1720,1497],{}," is the operation's local time. Bulk creation turns days and ",[763,1723,1724],{},"HH:mm"," slots into instants in it, so\n",[763,1727,1728],{},"18:00"," stays ",[763,1731,1728],{}," across daylight saving changes; the guards count days in it; every shifts page and form shows\nand takes times in it, whatever the viewer's own time zone; and reminder and swap emails show times in it. Leave it\nunset to follow the app's time zone (",[763,1734,1511],{},", see ",[742,1737,1738],{"href":421},"useFormat","),\nso shift times match every other date of the app. When the app sets none, it is ",[763,1741,1515],{},". An unknown zone stops the build.",[767,1744,1746],{"id":1745},"permissions","Permissions",[738,1748,1749,1750,758],{},"Shifts registers these permissions with ",[742,1751,207],{"href":208},[1272,1753,1754,1770],{},[1275,1755,1756],{},[1278,1757,1758,1761,1764,1767],{},[1281,1759,1760],{},"Name",[1281,1762,1763],{},"Flags",[1281,1765,1766],{},"Held by default",[1281,1768,1769],{},"What it allows",[1294,1771,1772,1788,1802,1816,1830,1845,1864,1880,1895,1912,1926],{},[1278,1773,1774,1779,1782,1785],{},[1299,1775,1776],{},[763,1777,1778],{},"shifts:read",[1299,1780,1781],{},"implicit",[1299,1783,1784],{},"every signed-in user",[1299,1786,1787],{},"Read your own shifts, the marketplace, and who is on shift now where you take part.",[1278,1789,1790,1795,1797,1799],{},[1299,1791,1792],{},[763,1793,1794],{},"shifts:swap",[1299,1796,1781],{},[1299,1798,1784],{},[1299,1800,1801],{},"Open a swap of your own shifts, offer on others', accept and reject offers on yours.",[1278,1803,1804,1809,1811,1813],{},[1299,1805,1806],{},[763,1807,1808],{},"shifts:attend",[1299,1810,1781],{},[1299,1812,1784],{},[1299,1814,1815],{},"Check in on your own shifts at a station or by your location.",[1278,1817,1818,1823,1825,1827],{},[1299,1819,1820],{},[763,1821,1822],{},"shifts:lead",[1299,1824,1781],{},[1299,1826,1784],{},[1299,1828,1829],{},"Check people in, mark attendance, approve swaps, read the team view and exceptions and open the stations, on teams you lead.",[1278,1831,1832,1837,1840,1842],{},[1299,1833,1834],{},[763,1835,1836],{},"shifts:feed",[1299,1838,1839],{},"implicit, session only",[1299,1841,1784],{},[1299,1843,1844],{},"Create and revoke the secret calendar feed of your own shifts. A token cannot.",[1278,1846,1847,1852,1854,1858],{},[1299,1848,1849],{},[763,1850,1851],{},"shifts:checkin",[1299,1853],{},[1299,1855,1856],{},[763,1857,1214],{},[1299,1859,1860,1861,1219],{},"Check anyone in on any shift by scanning their QR pass, on every team and operation, without leading the team (",[763,1862,1863],{},"POST \u002Fapi\u002Fshifts\u002Fcheck-in",[1278,1865,1866,1871,1873,1877],{},[1299,1867,1868],{},[763,1869,1870],{},"shifts:broadcast",[1299,1872],{},[1299,1874,1875],{},[763,1876,1214],{},[1299,1878,1879],{},"Message the teams of an operation, or the people on a shift, by email (and SMS on request).",[1278,1881,1882,1886,1888,1892],{},[1299,1883,1884],{},[763,1885,1210],{},[1299,1887],{},[1299,1889,1890],{},[763,1891,1214],{},[1299,1893,1894],{},"Schedules, shift roles, shifts, assignments, perks and every swap.",[1278,1896,1897,1902,1905,1909],{},[1299,1898,1899],{},[763,1900,1901],{},"shifts:pii",[1299,1903,1904],{},"sensitive",[1299,1906,1907],{},[763,1908,1214],{},[1299,1910,1911],{},"See the email address and phone number of people on a shift.",[1278,1913,1914,1919,1921,1923],{},[1299,1915,1916],{},[763,1917,1918],{},"perks:read",[1299,1920,1781],{},[1299,1922,1784],{},[1299,1924,1925],{},"See the perks you earned.",[1278,1927,1928,1933,1935,1937],{},[1299,1929,1930],{},[763,1931,1932],{},"perks:claim",[1299,1934,1781],{},[1299,1936,1784],{},[1299,1938,1939],{},"Mark your perks claimed, so an app can hand them out.",[772,1941,1942,1976,2030],{},[775,1943,1944,1947,1948,1950,1951,1953,1954,799,1956,1958,1959,1961,1962,1964,1965,748,1967,1969,1970,1972,1973,758],{},[778,1945,1946],{},"Scope:"," a token may use the named scope ",[763,1949,1269],{}," or ",[763,1952,1778],{}," itself. Either reads your own shifts and who is\non shift now. Swapping and leading need their own scope (",[763,1955,1794],{},[763,1957,1822],{},"); a scanner app for the gate asks\nfor ",[763,1960,1851],{}," (it only carries it when the user holds it). The named scope ",[763,1963,843],{}," covers\n",[763,1966,1918],{},[763,1968,1932],{},": give it to the app that hands out perks. ",[763,1971,1836],{}," is session only:\nthe feed URL shows your shifts to whoever holds it, so a token (or an OAuth client) answers ",[763,1974,1975],{},"403 session_required",[775,1977,1978,1981,1982],{},[778,1979,1980],{},"Policies:"," the implicit permissions pass for everyone without a record, so every route authorizes again with the\nrecord once it is loaded.\n",[772,1983,1984,2005,2012,2021],{},[775,1985,1986,1988,1989,1992,1993,1996,1997,2000,2001,2004],{},[763,1987,1778],{},": your own assignments (",[763,1990,1991],{},"{ userId }","); a team (",[763,1994,1995],{},"{ teamId, published }",") you lead, or whose published\nshifts you hold an explicit role on; an operation (",[763,1998,1999],{},"{ operationId }",") you take part in (approved crew or an explicit\nteam role there, ",[763,2002,2003],{},"operationsTakesPart"," of Operations); and staff.",[775,2006,2007,748,2009,2011],{},[763,2008,1794],{},[763,2010,1808],{},": only your own assignments.",[775,2013,2014,748,2016,2018,2019,1219],{},[763,2015,1918],{},[763,2017,1932],{},": only your own earned perks (",[763,2020,1991],{},[775,2022,2023,2025,2026,2029],{},[763,2024,1822],{},": the leads of the record's team (",[763,2027,2028],{},"isTeamLead"," of Teams: the ladder's lead role and up) and staff.\nIt also covers a lead's broadcasts and the screens of their team's stations.",[775,2031,2032,2037,2038,2041,2042,748,2045,2048],{},[778,2033,2034,2035,1059],{},"Why ",[763,2036,1901],{}," leads and volunteers see names. Emails and phone numbers are personal data, so they sit behind a\nseparate grant. It ends in ",[763,2039,2040],{},":pii",", so ",[763,2043,2044],{},"shifts:*",[763,2046,2047],{},"*"," never cover it.",[767,2050,2052],{"id":2051},"server","Server",[738,2054,2055,2056,2059,2060,2064],{},"Everything under ",[763,2057,2058],{},"\u002Fapi"," is in the ",[742,2061,2063],{"href":2062},"#routes","Routes"," section. This section covers how shifts work.",[982,2066,2068],{"id":2067},"schedules","Schedules",[738,2070,2071,2072,2075,2076,2079,2080,2082],{},"A schedule belongs to an operation. It starts as a ",[763,2073,2074],{},"draft",": staff build it and volunteers see none of it, not even\ntheir assignments. Publishing makes it ",[763,2077,2078],{},"published"," (once: there is no way back to draft) and fires\n",[763,2081,880],{},". A schedule also sets:",[772,2084,2085,2101,2111],{},[775,2086,2087,799,2090,748,2093,2096,2097,758],{},[763,2088,2089],{},"coverage",[763,2091,2092],{},"handover",[763,2094,2095],{},"approval",": how its shifts change hands, see\n",[742,2098,2100],{"href":2099},"#coverage-handover-and-approval","Coverage, handover and approval",[775,2102,2103,2106,2107,2110],{},[763,2104,2105],{},"minPerShift",": fewer people shows a shift as short. ",[763,2108,2109],{},"maxPerShift",": the capacity of a shift that sets none.",[775,2112,2113,859,2116,748,2119,1735,2122,758],{},[763,2114,2115],{},"guards",[763,2117,2118],{},"maxShiftsPerDay",[763,2120,2121],{},"minRestHours",[742,2123,2125],{"href":2124},"#guards-and-capacity","Guards",[738,2127,2128,2131,2132,2135,2136,2139,2140,2143,2144,758],{},[778,2129,2130],{},"Copying"," takes the shift roles and shifts of another schedule (",[763,2133,2134],{},"{ scheduleId, offsetDays }",") and its coverage,\nhandover and approval, never the people on them. The shifts move by whole days at the same local time (",[763,2137,2138],{},"364"," keeps the weekday a year on). A schedule of another\noperation maps its teams to this operation's teams by name; a team without a match is skipped and named in\n",[763,2141,2142],{},"skippedTeamIds",". A role whose minimum team role is not on the target team kind's ladder is copied without one and\nnamed in ",[763,2145,2146],{},"changedRoleIds",[738,2148,2149,2150,2153,2154,2157],{},"A schedule with people on its shifts (or people who were on them: attended, no-shows) cannot be deleted (",[763,2151,2152],{},"409 schedule_in_use","), nor can such a shift (",[763,2155,2156],{},"409 shift_in_use","). Cancel the assignments first.",[982,2159,2161],{"id":2160},"shift-roles","Shift roles",[738,2163,2164,2165,2168],{},"A shift role is a role on one team of the schedule, such as \"Lead\" or \"Bartender\", with the lowest team role that may\nhold it (",[763,2166,2167],{},"teamRole",", a key of the team kind's ladder; empty is anybody on the team). A shift may name a role: new\nassignments on it hold that role unless staff pick another. Moving a shift to another team or role is refused while\npeople are on it.",[982,2170,2172],{"id":2171},"who-can-hold-a-shift","Who can hold a shift",[738,2174,2175,2176,2179,2180,2182,2183,2186,2187,2190,2191,2194,2195,2198,2199,2202,2203,2206,2207,2210,2211,2198,2214,1950,2217,758],{},"A person can hold an assignment on a shift when they hold an ",[778,2177,2178],{},"explicit"," active role on the shift's team, and that role\nis at least the shift role's ",[763,2181,2167],{}," on the ladder (",[763,2184,2185],{},"roleAtLeast"," of ",[763,2188,2189],{},"@frigear-nu\u002Fteams\u002Futils","). Explicit means a ",[763,2192,2193],{},"team_members"," row\nthat grants: approved crew, or a member staff added in Teams (",[763,2196,2197],{},"teamGrantOf"," with ",[763,2200,2201],{},"source: 'explicit'","). People who hold\nthe team role only through a mapping rule (such as a global ",[763,2204,2205],{},"supervisor"," mapped to ",[763,2208,2209],{},"lead",") are not assignable, so a\nmapping rule never puts somebody on a shift. Anything else is a ",[763,2212,2213],{},"409 not_eligible",[763,2215,2216],{},"reason: 'grant'",[763,2218,2219],{},"'role'",[738,2221,2222,2223,2226],{},"One person holds a shift once (",[763,2224,2225],{},"409 already_assigned","). The rule is checked again after the insert, so two requests at\nonce cannot put a person on a shift twice.",[982,2228,2230],{"id":2229},"guards-and-capacity","Guards and capacity",[738,2232,2233,2234,2237,2238,2240,2241,2244,2245,2248,2249,2252],{},"The capacity of a shift is its own ",[763,2235,2236],{},"capacity",", else the schedule's ",[763,2239,2109],{},"; ",[763,2242,2243],{},"null"," is unlimited. Assigning\nsomebody to a full shift is a ",[763,2246,2247],{},"409 shift_full"," unless staff send ",[763,2250,2251],{},"force: true",". The capacity is counted again after\nthe insert, so two requests at once cannot overfill a shift: the last places go to the earliest rows (by creation, then\nid, the order of the duplicate check) and only a row past the capacity is taken back.",[738,2254,2255,2256,748,2259,2262],{},"The guards are computed per assignment, from the person's other ",[763,2257,2258],{},"assigned",[763,2260,2261],{},"attended"," shifts:",[1272,2264,2265,2275],{},[1275,2266,2267],{},[1278,2268,2269,2272],{},[1281,2270,2271],{},"Warning",[1281,2273,2274],{},"When",[1294,2276,2277,2287,2300,2313,2326],{},[1278,2278,2279,2284],{},[1299,2280,2281],{},[763,2282,2283],{},"overlap",[1299,2285,2286],{},"The person works another shift at the same time. Always, without a guard.",[1278,2288,2289,2294],{},[1299,2290,2291],{},[763,2292,2293],{},"min_rest",[1299,2295,2296,2297,2299],{},"Fewer than ",[763,2298,2121],{}," between the end of one shift and the start of the other.",[1278,2301,2302,2307],{},[1299,2303,2304],{},[763,2305,2306],{},"max_shifts_per_day",[1299,2308,2309,2310,2312],{},"More than ",[763,2311,2118],{}," shifts start on one day (in the time zone).",[1278,2314,2315,2320],{},[1299,2316,2317],{},[763,2318,2319],{},"shift_full",[1299,2321,2322,2323,1219],{},"Over the capacity (only with ",[763,2324,2325],{},"force",[1278,2327,2328,2333],{},[1299,2329,2330],{},[763,2331,2332],{},"below_min",[1299,2334,2335,2336,2338],{},"The shift still has fewer than ",[763,2337,2105],{}," people.",[738,2340,2341,2342,2345,2346,2349,2350,2353],{},"Staff get the guards as ",[763,2343,2344],{},"warnings"," next to the assignment; they never block. A volunteer swap is refused when either\nperson could not hold the shift they get, as they would stand after the exchange. The ",[763,2347,2348],{},"409"," code names the guard, and\n",[763,2351,2352],{},"data.userId"," the person:",[1272,2355,2356,2365],{},[1275,2357,2358],{},[1278,2359,2360,2363],{},[1281,2361,2362],{},"Code",[1281,2364,2274],{},[1294,2366,2367,2377,2390,2402,2414],{},[1278,2368,2369,2374],{},[1299,2370,2371],{},[763,2372,2373],{},"guard_overlap",[1299,2375,2376],{},"The person works another shift at the same time.",[1278,2378,2379,2384],{},[1299,2380,2381],{},[763,2382,2383],{},"guard_rest",[1299,2385,2386,2387,2389],{},"Less than ",[763,2388,2121],{}," between two of their shifts.",[1278,2391,2392,2397],{},[1299,2393,2394],{},[763,2395,2396],{},"guard_max_per_day",[1299,2398,2309,2399,2401],{},[763,2400,2118],{}," shifts on one day.",[1278,2403,2404,2409],{},[1299,2405,2406],{},[763,2407,2408],{},"guard_ineligible",[1299,2410,2411,2412,758],{},"No explicit role on the shift's team, or below the shift role's ",[763,2413,2167],{},[1278,2415,2416,2421],{},[1299,2417,2418],{},[763,2419,2420],{},"guard_capacity",[1299,2422,2423],{},"The shift holds more people than its capacity (staff forced people on, or lowered it).",[738,2425,2426,2427,2429],{},"A swap moves people between assignments, so the number of people on a shift never changes and ",[763,2428,2105],{}," cannot\nbreak. The guards run when an offer is made (a doomed offer is refused), when a targeted trade is opened, and again\nwhen the owner accepts and when a lead approves.",[982,2431,2100],{"id":2432},"coverage-handover-and-approval",[738,2434,2435],{},"Three settings of a schedule decide how its shifts change hands between volunteers:",[772,2437,2438,2450,2466],{},[775,2439,2440,859,2442,2445,2446,2449],{},[763,2441,2089],{},[763,2443,2444],{},"all"," means volunteers must work every shift they are given: nothing a volunteer does may lower how many\nshifts they hold. ",[763,2447,2448],{},"flexible"," (the default) lets them give shifts away.",[775,2451,2452,859,2454,2457,2458,2461,2462,2465],{},[763,2453,2092],{},[763,2455,2456],{},"trade"," (shift for shift: both change hands together, so each person keeps their count), ",[763,2459,2460],{},"release"," (give a\nshift away, or take one over) or ",[763,2463,2464],{},"both"," (the default).",[775,2467,2468,859,2470,2473,2474,2476],{},[763,2469,2095],{},[763,2471,2472],{},"peer"," (the default: the two volunteers' agreement is enough) or ",[763,2475,2209],{}," (a lead of the team, or staff,\napproves each swap the owner accepted).",[1272,2478,2479,2497],{},[1275,2480,2481],{},[1278,2482,2483,2487,2491,2494],{},[1281,2484,2485],{},[763,2486,2089],{},[1281,2488,2489],{},[763,2490,2092],{},[1281,2492,2493],{},"Volunteers can",[1281,2495,2496],{},"Valid",[1294,2498,2499,2515,2535,2549,2564],{},[1278,2500,2501,2505,2509,2512],{},[1299,2502,2503],{},[763,2504,2444],{},[1299,2506,2507],{},[763,2508,2456],{},[1299,2510,2511],{},"Trade shift for shift.",[1299,2513,2514],{},"Yes",[1278,2516,2517,2521,2527,2529],{},[1299,2518,2519],{},[763,2520,2444],{},[1299,2522,2523,1950,2525],{},[763,2524,2460],{},[763,2526,2464],{},[1299,2528],{},[1299,2530,2531,2532],{},"No: ",[763,2533,2534],{},"400 invalid_schedule_settings",[1278,2536,2537,2541,2545,2547],{},[1299,2538,2539],{},[763,2540,2448],{},[1299,2542,2543],{},[763,2544,2456],{},[1299,2546,2511],{},[1299,2548,2514],{},[1278,2550,2551,2555,2559,2562],{},[1299,2552,2553],{},[763,2554,2448],{},[1299,2556,2557],{},[763,2558,2460],{},[1299,2560,2561],{},"Give a shift away; take one over.",[1299,2563,2514],{},[1278,2565,2566,2570,2574,2577],{},[1299,2567,2568],{},[763,2569,2448],{},[1299,2571,2572],{},[763,2573,2464],{},[1299,2575,2576],{},"Either: the owner picks when opening the swap.",[1299,2578,2514],{},[738,2580,2581,2583,2584,2586],{},[763,2582,2095],{}," combines with every valid row. ",[763,2585,2089],{}," governs swaps and handovers, not leaving the crew: a person who\nwithdraws from the crew (or leaves the team) still has their future shifts cancelled.",[738,2588,2589,2592,2593,2596,2597,2600,2601,2604,2605,2608,2609,2611,2612,2615,2616,2618],{},[778,2590,2591],{},"Across schedules."," A trade may give back a shift of another schedule. Both schedules must allow a trade (",[763,2594,2595],{},"409 handover_not_allowed","), and when either has ",[763,2598,2599],{},"coverage: 'all'"," both shifts must be in the same schedule (",[763,2602,2603],{},"409 handover_cross_schedule","), so a shift that must be worked cannot be traded into a schedule that lets it be given away.\nThe swap needs a lead's approval when either schedule says ",[763,2606,2607],{},"approval: 'lead'","; a lead of a team whose schedule says so,\nor staff, approves it (a lead of the ",[763,2610,2472],{}," side cannot). Creating a schedule and changing one (",[763,2613,2614],{},"PATCH",", checked merged with the stored\nvalues) answer ",[763,2617,2534],{}," for the invalid rows.",[738,2620,2621,2624],{},[778,2622,2623],{},"Example: a festival bar"," asks every volunteer to work all their shifts, and lets them swap one shift for\nanother between themselves:",[987,2626,2630],{"className":2627,"code":2628,"language":2629,"meta":992,"style":992},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{ \"coverage\": \"all\", \"handover\": \"trade\", \"approval\": \"peer\" }\n","json",[763,2631,2632],{"__ignoreMap":992},[996,2633,2634,2637,2640,2643,2646,2648,2650,2652,2654,2656,2658,2660,2662,2664,2666,2668,2670,2672,2674,2676,2678,2680,2682,2684,2686],{"class":998,"line":999},[996,2635,2636],{"class":1048},"{",[996,2638,2639],{"class":1048}," \"",[996,2641,2089],{"class":2642},"spNyl",[996,2644,2645],{"class":1048},"\"",[996,2647,1059],{"class":1048},[996,2649,2639],{"class":1048},[996,2651,2444],{"class":1006},[996,2653,2645],{"class":1048},[996,2655,1072],{"class":1048},[996,2657,2639],{"class":1048},[996,2659,2092],{"class":2642},[996,2661,2645],{"class":1048},[996,2663,1059],{"class":1048},[996,2665,2639],{"class":1048},[996,2667,2456],{"class":1006},[996,2669,2645],{"class":1048},[996,2671,1072],{"class":1048},[996,2673,2639],{"class":1048},[996,2675,2095],{"class":2642},[996,2677,2645],{"class":1048},[996,2679,1059],{"class":1048},[996,2681,2639],{"class":1048},[996,2683,2472],{"class":1006},[996,2685,2645],{"class":1048},[996,2687,2688],{"class":1048}," }\n",[738,2690,2691,2692,2694,2695,2698,2699,2701,2702,2705,2706,2709,2710,2713,2714,1357,2716,758],{},"The server refuses every path that would lower a volunteer's count unless the schedule allows a release, with ",[763,2693,2595],{},": opening a release, an offer without a shift in return, and accepting or approving such an offer.\nOpening a trade under ",[763,2696,2697],{},"handover: 'release'"," is refused the same way. Accepting and approving check the settings of that\nmoment, so a release opened before staff switched a schedule to ",[763,2700,2599],{}," can no longer be carried out (staff or\nits owner cancel it), and the marketplace stops showing it. The lead page and the admin tab hide ",[778,2703,2704],{},"Approve swap"," on such\na swap and say to reject it. Opening a swap again keeps the live one while it is of the kind asked for and still\nallowed; a stale ",[763,2707,2708],{},"open"," one (another kind, or no longer allowed) is cancelled and replaced, and one with offers answers\n",[763,2711,2712],{},"409 swap_changed",". The pages hide every action the schedule does not allow and\nsay \"trade only: you must work all your shifts\" when ",[763,2715,2089],{},[763,2717,2444],{},[926,2719,2720,2723,2724,1950,2726,2728,2729,2731,2732,2734,2735,2737,2738,748,2740,2742,2743,2746,2747,2749,2750,2753,2754,748,2757,2760,2761,2764],{},[778,2721,2722],{},"Swap model changed."," Schedules used to have a single swap mode (",[763,2725,2472],{},[763,2727,2095],{},") and any swap could be taken\nover without a shift in return. ",[763,2730,2095],{}," replaces it (",[763,2733,2095],{}," became ",[763,2736,2209],{},", migrated with the data), and\n",[763,2739,2089],{},[763,2741,2092],{}," are new. Swaps have a ",[763,2744,2745],{},"kind","; swaps opened before the change are releases. Hook payloads carry\n",[763,2748,2745],{},", the swap and schedule DTOs carry the settings, and the guard refusals answer ",[763,2751,2752],{},"guard_*"," codes instead of\n",[763,2755,2756],{},"swap_guard",[763,2758,2759],{},"not_eligible",". Apps that open swaps through the API pass ",[763,2762,2763],{},"{ kind }"," where the schedule allows both.",[982,2766,791],{"id":2767},"swaps",[738,2769,2770,2771,2773,2774,2776],{},"The owner of an ",[763,2772,2258],{}," shift in a published schedule that has not started opens a swap of it, of a kind the\nschedule allows (",[763,2775,2763],{},"; left out, a release where the schedule allows one, else a trade):",[772,2778,2779,2797],{},[775,2780,2781,2784,2785,2788,2789,2792,2793,2796],{},[778,2782,2783],{},"A trade"," asks for a shift in return. Every offer gives one of the offerer's own future shifts\n(",[763,2786,2787],{},"{ assignmentId }",", required), and both shifts change hands together, so each person's count stays the same. The\nowner may aim the trade at one assignment (",[763,2790,2791],{},"wantedAssignmentId","): only its holder sees the swap and may offer, and only\nthat shift (",[763,2794,2795],{},"409 not_wanted","); the holder is emailed. The owner chooses among the offers; each names its shift.",[775,2798,2799,2802,2803,2806],{},[778,2800,2801],{},"A release"," gives the shift away. An offer takes it over and gives nothing back (",[763,2804,2805],{},"400"," with a shift).",[738,2808,2809,2810,2814,2815,2818,2819,1219],{},"Both people must be able to hold the shift they get (",[742,2811,2813],{"href":2812},"#who-can-hold-a-shift","eligibility"," and guards): a swap across teams works only when each person holds a role on\nthe other's team. One live offer per person and swap (",[763,2816,2817],{},"409 offer_exists","; two offers at once keep the earliest). A shift\nwhose own swap is being carried out or waits for approval cannot be given back (",[763,2820,2821],{},"409 not_swappable",[987,2823,2828],{"className":2824,"code":2826,"language":2827,"meta":992},[2825],"language-text","open ──offer──► offered ──owner accepts──► accepted ──► completed          (approval: peer)\n                   │                └────► pending_approval ──approve──► accepted ──► completed\n                   │                                 └──reject──► open      (approval: lead)\n                   └──last offer withdrawn or rejected──► open\nopen, offered, pending_approval ──owner withdraws──► cancelled\n","text",[763,2829,2826],{"__ignoreMap":992},[772,2831,2832,2844,2860,2876,2895,2908,2921,2929,2938],{},[775,2833,2834,2837,2838,2840,2841,758],{},[778,2835,2836],{},"Accepting"," checks the schedule's settings and both directions again, then claims the swap with a conditional write, so two accepts at once\ncarry out one; the other gets ",[763,2839,2712],{},". The other waiting offers become ",[763,2842,2843],{},"superseded",[775,2845,2846,2849,2850,2852,2853,2856,2857,2859],{},[778,2847,2848],{},"Completing"," hands the owner's assignment to the offerer and, in a trade, the shift given back to the owner.\nEach assignment keeps its id and gets a new check-in code. Every write is conditional: the accepted offer must still\nstand (a withdraw that won the race leaves none), the owner's assignment must still be ",[763,2851,2258],{}," to the person who\nopened the swap and the one given back to the offerer, and the swap must still be ",[763,2854,2855],{},"accepted",". On postgres the writes\nrun in one transaction. On sqlite and D1, which have no interactive transactions, a failed write puts the earlier ones\nback, each undo conditional on the row still holding what the exchange wrote. When the exchange does not happen the\noffer is rejected and the swap is open again (",[763,2858,2712],{},"). Other live swaps of the shift given back are\ncancelled, and offers elsewhere that gave either shift are withdrawn.",[775,2861,2862,2865,2866,2868,2869,2872,2873,2875],{},[778,2863,2864],{},"Recovery:"," on sqlite and D1 a process that dies between the writes leaves the swap ",[763,2867,2855],{}," with one shift moved.\nStaff settle it with ",[763,2870,2871],{},"POST \u002Fapi\u002Fadmin\u002Fshifts\u002Fswaps\u002F:swapId\u002Fcancel"," (completed when both shifts moved, put back to the\npeople who held them when only one moved, else cancelled), and the owner's withdraw does the same once the swap has\nsat in ",[763,2874,2855],{}," for five minutes. Between the crash and the recovery the two people may both, or neither, hold a\nshift: that window is what remains without transactions.",[775,2877,2878,2883,2884,2886,2887,2889,2890,2883,2892,2894],{},[778,2879,2880],{},[763,2881,2882],{},"approval: 'peer'"," fires ",[763,2885,896],{}," only once the exchange is done, just before\n",[763,2888,902],{},", and sends only the completed email. ",[763,2891,2607],{},[763,2893,2855],{}," and sends the\naccepted email when the owner accepts.",[775,2896,2897,2901,2902,2904,2905,2907],{},[778,2898,2899,1059],{},[763,2900,2607],{}," the leads of the team (or teams) whose schedule says ",[763,2903,2607],{}," are emailed; any of\nthem, or staff, approves (the settings and the exchange are checked again and the swap completes) or rejects (the\noffer is rejected and the swap is open for offers again). A lead of a ",[763,2906,2472],{}," schedule's team cannot decide for the\nother side.",[775,2909,2910,2913,2914,2917,2918,2920],{},[778,2911,2912],{},"No deciding your own swap."," The owner and the offerer whose offer was accepted never approve or reject it, even\nwhen they lead the team: ",[763,2915,2916],{},"403 swap_party",", unless they hold ",[763,2919,1210],{},". They are not emailed to approve it either.",[775,2922,2923,2926,2927,758],{},[778,2924,2925],{},"Withdrawing:"," the owner cancels an open swap; an offerer withdraws a waiting offer, or an accepted one that still\nwaits for approval (the swap is open again). A withdraw and an approval at once settle one way: when the approval\nclaimed the swap first the offer is put back and the withdraw answers ",[763,2928,2712],{},[775,2930,2931,2934,2935,2937],{},[778,2932,2933],{},"Cancelled shifts:"," when an assignment stops being ",[763,2936,2258],{}," (cancelled, checked in, marked a no-show), its swap is\ncancelled and offers that gave it back are withdrawn.",[775,2939,2940,2941,2944,2945,2947],{},"The ",[763,2942,2943],{},"rejected"," swap status is reserved: an approver's rejection puts the swap back to ",[763,2946,2708],{}," instead.",[982,2949,2951],{"id":2950},"check-in-and-attendance","Check-in and attendance",[738,2953,2954,2955,2957,2958,1059],{},"Every assignment has a check-in code: 64 hex characters, like an Events ticket. The pass route shows it, and its QR code\nas SVG, only from ",[763,2956,1522],{}," before the shift starts until it ends, and only to the person. A lead of the team\n(or staff) checks the person in with ",[763,2959,2960],{},"POST \u002Fapi\u002Fshifts\u002Fteams\u002F:teamId\u002Fcheck-in { code }",[772,2962,2963,2970,2981,3000],{},[775,2964,2965,2966,2969],{},"an unknown code, or the code of another team's shift, is a ",[763,2967,2968],{},"404"," (a lead learns nothing of other teams);",[775,2971,2972,2973,2976,2977,2980],{},"a cancelled assignment is ",[763,2974,2975],{},"409 assignment_cancelled","; outside the window ",[763,2978,2979],{},"409 outside_window",";",[775,2982,2983,2984,2986,2987,2990,2991,2994,2995,2999],{},"a person who no longer holds an explicit role on the team (removed, or a membership status that stopped granting) is\n",[763,2985,2213],{},", and their future shifts on the team are cancelled there and then. The pass route is read-only:\nit answers ",[763,2988,2989],{},"available: false, eligible: false"," with no code, and the shift page then calls\n",[763,2992,2993],{},"POST \u002Fapi\u002Fshifts\u002Fme\u002F:assignmentId\u002Fsettle",", which cancels those future shifts (Teams' hooks normally do it first, see\n",[742,2996,2998],{"href":2997},"#people-leaving-a-team","People leaving a team",");",[775,3001,3002,3003,3006],{},"scanning twice is fine: the second scan answers ",[763,3004,3005],{},"alreadyCheckedIn: true"," with the first scan's time.",[738,3008,3009,795,3012,3015,3016,3018,3019,3021,3022,1950,3024,3026,3027,3030,3031,3033,3034,3036,3037,758],{},[763,3010,3011],{},"POST \u002Fapi\u002Fshifts\u002Fcheck-in { code }",[763,3013,3014],{},"shiftsApi.checkIn",") is the same scan without picking a team first, for a scanner\nthat serves a whole event (a gate, a bar). The code says which shift it is: a holder of ",[763,3017,1851],{}," checks anyone\nin on any team and operation, and a lead (or staff) the people of the teams they lead. An unknown code, or one of a team\nthe caller may not check in on, is a ",[763,3020,2968],{},", so the route says nothing about codes the caller may not use. A token needs\nthe ",[763,3023,1851],{},[763,3025,1822],{}," scope (",[763,3028,3029],{},"403 insufficient_scope"," otherwise). The answer, the ",[763,3032,2348],{}," errors, the\nattendance hook and the contact details (only with ",[763,3035,1901],{},") are those of the team scanner. Grant it to the role of\nthe people who scan: ",[763,3038,3039],{},"authorization.roles.\u003Crole>.grant: ['shifts:checkin']",[738,3041,3042,3043,3045,3046,859,3049,799,3051,799,3053,1950,3055,3057,3058,799,3060,3063,3064,3066],{},"A check-in marks the assignment ",[763,3044,2261],{}," and records how (",[763,3047,3048],{},"checkInMethod",[763,3050,2209],{},[763,3052,1688],{},[763,3054,1707],{},[763,3056,1710],{},").\nLeads and staff also mark attendance by hand (",[763,3059,2261],{},[763,3061,3062],{},"no_show","), for example after the window closed, but not before\ncheck-in opens (",[763,3065,2979],{},"). An attended assignment cannot be cancelled.",[982,3068,3070],{"id":3069},"check-in-modes","Check-in modes",[738,3072,3073,3074,3077,3078,3081,3082,3085,3086,758],{},"A schedule's ",[763,3075,3076],{},"checkIn"," setting says how volunteers check in: ",[763,3079,3080],{},"{ modes, location?, teams? }",". Any mode that is on is\nenough, and ",[778,3083,3084],{},"the lead's scan always works",", whatever the modes say. A schedule that never set it is ",[763,3087,3088],{},"{ modes: ['lead'] }",[1272,3090,3091,3101],{},[1275,3092,3093],{},[1278,3094,3095,3098],{},[1281,3096,3097],{},"Mode",[1281,3099,3100],{},"How",[1294,3102,3103,3112,3121,3134],{},[1278,3104,3105,3109],{},[1299,3106,3107],{},[763,3108,2209],{},[1299,3110,3111],{},"A lead scans the volunteer's QR pass (above).",[1278,3113,3114,3118],{},[1299,3115,3116],{},[763,3117,1688],{},[1299,3119,3120],{},"The volunteer scans the rotating QR code on a station's screen with the camera on their shift page.",[1278,3122,3123,3127],{},[1299,3124,3125],{},[763,3126,1707],{},[1299,3128,3129,3130,3133],{},"The volunteer taps ",[778,3131,3132],{},"I'm here"," and the app sends the device's position and its accuracy.",[1278,3135,3136,3140],{},[1299,3137,3138],{},[763,3139,1710],{},[1299,3141,3142,3143,3145,3146,3149],{},"The first successful check-in of the day (any mode, in ",[763,3144,1497],{},") also checks in the person's other shifts that day whose check-in window is already open (",[763,3147,3148],{},"checkInMethod: 'daily'","). A shift whose window opens later needs a check-in of its own.",[738,3151,3152,931,3155,3158,3159,3162,3163,3165,3166,1219],{},[778,3153,3154],{},"Per team.",[763,3156,3157],{},"teams"," maps a team id to ",[763,3160,3161],{},"{ modes?, location? }",", overriding the schedule's for that team's shifts (a key\nit leaves out keeps the schedule's). It lives on the schedule, so a schedule's settings stay in one row; every key must\nbe a team of the operation (",[763,3164,2805],{},"). The pass answers the rule that applies (",[763,3167,3168],{},"checkIn: { modes, location }",[738,3170,3171,3172,799,3175,3178,3179,1059],{},"The volunteer checks in with ",[763,3173,3174],{},"POST \u002Fapi\u002Fshifts\u002Fme\u002F:assignmentId\u002Fcheck-in",[763,3176,3177],{},"{ mode: 'station', token }"," or\n",[763,3180,3181],{},"{ mode: 'location', latitude, longitude, accuracy }",[772,3183,3184,3190,3207,3230,3240],{},[775,3185,3186,3187,2980],{},"a mode that is off for the shift is ",[763,3188,3189],{},"409 mode_disabled",[775,3191,3192,3195,3196,3199,3200,3203,3204,2980],{},[778,3193,3194],{},"station:"," a token that is not one, or whose signature does not verify (forged or altered), is ",[763,3197,3198],{},"400 invalid_token",";\none older than the previous window is ",[763,3201,3202],{},"409 token_expired","; a station of another team or schedule ",[763,3205,3206],{},"409 wrong_station",[775,3208,3209,3212,3213,3216,3217,3220,3221,832,3224,748,3227,2999],{},[778,3210,3211],{},"location:"," without a place, ",[763,3214,3215],{},"409 no_location","; an accuracy worse than the radius ",[763,3218,3219],{},"409 inaccurate_position",";\noutside the place ",[763,3222,3223],{},"409 outside_location",[763,3225,3226],{},"distance",[763,3228,3229],{},"radius",[775,3231,3232,3233,799,3235,799,3237,2980],{},"then as for a lead's scan: ",[763,3234,2975],{},[763,3236,2759],{},[763,3238,3239],{},"outside_window",[775,3241,3242,3243,3245],{},"checking in twice (a replayed token, a second tap) answers ",[763,3244,3005],{}," and changes nothing.",[738,3247,3248,3251,3252,3254,3255,3258],{},[778,3249,3250],{},"The place"," is a ",[742,3253,470],{"href":471}," location (",[763,3256,3257],{},"MapLocation",", from the location picker): a point with a\nradius, default 150 m, or an area. The check uses the maps geometry helpers (haversine distance, point in area), and the\ndevice's accuracy must be at most the radius.",[1179,3260,3261,3264,3265,3267,3268,3271,3272,3274],{},[778,3262,3263],{},"Self check-in is attendance-grade, not proof."," In ",[763,3266,1707],{}," mode the position and its accuracy are what the\nvolunteer's device reports, and a determined person can send any position (an accuracy of ",[763,3269,3270],{},"0"," always passes). In\n",[763,3273,1688],{}," mode a photo of the station's code works anywhere for as long as the code does, 30 to 60 seconds, for anyone\non the team. It suits \"did the volunteers turn up\", not access control: use a lead's scan where it matters.",[982,3276,3278],{"id":3277},"stations","Stations",[738,3280,3281,3282,3284,3285,3288,3289,799,3292,3294,3295,3297,3298,3301],{},"A station is a screen of a team on a schedule (at the bar, at the gate): staff add them in the schedule's ",[778,3283,1703],{},"\nview, optionally on an ",[763,3286,3287],{},"operations.station"," feature of the operation's venue layout (",[763,3290,3291],{},"featureId",[763,3293,2805],{}," for anything\nelse). Its page, ",[763,3296,822],{},", is for the team's leads and staff: a full-screen QR code that keeps the\nscreen awake and fetches the next code from ",[763,3299,3300],{},"GET \u002Fapi\u002Fshifts\u002Fstations\u002F:stationId\u002Ftoken"," as the window turns.",[772,3303,3304,3331,3339],{},[775,3305,3306,3307,3310,3311,3314,3315,3317,3318,3320,3321,3324,3325,3327,3328,1219],{},"The code is ",[763,3308,3309],{},"\u003CstationId>.\u003Cwindow>.\u003Csignature>",": an HMAC-SHA-256 of ",[763,3312,3313],{},"\u003CstationId>:\u003Cwindow>"," (Web Crypto), keyed by HKDF\nfrom the station key, ",[763,3316,1662],{}," or one derived from ",[763,3319,1670],{}," (see ",[742,3322,1263],{"href":3323},"#options",").\nNothing is stored per code. Without a key, stations can still be added, but their screens and station check-in\nanswer ",[763,3326,1692],{},". Every schedule response says whether a key is available (",[763,3329,3330],{},"stationKeyConfigured",[775,3332,3333,3336,3337,758],{},[778,3334,3335],{},"Windows are 30 seconds."," The current and the previous window are accepted, so a code scanned as it turns still\nworks; anything older is ",[763,3338,3202],{},[775,3340,3341,3344,3345,758],{},[778,3342,3343],{},"Single use per person and shift."," One code checks in every volunteer of the team who scans it, each once: a replay\nanswers ",[763,3346,3347],{},"alreadyCheckedIn",[982,3349,3351],{"id":3350},"automation","Automation",[738,3353,2940,3354,3356,3357,3359,3360,3362],{},[763,3355,866],{}," task runs every five minutes (",[763,3358,1620],{},"), on its own cron, mirrored into the Cloudflare\ncron triggers like the reminders. Every step is idempotent on both dialects and handles at most ",[763,3361,1641],{},"\nrows, chunked below D1's 100 bound parameters; the next run takes the rest.",[3364,3365,3366,3386,3417],"ol",{},[775,3367,3368,3371,3372,3375,3376,3378,3379,3382,3383,3385],{},[778,3369,3370],{},"Shift end."," For ended shifts of published schedules not closed yet (",[763,3373,3374],{},"shifts.closedAt","), everyone ",[763,3377,2261],{}," gets\nthe shift's earned perks, then the shift is closed. Nobody else changes: there is no ",[763,3380,3381],{},"completed"," status, and a person\nwho never checked in stays ",[763,3384,2258],{}," (or becomes a no-show, below).",[775,3387,3388,3391,3392,3395,3396,3398,3399,3402,3403,3405,3406,3409,3410,748,3413,3416],{},[778,3389,3390],{},"Automatic no-shows."," On schedules with ",[763,3393,3394],{},"autoNoShow: true"," (off by default), assignments still ",[763,3397,2258],{}," without a\ncheck-in ",[763,3400,3401],{},"autoNoShowMinutes"," (default 30) after the start become ",[763,3404,3062],{},", for shifts that started in the last day.\nThe system marks them: ",[763,3407,3408],{},"by: null",", and the hooks get ",[763,3411,3412],{},"auto: true",[763,3414,3415],{},"event: undefined",". A person who turns up after\nall is checked in by a lead's scan or mark as usual.",[775,3418,3419,3422,3423,3426,3427,3429,3430,3433,3434,3437,3438,3441,3442,758],{},[778,3420,3421],{},"Digest."," The new exceptions go out as ",[778,3424,3425],{},"one message per lead per run",": no-shows, people still not checked in\n",[763,3428,3401],{}," after the start (on schedules without automatic no-shows), and no-shows whose perk was claimed\nbefore the flip. Each is claimed in ",[763,3431,3432],{},"shift_digest_items"," (unique on kind and assignment), so it is sent once. A team's\nexceptions go to its leads on shift now; with none on duty, to its leads; with none, to the operation's\ncoordinators (the explicit holders of the top role of a ladder on one of its teams). It goes through ",[763,3435,3436],{},"shiftsNotify"," on\nthe ",[763,3439,3440],{},"shifts.digest"," topic (the lead's own channels, email and push by default). Fires ",[763,3443,920],{},[738,3445,3446,3447,795,3450,3453],{},"The lead page opens on the same ",[778,3448,3449],{},"Exceptions",[763,3451,3452],{},"GET \u002Fapi\u002Fshifts\u002Fteams\u002F:teamId\u002Fexceptions","): no-shows, late check-ins,\npeople not checked in after the start, and claimed no-shows, on the team's shifts of the last day. The full list of\nshifts is one tab away. Crew approval and swap approval are not automated.",[982,3455,3457],{"id":3456},"on-shift-now","On shift now",[738,3459,3460,3463,3464,748,3466,3468,3469,758],{},[763,3461,3462],{},"GET \u002Fapi\u002Fshifts\u002Foperations\u002F:operationId\u002Fnow"," answers the shifts of the operation's published schedules running now, per\nteam, with the people on them (",[763,3465,2258],{},[763,3467,2261],{},") and the leads on duty among them. People who take\npart in the operation and staff read it. Names always; email and phone number only with ",[763,3470,1901],{},[982,3472,3474],{"id":3473},"dashboard-items","Dashboard items",[738,3476,3477,3478,3480,3481,3484,3485,3488,3489,3491],{},"With ",[742,3479,452],{"href":453}," installed, Shifts adds three items to ",[763,3482,3483],{},"crew.home"," and the\n",[742,3486,3487],{"href":1317},"hub's dashboard",", each with the permission ",[763,3490,1778],{}," and each showing a skeleton, an empty state or an error:",[1272,3493,3494,3510],{},[1275,3495,3496],{},[1278,3497,3498,3501,3504,3507],{},[1281,3499,3500],{},"Item",[1281,3502,3503],{},"Order",[1281,3505,3506],{},"Shows",[1281,3508,3509],{},"Reads",[1294,3511,3512,3534,3552],{},[1278,3513,3514,3519,3522,3529],{},[1299,3515,3516],{},[763,3517,3518],{},"shifts.next",[1299,3520,3521],{},"20",[1299,3523,3524,3525,3528],{},"Two columns wide. My next shift (or the one on now), with a link to its page and the QR pass. On the mobile Home tab (",[763,3526,3527],{},"homeTab: true",") it shows nothing without a shift.",[1299,3530,3531],{},[763,3532,3533],{},"GET \u002Fapi\u002Fshifts\u002Fme",[1278,3535,3536,3541,3544,3547],{},[1299,3537,3538],{},[763,3539,3540],{},"shifts.on-now",[1299,3542,3543],{},"30",[1299,3545,3546],{},"Two columns wide. My teams on shift now, who is on and the lead on duty. Refreshes every minute.",[1299,3548,3549],{},[763,3550,3551],{},"GET \u002Fapi\u002Fshifts\u002Fme\u002Fnow",[1278,3553,3554,3559,3562,3565],{},[1299,3555,3556],{},[763,3557,3558],{},"shifts.swaps",[1299,3560,3561],{},"40",[1299,3563,3564],{},"One column (up to two). The open swaps I can take, with a link to the marketplace.",[1299,3566,3567],{},[763,3568,3569],{},"GET \u002Fapi\u002Fshifts\u002Fswaps",[738,3571,3572,3573,758],{},"Texts are under ",[763,3574,3575],{},"shifts.dashboard",[982,3577,3579],{"id":3578},"on-duty-layer","On-duty layer",[738,3581,3582,3583,3586,3587,3589,3590,3592,3593,3596,3597,3600],{},"Shifts registers ",[763,3584,3585],{},"shifts.on-duty",", a live layer of ",[742,3588,470],{"href":471},", on the venue layout of\n",[742,3591,524],{"href":525}," (the ",[763,3594,3595],{},"operations.venue-layout"," surface). A viewer of the venue layout\nfetches it from ",[763,3598,3599],{},"GET \u002Fapi\u002Fshifts\u002Foperations\u002F:operationId\u002Fon-duty"," every 120 seconds. The layer looks up the leads of\nevery team on shift (each lookup resolves the person's team roles), so it refreshes less often than the dashboard item,\nwhich only asks about my own teams.",[772,3602,3603,3617,3631,3659],{},[775,3604,3605,3608,3609,1357,3611,1334,3614,3616],{},[778,3606,3607],{},"Shift locations."," A shift's ",[763,3610,1707],{},[763,3612,3613],{},"{ name?, featureId? }",[763,3615,3291],{}," is the stable id of a feature of\nthe operation's venue layout, such as a station.",[775,3618,3619,3622,3623,3626,3627,3630],{},[778,3620,3621],{},"A point per team and location."," The route runs the same query as \"on shift now\". A shift whose\n",[763,3624,3625],{},"location.featureId"," names a feature of the layout is drawn at that feature: a point as it is, a line at its middle,\nan area at its centroid (",[763,3628,3629],{},"geometryAnchor"," of Maps). The same team at the same feature is one point. A shift without\na feature, or naming one the layout does not have, is skipped.",[775,3632,3633,931,3636,3639,3640,799,3643,799,3645,3648,3649,3652,3653,3656,3657,758],{},[778,3634,3635],{},"Properties:",[763,3637,3638],{},"label"," (the team's name, shown in the popup), ",[763,3641,3642],{},"teamId",[763,3644,3291],{},[763,3646,3647],{},"count"," (people on now, shown\non the marker) and ",[763,3650,3651],{},"leadsOnDuty",". The names of the leads on duty (",[763,3654,3655],{},"leads",") only come with ",[763,3658,1901],{},[775,3660,3661,3664,3665,3667,3668,3671],{},[778,3662,3663],{},"Who sees it."," Like \"on shift now\": ",[763,3666,1778],{}," for people who take part in the operation and staff. Anybody\nelse gets a ",[763,3669,3670],{},"403",", and the viewer hides the layer.",[982,3673,3675],{"id":3674},"my-teams-on-shift-now","My teams on shift now",[738,3677,3678,3680,3681,3683,3684,3687,3688,3690],{},[763,3679,3551],{}," answers, for each operation where I hold a team role, the teams I am on that have a shift running,\nwith who is on it and the leads among them (names only, never email or phone). It is \"on shift now\" narrowed to my teams, so\nan operation I may not read that view of is left out (",[763,3682,1778],{}," with the operation, as for\n",[763,3685,3686],{},"\u002Foperations\u002F:operationId\u002Fnow","). The dashboard item ",[763,3689,3540],{}," reads it.",[982,3692,2998],{"id":3693},"people-leaving-a-team",[738,3695,3696],{},"Shifts listens to the Teams hooks of teams an operation owns:",[772,3698,3699,3708],{},[775,3700,3701,3704,3705,3707],{},[763,3702,3703],{},"teams:member:removed"," (removed in Teams, or a crew member rejected, waitlisted, withdrawn or moved to another team):\nthe person's future ",[763,3706,2258],{}," assignments on the team are cancelled.",[775,3709,3710,3713],{},[763,3711,3712],{},"teams:member:role-changed",": the future ones whose shift role the new role no longer meets are cancelled.",[738,3715,3716,3717,3719],{},"Each cancellation fires ",[763,3718,889],{}," and cancels the assignment's swap.",[982,3721,3723],{"id":3722},"reminders","Reminders",[738,3725,2940,3726,931,3728,3731,3732,3734,3735,3738,3739,3741,3742,3744,3745,3748],{},[763,3727,862],{},[742,3729,3730],{"href":91},"Nitro task"," runs on ",[763,3733,1542],{}," (every ten minutes unless you\nset it). Registering it turns on Nitro's experimental tasks and adds the cron to ",[763,3736,3737],{},"scheduledTasks",", next to other modules'\ntasks. For every ",[763,3740,2258],{}," assignment in a published schedule whose shift lies ahead, each of ",[763,3743,1563],{}," whose\nmoment (",[763,3746,3747],{},"startsAt"," minus the offset) has passed is due:",[772,3750,3751,3766,3772,3778,3799,3823,3832],{},[775,3752,3753,3756,3757,3760,3761,3765],{},[778,3754,3755],{},"Once per offset."," A reminder is claimed by inserting a ",[763,3758,3759],{},"shift_reminders"," row (unique on the assignment and the\noffset) and then sent, so two runs at once, or a run repeated, send nothing twice. A swap that hands the assignment\nover deletes its rows, so the new holder is reminded too (see\n",[742,3762,3764],{"href":3763},"#reminders-feed-and-perks-after-a-handover","Reminders, feed and perks after a handover","). A failed send keeps its row and is\nlogged: a broken address is not retried every ten minutes.",[775,3767,3768,3771],{},[778,3769,3770],{},"One message when several are due together."," A person assigned inside the window, or a late run, gets one reminder, for\nthe smallest offset (the one closest to the shift); the larger offsets are spent without a message of their own.",[775,3773,3774,3777],{},[778,3775,3776],{},"Still eligible."," A person who no longer holds their role on the team gets nothing; their due offsets are spent\n(rows without a message), so they do not crowd later runs.",[775,3779,3780,3783,3784,3786,3787,3790,3791,3794,3795,3798],{},[778,3781,3782],{},"What it says."," The message names the real time left (",[763,3785,3747],{}," minus now, as minutes below an hour, rounded hours\nbelow a day, then days), not the configured offset: a person assigned three hours before a shift gets \"in 3 hours\".\nIt is written in the person's language (their ",[763,3788,3789],{},"users.locale",", else the language on their crew row of the team; Danish\nfor ",[763,3792,3793],{},"da",", English for everything else, including a locale ",[763,3796,3797],{},"Intl"," does not know), for the subject, text, heading and\nbutton of the email and for the SMS.",[775,3800,3801,3804,3805,3808,3809,931,3811,3814,3815,3818,3819,758],{},[778,3802,3803],{},"Channels."," Email and push by default (template ",[763,3806,3807],{},"shifts-reminder",", in the person's locale, with a link to the shift page when a\nsite origin is configured). SMS only with ",[763,3810,1583],{},[778,3812,3813],{},"and"," a phone number (",[763,3816,3817],{},"users.phone"," of Users, set on the profile\nor by crew applications) and the person's own choice. See ",[742,3820,3822],{"href":3821},"#push-and-notify-topics","Push and notify topics",[775,3824,3825,3828,3829,3831],{},[778,3826,3827],{},"A budget per run."," A run takes at most ",[763,3830,1601],{}," assignments (100), soonest shift first. Assignments\nwhose due offsets are all claimed are left out in SQL, so later runs pick up the rest: a backlog drains over a few\nten-minute runs. Every lookup by a list of ids runs in chunks of 90.",[775,3833,3834,931,3837,2198,3839,3842,3843,3846,3847,3850,3851,3854],{},[778,3835,3836],{},"Hook.",[763,3838,908],{},[763,3840,3841],{},"{ event, assignment, offset, channels }",", where ",[763,3844,3845],{},"event"," is always ",[763,3848,3849],{},"undefined","\nwhen the task fires it (the type is ",[763,3852,3853],{},"H3Event | undefined","). A scheduled task has no request, so this is the one\nshifts hook without one: do not read the session from it.",[926,3856,3857,3860,3861,3863,3864,3867,3868,3871,3872,3875,3876,3878,3879,3882,3883,3886],{},[778,3858,3859],{},"Cloudflare:"," nitropack 2 bundles ",[763,3862,3737],{}," into the worker but never writes the cron expressions to\n",[763,3865,3866],{},"wrangler.json",", so Cloudflare would not trigger them. The module adds its cron to\n",[763,3869,3870],{},"nitro.options.cloudflare.wrangler.triggers.crons"," (a deduplicated union, so it works next to a host that mirrors all of its\nown crons, as ",[763,3873,3874],{},"apps\u002Fwebsite"," does). Other presets run the task from ",[763,3877,3737],{}," as Nitro does. With ",[763,3880,3881],{},"cron: false",",\ncall ",[763,3884,3885],{},"shiftsSendReminders()"," from your own scheduler.",[738,3888,3889,3892,3893,3896,3897,799,3900,3903,3904,3907,3908,758],{},[763,3890,3891],{},"shiftsSendReminders(now?, event?, override?)"," is the function the task calls; ",[763,3894,3895],{},"override"," replaces ",[763,3898,3899],{},"offsets",[763,3901,3902],{},"sms"," and\n",[763,3905,3906],{},"batchSize"," for one run, which is how the tests drive it with a fake ",[763,3909,3910],{},"now",[982,3912,3914],{"id":3913},"calendar-feed","Calendar feed",[738,3916,3917,3918,3920,3921,3924,3925,3928],{},"A volunteer subscribes to their shifts from a calendar app. ",[778,3919,784],{}," on my shifts mints a secret link,\nshown once, as an ",[763,3922,3923],{},"https"," address and a ",[763,3926,3927],{},"webcal:\u002F\u002F"," one that calendar apps open as a subscription.",[772,3930,3931,3954,3977,3994],{},[775,3932,3933,3936,3937,3940,3941,3944,3945,3948,3949,3951,3952,758],{},[763,3934,3935],{},"POST \u002Fapi\u002Fshifts\u002Fme\u002Ffeed-token"," mints it (",[763,3938,3939],{},"shift_feed_tokens",": only the SHA-256 hash is stored) and revokes any earlier\none, so there is one live link per person. The live rows are revoked before the insert and every other one again\nafter it, so two mints at once (a double click) never leave two live links. ",[763,3942,3943],{},"GET"," says whether I have one and when it was last read; ",[763,3946,3947],{},"DELETE"," revokes it.\nAll three need ",[763,3950,1836],{},", so a session: a token answers ",[763,3953,1975],{},[775,3955,3956,3959,3960,3962,3963,3966,3967,3970,3971,2198,3974,758],{},[763,3957,3958],{},"GET \u002Fapi\u002Fshifts\u002Ffeed\u002F\u003Ctoken>.ics"," is public: the secret is the credential. An unknown or revoked one is ",[763,3961,2968],{},". The\nrouter does not match a suffix after a param, so the route is ",[763,3964,3965],{},"feed\u002F:token"," and the handler strips an optional ",[763,3968,3969],{},".ics",".\nIt answers ",[763,3972,3973],{},"text\u002Fcalendar; charset=utf-8",[763,3975,3976],{},"cache-control: private, max-age=300",[775,3978,3979,3980,799,3982,748,3984,3986,3987,3990,3991,3993],{},"The feed lists my ",[763,3981,2258],{},[763,3983,2261],{},[763,3985,3062],{}," shifts of published schedules from 30 days ago onward, never\nother people's. Each event has the team and role as its summary, the location name, a description with the operation,\nthe notes and a link to the shift page, UTC start and end, and a stable ",[763,3988,3989],{},"UID"," per assignment (so a swap changes who\nhas the event, not the event). The ",[763,3992,3969],{}," is written by hand (RFC 5545: CRLF, 75-octet folding, escaping).",[775,3995,3996,3997,4000],{},"Reading a feed touches ",[763,3998,3999],{},"lastUsedAt"," at most every five minutes.",[982,4002,4004],{"id":4003},"broadcasts","Broadcasts",[738,4006,4007,4008,4011,4012,1663,4014,4016,4017,4020,4021,4024,4025,4028],{},"A broadcast messages the people of an operation: ",[763,4009,4010],{},"POST \u002Fapi\u002Fadmin\u002Fshifts\u002Fbroadcasts"," for staff with ",[763,4013,1870],{},[763,4015,1214],{},", and the roles your app grants it to), and ",[763,4018,4019],{},"POST \u002Fapi\u002Fshifts\u002Fteams\u002F:teamId\u002Fbroadcasts"," for the leads of a team, who reach their own\nteam only. The body is ",[763,4022,4023],{},"{ operationId, audience, channels, subject, message }"," (a lead's has no ",[763,4026,4027],{},"operationId","):",[772,4030,4031,4057,4073,4092,4106],{},[775,4032,4033,931,4036,4039,4040,4042,4043,4045,4046,4049,4050,4053,4054,758],{},[778,4034,4035],{},"Audience.",[763,4037,4038],{},"{ teamId?, teamRole?, shiftId? }",". Without a shift: the active explicit members of the operation's teams\n(",[763,4041,3642],{}," narrows to one team) whose role is at least ",[763,4044,2167],{}," on their team kind's ladder. With ",[763,4047,4048],{},"shiftId",": the people\nholding a place on that shift (a role cannot be combined with a shift). One message per person. Nobody matching is\n",[763,4051,4052],{},"400 audience_empty","; more than 500 people is ",[763,4055,4056],{},"400 audience_too_large",[775,4058,4059,931,4061,4064,4065,4068,4069,4072],{},[778,4060,3803],{},[763,4062,4063],{},"['email']"," by default. ",[778,4066,4067],{},"SMS is opt-in per broadcast",": add ",[763,4070,4071],{},"'sms'"," and everyone with a phone number who chose SMS is\ntexted as well. Texts cost money, so the form warns and never defaults to them.",[775,4074,4075,931,4078,748,4081,4084,4085,4087,4088,4091],{},[778,4076,4077],{},"Locale.",[763,4079,4080],{},"subject",[763,4082,4083],{},"message"," are translated texts: each person gets their own language (their ",[763,4086,3789],{},",\nelse the one on their crew row of the team), falling back to ",[763,4089,4090],{},"en"," only when neither is set.",[775,4093,4094,4095,4098,4099,4102,4103,4105],{},"The audience, the people and their locales are resolved first, then the broadcast is stored (",[763,4096,4097],{},"shift_broadcasts",", with\nthe audience and the recipient count), so a failure while resolving leaves no history row. It is listed by\n",[763,4100,4101],{},"GET \u002Fapi\u002Fadmin\u002Fshifts\u002Fbroadcasts?operationId="," (newest first). A delivery that fails is logged and skipped. Fires\n",[763,4104,911],{}," once delivery is over.",[775,4107,4108,4111,4112,4115,4116,4119,4120,2198,4123,758],{},[778,4109,4110],{},"Delivery."," On Cloudflare Workers it runs in ",[763,4113,4114],{},"waitUntil",", so the request returns once the row is stored with\n",[763,4117,4118],{},"delivery: 'queued'"," (and zero counts); the totals and failures are logged when it ends. Elsewhere it is awaited and\nthe answer has ",[763,4121,4122],{},"delivery: 'done'",[763,4124,4125],{},"sent: { email, sms }",[982,4127,4129],{"id":4128},"workers-and-d1-limits","Workers and D1 limits",[738,4131,4132,4133,4135,4136,4138],{},"A Workers invocation has a budget of subrequests (50 on the free plan, 1000 on paid), and D1 allows 100 bound parameters\nper statement. Shifts keeps inside both: lookups by a list of ids are chunked (90), bulk create and schedule copy insert\n8 shifts per statement (11 parameters a row), reminders take a batch per run\n(",[763,4134,1601],{},"), and broadcasts are capped at 500 people and delivered in the background. Every email or SMS is\na subrequest through your notify driver, so size ",[763,4137,3906],{}," and your broadcasts to your plan, and run the task often\n(the default is every ten minutes) rather than with a big batch.",[982,4140,4141],{"id":843},"Perks",[738,4143,4144,4145,4148,4149,4152],{},"A perk is what a volunteer earns for a shift they attend: ",[763,4146,4147],{},"{ name, voucherType, quantity }"," for a team (or every team of\nthe operation), such as two of ",[763,4150,4151],{},"beer",". Staff add them per operation in the Shifts tab. Shifts does not hand them out: an\napp such as the vouchers app spends them.",[772,4154,4155,4181,4196,4215],{},[775,4156,4157,4160,4161,4163,4164,4167,4168,4171,4172,748,4175,4178,4179,758],{},[778,4158,4159],{},"Earned perks."," Every ",[763,4162,2261],{}," assignment of a team a perk applies to earns it once (",[763,4165,4166],{},"shift_earned_perks",", unique\non ",[763,4169,4170],{},"(perkId, assignmentId)","): at the shift's end by the task, or at once when a lead marks an ended shift attended.\nThe earned perk copies the perk's ",[763,4173,4174],{},"voucherType",[763,4176,4177],{},"quantity",". Fires ",[763,4180,914],{},[775,4182,4183,4186,4187,4189,4190,4192,4193,4195],{},[778,4184,4185],{},"Revocation."," A flip from ",[763,4188,2261],{}," to ",[763,4191,3062],{}," revokes the earned perks nobody claimed yet\n(",[763,4194,917],{},"). A claimed one stays, and the lead sees that no-show flagged in the exceptions. Marked attended\nagain, the same earned perk comes back.",[775,4197,4198,4201,4202,4205,4206,799,4209,1950,4212,758],{},[778,4199,4200],{},"The pass"," lists what the shift earns: ",[763,4203,4204],{},"upcoming",", then ",[763,4207,4208],{},"earned",[763,4210,4211],{},"claimed",[763,4213,4214],{},"revoked",[775,4216,4217,4220,4221,4224],{},[778,4218,4219],{},"Deleting"," a perk is refused with ",[763,4222,4223],{},"409 perk_already_earned"," once anybody earned it: change it instead. Changes apply\nto perks earned from then on.",[738,4226,4227,4230,4231,4233,4234,4237,4238,4028],{},[778,4228,4229],{},"The vouchers contract."," The app calls, with an OAuth access token holding the ",[763,4232,843],{}," scope (an access token of this\napp's ",[742,4235,4236],{"href":234},"OAuth server",", or a foreign token through ",[742,4239,249],{"href":250},[772,4241,4242,4270,4297],{},[775,4243,4244,795,4247,4250,4251,4254,4255,4258,4259,4262,4263,795,4266,4269],{},[763,4245,4246],{},"GET \u002Fapi\u002Fshifts\u002Fme\u002Fearned-perks?status=unclaimed|claimed|all",[763,4248,4249],{},"unclaimed"," by default): ",[763,4252,4253],{},"{ items }",", oldest first,\nnever the revoked ones, not paginated (one person's earned perks). An item is ",[763,4256,4257],{},"{ id, voucherType, quantity, perkName, earnedAt, claimedAt, shift: { id, startsAt, endsAt, teamName, operationName } }",", names in the ",[763,4260,4261],{},"Accept-Language",".\n",[763,4264,4265],{},"id",[763,4267,4268],{},"spg_...",") is the idempotency key on the app's side.",[775,4271,4272,4275,4276,4279,4280,4283,4284,4286,4287,1334,4289,4292,4293,4296],{},[763,4273,4274],{},"POST \u002Fapi\u002Fshifts\u002Fme\u002Fearned-perks\u002F:id\u002Fclaim"," with an optional ",[763,4277,4278],{},"{ client }",": the earned perk with ",[763,4281,4282],{},"claimedAt"," set. A repeat\nanswers ",[763,4285,1650],{}," with the same ",[763,4288,4282],{},[763,4290,4291],{},"404 not_found"," for an unknown earned perk or somebody else's; ",[763,4294,4295],{},"409 perk_revoked","\nfor a revoked one.",[775,4298,4299,4300,758],{},"A token without the scope gets ",[763,4301,3029],{},[4303,4304,4306],"h4",{"id":4305},"example","Example",[738,4308,4309],{},"A bar team checks in at a station by the bar, and anywhere on the site by location; a shift earns two beers:",[987,4311,4313],{"className":1023,"code":4312,"language":1026,"meta":992,"style":992},"\u002F\u002F PATCH \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules\u002F:scheduleId\n{\n  checkIn: {\n    modes: ['location', 'daily'],\n    location: { point: { lat: 10.0167, lng: 20.0784 }, radiusMeters: 800 },\n    teams: { [barTeamId]: { modes: ['station', 'location', 'daily'] } },\n  },\n  autoNoShow: true,\n  autoNoShowMinutes: 30,\n}\n\u002F\u002F POST \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules\u002F:scheduleId\u002Fstations\n{ teamId: barTeamId, name: 'Bar north', featureId: 'bar-north' }\n\u002F\u002F POST \u002Fapi\u002Fadmin\u002Fshifts\u002Foperations\u002F:operationId\u002Fperks\n{ teamId: barTeamId, name: { en: 'Beer', da: 'Øl' }, voucherType: 'beer', quantity: 2 }\n",[763,4314,4315,4321,4325,4335,4362,4411,4467,4473,4485,4498,4504,4510,4553,4559],{"__ignoreMap":992},[996,4316,4317],{"class":998,"line":999},[996,4318,4320],{"class":4319},"sHwdD","\u002F\u002F PATCH \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules\u002F:scheduleId\n",[996,4322,4323],{"class":998,"line":1052},[996,4324,1049],{"class":1048},[996,4326,4327,4330,4332],{"class":998,"line":1105},[996,4328,4329],{"class":1002},"  checkIn",[996,4331,1059],{"class":1048},[996,4333,4334],{"class":1048}," {\n",[996,4336,4337,4340,4342,4344,4346,4348,4350,4352,4354,4356,4358,4360],{"class":998,"line":1156},[996,4338,4339],{"class":1002},"    modes",[996,4341,1059],{"class":1048},[996,4343,1062],{"class":1055},[996,4345,1065],{"class":1048},[996,4347,1707],{"class":1006},[996,4349,1065],{"class":1048},[996,4351,1072],{"class":1048},[996,4353,1075],{"class":1048},[996,4355,1710],{"class":1006},[996,4357,1065],{"class":1048},[996,4359,1100],{"class":1055},[996,4361,890],{"class":1048},[996,4363,4365,4368,4370,4372,4375,4377,4379,4382,4384,4388,4390,4393,4395,4398,4401,4404,4406,4409],{"class":998,"line":4364},5,[996,4366,4367],{"class":1002},"    location",[996,4369,1059],{"class":1048},[996,4371,1113],{"class":1048},[996,4373,4374],{"class":1002}," point",[996,4376,1059],{"class":1048},[996,4378,1113],{"class":1048},[996,4380,4381],{"class":1002}," lat",[996,4383,1059],{"class":1048},[996,4385,4387],{"class":4386},"sbssI"," 10.0167",[996,4389,1072],{"class":1048},[996,4391,4392],{"class":1002}," lng",[996,4394,1059],{"class":1048},[996,4396,4397],{"class":4386}," 20.0784",[996,4399,4400],{"class":1048}," },",[996,4402,4403],{"class":1002}," radiusMeters",[996,4405,1059],{"class":1048},[996,4407,4408],{"class":4386}," 800",[996,4410,1153],{"class":1048},[996,4412,4414,4417,4419,4421,4423,4426,4429,4431,4434,4436,4438,4440,4442,4444,4446,4448,4450,4452,4454,4456,4458,4460,4463,4465],{"class":998,"line":4413},6,[996,4415,4416],{"class":1002},"    teams",[996,4418,1059],{"class":1048},[996,4420,1113],{"class":1048},[996,4422,1062],{"class":1055},[996,4424,4425],{"class":1044},"barTeamId",[996,4427,4428],{"class":1055},"]: ",[996,4430,2636],{"class":1048},[996,4432,4433],{"class":1055}," modes",[996,4435,1059],{"class":1048},[996,4437,1062],{"class":1055},[996,4439,1065],{"class":1048},[996,4441,1688],{"class":1006},[996,4443,1065],{"class":1048},[996,4445,1072],{"class":1048},[996,4447,1075],{"class":1048},[996,4449,1707],{"class":1006},[996,4451,1065],{"class":1048},[996,4453,1072],{"class":1048},[996,4455,1075],{"class":1048},[996,4457,1710],{"class":1006},[996,4459,1065],{"class":1048},[996,4461,4462],{"class":1055},"] ",[996,4464,1159],{"class":1048},[996,4466,1153],{"class":1048},[996,4468,4470],{"class":998,"line":4469},7,[996,4471,4472],{"class":1048},"  },\n",[996,4474,4476,4479,4481,4483],{"class":998,"line":4475},8,[996,4477,4478],{"class":1002},"  autoNoShow",[996,4480,1059],{"class":1048},[996,4482,1136],{"class":1135},[996,4484,890],{"class":1048},[996,4486,4488,4491,4493,4496],{"class":998,"line":4487},9,[996,4489,4490],{"class":1002},"  autoNoShowMinutes",[996,4492,1059],{"class":1048},[996,4494,4495],{"class":4386}," 30",[996,4497,890],{"class":1048},[996,4499,4501],{"class":998,"line":4500},10,[996,4502,4503],{"class":1048},"}\n",[996,4505,4507],{"class":998,"line":4506},11,[996,4508,4509],{"class":4319},"\u002F\u002F POST \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules\u002F:scheduleId\u002Fstations\n",[996,4511,4513,4515,4518,4520,4523,4525,4528,4530,4532,4535,4537,4539,4542,4544,4546,4549,4551],{"class":998,"line":4512},12,[996,4514,2636],{"class":1048},[996,4516,4517],{"class":1002}," teamId",[996,4519,1059],{"class":1048},[996,4521,4522],{"class":1044}," barTeamId",[996,4524,1072],{"class":1048},[996,4526,4527],{"class":1002}," name",[996,4529,1059],{"class":1048},[996,4531,1075],{"class":1048},[996,4533,4534],{"class":1006},"Bar north",[996,4536,1065],{"class":1048},[996,4538,1072],{"class":1048},[996,4540,4541],{"class":1002}," featureId",[996,4543,1059],{"class":1048},[996,4545,1075],{"class":1048},[996,4547,4548],{"class":1006},"bar-north",[996,4550,1065],{"class":1048},[996,4552,2688],{"class":1048},[996,4554,4556],{"class":998,"line":4555},13,[996,4557,4558],{"class":4319},"\u002F\u002F POST \u002Fapi\u002Fadmin\u002Fshifts\u002Foperations\u002F:operationId\u002Fperks\n",[996,4560,4562,4564,4566,4568,4570,4572,4574,4576,4578,4581,4583,4585,4588,4590,4592,4595,4597,4599,4602,4604,4606,4609,4611,4613,4615,4617,4619,4622,4624,4627],{"class":998,"line":4561},14,[996,4563,2636],{"class":1048},[996,4565,4517],{"class":1002},[996,4567,1059],{"class":1048},[996,4569,4522],{"class":1044},[996,4571,1072],{"class":1048},[996,4573,4527],{"class":1002},[996,4575,1059],{"class":1048},[996,4577,1113],{"class":1048},[996,4579,4580],{"class":1002}," en",[996,4582,1059],{"class":1048},[996,4584,1075],{"class":1048},[996,4586,4587],{"class":1006},"Beer",[996,4589,1065],{"class":1048},[996,4591,1072],{"class":1048},[996,4593,4594],{"class":1002}," da",[996,4596,1059],{"class":1048},[996,4598,1075],{"class":1048},[996,4600,4601],{"class":1006},"Øl",[996,4603,1065],{"class":1048},[996,4605,4400],{"class":1048},[996,4607,4608],{"class":1002}," voucherType",[996,4610,1059],{"class":1048},[996,4612,1075],{"class":1048},[996,4614,4151],{"class":1006},[996,4616,1065],{"class":1048},[996,4618,1072],{"class":1048},[996,4620,4621],{"class":1002}," quantity",[996,4623,1059],{"class":1048},[996,4625,4626],{"class":4386}," 2",[996,4628,2688],{"class":1048},[738,4630,4631,4632,4634,4635,758],{},"The bar's leads open the station's screen on a tablet and the ",[778,4633,3449],{}," of their lead page; the shift's end gives out\nthe beers, and the vouchers app lists and claims them with a token holding ",[763,4636,843],{},[982,4638,3764],{"id":4639},"reminders-feed-and-perks-after-a-handover",[738,4641,4642],{},"A trade or a release keeps the assignment's id and changes its owner (and issues a new check-in code). The extras follow\nthe assignment, with these rules:",[772,4644,4645,4651,4657],{},[775,4646,4647,4650],{},[778,4648,4649],{},"Reminders:"," a claim is keyed by assignment and offset, so the handover deletes the assignment's claims. The new\nowner gets the reminder that is due at the next run (worded with the real time left, so \"in 22 hours\" for a handover\ntwo hours after the day-before reminder) and every later offset; the old owner gets nothing more.",[775,4652,4653,4656],{},[778,4654,4655],{},"Perks:"," whoever attends the shift earns the perk: it is made for the assignment's holder when it is earned. The\nold pass code no longer works.",[775,4658,4659,4662,4663,4665],{},[778,4660,4661],{},"Feed:"," events are keyed by assignment (",[763,4664,3989],{},"), so a released shift leaves the giver's feed and enters the taker's, and a\ntrade swaps the two events between the two feeds, at the next refresh of the calendar app.",[982,4667,4669],{"id":4668},"qr-pass","QR pass",[738,4671,4672,4673,4676],{},"The pass page counts down to the moment the pass opens, lists what the shift earns, offers checking in at a station or\nby location where the schedule allows it, names the lead on duty and has ",[778,4674,4675],{},"Show\nlarger",": a full-screen, high-contrast QR code that keeps the screen awake with the Screen Wake Lock API where the\nbrowser has it (client only; without it the pass still shows).",[982,4678,3822],{"id":4679},"push-and-notify-topics",[738,4681,4682,4683,799,4686,799,4689,748,4692,4694,4695,4698,4699,4702,4703,4706,4707,4709,4710,4713],{},"Shifts registers the topics ",[763,4684,4685],{},"shifts.reminder",[763,4687,4688],{},"shifts.swap",[763,4690,4691],{},"shifts.broadcast",[763,4693,3440],{}," with\n",[742,4696,356],{"href":4697},"\u002Fmodules\u002Fcommunication\u002Fnotify#notifying-a-user"," (email and push on by default, SMS off; swaps and the digest do\nnot offer SMS) and sends reminders, swap messages, broadcasts and the leads' digest through ",[763,4700,4701],{},"notifyUser",". People choose\ntheir channels per topic on the account page of ",[742,4704,229],{"href":4705},"\u002Fmodules\u002Fidentity\u002Fpreferences#notification-channels",";\nwithout Preferences the defaults apply to everyone. Push notifications reach phones with\n",[742,4708,377],{"href":378}," installed; without it Notify's ",[763,4711,4712],{},"log"," driver logs them.",[772,4715,4716,4726,4735],{},[775,4717,4718,931,4721,4723,4724,758],{},[778,4719,4720],{},"A reminder's SMS needs both",[763,4722,1583],{}," and the person's own choice for ",[763,4725,4685],{},[775,4727,4728,4731,4732,4734],{},[778,4729,4730],{},"A broadcast's SMS stays opt-in per broadcast."," When the sender ticks SMS, the person's choice for ",[763,4733,4691],{},"\nstill decides: an SMS-only broadcast reaches only the people who opted into SMS for the topic, which is off by default.\nThe push notification goes out with the email channel: a broadcast by SMS alone sends none.",[775,4736,4737,4738,4740,4741,4744,4745,4748,4749,4752,4753,4755,4756,748,4759,758],{},"The push notification says the email's subject and message, with the link. ",[763,4739,908],{}," lists ",[763,4742,4743],{},"push"," among its\n",[763,4746,4747],{},"channels"," when one went out, and a broadcast's ",[763,4750,4751],{},"sent"," has a ",[763,4754,4743],{}," count next to ",[763,4757,4758],{},"email",[763,4760,3902],{},[738,4762,4763,4764,4766,4767,758],{},"All of it goes through one helper, ",[763,4765,3436],{}," (a server util), which calls ",[763,4768,4701],{},[982,4770,872],{"id":4771},"emails",[1272,4773,4774,4786],{},[1275,4775,4776],{},[1278,4777,4778,4781,4784],{},[1281,4779,4780],{},"Template",[1281,4782,4783],{},"To",[1281,4785,2274],{},[1294,4787,4788,4801,4814,4827,4840,4853,4866,4878],{},[1278,4789,4790,4795,4798],{},[1299,4791,4792],{},[763,4793,4794],{},"shifts-swap-proposed",[1299,4796,4797],{},"The holder of the wanted shift",[1299,4799,4800],{},"A trade is aimed at their shift.",[1278,4802,4803,4808,4811],{},[1299,4804,4805],{},[763,4806,4807],{},"shifts-swap-offered",[1299,4809,4810],{},"The owner",[1299,4812,4813],{},"Somebody offered on their swap.",[1278,4815,4816,4821,4824],{},[1299,4817,4818],{},[763,4819,4820],{},"shifts-swap-accepted",[1299,4822,4823],{},"The offerer",[1299,4825,4826],{},"The owner accepted their offer.",[1278,4828,4829,4834,4837],{},[1299,4830,4831],{},[763,4832,4833],{},"shifts-swap-rejected",[1299,4835,4836],{},"The offerer (and the owner on an approver's rejection)",[1299,4838,4839],{},"The offer was turned down.",[1278,4841,4842,4847,4850],{},[1299,4843,4844],{},[763,4845,4846],{},"shifts-swap-completed",[1299,4848,4849],{},"Both people",[1299,4851,4852],{},"The shift (both shifts, in a trade) changed hands.",[1278,4854,4855,4860,4863],{},[1299,4856,4857],{},[763,4858,4859],{},"shifts-swap-pending",[1299,4861,4862],{},"The explicit leads of the team(s)",[1299,4864,4865],{},"A swap waits for approval.",[1278,4867,4868,4872,4875],{},[1299,4869,4870],{},[763,4871,3807],{},[1299,4873,4874],{},"The person on the shift",[1299,4876,4877],{},"A reminder offset fell due.",[1278,4879,4880,4885,4888],{},[1299,4881,4882],{},[763,4883,4884],{},"shifts-broadcast",[1299,4886,4887],{},"Each person reached",[1299,4889,4890],{},"A coordinator or lead sent a message; also the leads' digest of the close task.",[738,4892,4893,4894,4897,4898,4900,4901,4903,4904,4906],{},"A trade's emails name both shifts (the template gets ",[763,4895,4896],{},"trade: true","). The emails go through\n",[742,4899,356],{"href":357}," in the person's language: their ",[763,4902,3789],{},", else the locale on their crew\nrow of the team, else ",[763,4905,4090],{},". Their link goes to the shift's page for the owner, the lead page for a pending approval, my shifts once\ncompleted and the open swaps otherwise. Links need a configured site origin (the one Auth uses for its emails); without\none the emails go out without a link and a warning is logged once. A failing email is logged and never fails the swap.",[767,4908,284],{"id":4909},"app",[982,4911,105],{"id":4912},"pages",[1272,4914,4915,4925],{},[1275,4916,4917],{},[1278,4918,4919,4922],{},[1281,4920,4921],{},"Page",[1281,4923,4924],{},"What it shows",[1294,4926,4927,4941,4966,4976,4989,5008],{},[1278,4928,4929,4935],{},[1299,4930,4931,4932,4934],{},"My shifts tab (",[763,4933,1324],{}," without the hub)",[1299,4936,4937,4938,4940],{},"My shifts in published schedules, grouped by day, with a month calendar marking the days I work; past shifts on request. The lead pages of the teams I lead and ",[778,4939,784],{}," above.",[1278,4942,4943,4949],{},[1299,4944,4945,795,4947,4934],{},[763,4946,806],{},[763,4948,1363],{},[1299,4950,4951,4952,748,4955,4958,4959,748,4962,4965],{},"One of my shifts: when and where, my role, the lead on duty, the QR pass while check-in is open, ",[778,4953,4954],{},"Scan the station code",[778,4956,4957],{},"I'm here: check in"," where the schedule allows them, what the shift earns, and the swap with its offers: ",[778,4960,4961],{},"Offer shift for a trade",[778,4963,4964],{},"Give shift away",", as far as the schedule allows.",[1278,4967,4968,4973],{},[1299,4969,4970,4971,4934],{},"Swaps tab (",[763,4972,1393],{},[1299,4974,4975],{},"The swaps I can take: a trade asks me to choose one of my own shifts, a released shift is taken over; my own shifts on offer.",[1278,4977,4978,4982],{},[1299,4979,4980],{},[763,4981,818],{},[1299,4983,4984,4985,4988],{},"The scanner of a team's leads: the camera (",[763,4986,4987],{},"vue-qrcode-reader",", in the browser only) or the code typed in. A repeat of the same code within three seconds is ignored.",[1278,4990,4991,4995],{},[1299,4992,4993],{},[763,4994,810],{},[1299,4996,4997,4998,5000,5001,5004,5005,5007],{},"The page of a team's leads. It opens on ",[778,4999,3449],{}," (no-shows, late, not checked in after the start, claimed no-shows) with attendance marks; ",[778,5002,5003],{},"All shifts"," is one tab away. Also the swaps waiting for approval, the team's stations, ",[778,5006,814],{}," and the scanner. My shifts links it for the teams the person leads.",[1278,5009,5010,5014],{},[1299,5011,5012],{},[763,5013,822],{},[1299,5015,5016],{},"A check-in station's screen for the team's leads and staff: its QR code full screen, a new one every 30 seconds, the screen kept awake.",[738,5018,5019],{},"Signed-out visitors go to the sign-in page and come back.",[738,5021,5022,5023,1735,5026,5029,5030,5032,5033,5035,5036,5038,5039,5041,5042,5045,5046,799,5049,5052,5053,5055],{},"My shifts and the swaps are tabs of the crew home (",[763,5024,5025],{},"crew.dashboard",[742,5027,528],{"href":5028},"\u002Fmodules\u002Fvolunteering\u002Fcrew#tabs-of-the-home-page","):\n",[763,5031,1269],{}," (order 20, ",[763,5034,1778],{},") and ",[763,5037,2767],{}," (30, ",[763,5040,1794],{},"). In the hub they replace the two pages, whose old\npaths answer with a ",[763,5043,5044],{},"302"," to their tab; links (",[763,5047,5048],{},"useShiftsLinks().shifts()",[763,5050,5051],{},".swaps()",", the swap emails and the back\nlinks of the shift and lead pages) go to the page when there is one and to the tab otherwise. With\n",[742,5054,438],{"href":439}," the pages stay, for the tab bar's Shifts tab.",[982,5057,5059],{"id":5058},"tab-on-the-operation-page","Tab on the operation page",[738,5061,2940,5062,5064,5065,5067,5068,5070,5071,5074],{},[778,5063,532],{}," tab (",[763,5066,1489],{},", order 30, after Crew and Teams, ",[763,5069,1210],{},") lists the operation's schedules\nand who is working now. ",[763,5072,5073],{},"?schedule=\u003Cid>"," opens one schedule:",[772,5076,5077,5086,5092,5098,5104,5110],{},[775,5078,5079,5082,5083,5085],{},[778,5080,5081],{},"Day:"," a timeline per day, a row per team, a block per shift coloured by how full it is (short of the minimum,\nfull). Clicking a block opens the shift: who is on it, marking attendance, taking people off, assigning people from a\nsearch of the team with the guards each would break (for the shift role picked in the form), and editing its times,\ncapacity, role and place on the venue layout (a select of the layout's features; ",[778,5084,1232],{}," has it too).",[775,5087,5088,5091],{},[778,5089,5090],{},"List:"," every shift with its people.",[775,5093,5094,5097],{},[778,5095,5096],{},"Shift roles:"," add, edit and delete them.",[775,5099,5100,5103],{},[778,5101,5102],{},"Swaps to approve:"," the swaps of the schedule waiting for approval, with approve and reject.",[775,5105,5106,5109],{},[778,5107,5108],{},"Check-in:"," the modes, the check-in place (the maps location picker), automatic no-shows and per-team overrides,\nand the schedule's stations (add, edit, delete, open the screen).",[775,5111,5112,5115,5116,5118,5119,758],{},[778,5113,5114],{},"Settings:"," coverage, handover and approval as form rows (also in the schedule's slideover). Picking\n",[763,5117,2599],{}," sets ",[763,5120,5121],{},"handover: 'trade'",[738,5123,5124,5125,799,5128,799,5131,5133,5134,5136,5137,5139],{},"The schedule's header holds ",[778,5126,5127],{},"Edit schedule",[778,5129,5130],{},"Copy shifts",[778,5132,1232],{}," (a range of days and time slots for one\nteam) and ",[778,5135,1236],{},". The tab reads the operation's teams through a shifts route, so ",[763,5138,1210],{}," is enough.",[738,5141,5142,5143,5145,5146,5149,5150,5153,5154,5156],{},"Under the schedules the tab has two more cards: ",[778,5144,4141],{}," (add, edit and delete the operation's perks, with how many\ntimes each was earned) and ",[778,5147,5148],{},"Messages"," (the broadcasts sent, and ",[778,5151,5152],{},"Message teams",", which opens a slideover with the team, a role\nand up, a translated subject and message, and an SMS switch with a cost warning). Messages needs ",[763,5155,1870],{}," and\nhides itself without it.",[982,5158,5160],{"id":5159},"composables","Composables",[1272,5162,5163,5173],{},[1275,5164,5165],{},[1278,5166,5167,5170],{},[1281,5168,5169],{},"Composable",[1281,5171,5172],{},"What it does",[1294,5174,5175,5263,5273,5286,5296],{},[1278,5176,5177,5182],{},[1299,5178,5179],{},[763,5180,5181],{},"useShiftsActions()",[1299,5183,5184,5185,799,5188,799,5191,799,5194,799,5197,799,5200,799,5203,799,5206,799,5209,799,5212,799,5215,799,5218,799,5221,799,5224,799,5227,799,5230,799,5233,799,5236,799,5239,799,5242,799,5245,799,5248,799,5251,5254,5255,5258,5259,5262],{},"The schedule, role and shift forms and confirmations (",[763,5186,5187],{},"createSchedule",[763,5189,5190],{},"editSchedule",[763,5192,5193],{},"publishSchedule",[763,5195,5196],{},"deleteSchedule",[763,5198,5199],{},"bulkCreate",[763,5201,5202],{},"copyFrom",[763,5204,5205],{},"createRole",[763,5207,5208],{},"editRole",[763,5210,5211],{},"deleteRole",[763,5213,5214],{},"openShift",[763,5216,5217],{},"deleteShift",[763,5219,5220],{},"approveSwap",[763,5222,5223],{},"rejectSwap",[763,5225,5226],{},"saveScheduleSettings",[763,5228,5229],{},"subscribe",[763,5231,5232],{},"broadcast",[763,5234,5235],{},"broadcastToTeam",[763,5237,5238],{},"createPerk",[763,5240,5241],{},"editPerk",[763,5243,5244],{},"deletePerk",[763,5246,5247],{},"createStation",[763,5249,5250],{},"editStation",[763,5252,5253],{},"deleteStation","), the row menus, ",[763,5256,5257],{},"settingsLabel"," (a schedule's settings in a few words) and ",[763,5260,5261],{},"swapSummary"," (who a pending swap moves where).",[1278,5264,5265,5270],{},[1299,5266,5267],{},[763,5268,5269],{},"useShiftsLinks()",[1299,5271,5272],{},"Locale-aware links to the shifts pages.",[1278,5274,5275,5280],{},[1299,5276,5277],{},[763,5278,5279],{},"useShiftsFormat()",[1299,5281,5282,5283,5285],{},"Formats shift times in the shifts time zone (",[763,5284,1497],{},", else the app's).",[1278,5287,5288,5293],{},[1299,5289,5290],{},[763,5291,5292],{},"useShiftsTranslate()",[1299,5294,5295],{},"Reads a translated text in the current locale.",[1278,5297,5298,5303],{},[1299,5299,5300],{},[763,5301,5302],{},"useShiftsVenueFeatures(operationId, { kind? })",[1299,5304,5305],{},"The features of an operation's venue layout as select options, for the place pickers.",[767,5307,242],{"id":5308},"hooks",[738,5310,5311,5312,5315,5316,1219],{},"Your app answers these ",[742,5313,5314],{"href":91},"Nitro"," hooks from a server plugin (",[763,5317,5318],{},"server\u002Fplugins\u002F*.ts",[1272,5320,5321,5333],{},[1275,5322,5323],{},[1278,5324,5325,5328,5330],{},[1281,5326,5327],{},"Hook",[1281,5329,2274],{},[1281,5331,5332],{},"Payload",[1294,5334,5335,5349,5363,5377,5391,5405,5418,5431,5444,5461,5479,5493,5507,5520],{},[1278,5336,5337,5341,5344],{},[1299,5338,5339],{},[763,5340,880],{},[1299,5342,5343],{},"After a draft schedule was published.",[1299,5345,5346],{},[763,5347,5348],{},"{ event, schedule }",[1278,5350,5351,5355,5358],{},[1299,5352,5353],{},[763,5354,883],{},[1299,5356,5357],{},"After a shift was created (bulk creation and copying fire it per shift).",[1299,5359,5360],{},[763,5361,5362],{},"{ event, shift }",[1278,5364,5365,5369,5372],{},[1299,5366,5367],{},[763,5368,886],{},[1299,5370,5371],{},"After a shift's times, place, capacity, notes, team or role changed.",[1299,5373,5374],{},[763,5375,5376],{},"{ event, shift, previous }",[1278,5378,5379,5383,5386],{},[1299,5380,5381],{},[763,5382,889],{},[1299,5384,5385],{},"After an assignment was created, cancelled, marked or changed hands in a swap.",[1299,5387,5388],{},[763,5389,5390],{},"{ event, assignment, previous, auto? }",[1278,5392,5393,5397,5400],{},[1299,5394,5395],{},[763,5396,893],{},[1299,5398,5399],{},"After somebody offered on a swap.",[1299,5401,5402],{},[763,5403,5404],{},"{ event, kind, swap, offer }",[1278,5406,5407,5411,5414],{},[1299,5408,5409],{},[763,5410,896],{},[1299,5412,5413],{},"After the owner accepted an offer.",[1299,5415,5416],{},[763,5417,5404],{},[1278,5419,5420,5424,5427],{},[1299,5421,5422],{},[763,5423,899],{},[1299,5425,5426],{},"After the owner turned an offer down, or an approver rejected the swap.",[1299,5428,5429],{},[763,5430,5404],{},[1278,5432,5433,5437,5440],{},[1299,5434,5435],{},[763,5436,902],{},[1299,5438,5439],{},"After the shift (both shifts, in a trade) changed hands.",[1299,5441,5442],{},[763,5443,5404],{},[1278,5445,5446,5450,5456],{},[1299,5447,5448],{},[763,5449,905],{},[1299,5451,5452,5453,5455],{},"After a check-in (by a lead, a station, a location or the ",[763,5454,1710],{}," mode), a lead's mark, or an automatic no-show.",[1299,5457,5458],{},[763,5459,5460],{},"{ event, assignment, by, method?, auto? }",[1278,5462,5463,5467,5470],{},[1299,5464,5465],{},[763,5466,908],{},[1299,5468,5469],{},"After a reminder went out (by the task).",[1299,5471,5472,799,5474,5476,5477],{},[763,5473,3841],{},[763,5475,3845],{}," always ",[763,5478,3849],{},[1278,5480,5481,5485,5488],{},[1299,5482,5483],{},[763,5484,911],{},[1299,5486,5487],{},"After a broadcast was sent.",[1299,5489,5490],{},[763,5491,5492],{},"{ event, broadcast }",[1278,5494,5495,5499,5502],{},[1299,5496,5497],{},[763,5498,914],{},[1299,5500,5501],{},"After a perk was earned, or came back on attended (also from the task).",[1299,5503,5504],{},[763,5505,5506],{},"{ event, earnedPerkId, perkId, assignmentId, userId }",[1278,5508,5509,5513,5516],{},[1299,5510,5511],{},[763,5512,917],{},[1299,5514,5515],{},"After an unclaimed earned perk was revoked by a flip to no-show.",[1299,5517,5518],{},[763,5519,5506],{},[1278,5521,5522,5526,5529],{},[1299,5523,5524],{},[763,5525,920],{},[1299,5527,5528],{},"After the close task sent a lead their digest.",[1299,5530,5531,799,5534,5476,5536],{},[763,5532,5533],{},"{ event, userId, items, channels }",[763,5535,3845],{},[763,5537,3849],{},[772,5539,5540,5554,5560,5581,5610,5638,5657,5666,5677],{},[775,5541,5542,2186,5545,1357,5547,5549,5550,5553],{},[763,5543,5544],{},"previous",[763,5546,889],{},[763,5548,2243],{}," for a new assignment. A swap moves an assignment to another\nperson: ",[763,5551,5552],{},"previous.userId"," is the person who gave it away. It fires for assignments in draft schedules too; a listener\nthat only cares about what volunteers see checks that the schedule is published.",[775,5555,5556,5559],{},[763,5557,5558],{},"assignment"," never carries the check-in code.",[775,5561,5562,5565,5566,5568,5569,5572,5573,799,5575,799,5577,799,5579,1219],{},[763,5563,5564],{},"by"," is the user id of the lead or staff member, the person themselves for a station or location check-in, or ",[763,5567,2243],{},"\nfor an automatic no-show. ",[763,5570,5571],{},"method"," is how a check-in happened (",[763,5574,2209],{},[763,5576,1688],{},[763,5578,1707],{},[763,5580,1710],{},[775,5582,5583,5587,5588,5590,5591,1357,5593,5595,5596,748,5598,5600,5601,5603,5604,5606,5607,5609],{},[778,5584,5585],{},[763,5586,3412],{}," marks what the ",[763,5589,866],{}," task did (an automatic no-show): ",[763,5592,3845],{},[763,5594,3849],{}," then, in\n",[763,5597,905],{},[763,5599,889],{}," (both typed ",[763,5602,3853],{},"). ",[763,5605,914],{},"\nhas no event when the task fires it, and ",[763,5608,920],{}," never has one.",[775,5611,5612,5621,5622,5624,5625,5627,5628,5631,5632,5635,5636,758],{},[778,5613,5614,3846,5616,5618,5619],{},[763,5615,3845],{},[763,5617,3849],{}," in ",[763,5620,908],{}," (type ",[763,5623,3853],{},"). It fires from the ",[763,5626,862],{}," task, which has no\nrequest, unlike every other shifts hook (the same exception as ",[763,5629,5630],{},"teams:roles:resolve","). Hooks identify the user from the\npayload (",[763,5633,5634],{},"assignment.userId","), never from the session of ",[763,5637,3845],{},[775,5639,5640,5642,5643,799,5645,5603,5647,5649,5650,5653,5654,758],{},[763,5641,4747],{}," of the reminder are the ones that went out (",[763,5644,4758],{},[763,5646,3902],{},[763,5648,5232],{}," has the audience and recipient\ncount, never the people. ",[763,5651,5652],{},"items"," of a digest are ",[763,5655,5656],{},"{ kind, assignmentId, teamId }",[775,5658,5659,5661,5662,1950,5664,758],{},[763,5660,2745],{}," is the swap's: ",[763,5663,2456],{},[763,5665,2460],{},[775,5667,3477,5668,5670,5671,5673,5674,5676],{},[763,5669,2882],{}," an accept fires ",[763,5672,896],{}," only after the exchange succeeded, then ",[763,5675,902],{},",\nin the same request.",[775,5678,5679,5680,748,5682,758],{},"Shifts listens to ",[763,5681,3703],{},[763,5683,3712],{},[767,5685,2063],{"id":5686},"routes",[738,5688,5689,5690,5693,5694,758],{},"Typed path builders are exported as ",[763,5691,5692],{},"shiftsApi"," from ",[763,5695,5696],{},"@frigear-nu\u002Fshifts\u002Fapi",[1272,5698,5699,5711],{},[1275,5700,5701],{},[1278,5702,5703,5706,5709],{},[1281,5704,5705],{},"Route",[1281,5707,5708],{},"Who",[1281,5710,5172],{},[1294,5712,5713,5730,5744,5757,5771,5792,5810,5832,5850,5880,5896,5952,5975,5996,6033,6053,6069,6116,6132,6161,6175,6201,6217,6243,6259,6273,6292,6308,6329,6355,6372,6388,6401,6416,6442,6464,6478,6509,6523,6545,6561,6578,6595,6609,6628,6642,6660,6676,6694,6711,6730,6746,6763,6791,6820,6840,6857,6873,6887,6904,6930,6946,6967,6984],{},[1278,5714,5715,5719,5723],{},[1299,5716,5717],{},[763,5718,3533],{},[1299,5720,5721],{},[763,5722,1778],{},[1299,5724,5725,5726,5729],{},"My shifts in published schedules (",[763,5727,5728],{},"?from&to",", ISO instants).",[1278,5731,5732,5737,5741],{},[1299,5733,5734],{},[763,5735,5736],{},"GET \u002Fapi\u002Fshifts\u002Fme\u002Fleads",[1299,5738,5739],{},[763,5740,1778],{},[1299,5742,5743],{},"The teams I lead, with their operations.",[1278,5745,5746,5750,5754],{},[1299,5747,5748],{},[763,5749,3551],{},[1299,5751,5752],{},[763,5753,1778],{},[1299,5755,5756],{},"My teams that have a shift running now, with who is on it and the leads. Names only.",[1278,5758,5759,5764,5768],{},[1299,5760,5761],{},[763,5762,5763],{},"GET \u002Fapi\u002Fshifts\u002Fme\u002Ffeed-token",[1299,5765,5766],{},[763,5767,1836],{},[1299,5769,5770],{},"Whether I have a calendar feed, its prefix and when it was made and last read. Session only.",[1278,5772,5773,5777,5781],{},[1299,5774,5775],{},[763,5776,3935],{},[1299,5778,5779],{},[763,5780,1836],{},[1299,5782,5783,5784,5787,5788,5791],{},"Mint my calendar feed (",[763,5785,5786],{},"201","): ",[763,5789,5790],{},"{ token, url, webcalUrl }",", shown once; revokes the old one. Session only.",[1278,5793,5794,5799,5803],{},[1299,5795,5796],{},[763,5797,5798],{},"DELETE \u002Fapi\u002Fshifts\u002Fme\u002Ffeed-token",[1299,5800,5801],{},[763,5802,1836],{},[1299,5804,5805,5806,5809],{},"Revoke it (",[763,5807,5808],{},"204","). Session only.",[1278,5811,5812,5817,5820],{},[1299,5813,5814],{},[763,5815,5816],{},"GET \u002Fapi\u002Fshifts\u002Ffeed\u002F:token",[1299,5818,5819],{},"public (the token)",[1299,5821,5822,5823,795,5826,5828,5829,5831],{},"My shifts as ",[763,5824,5825],{},"text\u002Fcalendar",[763,5827,3969],{}," suffix optional). ",[763,5830,2968],{}," for an unknown or revoked token.",[1278,5833,5834,5839,5844],{},[1299,5835,5836],{},[763,5837,5838],{},"GET \u002Fapi\u002Fshifts\u002Fme\u002F:assignmentId",[1299,5840,5841,5843],{},[763,5842,1778],{}," + policy",[1299,5845,5846,5847,5849],{},"One of my shifts, with the leads on duty and my swap. ",[763,5848,2968],{}," for somebody else's or a draft's.",[1278,5851,5852,5857,5861],{},[1299,5853,5854],{},[763,5855,5856],{},"GET \u002Fapi\u002Fshifts\u002Fme\u002F:assignmentId\u002Fpass",[1299,5858,5859,5843],{},[763,5860,1778],{},[1299,5862,5863,5864,748,5866,5869,5870,5873,5874,5876,5877,5879],{},"The QR pass: ",[763,5865,763],{},[763,5867,5868],{},"svg"," only inside the window, and only while I hold my role on the team (else ",[763,5871,5872],{},"eligible: false","). With what the shift earns (",[763,5875,843],{},") and how I can check in (",[763,5878,3076],{},"). Read-only.",[1278,5881,5882,5886,5890],{},[1299,5883,5884],{},[763,5885,2993],{},[1299,5887,5888,5843],{},[763,5889,1808],{},[1299,5891,5892,5893,5895],{},"After a pass said ",[763,5894,5872],{},": cancels my future shifts on the team my role no longer meets, and answers the pass.",[1278,5897,5898,5902,5906],{},[1299,5899,5900],{},[763,5901,3174],{},[1299,5903,5904,5843],{},[763,5905,1808],{},[1299,5907,5908,5909,1950,5911,859,5913,1334,5916,2240,5918,799,5920,799,5923,799,5926,799,5929,799,5932,799,5935,799,5937,799,5940,2240,5942,5944,5945,5947,5948,1950,5950,1219],{},"Check in myself ",[763,5910,3177],{},[763,5912,3181],{},[763,5914,5915],{},"{ ok, alreadyCheckedIn, checkedInAt, method, assignment, alsoCheckedIn }",[763,5917,3198],{},[763,5919,3189],{},[763,5921,5922],{},"token_expired",[763,5924,5925],{},"wrong_station",[763,5927,5928],{},"no_location",[763,5930,5931],{},"inaccurate_position",[763,5933,5934],{},"outside_location",[763,5936,3239],{},[763,5938,5939],{},"assignment_cancelled",[763,5941,2759],{},[763,5943,1692],{}," for ",[763,5946,1688],{}," without a station key (",[763,5949,1662],{},[763,5951,1670],{},[1278,5953,5954,5959,5963],{},[1299,5955,5956],{},[763,5957,5958],{},"GET \u002Fapi\u002Fshifts\u002Fme\u002Fearned-perks",[1299,5960,5961,5843],{},[763,5962,1918],{},[1299,5964,5965,5966,5787,5969,5971,5972,758],{},"My earned perks (",[763,5967,5968],{},"?status=unclaimed|claimed|all",[763,5970,4253],{},". See ",[742,5973,4141],{"href":5974},"#perks",[1278,5976,5977,5981,5985],{},[1299,5978,5979],{},[763,5980,4274],{},[1299,5982,5983,5843],{},[763,5984,1932],{},[1299,5986,5987,5988,5991,5992,799,5994,758],{},"Claim an earned perk ",[763,5989,5990],{},"{ client? }",", idempotently. ",[763,5993,4291],{},[763,5995,4295],{},[1278,5997,5998,6003,6007],{},[1299,5999,6000],{},[763,6001,6002],{},"POST \u002Fapi\u002Fshifts\u002Fme\u002F:assignmentId\u002Fswap",[1299,6004,6005,5843],{},[763,6006,1794],{},[1299,6008,6009,6010,795,6013,6015,6016,6018,6019,799,6021,799,6024,6027,6028,748,6031,758],{},"Open a swap ",[763,6011,6012],{},"{ kind?, wantedAssignmentId? }",[763,6014,5786],{},"). Again answers the live swap of that kind; a stale ",[763,6017,2708],{}," one is replaced. ",[763,6020,2821],{},[763,6022,6023],{},"handover_not_allowed",[763,6025,6026],{},"swap_changed",", and for a targeted trade ",[763,6029,6030],{},"handover_cross_schedule",[763,6032,2752],{},[1278,6034,6035,6040,6044],{},[1299,6036,6037],{},[763,6038,6039],{},"DELETE \u002Fapi\u002Fshifts\u002Fme\u002F:assignmentId\u002Fswap",[1299,6041,6042,5843],{},[763,6043,1794],{},[1299,6045,6046,6047,6049,6050,6052],{},"Withdraw the swap (",[763,6048,5808],{},"); a swap stuck in ",[763,6051,2855],{}," for five minutes is settled.",[1278,6054,6055,6059,6063],{},[1299,6056,6057],{},[763,6058,3569],{},[1299,6060,6061],{},[763,6062,1778],{},[1299,6064,6065,6066,758],{},"The swaps I can take (of a kind the schedule allows now), each with ",[763,6067,6068],{},"myOffer",[1278,6070,6071,6076,6080],{},[1299,6072,6073],{},[763,6074,6075],{},"POST \u002Fapi\u002Fshifts\u002Fswaps\u002F:swapId\u002Foffers",[1299,6077,6078],{},[763,6079,1794],{},[1299,6081,6082,6083,6085,6086,6089,6090,5603,6092,6094,6095,799,6097,799,6099,799,6102,799,6104,799,6107,799,6110,799,6113,758],{},"Offer ",[763,6084,2787],{}," on a trade, ",[763,6087,6088],{},"{}"," on a release (",[763,6091,5786],{},[763,6093,2805],{}," a shift on a release; ",[763,6096,2595],{},[763,6098,6030],{},[763,6100,6101],{},"not_wanted",[763,6103,2752],{},[763,6105,6106],{},"already_assigned",[763,6108,6109],{},"offer_exists",[763,6111,6112],{},"own_swap",[763,6114,6115],{},"swap_closed",[1278,6117,6118,6123,6127],{},[1299,6119,6120],{},[763,6121,6122],{},"DELETE \u002Fapi\u002Fshifts\u002Fswaps\u002F:swapId\u002Foffers\u002F:offerId",[1299,6124,6125,5843],{},[763,6126,1794],{},[1299,6128,6129,6130,1219],{},"Withdraw my offer (",[763,6131,5808],{},[1278,6133,6134,6139,6144],{},[1299,6135,6136],{},[763,6137,6138],{},"POST \u002Fapi\u002Fshifts\u002Fswaps\u002F:swapId\u002Foffers\u002F:offerId\u002Faccept",[1299,6140,6141,6143],{},[763,6142,1794],{}," + policy (owner)",[1299,6145,6146,6147,795,6149,6151,6152,1334,6155,799,6157,799,6159,758],{},"Accept: ",[763,6148,3381],{},[763,6150,2882],{},") or ",[763,6153,6154],{},"pending_approval",[763,6156,2595],{},[763,6158,2752],{},[763,6160,6026],{},[1278,6162,6163,6168,6172],{},[1299,6164,6165],{},[763,6166,6167],{},"POST \u002Fapi\u002Fshifts\u002Fswaps\u002F:swapId\u002Foffers\u002F:offerId\u002Freject",[1299,6169,6170,6143],{},[763,6171,1794],{},[1299,6173,6174],{},"Turn the offer down.",[1278,6176,6177,6182,6186],{},[1299,6178,6179],{},[763,6180,6181],{},"POST \u002Fapi\u002Fshifts\u002Fswaps\u002F:swapId\u002Fapprove",[1299,6183,6184,5843],{},[763,6185,1822],{},[1299,6187,6188,6189,6191,6192,6194,6195,799,6197,799,6199,758],{},"Approve a swap waiting for approval: a lead of a team whose schedule asks for it, or staff. ",[763,6190,2916],{}," for the owner or the offerer (unless ",[763,6193,1210],{},"); ",[763,6196,2595],{},[763,6198,2752],{},[763,6200,6026],{},[1278,6202,6203,6208,6212],{},[1299,6204,6205],{},[763,6206,6207],{},"POST \u002Fapi\u002Fshifts\u002Fswaps\u002F:swapId\u002Freject",[1299,6209,6210,5843],{},[763,6211,1822],{},[1299,6213,6214,6215,758],{},"Reject it: the swap is open again. Same approvers, same ",[763,6216,2916],{},[1278,6218,6219,6224,6228],{},[1299,6220,6221],{},[763,6222,6223],{},"POST \u002Fapi\u002Fshifts\u002Fteams\u002F:teamId\u002Fcheck-in",[1299,6225,6226,5843],{},[763,6227,1822],{},[1299,6229,6230,6231,859,6234,1334,6237,799,6239,799,6241,758],{},"Check in ",[763,6232,6233],{},"{ code }",[763,6235,6236],{},"{ ok, alreadyCheckedIn, checkedInAt, assignment, shift, alsoCheckedIn }",[763,6238,2968],{},[763,6240,2979],{},[763,6242,5939],{},[1278,6244,6245,6249,6253],{},[1299,6246,6247],{},[763,6248,3452],{},[1299,6250,6251,5843],{},[763,6252,1822],{},[1299,6254,6255,6256,758],{},"The exceptions of the team's shifts of the last day: ",[763,6257,6258],{},"[{ kind, assignment, shift, lateMinutes? }]",[1278,6260,6261,6266,6270],{},[1299,6262,6263],{},[763,6264,6265],{},"GET \u002Fapi\u002Fshifts\u002Fteams\u002F:teamId\u002Fstations",[1299,6267,6268,5843],{},[763,6269,1822],{},[1299,6271,6272],{},"The team's stations on published schedules.",[1278,6274,6275,6279,6283],{},[1299,6276,6277],{},[763,6278,3300],{},[1299,6280,6281,5843],{},[763,6282,1822],{},[1299,6284,6285,6286,1334,6289,6291],{},"The station's current code: ",[763,6287,6288],{},"{ station, token, svg, refreshAt, rotateSeconds }",[763,6290,1692],{}," without a station key.",[1278,6293,6294,6299,6303],{},[1299,6295,6296],{},[763,6297,6298],{},"GET \u002Fapi\u002Fshifts\u002Fteams\u002F:teamId\u002Fshifts",[1299,6300,6301,5843],{},[763,6302,1822],{},[1299,6304,6305,6306,1219],{},"The team's published shifts with their people (",[763,6307,5728],{},[1278,6309,6310,6315,6319],{},[1299,6311,6312],{},[763,6313,6314],{},"GET \u002Fapi\u002Fshifts\u002Fteams\u002F:teamId\u002Fswaps",[1299,6316,6317,5843],{},[763,6318,1822],{},[1299,6320,6321,6322,6325,6326,6328],{},"The team's swaps (",[763,6323,6324],{},"?status",", e.g. ",[763,6327,6154],{},"), also those giving one of its shifts back.",[1278,6330,6331,6335,6339],{},[1299,6332,6333],{},[763,6334,4019],{},[1299,6336,6337,5843],{},[763,6338,1822],{},[1299,6340,6341,6342,795,6345,5603,6347,799,6349,2240,6352,6354],{},"Message the team ",[763,6343,6344],{},"{ audience?, channels?, subject, message }",[763,6346,5786],{},[763,6348,4052],{},[763,6350,6351],{},"audience_too_large",[763,6353,3670],{}," for another team.",[1278,6356,6357,6362,6366],{},[1299,6358,6359],{},[763,6360,6361],{},"POST \u002Fapi\u002Fshifts\u002Fassignments\u002F:assignmentId\u002Fattended",[1299,6363,6364,5843],{},[763,6365,1822],{},[1299,6367,6368,6369,6371],{},"Mark attended. ",[763,6370,2979],{}," before check-in opens.",[1278,6373,6374,6379,6383],{},[1299,6375,6376],{},[763,6377,6378],{},"POST \u002Fapi\u002Fshifts\u002Fassignments\u002F:assignmentId\u002Fno-show",[1299,6380,6381,5843],{},[763,6382,1822],{},[1299,6384,6385,6386,6371],{},"Mark a no-show. ",[763,6387,2979],{},[1278,6389,6390,6394,6398],{},[1299,6391,6392],{},[763,6393,3462],{},[1299,6395,6396,5843],{},[763,6397,1778],{},[1299,6399,6400],{},"Who is on shift now, per team, with the leads on duty.",[1278,6402,6403,6407,6411],{},[1299,6404,6405],{},[763,6406,3599],{},[1299,6408,6409,5843],{},[763,6410,1778],{},[1299,6412,2940,6413,6415],{},[763,6414,3585],{}," live layer: GeoJSON points on the venue layout.",[1278,6417,6418,6423,6427],{},[1299,6419,6420],{},[763,6421,6422],{},"GET \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules",[1299,6424,6425],{},[763,6426,1210],{},[1299,6428,6429,6430,6433,6434,6436,6437,6439,6440,1219],{},"Schedules (",[763,6431,6432],{},"?operationId",") with their shift counts. Every schedule response carries ",[763,6435,3330],{},": whether a station key is available (",[763,6438,1662],{},", or one derived from ",[763,6441,1670],{},[1278,6443,6444,6449,6453],{},[1299,6445,6446],{},[763,6447,6448],{},"POST \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules",[1299,6450,6451],{},[763,6452,1210],{},[1299,6454,6455,6456,795,6459,6461,6462,758],{},"Create ",[763,6457,6458],{},"{ operationId, name, coverage?, handover?, approval?, minPerShift?, maxPerShift?, guards?, checkIn?, autoNoShow?, autoNoShowMinutes? }",[763,6460,5786],{},", a draft). ",[763,6463,2534],{},[1278,6465,6466,6471,6475],{},[1299,6467,6468],{},[763,6469,6470],{},"GET \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules\u002F:scheduleId",[1299,6472,6473],{},[763,6474,1210],{},[1299,6476,6477],{},"One schedule.",[1278,6479,6480,6485,6489],{},[1299,6481,6482],{},[763,6483,6484],{},"PATCH \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules\u002F:scheduleId",[1299,6486,6487],{},[763,6488,1210],{},[1299,6490,6491,6492,799,6494,1950,6497,1334,6499,6501,6502,6504,6505,6508],{},"Change the name, coverage, handover, approval, sizes, guards, ",[763,6493,3076],{},[763,6495,6496],{},"autoNoShow",[763,6498,3401],{},[763,6500,2534],{}," (checked merged with the stored settings); ",[763,6503,2805],{}," for a ",[763,6506,6507],{},"checkIn.teams"," key that is not a team of the operation.",[1278,6510,6511,6516,6520],{},[1299,6512,6513],{},[763,6514,6515],{},"GET \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules\u002F:scheduleId\u002Fstations",[1299,6517,6518],{},[763,6519,1210],{},[1299,6521,6522],{},"The schedule's stations.",[1278,6524,6525,6530,6534],{},[1299,6526,6527],{},[763,6528,6529],{},"POST \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules\u002F:scheduleId\u002Fstations",[1299,6531,6532],{},[763,6533,1210],{},[1299,6535,6536,6537,795,6540,5603,6542,6544],{},"Add ",[763,6538,6539],{},"{ teamId, name, featureId? }",[763,6541,5786],{},[763,6543,2805],{}," for a team of another operation or a feature that is not a station of the venue layout.",[1278,6546,6547,6552,6556],{},[1299,6548,6549],{},[763,6550,6551],{},"PATCH \u002Fapi\u002Fadmin\u002Fshifts\u002Fstations\u002F:stationId",[1299,6553,6554],{},[763,6555,1210],{},[1299,6557,6558,6559,758],{},"Change ",[763,6560,3613],{},[1278,6562,6563,6568,6572],{},[1299,6564,6565],{},[763,6566,6567],{},"DELETE \u002Fapi\u002Fadmin\u002Fshifts\u002Fstations\u002F:stationId",[1299,6569,6570],{},[763,6571,1210],{},[1299,6573,6574,6575,6577],{},"Delete (",[763,6576,5808],{},"): its codes stop working.",[1278,6579,6580,6585,6589],{},[1299,6581,6582],{},[763,6583,6584],{},"DELETE \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules\u002F:scheduleId",[1299,6586,6587],{},[763,6588,1210],{},[1299,6590,6574,6591,5603,6593,758],{},[763,6592,5808],{},[763,6594,2152],{},[1278,6596,6597,6602,6606],{},[1299,6598,6599],{},[763,6600,6601],{},"POST \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules\u002F:scheduleId\u002Fpublish",[1299,6603,6604],{},[763,6605,1210],{},[1299,6607,6608],{},"Publish. Again is a no-op.",[1278,6610,6611,6616,6620],{},[1299,6612,6613],{},[763,6614,6615],{},"POST \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules\u002F:scheduleId\u002Fcopy-from",[1299,6617,6618],{},[763,6619,1210],{},[1299,6621,6622,6623,859,6625,758],{},"Copy ",[763,6624,2134],{},[763,6626,6627],{},"{ schedule, roles, shifts, skippedTeamIds, changedRoleIds }",[1278,6629,6630,6635,6639],{},[1299,6631,6632],{},[763,6633,6634],{},"GET \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules\u002F:scheduleId\u002Froles",[1299,6636,6637],{},[763,6638,1210],{},[1299,6640,6641],{},"The shift roles.",[1278,6643,6644,6649,6653],{},[1299,6645,6646],{},[763,6647,6648],{},"POST \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules\u002F:scheduleId\u002Froles",[1299,6650,6651],{},[763,6652,1210],{},[1299,6654,6536,6655,795,6658,1219],{},[763,6656,6657],{},"{ teamId, teamRole?, name }",[763,6659,5786],{},[1278,6661,6662,6667,6671],{},[1299,6663,6664],{},[763,6665,6666],{},"PATCH \u002Fapi\u002Fadmin\u002Fshifts\u002Froles\u002F:roleId",[1299,6668,6669],{},[763,6670,1210],{},[1299,6672,6558,6673,758],{},[763,6674,6675],{},"{ teamRole?, name? }",[1278,6677,6678,6683,6687],{},[1299,6679,6680],{},[763,6681,6682],{},"DELETE \u002Fapi\u002Fadmin\u002Fshifts\u002Froles\u002F:roleId",[1299,6684,6685],{},[763,6686,1210],{},[1299,6688,6574,6689,5603,6691,758],{},[763,6690,5808],{},[763,6692,6693],{},"409 role_in_use",[1278,6695,6696,6701,6705],{},[1299,6697,6698],{},[763,6699,6700],{},"GET \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules\u002F:scheduleId\u002Fshifts",[1299,6702,6703],{},[763,6704,1210],{},[1299,6706,6707,6708,1219],{},"The shifts with their people (",[763,6709,6710],{},"?teamId&from&to",[1278,6712,6713,6718,6722],{},[1299,6714,6715],{},[763,6716,6717],{},"POST \u002Fapi\u002Fadmin\u002Fshifts\u002Fschedules\u002F:scheduleId\u002Fshifts\u002Fbulk",[1299,6719,6720],{},[763,6721,1210],{},[1299,6723,6455,6724,795,6727,6729],{},[763,6725,6726],{},"{ teamId, days, slots, capacity?, shiftRoleId?, location?, notes? }",[763,6728,5786],{},", at most 500).",[1278,6731,6732,6737,6741],{},[1299,6733,6734],{},[763,6735,6736],{},"PATCH \u002Fapi\u002Fadmin\u002Fshifts\u002F:shiftId",[1299,6738,6739],{},[763,6740,1210],{},[1299,6742,6558,6743,758],{},[763,6744,6745],{},"{ startsAt?, endsAt?, capacity?, shiftRoleId?, teamId?, location?, notes? }",[1278,6747,6748,6753,6757],{},[1299,6749,6750],{},[763,6751,6752],{},"DELETE \u002Fapi\u002Fadmin\u002Fshifts\u002F:shiftId",[1299,6754,6755],{},[763,6756,1210],{},[1299,6758,6574,6759,5603,6761,758],{},[763,6760,5808],{},[763,6762,2156],{},[1278,6764,6765,6770,6774],{},[1299,6766,6767],{},[763,6768,6769],{},"POST \u002Fapi\u002Fadmin\u002Fshifts\u002F:shiftId\u002Fassignments",[1299,6771,6772],{},[763,6773,1210],{},[1299,6775,6776,6777,859,6780,795,6783,5603,6785,799,6787,799,6789,758],{},"Assign ",[763,6778,6779],{},"{ userId, shiftRoleId?, force? }",[763,6781,6782],{},"{ assignment, warnings }",[763,6784,5786],{},[763,6786,2213],{},[763,6788,6106],{},[763,6790,2319],{},[1278,6792,6793,6798,6802],{},[1299,6794,6795],{},[763,6796,6797],{},"GET \u002Fapi\u002Fadmin\u002Fshifts\u002F:shiftId\u002Fcandidates",[1299,6799,6800],{},[763,6801,1210],{},[1299,6803,6804,6805,799,6808,6811,6812,799,6815,748,6818,758],{},"The team's people staff could assign (",[763,6806,6807],{},"?q",[763,6809,6810],{},"?shiftRoleId",", the shift's own role by default), with ",[763,6813,6814],{},"eligible",[763,6816,6817],{},"reason",[763,6819,2344],{},[1278,6821,6822,6827,6831],{},[1299,6823,6824],{},[763,6825,6826],{},"DELETE \u002Fapi\u002Fadmin\u002Fshifts\u002Fassignments\u002F:assignmentId",[1299,6828,6829],{},[763,6830,1210],{},[1299,6832,6833,6834,5603,6836,6839],{},"Cancel (",[763,6835,5808],{},[763,6837,6838],{},"409 invalid_transition"," for an attended one.",[1278,6841,6842,6847,6851],{},[1299,6843,6844],{},[763,6845,6846],{},"GET \u002Fapi\u002Fadmin\u002Fshifts\u002Fswaps",[1299,6848,6849],{},[763,6850,1210],{},[1299,6852,6853,6854,1219],{},"Swaps with their offers (",[763,6855,6856],{},"?operationId&status",[1278,6858,6859,6863,6867],{},[1299,6860,6861],{},[763,6862,2871],{},[1299,6864,6865],{},[763,6866,1210],{},[1299,6868,6869,6870,6872],{},"Cancel a live swap; settle an ",[763,6871,2855],{}," one stuck halfway.",[1278,6874,6875,6880,6884],{},[1299,6876,6877],{},[763,6878,6879],{},"GET \u002Fapi\u002Fadmin\u002Fshifts\u002Foperations\u002F:operationId\u002Fteams",[1299,6881,6882],{},[763,6883,1210],{},[1299,6885,6886],{},"The operation's teams with their kind's ladder, for the schedule forms.",[1278,6888,6889,6894,6898],{},[1299,6890,6891],{},[763,6892,6893],{},"GET \u002Fapi\u002Fadmin\u002Fshifts\u002Fbroadcasts",[1299,6895,6896],{},[763,6897,1870],{},[1299,6899,6900,6901,6903],{},"The operation's broadcasts (",[763,6902,6432],{},"), newest first.",[1278,6905,6906,6910,6914],{},[1299,6907,6908],{},[763,6909,4010],{},[1299,6911,6912],{},[763,6913,1870],{},[1299,6915,6916,6917,795,6919,6921,6922,6924,6925,6927,6928,758],{},"Send ",[763,6918,4023],{},[763,6920,5786],{},") with ",[763,6923,4125],{},". SMS only when ",[763,6926,4747],{}," has ",[763,6929,3902],{},[1278,6931,6932,6937,6941],{},[1299,6933,6934],{},[763,6935,6936],{},"GET \u002Fapi\u002Fadmin\u002Fshifts\u002Foperations\u002F:operationId\u002Fperks",[1299,6938,6939],{},[763,6940,1210],{},[1299,6942,6943,6944,1219],{},"The operation's perks with how many times each was earned and not revoked (",[763,6945,4208],{},[1278,6947,6948,6953,6957],{},[1299,6949,6950],{},[763,6951,6952],{},"POST \u002Fapi\u002Fadmin\u002Fshifts\u002Foperations\u002F:operationId\u002Fperks",[1299,6954,6955],{},[763,6956,1210],{},[1299,6958,6536,6959,795,6962,799,6964,6966],{},[763,6960,6961],{},"{ name, voucherType, quantity?, teamId? }",[763,6963,5786],{},[763,6965,4177],{}," 1 by default).",[1278,6968,6969,6974,6978],{},[1299,6970,6971],{},[763,6972,6973],{},"PATCH \u002Fapi\u002Fadmin\u002Fshifts\u002Fperks\u002F:perkId",[1299,6975,6976],{},[763,6977,1210],{},[1299,6979,6558,6980,6983],{},[763,6981,6982],{},"{ name?, voucherType?, quantity?, teamId? }","; perks earned before keep theirs.",[1278,6985,6986,6991,6995],{},[1299,6987,6988],{},[763,6989,6990],{},"DELETE \u002Fapi\u002Fadmin\u002Fshifts\u002Fperks\u002F:perkId",[1299,6992,6993],{},[763,6994,1210],{},[1299,6996,6574,6997,5603,6999,7001],{},[763,6998,5808],{},[763,7000,4223],{}," once anybody earned it.",[738,7003,7004,7005,7007,7008,2240,7011,7014],{},"Emails and phone numbers need ",[763,7006,1901],{},"; without it a person has neither field. Reads that leads and volunteers make\nlive under ",[763,7009,7010],{},"\u002Fapi\u002Fshifts",[763,7012,7013],{},"\u002Fapi\u002Fadmin\u002Fshifts"," is for staff.",[767,7016,40],{"id":7017},"database",[738,7019,7020,7021,7024],{},"Tables the module adds. Generate and commit a ",[742,7022,1184],{"href":7023},"\u002Fget-started\u002Fdatabase#migrations"," after installing.",[1272,7026,7027,7037],{},[1275,7028,7029],{},[1278,7030,7031,7034],{},[1281,7032,7033],{},"Table",[1281,7035,7036],{},"Holds",[1294,7038,7039,7111,7136,7174,7219,7254,7297,7323,7350,7382,7407,7445,7465],{},[1278,7040,7041,7046],{},[1299,7042,7043],{},[763,7044,7045],{},"shift_schedules",[1299,7047,7048,7051,7052,799,7054,7057,7058,795,7061,799,7063,7065,7066,795,7068,799,7070,7065,7072,795,7074,799,7076,799,7078,7065,7080,795,7082,799,7084,7065,7086,799,7088,799,7090,7057,7092,7094,7095,799,7098,799,7100,7065,7102,7104,7105,7107,7108,758],{},[763,7049,7050],{},"shs_"," id, ",[763,7053,4027],{},[763,7055,7056],{},"name"," (json), ",[763,7059,7060],{},"status",[763,7062,2074],{},[763,7064,2078],{},"), ",[763,7067,2089],{},[763,7069,2444],{},[763,7071,2448],{},[763,7073,2092],{},[763,7075,2456],{},[763,7077,2460],{},[763,7079,2464],{},[763,7081,2095],{},[763,7083,2472],{},[763,7085,2209],{},[763,7087,2105],{},[763,7089,2109],{},[763,7091,2115],{},[763,7093,3076],{}," (json: ",[763,7096,7097],{},"modes",[763,7099,1707],{},[763,7101,3157],{},[763,7103,6496],{}," (off), ",[763,7106,3401],{}," (30), ",[763,7109,7110],{},"publishedAt",[1278,7112,7113,7118],{},[1299,7114,7115],{},[763,7116,7117],{},"shift_roles",[1299,7119,7120,7051,7123,799,7126,799,7128,7130,7131,7065,7133,7135],{},[763,7121,7122],{},"shr_",[763,7124,7125],{},"scheduleId",[763,7127,3642],{},[763,7129,2167],{}," (the lowest team role, or ",[763,7132,2243],{},[763,7134,7056],{}," (json).",[1278,7137,7138,7142],{},[1299,7139,7140],{},[763,7141,1269],{},[1299,7143,7144,7051,7147,799,7149,799,7151,799,7154,799,7156,799,7159,7094,7161,799,7163,7065,7165,799,7167,7057,7170,7173],{},[763,7145,7146],{},"shf_",[763,7148,7125],{},[763,7150,3642],{},[763,7152,7153],{},"shiftRoleId",[763,7155,3747],{},[763,7157,7158],{},"endsAt",[763,7160,1707],{},[763,7162,7056],{},[763,7164,3291],{},[763,7166,2236],{},[763,7168,7169],{},"notes",[763,7171,7172],{},"closedAt"," (when the close task handled its end).",[1278,7175,7176,7181],{},[1299,7177,7178],{},[763,7179,7180],{},"shift_assignments",[1299,7182,7183,7051,7186,799,7188,799,7191,799,7193,795,7195,799,7197,799,7199,799,7201,7065,7204,7207,7208,799,7211,799,7214,799,7216,758],{},[763,7184,7185],{},"sha_",[763,7187,4048],{},[763,7189,7190],{},"userId",[763,7192,7153],{},[763,7194,7060],{},[763,7196,2258],{},[763,7198,2261],{},[763,7200,3062],{},[763,7202,7203],{},"cancelled",[763,7205,7206],{},"checkInCode"," (unique), ",[763,7209,7210],{},"checkedInAt",[763,7212,7213],{},"checkedInBy",[763,7215,3048],{},[763,7217,7218],{},"assignedBy",[1278,7220,7221,7226],{},[1299,7222,7223],{},[763,7224,7225],{},"shift_swaps",[1299,7227,7228,7051,7231,799,7234,7236,7237,795,7239,799,7241,7065,7243,7245,7246,799,7248,799,7251,758],{},[763,7229,7230],{},"shw_",[763,7232,7233],{},"assignmentId",[763,7235,7190],{}," (who opened it), ",[763,7238,2745],{},[763,7240,2456],{},[763,7242,2460],{},[763,7244,2791],{}," (a targeted trade), ",[763,7247,7060],{},[763,7249,7250],{},"openedAt",[763,7252,7253],{},"decidedAt",[1278,7255,7256,7261],{},[1299,7257,7258],{},[763,7259,7260],{},"shift_swap_offers",[1299,7262,7263,7051,7266,799,7269,799,7271,7274,7275,7277,7278,795,7280,799,7283,799,7285,799,7287,799,7290,7065,7292,799,7294,758],{},[763,7264,7265],{},"sho_",[763,7267,7268],{},"swapId",[763,7270,7190],{},[763,7272,7273],{},"offeredAssignmentId"," (the shift given in a trade; ",[763,7276,2243],{}," takes a released shift over), ",[763,7279,7060],{},[763,7281,7282],{},"offered",[763,7284,2855],{},[763,7286,2943],{},[763,7288,7289],{},"withdrawn",[763,7291,2843],{},[763,7293,7253],{},[763,7295,7296],{},"approvedBy",[1278,7298,7299,7303],{},[1299,7300,7301],{},[763,7302,3759],{},[1299,7304,7305,7051,7308,799,7310,799,7313,799,7315,7318,7319,7322],{},[763,7306,7307],{},"srm_",[763,7309,7233],{},[763,7311,7312],{},"offsetMinutes",[763,7314,7190],{},[763,7316,7317],{},"sentAt","; unique on ",[763,7320,7321],{},"(assignmentId, offsetMinutes)",": the claim of a reminder.",[1278,7324,7325,7329],{},[1299,7326,7327],{},[763,7328,3939],{},[1299,7330,7331,7051,7334,799,7336,7207,7339,799,7342,799,7345,799,7347,758],{},[763,7332,7333],{},"sft_",[763,7335,7190],{},[763,7337,7338],{},"tokenHash",[763,7340,7341],{},"prefix",[763,7343,7344],{},"createdAt",[763,7346,3999],{},[763,7348,7349],{},"revokedAt",[1278,7351,7352,7356],{},[1299,7353,7354],{},[763,7355,4097],{},[1299,7357,7358,7051,7361,799,7363,799,7365,799,7367,799,7369,7057,7371,748,7373,7375,7376,799,7379,758],{},[763,7359,7360],{},"shb_",[763,7362,4027],{},[763,7364,3642],{},[763,7366,4048],{},[763,7368,2167],{},[763,7370,4747],{},[763,7372,4080],{},[763,7374,4083],{}," (json, translated), ",[763,7377,7378],{},"recipientCount",[763,7380,7381],{},"sentBy",[1278,7383,7384,7389],{},[1299,7385,7386],{},[763,7387,7388],{},"shift_perks",[1299,7390,7391,7051,7394,799,7396,795,7398,7400,7401,7057,7403,799,7405,758],{},[763,7392,7393],{},"spk_",[763,7395,4027],{},[763,7397,3642],{},[763,7399,2243],{}," is all teams), ",[763,7402,7056],{},[763,7404,4174],{},[763,7406,4177],{},[1278,7408,7409,7413],{},[1299,7410,7411],{},[763,7412,4166],{},[1299,7414,7415,7051,7418,799,7421,799,7423,799,7425,799,7427,799,7429,799,7432,799,7434,799,7437,7318,7439,7441,7442,758],{},[763,7416,7417],{},"spg_",[763,7419,7420],{},"perkId",[763,7422,7233],{},[763,7424,7190],{},[763,7426,4174],{},[763,7428,4177],{},[763,7430,7431],{},"earnedAt",[763,7433,4282],{},[763,7435,7436],{},"claimClient",[763,7438,7349],{},[763,7440,4170],{},", indexed on ",[763,7443,7444],{},"(userId, claimedAt)",[1278,7446,7447,7452],{},[1299,7448,7449],{},[763,7450,7451],{},"shift_stations",[1299,7453,7454,7051,7457,799,7459,799,7461,7057,7463,758],{},[763,7455,7456],{},"sst_",[763,7458,7125],{},[763,7460,3642],{},[763,7462,7056],{},[763,7464,3291],{},[1278,7466,7467,7471],{},[1299,7468,7469],{},[763,7470,3432],{},[1299,7472,7473,7051,7476,799,7478,799,7480,799,7482,7318,7484,7487],{},[763,7474,7475],{},"sdi_",[763,7477,2745],{},[763,7479,7233],{},[763,7481,3642],{},[763,7483,7317],{},[763,7485,7486],{},"(kind, assignmentId)",": the claim of a digest line.",[738,7489,7490,7491,7494],{},"Operation, team and user ids carry no foreign key: those tables belong to other modules. Every table has a\n",[763,7492,7493],{},".postgresql.ts"," twin, and the schema parity test covers them. Runtime code uses no transactions, except the swap\nexchange on postgres: the conditional writes above keep the rows consistent on both dialects.",[767,7496,493],{"id":7497},"translations",[738,7499,7500,7501,7504,7505,748,7507,7509,7510,7513,7514,758],{},"Override any string in your app's ",[763,7502,7503],{},"i18n\u002Flocales\u002F\u003Ccode>.json",". The module registers ",[763,7506,3793],{},[763,7508,4090],{}," files under ",[763,7511,7512],{},"shifts.*",".\nSee ",[742,7515,7517],{"href":7516},"\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fi18n#overriding-module-strings-in-your-app","overriding module strings",[738,7519,7520,7521,7524,7525,799,7528,799,7531,799,7534,832,7537,799,7540,890,7543,748,7546,7065,7549,799,7552,799,7555,799,7558,799,7561,799,7564,890,7567,799,7570,799,7573,799,7576,799,7579,799,7582,799,7585,799,7588,890,7591,799,7594,799,7597,748,7600,7603,7604,7606,7607,748,7610,7613],{},"Key groups: ",[763,7522,7523],{},"home.*"," (the tab labels), ",[763,7526,7527],{},"mobile.*",[763,7529,7530],{},"permissions.*",[763,7532,7533],{},"scopes.*",[763,7535,7536],{},"admin.*",[763,7538,7539],{},"admin.tabs.*",[763,7541,7542],{},"admin.coverages.*",[763,7544,7545],{},"admin.handovers.*",[763,7547,7548],{},"admin.approvals.*",[763,7550,7551],{},"mine.*",[763,7553,7554],{},"shift.*",[763,7556,7557],{},"swaps.*",[763,7559,7560],{},"lead.*",[763,7562,7563],{},"scanner.*",[763,7565,7566],{},"now.*",[763,7568,7569],{},"statuses.*",[763,7571,7572],{},"swapStatuses.*",[763,7574,7575],{},"swapKinds.*",[763,7577,7578],{},"offerStatuses.*",[763,7580,7581],{},"warnings.*",[763,7583,7584],{},"feed.*",[763,7586,7587],{},"broadcast.*",[763,7589,7590],{},"perks.*",[763,7592,7593],{},"checkIn.*",[763,7595,7596],{},"stations.*",[763,7598,7599],{},"station.*",[763,7601,7602],{},"exceptions.*",". The ",[763,7605,843],{}," resource's permission and scope labels are under\n",[763,7608,7609],{},"perks.permissions.*",[763,7611,7612],{},"perks.scopes.*",". The email texts are the templates'; the digest's are in the module.",[767,7615,7617],{"id":7616},"next-steps","Next steps",[772,7619,7620,7625,7630],{},[775,7621,7622,7624],{},[742,7623,524],{"href":525}," – the operation and venue layout shifts belong to.",[775,7626,7627,7629],{},[742,7628,528],{"href":529}," – where the people on shifts come from.",[775,7631,7632,7634],{},[742,7633,258],{"href":259}," – the team roles and leads shifts checks.",[7636,7637,7638],"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 .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":992,"searchDepth":1052,"depth":1052,"links":7640},[7641,7642,7649,7650,7651,7677,7682,7683,7684,7685,7686],{"id":769,"depth":1052,"text":770},{"id":976,"depth":1052,"text":977,"children":7643},[7644,7645,7646,7647,7648],{"id":984,"depth":1105,"text":985},{"id":1016,"depth":1105,"text":1017},{"id":1176,"depth":1105,"text":1177},{"id":1200,"depth":1105,"text":1201},{"id":1222,"depth":1105,"text":1223},{"id":1262,"depth":1052,"text":1263},{"id":1745,"depth":1052,"text":1746},{"id":2051,"depth":1052,"text":2052,"children":7652},[7653,7654,7655,7656,7657,7658,7659,7660,7661,7662,7663,7664,7665,7666,7667,7668,7669,7670,7671,7672,7673,7674,7675,7676],{"id":2067,"depth":1105,"text":2068},{"id":2160,"depth":1105,"text":2161},{"id":2171,"depth":1105,"text":2172},{"id":2229,"depth":1105,"text":2230},{"id":2432,"depth":1105,"text":2100},{"id":2767,"depth":1105,"text":791},{"id":2950,"depth":1105,"text":2951},{"id":3069,"depth":1105,"text":3070},{"id":3277,"depth":1105,"text":3278},{"id":3350,"depth":1105,"text":3351},{"id":3456,"depth":1105,"text":3457},{"id":3473,"depth":1105,"text":3474},{"id":3578,"depth":1105,"text":3579},{"id":3674,"depth":1105,"text":3675},{"id":3693,"depth":1105,"text":2998},{"id":3722,"depth":1105,"text":3723},{"id":3913,"depth":1105,"text":3914},{"id":4003,"depth":1105,"text":4004},{"id":4128,"depth":1105,"text":4129},{"id":843,"depth":1105,"text":4141},{"id":4639,"depth":1105,"text":3764},{"id":4668,"depth":1105,"text":4669},{"id":4679,"depth":1105,"text":3822},{"id":4771,"depth":1105,"text":872},{"id":4909,"depth":1052,"text":284,"children":7678},[7679,7680,7681],{"id":4912,"depth":1105,"text":105},{"id":5058,"depth":1105,"text":5059},{"id":5159,"depth":1105,"text":5160},{"id":5308,"depth":1052,"text":242},{"id":5686,"depth":1052,"text":2063},{"id":7017,"depth":1052,"text":40},{"id":7497,"depth":1052,"text":493},{"id":7616,"depth":1052,"text":7617},"Schedules, shift roles, assignment, swaps, check-in by pass, station or location, reminders, a calendar feed, broadcasts and earned perks, per operation, built on crew and teams.","md",null,{},true,{"title":532,"description":7687},"Uq6WxE9ykPdtX9MI0qJmzXr5cN-hibVgAe8LvvtL88Y",[7695,7697],{"title":528,"path":529,"stem":530,"description":7696,"children":-1},"Applications, approvals and invite links that turn people into an operation's crew, built on teams.",{"title":547,"path":548,"stem":549,"description":992,"children":-1},1796157346267]