[{"data":1,"prerenderedAt":6897},["ShallowReactive",2],{"navigation_docs":3,"-modules-organisation-teams":732,"-modules-organisation-teams-surround":6892},[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":258,"body":734,"description":6885,"extension":6886,"links":6887,"meta":6888,"navigation":6889,"path":259,"seo":6890,"stem":260,"__hash__":6891},"docs\u002F3.modules\u002F2.organisation\u002F1.teams.md",{"type":735,"value":736,"toc":6847},"minimark",[737,770,788,793,926,930,977,981,1216,1244,1248,1254,1525,1572,2074,2078,2083,2165,2231,2322,2335,2339,2351,2355,2362,2370,2433,2437,2487,2524,2620,2626,2640,2643,2678,2681,2694,2768,2786,2801,2803,2813,2830,2844,2848,2858,2892,2941,2944,2952,3021,3149,3188,3192,3222,3280,3295,3330,3544,3547,3561,3682,3692,3695,3720,3741,3808,3846,3866,3883,3887,3907,4095,4214,4216,4241,4427,4430,4482,4669,4673,4704,4707,4710,4873,4901,4905,4930,4934,4958,5009,5087,5091,5295,5297,5307,5452,5537,5540,5549,6515,6521,6528,6531,6538,6763,6766,6769,6791,6823,6827,6843],[738,739,740,741,745,746,750,751,754,755,758,759,763,764,766,767,769],"p",{},"Teams holds the teams crew work in: the bars of a festival operation, a first aid team of the platform. Each team\nhas a kind, and the kind's ladder holds the roles its members can have. Your app defines its kinds and ladders, such\nas a bar ladder of volunteer, bartender, lead and coordinator. ",[742,743,744],"a",{"href":91},"Staff"," add members by hand, or\nadd mapping rules so that everyone with a global role or a plan holds a team role on their own: a global ",[747,748,749],"code",{},"supervisor","\nis a ",[747,752,753],{},"lead"," in every bar of an operation.\nIt is the source of team roles for the ",[747,756,757],{},"team"," grant kind of Auth's ",[742,760,762],{"href":761},"\u002Fcontribute\u002Fwriting-a-module\u002Faccess-control#record-audiences","record audiences"," and the volunteering\nmodules, such as ",[742,765,528],{"href":529},". For permissions that code checks, use\n",[742,768,207],{"href":208}," instead.",[738,771,772,773,776,777,781,782,784,785,787],{},"The package is ",[747,774,775],{},"@frigear-nu\u002Fteams",". It owns ",[742,778,780],{"href":779},"#owners","owner"," references, and registers the ",[747,783,757],{}," grant kind of\n",[742,786,762],{"href":761},".",[789,790,792],"h2",{"id":791},"what-you-get","What you get",[794,795,796,838,862,868,885,906,918],"ul",{},[797,798,799,803,804,806,807,810,811,814,815,819,820,823,824,827,828,830,831,833,834,837],"li",{},[800,801,802],"strong",{},"Admin area"," (opt-in, with ",[742,805,225],{"href":427},"): a team list at ",[747,808,809],{},"\u002Fadmin\u002Fteams",", filterable by owner,\nand a team page at ",[747,812,813],{},"\u002Fadmin\u002Fteams\u002F:id"," with its members, mapping rules, the ",[742,816,818],{"href":817},"#projects","projects"," it works on and\nthe ladder of its kind; a project list at ",[747,821,822],{},"\u002Fadmin\u002Fprojects"," and a project page at ",[747,825,826],{},"\u002Fadmin\u002Fprojects\u002F:id",". The sidebar entries\nneeds ",[742,829,430],{"href":431},". With ",[742,832,434],{"href":435},", a Teams tab on the operation page of\nOperations (",[747,835,836],{},"@frigear-nu\u002Foperations",").",[797,839,840,843,844,847,848,851,852,847,855,858,859,787],{},[800,841,842],{},"Public pages"," (on by default): a list and a page per team for each public section (",[747,845,846],{},"\u002Fteams"," and ",[747,849,850],{},"\u002Fteams\u002F:slug","),\nand ",[747,853,854],{},"\u002Fprojects",[747,856,857],{},"\u002Fprojects\u002F:slug",", for teams and projects staff made public. Each kind picks its section. Members choose themselves whether they are shown there. See ",[742,860,842],{"href":861},"#public-pages",[797,863,864,867],{},[800,865,866],{},"Server routes"," (on by default): your own teams and roles, the public team reads, a team's page and members, and a staff API for teams,\nmembers, mapping rules and ladders.",[797,869,870,873,874,877,878,847,881,884],{},[800,871,872],{},"Server helpers"," (auto-imported): ",[747,875,876],{},"resolveTeamRoles",", ",[747,879,880],{},"teamMembers",[747,882,883],{},"isTeamLead"," for other modules.",[797,886,887,889,890,877,893,877,896,899,900,847,903,787],{},[800,888,242],{},": ",[747,891,892],{},"teams:member:added",[747,894,895],{},"teams:member:removed",[747,897,898],{},"teams:member:role-changed",", and the provider hooks\n",[747,901,902],{},"teams:roles:resolve",[747,904,905],{},"teams:members:candidates",[797,907,908,911,912,915,916,787],{},[800,909,910],{},"OAuth claim",": a ",[747,913,914],{},"teams"," claim in id tokens and userinfo, with ",[742,917,233],{"href":234},[797,919,920,923,924,787],{},[800,921,922],{},"Emails."," None built in. Send one from ",[747,925,892],{},[927,928],"module-runtime",{":client":929,":server":929},"true",[931,932,933,936,937,877,939,941,942,944,945,936,948,951,952,955,956,936,959,961,962,964,965,967,968,970,971,973,974,976],"note",{},[800,934,935],{},"Installed for you:"," ",[742,938,172],{"href":173},[742,940,199],{"href":200},",\n",[742,943,402],{"href":403}," and Module Kit.\n",[800,946,947],{},"You add:",[747,949,950],{},"@nuxthub\u002Fcore",", and ",[747,953,954],{},"@nuxt\u002Fui"," for the pages.\n",[800,957,958],{},"Optional:",[742,960,225],{"href":427}," for the admin pages, ",[742,963,434],{"href":435}," for the tab on\nthe operation page, ",[742,966,430],{"href":431}," for the sidebar entry,\n",[742,969,275],{"href":276}," for plan rules, ",[742,972,233],{"href":234}," for\nthe claim, and ",[742,975,207],{"href":208}," so mapped members can be listed.",[789,978,980],{"id":979},"quick-setup","Quick setup",[982,983,984,989,1017,1021,1024,1171,1175,1183,1195,1199],"steps",{},[985,986,988],"h3",{"id":987},"install-teams","Install Teams",[990,991,996],"pre",{"className":992,"code":993,"language":994,"meta":995,"style":995},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm add @frigear-nu\u002Fteams @nuxthub\u002Fcore\n","bash","",[747,997,998],{"__ignoreMap":995},[999,1000,1003,1007,1011,1014],"span",{"class":1001,"line":1002},"line",1,[999,1004,1006],{"class":1005},"sBMFI","pnpm",[999,1008,1010],{"class":1009},"sfazB"," add",[999,1012,1013],{"class":1009}," @frigear-nu\u002Fteams",[999,1015,1016],{"class":1009}," @nuxthub\u002Fcore\n",[985,1018,1020],{"id":1019},"add-it-to-nuxtconfigts","Add it to nuxt.config.ts",[738,1022,1023],{},"List Admin (or Widget and Menu) before Teams, so the tab and the menu entry register.",[990,1025,1030],{"className":1026,"code":1027,"filename":1028,"language":1029,"meta":995,"style":995},"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\u002Fteams'],\n  teams: {\n    settings: {\n      pages: { admin: true, adminTeam: true },\n    },\n  },\n})\n","nuxt.config.ts","ts",[747,1031,1032,1053,1097,1108,1118,1150,1156,1162],{"__ignoreMap":995},[999,1033,1034,1038,1041,1045,1049],{"class":1001,"line":1002},[999,1035,1037],{"class":1036},"s7zQu","export",[999,1039,1040],{"class":1036}," default",[999,1042,1044],{"class":1043},"s2Zo4"," defineNuxtConfig",[999,1046,1048],{"class":1047},"sTEyZ","(",[999,1050,1052],{"class":1051},"sMK4o","{\n",[999,1054,1056,1060,1063,1066,1069,1071,1073,1076,1079,1082,1084,1086,1088,1090,1092,1095],{"class":1001,"line":1055},2,[999,1057,1059],{"class":1058},"swJcz","  modules",[999,1061,1062],{"class":1051},":",[999,1064,1065],{"class":1047}," [",[999,1067,1068],{"class":1051},"'",[999,1070,950],{"class":1009},[999,1072,1068],{"class":1051},[999,1074,1075],{"class":1051},",",[999,1077,1078],{"class":1051}," '",[999,1080,1081],{"class":1009},"@frigear-nu\u002Fadmin",[999,1083,1068],{"class":1051},[999,1085,1075],{"class":1051},[999,1087,1078],{"class":1051},[999,1089,775],{"class":1009},[999,1091,1068],{"class":1051},[999,1093,1094],{"class":1047},"]",[999,1096,941],{"class":1051},[999,1098,1100,1103,1105],{"class":1001,"line":1099},3,[999,1101,1102],{"class":1058},"  teams",[999,1104,1062],{"class":1051},[999,1106,1107],{"class":1051}," {\n",[999,1109,1111,1114,1116],{"class":1001,"line":1110},4,[999,1112,1113],{"class":1058},"    settings",[999,1115,1062],{"class":1051},[999,1117,1107],{"class":1051},[999,1119,1121,1124,1126,1129,1132,1134,1138,1140,1143,1145,1147],{"class":1001,"line":1120},5,[999,1122,1123],{"class":1058},"      pages",[999,1125,1062],{"class":1051},[999,1127,1128],{"class":1051}," {",[999,1130,1131],{"class":1058}," admin",[999,1133,1062],{"class":1051},[999,1135,1137],{"class":1136},"sfNiH"," true",[999,1139,1075],{"class":1051},[999,1141,1142],{"class":1058}," adminTeam",[999,1144,1062],{"class":1051},[999,1146,1137],{"class":1136},[999,1148,1149],{"class":1051}," },\n",[999,1151,1153],{"class":1001,"line":1152},6,[999,1154,1155],{"class":1051},"    },\n",[999,1157,1159],{"class":1001,"line":1158},7,[999,1160,1161],{"class":1051},"  },\n",[999,1163,1165,1168],{"class":1001,"line":1164},8,[999,1166,1167],{"class":1051},"}",[999,1169,1170],{"class":1047},")\n",[985,1172,1174],{"id":1173},"generate-the-migration","Generate the migration",[1176,1177,1178,1179,1182],"warning",{},"Without a ",[742,1180,1181],{"href":91},"migration"," the teams tables do not exist, and every request to them fails.",[990,1184,1186],{"className":992,"code":1185,"language":994,"meta":995,"style":995},"pnpm db:generate\n",[747,1187,1188],{"__ignoreMap":995},[999,1189,1190,1192],{"class":1001,"line":1002},[999,1191,1006],{"class":1005},[999,1193,1194],{"class":1009}," db:generate\n",[985,1196,1198],{"id":1197},"decide-who-manages-teams","Decide who manages teams",[1176,1200,1201,1202,1204,1205,1208,1209,1212,1213,837],{},"Staff routes check permissions through ",[742,1203,207],{"href":208},". Without a role that holds\n",[747,1206,1207],{},"teams:manage",", nobody can manage teams. The ",[747,1210,1211],{},"admin"," role holds it when your app defines it; grant it to your own\nroles by name (",[747,1214,1215],{},"authorization.roles.\u003Crole>.grant: ['teams:manage', 'teams:pii']",[1217,1218,1221,1224,1225,1227,1228,1230,1231,1233,1234,847,1236,1239,1240,1243],"callout",{"color":1219,"icon":1220},"success","i-lucide-check",[800,1222,1223],{},"What you should see:"," a coordinator opens an operation's Teams tab and adds \"Main bar\". They add a mapping rule\n\"global role ",[747,1226,749],{}," is ",[747,1229,753],{},"\" for every team of the operation. A user with the global role ",[747,1232,749],{}," now\nsees the bar with the role ",[747,1235,753],{},[747,1237,1238],{},"source: 'mapped'"," at ",[747,1241,1242],{},"GET \u002Fapi\u002Fteams\u002Fme",", without being added.",[789,1245,1247],{"id":1246},"options","Options",[738,1249,1250,1251,1253],{},"Options go under the ",[747,1252,914],{}," key.",[1255,1256,1257,1276],"table",{},[1258,1259,1260],"thead",{},[1261,1262,1263,1267,1270,1273],"tr",{},[1264,1265,1266],"th",{},"Option",[1264,1268,1269],{},"Type",[1264,1271,1272],{},"Default",[1264,1274,1275],{},"Purpose",[1277,1278,1279,1312,1332,1350,1372,1422,1443,1463,1483,1503],"tbody",{},[1261,1280,1281,1287,1292,1305],{},[1282,1283,1284],"td",{},[747,1285,1286],{},"ladders",[1282,1288,1289],{},[747,1290,1291],{},"Record\u003Ckind, { label?, description?, section?, roles, leadFrom? }>",[1282,1293,1294,1295,1298,1299,877,1302,1304],{},"the generic ",[747,1296,1297],{},"default"," ladder (",[747,1300,1301],{},"member",[747,1303,753],{},")",[1282,1306,1307,1308,787],{},"Your app's ladders by team kind, stored on the first request. Your app's ladders sit next to the shipped ones; a kind of the same name replaces the shipped one. Seed only: see ",[742,1309,1311],{"href":1310},"#ladders","Ladders",[1261,1313,1314,1319,1324,1329],{},[1282,1315,1316],{},[747,1317,1318],{},"imageUpload",[1282,1320,1321],{},[747,1322,1323],{},"boolean",[1282,1325,1326],{},[747,1327,1328],{},"false",[1282,1330,1331],{},"An image upload in the staff team and project forms, stored in NuxtHub Blob (turns Blob on) and shown on the public pages.",[1261,1333,1334,1339,1344,1347],{},[1282,1335,1336],{},[747,1337,1338],{},"maxImageBytes",[1282,1340,1341],{},[747,1342,1343],{},"number",[1282,1345,1346],{},"2 MB",[1282,1348,1349],{},"The largest image upload.",[1261,1351,1352,1357,1362,1365],{},[1282,1353,1354],{},[747,1355,1356],{},"seed",[1282,1358,1359],{},[747,1360,1361],{},"{ enabled?, teams?, projects? }",[1282,1363,1364],{},"off, none",[1282,1366,1367,1368,787],{},"Teams and projects to create when their slug is free. See ",[742,1369,1371],{"href":1370},"#seed-teams-and-projects","Seed teams and projects",[1261,1373,1374,1379,1384,1388],{},[1282,1375,1376],{},[747,1377,1378],{},"settings.pages.public",[1282,1380,1381],{},[747,1382,1383],{},"string | boolean",[1282,1385,1386],{},[747,1387,929],{},[1282,1389,1390,1391,1394,1395,1398,1399,951,1403,847,1405,1407,1408,1411,1412,847,1415,1418,1419,1421],{},"The public pages: a list at ",[747,1392,1393],{},"\u002F\u003Csection>"," and a team page at ",[747,1396,1397],{},"\u002F\u003Csection>\u002F:slug"," for every ",[742,1400,1402],{"href":1401},"#sections","section",[747,1404,854],{},[747,1406,857],{},". A string puts them under that prefix (",[747,1409,1410],{},"'\u002Fcrew'"," gives ",[747,1413,1414],{},"\u002Fcrew\u002Fteams",[747,1416,1417],{},"\u002Fcrew\u002Fprojects","); ",[747,1420,1328],{}," turns them off.",[1261,1423,1424,1429,1433,1436],{},[1282,1425,1426],{},[747,1427,1428],{},"settings.pages.admin",[1282,1430,1431],{},[747,1432,1383],{},[1282,1434,1435],{},"off",[1282,1437,1438,1439,1227,1441,787],{},"The staff team list. ",[747,1440,929],{},[747,1442,809],{},[1261,1444,1445,1450,1454,1456],{},[1282,1446,1447],{},[747,1448,1449],{},"settings.pages.adminTeam",[1282,1451,1452],{},[747,1453,1383],{},[1282,1455,1435],{},[1282,1457,1458,1459,1227,1461,787],{},"The staff team page. ",[747,1460,929],{},[747,1462,813],{},[1261,1464,1465,1470,1474,1476],{},[1282,1466,1467],{},[747,1468,1469],{},"settings.pages.adminProjects",[1282,1471,1472],{},[747,1473,1383],{},[1282,1475,1435],{},[1282,1477,1478,1479,1227,1481,787],{},"The staff project list. ",[747,1480,929],{},[747,1482,822],{},[1261,1484,1485,1490,1494,1496],{},[1282,1486,1487],{},[747,1488,1489],{},"settings.pages.adminProject",[1282,1491,1492],{},[747,1493,1383],{},[1282,1495,1435],{},[1282,1497,1498,1499,1227,1501,787],{},"The staff project page. ",[747,1500,929],{},[747,1502,826],{},[1261,1504,1505,1510,1514,1518],{},[1282,1506,1507],{},[747,1508,1509],{},"settings.operationsTab",[1282,1511,1512],{},[747,1513,1323],{},[1282,1515,1516],{},[747,1517,929],{},[1282,1519,1520,1521,1524],{},"Add the Teams tab to the ",[747,1522,1523],{},"admin.operations"," tab area.",[738,1526,1527,936,1531,847,1534,1537,1538,1540,1541,1544,1545,1547,1548,1550,1551,1554,1555,877,1558,877,1561,877,1564,1567,1568,1571],{},[800,1528,1529],{},[747,1530,1286],{},[747,1532,1533],{},"label",[747,1535,1536],{},"description"," (Translated, optional) name the kind in the kind selects of the admin and on\nthe public pages; without a ",[747,1539,1533],{}," the key is shown title-cased (",[747,1542,1543],{},"first-aid"," is \"First aid\"). They are read from the\noption every time, not stored, so changing them applies to a stored ladder too. So is ",[747,1546,1402],{},", the kind's public\n",[742,1549,1402],{"href":1401},". Roles are ",[747,1552,1553],{},"{ key, label }",", lowest first. Keys are lower case (",[747,1556,1557],{},"a-z",[747,1559,1560],{},"0-9",[747,1562,1563],{},"-",[747,1565,1566],{},"_","). ",[747,1569,1570],{},"leadFrom"," is\nthe lowest role that leads a team of that kind. An invalid ladder fails the build. A kind is stored on the first boot\nthat sees it; changing its option later does not overwrite the stored row, so edit a stored ladder in admin.",[990,1573,1575],{"className":1026,"code":1574,"filename":1028,"language":1029,"meta":995,"style":995},"export default defineNuxtConfig({\n  teams: {\n    ladders: {\n      bar: {\n        label: { en: 'Bar', da: 'Bar' },\n        description: { en: 'Serves at the bars of an operation.', da: 'Står i barerne til en operation.' },\n        roles: [\n          { key: 'volunteer', label: { en: 'Volunteer', da: 'Frivillig' } },\n          { key: 'bartender', label: { en: 'Bartender', da: 'Bartender' } },\n          { key: 'lead', label: { en: 'Lead', da: 'Leder' } },\n          { key: 'coordinator', label: { en: 'Coordinator', da: 'Koordinator' } },\n        ],\n        leadFrom: 'lead',\n      },\n      firstaid: {\n        roles: [{ key: 'helper', label: { en: 'Helper', da: 'Hjælper' } }, { key: 'medic', label: 'Medic' }],\n        leadFrom: 'medic',\n      },\n    },\n  },\n})\n",[747,1576,1577,1589,1597,1606,1615,1651,1686,1696,1751,1802,1853,1905,1913,1929,1935,1945,2037,2052,2057,2062,2067],{"__ignoreMap":995},[999,1578,1579,1581,1583,1585,1587],{"class":1001,"line":1002},[999,1580,1037],{"class":1036},[999,1582,1040],{"class":1036},[999,1584,1044],{"class":1043},[999,1586,1048],{"class":1047},[999,1588,1052],{"class":1051},[999,1590,1591,1593,1595],{"class":1001,"line":1055},[999,1592,1102],{"class":1058},[999,1594,1062],{"class":1051},[999,1596,1107],{"class":1051},[999,1598,1599,1602,1604],{"class":1001,"line":1099},[999,1600,1601],{"class":1058},"    ladders",[999,1603,1062],{"class":1051},[999,1605,1107],{"class":1051},[999,1607,1608,1611,1613],{"class":1001,"line":1110},[999,1609,1610],{"class":1058},"      bar",[999,1612,1062],{"class":1051},[999,1614,1107],{"class":1051},[999,1616,1617,1620,1622,1624,1627,1629,1631,1634,1636,1638,1641,1643,1645,1647,1649],{"class":1001,"line":1120},[999,1618,1619],{"class":1058},"        label",[999,1621,1062],{"class":1051},[999,1623,1128],{"class":1051},[999,1625,1626],{"class":1058}," en",[999,1628,1062],{"class":1051},[999,1630,1078],{"class":1051},[999,1632,1633],{"class":1009},"Bar",[999,1635,1068],{"class":1051},[999,1637,1075],{"class":1051},[999,1639,1640],{"class":1058}," da",[999,1642,1062],{"class":1051},[999,1644,1078],{"class":1051},[999,1646,1633],{"class":1009},[999,1648,1068],{"class":1051},[999,1650,1149],{"class":1051},[999,1652,1653,1656,1658,1660,1662,1664,1666,1669,1671,1673,1675,1677,1679,1682,1684],{"class":1001,"line":1152},[999,1654,1655],{"class":1058},"        description",[999,1657,1062],{"class":1051},[999,1659,1128],{"class":1051},[999,1661,1626],{"class":1058},[999,1663,1062],{"class":1051},[999,1665,1078],{"class":1051},[999,1667,1668],{"class":1009},"Serves at the bars of an operation.",[999,1670,1068],{"class":1051},[999,1672,1075],{"class":1051},[999,1674,1640],{"class":1058},[999,1676,1062],{"class":1051},[999,1678,1078],{"class":1051},[999,1680,1681],{"class":1009},"Står i barerne til en operation.",[999,1683,1068],{"class":1051},[999,1685,1149],{"class":1051},[999,1687,1688,1691,1693],{"class":1001,"line":1158},[999,1689,1690],{"class":1058},"        roles",[999,1692,1062],{"class":1051},[999,1694,1695],{"class":1047}," [\n",[999,1697,1698,1701,1704,1706,1708,1711,1713,1715,1718,1720,1722,1724,1726,1728,1731,1733,1735,1737,1739,1741,1744,1746,1749],{"class":1001,"line":1164},[999,1699,1700],{"class":1051},"          {",[999,1702,1703],{"class":1058}," key",[999,1705,1062],{"class":1051},[999,1707,1078],{"class":1051},[999,1709,1710],{"class":1009},"volunteer",[999,1712,1068],{"class":1051},[999,1714,1075],{"class":1051},[999,1716,1717],{"class":1058}," label",[999,1719,1062],{"class":1051},[999,1721,1128],{"class":1051},[999,1723,1626],{"class":1058},[999,1725,1062],{"class":1051},[999,1727,1078],{"class":1051},[999,1729,1730],{"class":1009},"Volunteer",[999,1732,1068],{"class":1051},[999,1734,1075],{"class":1051},[999,1736,1640],{"class":1058},[999,1738,1062],{"class":1051},[999,1740,1078],{"class":1051},[999,1742,1743],{"class":1009},"Frivillig",[999,1745,1068],{"class":1051},[999,1747,1748],{"class":1051}," }",[999,1750,1149],{"class":1051},[999,1752,1754,1756,1758,1760,1762,1765,1767,1769,1771,1773,1775,1777,1779,1781,1784,1786,1788,1790,1792,1794,1796,1798,1800],{"class":1001,"line":1753},9,[999,1755,1700],{"class":1051},[999,1757,1703],{"class":1058},[999,1759,1062],{"class":1051},[999,1761,1078],{"class":1051},[999,1763,1764],{"class":1009},"bartender",[999,1766,1068],{"class":1051},[999,1768,1075],{"class":1051},[999,1770,1717],{"class":1058},[999,1772,1062],{"class":1051},[999,1774,1128],{"class":1051},[999,1776,1626],{"class":1058},[999,1778,1062],{"class":1051},[999,1780,1078],{"class":1051},[999,1782,1783],{"class":1009},"Bartender",[999,1785,1068],{"class":1051},[999,1787,1075],{"class":1051},[999,1789,1640],{"class":1058},[999,1791,1062],{"class":1051},[999,1793,1078],{"class":1051},[999,1795,1783],{"class":1009},[999,1797,1068],{"class":1051},[999,1799,1748],{"class":1051},[999,1801,1149],{"class":1051},[999,1803,1805,1807,1809,1811,1813,1815,1817,1819,1821,1823,1825,1827,1829,1831,1834,1836,1838,1840,1842,1844,1847,1849,1851],{"class":1001,"line":1804},10,[999,1806,1700],{"class":1051},[999,1808,1703],{"class":1058},[999,1810,1062],{"class":1051},[999,1812,1078],{"class":1051},[999,1814,753],{"class":1009},[999,1816,1068],{"class":1051},[999,1818,1075],{"class":1051},[999,1820,1717],{"class":1058},[999,1822,1062],{"class":1051},[999,1824,1128],{"class":1051},[999,1826,1626],{"class":1058},[999,1828,1062],{"class":1051},[999,1830,1078],{"class":1051},[999,1832,1833],{"class":1009},"Lead",[999,1835,1068],{"class":1051},[999,1837,1075],{"class":1051},[999,1839,1640],{"class":1058},[999,1841,1062],{"class":1051},[999,1843,1078],{"class":1051},[999,1845,1846],{"class":1009},"Leder",[999,1848,1068],{"class":1051},[999,1850,1748],{"class":1051},[999,1852,1149],{"class":1051},[999,1854,1856,1858,1860,1862,1864,1867,1869,1871,1873,1875,1877,1879,1881,1883,1886,1888,1890,1892,1894,1896,1899,1901,1903],{"class":1001,"line":1855},11,[999,1857,1700],{"class":1051},[999,1859,1703],{"class":1058},[999,1861,1062],{"class":1051},[999,1863,1078],{"class":1051},[999,1865,1866],{"class":1009},"coordinator",[999,1868,1068],{"class":1051},[999,1870,1075],{"class":1051},[999,1872,1717],{"class":1058},[999,1874,1062],{"class":1051},[999,1876,1128],{"class":1051},[999,1878,1626],{"class":1058},[999,1880,1062],{"class":1051},[999,1882,1078],{"class":1051},[999,1884,1885],{"class":1009},"Coordinator",[999,1887,1068],{"class":1051},[999,1889,1075],{"class":1051},[999,1891,1640],{"class":1058},[999,1893,1062],{"class":1051},[999,1895,1078],{"class":1051},[999,1897,1898],{"class":1009},"Koordinator",[999,1900,1068],{"class":1051},[999,1902,1748],{"class":1051},[999,1904,1149],{"class":1051},[999,1906,1908,1911],{"class":1001,"line":1907},12,[999,1909,1910],{"class":1047},"        ]",[999,1912,941],{"class":1051},[999,1914,1916,1919,1921,1923,1925,1927],{"class":1001,"line":1915},13,[999,1917,1918],{"class":1058},"        leadFrom",[999,1920,1062],{"class":1051},[999,1922,1078],{"class":1051},[999,1924,753],{"class":1009},[999,1926,1068],{"class":1051},[999,1928,941],{"class":1051},[999,1930,1932],{"class":1001,"line":1931},14,[999,1933,1934],{"class":1051},"      },\n",[999,1936,1938,1941,1943],{"class":1001,"line":1937},15,[999,1939,1940],{"class":1058},"      firstaid",[999,1942,1062],{"class":1051},[999,1944,1107],{"class":1051},[999,1946,1948,1950,1952,1954,1957,1959,1961,1963,1966,1968,1970,1972,1974,1976,1978,1980,1982,1985,1987,1989,1991,1993,1995,1998,2000,2002,2005,2007,2009,2011,2013,2016,2018,2020,2022,2024,2026,2029,2031,2033,2035],{"class":1001,"line":1947},16,[999,1949,1690],{"class":1058},[999,1951,1062],{"class":1051},[999,1953,1065],{"class":1047},[999,1955,1956],{"class":1051},"{",[999,1958,1703],{"class":1058},[999,1960,1062],{"class":1051},[999,1962,1078],{"class":1051},[999,1964,1965],{"class":1009},"helper",[999,1967,1068],{"class":1051},[999,1969,1075],{"class":1051},[999,1971,1717],{"class":1058},[999,1973,1062],{"class":1051},[999,1975,1128],{"class":1051},[999,1977,1626],{"class":1058},[999,1979,1062],{"class":1051},[999,1981,1078],{"class":1051},[999,1983,1984],{"class":1009},"Helper",[999,1986,1068],{"class":1051},[999,1988,1075],{"class":1051},[999,1990,1640],{"class":1058},[999,1992,1062],{"class":1051},[999,1994,1078],{"class":1051},[999,1996,1997],{"class":1009},"Hjælper",[999,1999,1068],{"class":1051},[999,2001,1748],{"class":1051},[999,2003,2004],{"class":1051}," },",[999,2006,1128],{"class":1051},[999,2008,1703],{"class":1058},[999,2010,1062],{"class":1051},[999,2012,1078],{"class":1051},[999,2014,2015],{"class":1009},"medic",[999,2017,1068],{"class":1051},[999,2019,1075],{"class":1051},[999,2021,1717],{"class":1058},[999,2023,1062],{"class":1051},[999,2025,1078],{"class":1051},[999,2027,2028],{"class":1009},"Medic",[999,2030,1068],{"class":1051},[999,2032,1748],{"class":1051},[999,2034,1094],{"class":1047},[999,2036,941],{"class":1051},[999,2038,2040,2042,2044,2046,2048,2050],{"class":1001,"line":2039},17,[999,2041,1918],{"class":1058},[999,2043,1062],{"class":1051},[999,2045,1078],{"class":1051},[999,2047,2015],{"class":1009},[999,2049,1068],{"class":1051},[999,2051,941],{"class":1051},[999,2053,2055],{"class":1001,"line":2054},18,[999,2056,1934],{"class":1051},[999,2058,2060],{"class":1001,"line":2059},19,[999,2061,1155],{"class":1051},[999,2063,2065],{"class":1001,"line":2064},20,[999,2066,1161],{"class":1051},[999,2068,2070,2072],{"class":1001,"line":2069},21,[999,2071,1167],{"class":1051},[999,2073,1170],{"class":1047},[789,2075,2077],{"id":2076},"permissions","Permissions",[738,2079,2080,2081,787],{},"Teams registers these permissions with ",[742,2082,207],{"href":208},[1255,2084,2085,2101],{},[1258,2086,2087],{},[1261,2088,2089,2092,2095,2098],{},[1264,2090,2091],{},"Name",[1264,2093,2094],{},"Flags",[1264,2096,2097],{},"Held by default",[1264,2099,2100],{},"What it allows",[1277,2102,2103,2119,2133,2148],{},[1261,2104,2105,2110,2113,2116],{},[1282,2106,2107],{},[747,2108,2109],{},"teams:read",[1282,2111,2112],{},"implicit",[1282,2114,2115],{},"every signed-in user",[1282,2117,2118],{},"Read the teams you belong to, your role and who else is on them.",[1261,2120,2121,2126,2128,2130],{},[1282,2122,2123],{},[747,2124,2125],{},"teams:lead",[1282,2127,2112],{},[1282,2129,2115],{},[1282,2131,2132],{},"Lead the teams where you hold a lead role. Other modules check it on a team.",[1261,2134,2135,2139,2141,2145],{},[1282,2136,2137],{},[747,2138,1207],{},[1282,2140],{},[1282,2142,2143],{},[747,2144,1211],{},[1282,2146,2147],{},"Create teams, manage members, mapping rules and ladders.",[1261,2149,2150,2155,2158,2162],{},[1282,2151,2152],{},[747,2153,2154],{},"teams:pii",[1282,2156,2157],{},"sensitive",[1282,2159,2160],{},[747,2161,1211],{},[1282,2163,2164],{},"See the email addresses of team members.",[794,2166,2167,2182,2201,2215],{},[797,2168,2169,2172,2173,2175,2176,2178,2179,2181],{},[800,2170,2171],{},"Scope:"," a token may use the named scope ",[747,2174,914],{}," or ",[747,2177,2109],{}," itself. Either reads your teams and their\nmembers, never the staff routes. ",[747,2180,2154],{}," is usable as a scope too.",[797,2183,2184,2189,2190,2193,2194,847,2197,2200],{},[800,2185,2186,2187,1062],{},"Why ",[747,2188,2154],{}," a member list shows names and avatars to everyone on the team. Emails are other people's\ncontact details, so they sit behind a separate grant. It ends in ",[747,2191,2192],{},":pii",", so it is sensitive: ",[747,2195,2196],{},"teams:*",[747,2198,2199],{},"*","\nnever cover it, and it is only held when granted by name.",[797,2202,2203,2208,2209,2211,2212,787],{},[800,2204,2205,2206,1062],{},"Policy on ",[747,2207,2109],{}," a team is readable by the people who hold a role on it, explicit or mapped, and by\ncallers with ",[747,2210,1207],{},". Anyone else gets ",[747,2213,2214],{},"403",[797,2216,2217,2221,2222,2224,2225,2227,2228,787],{},[800,2218,2205,2219,1062],{},[747,2220,2125],{}," the caller holds a role on the record's team at or above the ladder's ",[747,2223,1570],{}," (",[747,2226,753],{},"\nand up on the bar ladder above), explicit or mapped. The record is a team, or any record with a ",[747,2229,2230],{},"teamId",[990,2232,2234],{"className":1026,"code":2233,"language":1029,"meta":995,"style":995},"\u002F\u002F In another module's policy, for a record with a teamId:\ndefinePolicy('shifts:lead', async ({ event, user, record }) => record ? isTeamLead(event, user.id, record.teamId) : undefined)\n",[747,2235,2236,2242],{"__ignoreMap":995},[999,2237,2238],{"class":1001,"line":1002},[999,2239,2241],{"class":2240},"sHwdD","\u002F\u002F In another module's policy, for a record with a teamId:\n",[999,2243,2244,2247,2249,2251,2254,2256,2258,2262,2265,2269,2271,2274,2276,2279,2282,2285,2288,2291,2294,2297,2299,2301,2303,2306,2308,2310,2312,2315,2317,2320],{"class":1001,"line":1055},[999,2245,2246],{"class":1043},"definePolicy",[999,2248,1048],{"class":1047},[999,2250,1068],{"class":1051},[999,2252,2253],{"class":1009},"shifts:lead",[999,2255,1068],{"class":1051},[999,2257,1075],{"class":1051},[999,2259,2261],{"class":2260},"spNyl"," async",[999,2263,2264],{"class":1051}," ({",[999,2266,2268],{"class":2267},"sHdIc"," event",[999,2270,1075],{"class":1051},[999,2272,2273],{"class":2267}," user",[999,2275,1075],{"class":1051},[999,2277,2278],{"class":2267}," record",[999,2280,2281],{"class":1051}," })",[999,2283,2284],{"class":2260}," =>",[999,2286,2287],{"class":1047}," record ",[999,2289,2290],{"class":1051},"?",[999,2292,2293],{"class":1043}," isTeamLead",[999,2295,2296],{"class":1047},"(event",[999,2298,1075],{"class":1051},[999,2300,2273],{"class":1047},[999,2302,787],{"class":1051},[999,2304,2305],{"class":1047},"id",[999,2307,1075],{"class":1051},[999,2309,2278],{"class":1047},[999,2311,787],{"class":1051},[999,2313,2314],{"class":1047},"teamId) ",[999,2316,1062],{"class":1051},[999,2318,2319],{"class":1051}," undefined",[999,2321,1170],{"class":1047},[738,2323,2324,847,2326,2329,2330,2334],{},[747,2325,883],{},[747,2327,2328],{},"teamGrantOf"," load the caller's team roles once per request and answer later checks from that, so a\npolicy that calls them\n",[742,2331,2333],{"href":2332},"\u002Fmodules\u002Fidentity\u002Fauthorization\u002Fpolicies#keep-the-database-out-of-policies","stays off the database"," after the first\ncheck. A list of the caller's teams filters in its query instead.",[789,2336,2338],{"id":2337},"server","Server",[738,2340,2341,2342,2345,2346,2350],{},"Everything under ",[747,2343,2344],{},"\u002Fapi"," is in the ",[742,2347,2349],{"href":2348},"#routes","Routes"," section. This section covers what other modules build on.",[985,2352,2354],{"id":2353},"role-ladder","Role ladder",[738,2356,2357,2358,2361],{},"A person climbs a ladder of ",[742,2359,2360],{"href":91},"team roles"," on a team. Staff above it hold global roles.",[990,2363,2368],{"className":2364,"code":2366,"language":2367,"meta":995},[2365],"language-text","volunteer → bartender → lead → coordinator   team roles, per team (Teams)\nadmin, and your app's own global roles       global roles (Authorization)\n","text",[747,2369,2366],{"__ignoreMap":995},[794,2371,2372,2378,2398,2415],{},[797,2373,2374,2377],{},[800,2375,2376],{},"Team roles are held per team."," A person can be a lead at one bar and a volunteer at another. Teams stores explicit\nmemberships and resolves mapped ones when they are read.",[797,2379,2380,2383,2384,2386,2387,877,2389,2391,2392,2397],{},[800,2381,2382],{},"Ladders are per team kind",", lowest first, with keys in lower case. The module ships one generic ",[747,2385,1297],{}," ladder\n(",[747,2388,1301],{},[747,2390,753],{},"); your app defines its own kinds, such as the bar ladder above or first aid, with the\n",[742,2393,2395],{"href":2394},"#options",[747,2396,1286],{}," option.",[797,2399,2400,2403,2404,2406,2407,2410,2411,837],{},[800,2401,2402],{},"A grant can reach a whole kind."," A ",[747,2405,757],{}," grant names one team or every team of a kind; the kind's ladder decides\nwho is at or above its ",[747,2408,2409],{},"minRole"," (see ",[742,2412,2414],{"href":2413},"#grants","Grants",[797,2416,2417,2422,2423,2427,2428,2430,2431,787],{},[800,2418,2419,2420,787],{},"Global roles stay in ",[742,2421,207],{"href":208}," They grant staff permissions, and\n",[742,2424,2426],{"href":2425},"#mapping-rules","mapping rules"," turn them into team roles: a global ",[747,2429,749],{}," is a ",[747,2432,753],{},[985,2434,2436],{"id":2435},"team-roles","Team roles",[990,2438,2440],{"className":1026,"code":2439,"language":1029,"meta":995,"style":995},"resolveTeamRoles(event, userId, { type: 'operation', id: operationId }) \u002F\u002F TeamRoleGrant[] on that owner\n",[747,2441,2442],{"__ignoreMap":995},[999,2443,2444,2446,2448,2450,2453,2455,2457,2460,2462,2464,2467,2469,2471,2474,2476,2479,2481,2484],{"class":1001,"line":1002},[999,2445,876],{"class":1043},[999,2447,2296],{"class":1047},[999,2449,1075],{"class":1051},[999,2451,2452],{"class":1047}," userId",[999,2454,1075],{"class":1051},[999,2456,1128],{"class":1051},[999,2458,2459],{"class":1058}," type",[999,2461,1062],{"class":1051},[999,2463,1078],{"class":1051},[999,2465,2466],{"class":1009},"operation",[999,2468,1068],{"class":1051},[999,2470,1075],{"class":1051},[999,2472,2473],{"class":1058}," id",[999,2475,1062],{"class":1051},[999,2477,2478],{"class":1047}," operationId ",[999,2480,1167],{"class":1051},[999,2482,2483],{"class":1047},") ",[999,2485,2486],{"class":2240},"\u002F\u002F TeamRoleGrant[] on that owner\n",[738,2488,2489,2490,951,2493,1227,2496,2175,2499,2502,2503,2506,2507,2510,2511,2514,2515,2517,2518,2520,2521,2523],{},"A grant is ",[747,2491,2492],{},"{ ownerType, ownerId, teamId, kind, role, source }",[747,2494,2495],{},"source",[747,2497,2498],{},"explicit",[747,2500,2501],{},"mapped",". ",[747,2504,2505],{},"ownerId"," is\n",[747,2508,2509],{},"null"," for a platform-owned team, as in an ",[747,2512,2513],{},"OwnerRef",". Modules that only need to know who may see a record never\ncall ",[747,2516,876],{},": they store a ",[747,2519,757],{}," grant and let Auth evaluate it (see\n",[742,2522,2414],{"href":2413},"), so they do not import teams.",[2525,2526,2527,2550,2587,2603,2613],"ol",{},[797,2528,2529,2532,2533,2536,2537,1227,2540,2175,2542,2545,2546,787],{},[800,2530,2531],{},"Explicit memberships"," are the rows of ",[747,2534,2535],{},"team_members"," whose ",[747,2538,2539],{},"status",[747,2541,2509],{},[747,2543,2544],{},"'active'",". They come first.\nSee ",[742,2547,2549],{"href":2548},"#membership-status","Membership status",[797,2551,2552,2555,2556,2559,2560,2563,2564,2567,2568,2571,2572,2575,2576,2578,2579,2582,2583,2586],{},[800,2553,2554],{},"Mapping rules"," give the other teams a mapped grant. A ",[747,2557,2558],{},"role"," rule matches a global role of the user, closed over\n",[747,2561,2562],{},"inherit",", from Auth's ",[747,2565,2566],{},"getEffectiveRoles",", unless the user also holds one of the rule's ",[747,2569,2570],{},"except"," roles. A ",[747,2573,2574],{},"plan","\nrule matches an active subscription. Listeners of ",[747,2577,902],{}," add more. In the rule form staff pick the role with Authorization's ",[747,2580,2581],{},"RoleSelect"," and the\nplan with Subscriptions' ",[747,2584,2585],{},"PlanSelect"," when those modules are installed, and type the key otherwise.",[797,2588,2589,2592,2593,2595,2596,2175,2599,2602],{},[800,2590,2591],{},"Explicit beats mapped"," on the same team, whatever the rule. Any explicit row counts, whatever its ",[747,2594,2539],{},": a\n",[747,2597,2598],{},"pending",[747,2600,2601],{},"inactive"," member gets no mapped role on that team either.",[797,2604,2605,2608,2609,2612],{},[800,2606,2607],{},"Between mapped rules"," on one team, the highest ",[747,2610,2611],{},"priority"," wins, then the higher role on the ladder.",[797,2614,2615,2616,2619],{},"A rule whose ",[747,2617,2618],{},"teamRole"," is not on a team's ladder skips that team.",[738,2621,2622,2623,2625],{},"Mapped grants are never stored. Every request reads the rules and the user's roles again, and caches the result for\nthe rest of that request. ",[747,2624,902],{}," fires only when there are rules in play: a source with no rule rows\ngives no grants.",[738,2627,2628,2403,2631,2633,2634,2636,2637,2639],{},[800,2629,2630],{},"Errors fail closed.",[747,2632,902],{}," listener that throws loses the grants it pushed (and so do the\nlisteners after it); the explicit memberships and teams' own role rules still count. A plan that cannot be checked is\nnot held. A ",[747,2635,757],{}," grant admits nobody, and the OAuth claim is left out, when resolution fails; the claim is also left\nout when a ",[747,2638,902],{}," listener throws, rather than issued without that listener's teams. Each failure is\nlogged.",[985,2641,2549],{"id":2642},"membership-status",[738,2644,2645,2647,2648,1227,2650,2175,2652,2654,2655,2175,2658,2661,2662,2664,2665,2667,2668,2670,2671,847,2674,2677],{},[747,2646,2539],{}," on a membership belongs to the module that uses it: crew sets it next to its own crew status. Teams reads\none thing from it: a row grants its role only when ",[747,2649,2539],{},[747,2651,2509],{},[747,2653,2544],{},". Any other value, such as\n",[747,2656,2657],{},"'pending'",[747,2659,2660],{},"'inactive'",", keeps the person listed on the team for staff and leads, with the status, without a\ngrant: they cannot read the team, do not lead it, and no ",[747,2663,757],{}," grant admits them. The row also overrides mapping, so a\nmapping rule gives them no role on that team. The members list shows such rows, and every row's ",[747,2666,2539],{},", only to callers\nwith ",[747,2669,1207],{}," or a lead role on the team; other members see only the rows that grant. ",[747,2672,2673],{},"isTeamLead(event, userId, teamId)",[747,2675,2676],{},"teamMembers(event, teamId, { mapped })"," use the same\ncache.",[985,2679,2554],{"id":2680},"mapping-rules",[738,2682,2683,2684,847,2687,2689,2690,2693],{},"A rule belongs to an owner, like a team: ",[747,2685,2686],{},"ownerType",[747,2688,2505],{},", with ",[747,2691,2692],{},"ownerId: null"," for the platform.",[1255,2695,2696,2706],{},[1258,2697,2698],{},[1261,2699,2700,2703],{},[1264,2701,2702],{},"Field",[1264,2704,2705],{},"Value",[1277,2707,2708,2720,2746,2755],{},[1261,2709,2710,2714],{},[1282,2711,2712],{},[747,2713,2230],{},[1282,2715,2716,2717,2719],{},"One team of the owner, or ",[747,2718,2509],{}," for every team of the owner.",[1261,2721,2722,2727],{},[1282,2723,2724],{},[747,2725,2726],{},"match",[1282,2728,2729,2175,2732,2735,2736,2739,2740,2742,2743,2745],{},[747,2730,2731],{},"{ role: 'supervisor' }",[747,2733,2734],{},"{ plan: 'yearly' }",", exactly one of the two; anything else is ",[747,2737,2738],{},"400",". A ",[747,2741,2558],{}," match may add ",[747,2744,2570],{},": global roles whose holders it leaves out.",[1261,2747,2748,2752],{},[1282,2749,2750],{},[747,2751,2618],{},[1282,2753,2754],{},"A role key of the team's ladder. For every team, a key of at least one ladder.",[1261,2756,2757,2761],{},[1282,2758,2759],{},[747,2760,2611],{},[1282,2762,2763,2764,2767],{},"An integer, ",[747,2765,2766],{},"0"," by default. Higher wins.",[738,2769,2770,2771,2773,2774,2776,2777,2779,2780,2783,2784,787],{},"A role rule matches the roles that inherit its role too, so a rule for ",[747,2772,749],{}," also maps every ",[747,2775,1211],{}," when admin\ninherits supervisor. ",[747,2778,2570],{}," leaves them out, inheritance included: ",[747,2781,2782],{},"{ role: 'supervisor', except: ['manager'] }","\nmatches supervisors but not managers or the roles above them. The rule's own role cannot be in ",[747,2785,2570],{},[738,2787,2788,2790,2791,2793,2794,2796,2797,2800],{},[747,2789,2558],{}," rules work out of the box. ",[747,2792,2574],{}," rules need ",[742,2795,275],{"href":276},": Teams answers\nthem from a server plugin it registers only then, with ",[747,2798,2799],{},"hasActiveSubscription",". Plans are identified by their plan key.",[985,2802,1311],{"id":1286},[738,2804,2805,2806,2809,2810,2812],{},"Each team kind has one ladder in ",[747,2807,2808],{},"team_role_ladders",". The module option's ladders, and the ",[747,2811,1297],{}," one the module\nships, are stored on the first request when their kind has no row yet. They are never overwritten, so admins may edit them.\nUntil a kind is stored, the option's ladder applies.",[1176,2814,2815,2816,2818,2819,2822,2823,2825,2826,2829],{},"The ",[747,2817,1286],{}," option only seeds. Once a kind is stored, the stored row wins, edited or not: adding a role to that kind\nin ",[747,2820,2821],{},"nuxt.config",", or changing its ",[747,2824,1570],{},", changes nothing. Edit a stored ladder in the admin (the team page, or\n",[747,2827,2828],{},"PUT \u002Fapi\u002Fadmin\u002Fteams\u002Fladders\u002F:kind","). A kind that is new in the option is still stored on the first request after the\nnext start.",[738,2831,2832,2833,2836,2837,2840,2841,787],{},"A ladder cannot drop a role that an explicit member of a team of that kind holds, that a rule for one such team maps\nto, or that a rule for every team of an owner maps to when that owner has a team of the kind: ",[747,2834,2835],{},"409"," with the code\n",[747,2838,2839],{},"team_role_in_use"," and the roles in ",[747,2842,2843],{},"data.roles",[985,2845,2847],{"id":2846},"members","Members",[738,2849,2850,2853,2854,2857],{},[747,2851,2852],{},"teamMembers(event, teamId, { mapped?, pii? })"," lists the explicit members, highest role first. With ",[747,2855,2856],{},"mapped: true"," it\nalso lists the people a rule gives a role on the team. Mapped members are not rows, so Teams finds the candidates and\nchecks each one:",[794,2859,2860,2876,2886],{},[797,2861,2862,2863,2502,2869,2871,2872,2875],{},"the holders of a role the team's rules name, or of a role that inherits one, from Auth's\n",[742,2864,2866],{"href":2865},"\u002Fmodules\u002Fidentity\u002Fauth\u002Fserver#who-holds-a-role",[747,2867,2868],{},"listRoleHolders",[742,2870,207],{"href":208},"\nprovides them; without it (or another role provider with ",[747,2873,2874],{},"holders",") nobody is listed this way;",[797,2877,2878,2879,2175,2882,2885],{},"users with an entitled subscription (",[747,2880,2881],{},"active",[747,2883,2884],{},"trialing",", not ended) to a plan the rules name, when\nSubscriptions is installed;",[797,2887,2888,2889,2891],{},"the user ids that ",[747,2890,905],{}," listeners add.",[738,2893,2894,2895,2898,2899,2902,2903,2906,2907,847,2910,2913,2914,2917,2918,2920,2921,2923,2924,2926,2927,2930,2931,2934,2935,2937,2938,2940],{},"A role that comes only from ",[747,2896,2897],{},"defaultRoles",", an ",[747,2900,2901],{},"auto"," role or an ",[747,2904,2905],{},"authorization:roles"," listener cannot be enumerated,\nso those people are not listed, although they do hold the role. At most 1000 candidates are checked, in bulk: Teams\nloads the candidates and their assigned roles at once (Auth's ",[747,2908,2909],{},"loadAuthUsers",[747,2911,2912],{},"primeAssignedRoles",", through the role\nprovider's ",[747,2915,2916],{},"assignedRolesOf","), checks ",[747,2919,2558],{}," rules in memory and ",[747,2922,2574],{}," rules with one Subscriptions query, so the\nnumber of statements does not grow with the candidates (each lookup is chunked for D1). Rules of other kinds go to the\n",[747,2925,902],{}," listeners once per candidate (see ",[742,2928,242],{"href":2929},"#hooks","). That is why\nmapped members are on demand only: ",[747,2932,2933],{},"?include=mapped"," on the API (staff with ",[747,2936,1207],{}," and the team's leads,\n",[747,2939,2214],{}," for anyone else), and a switch on the team page that starts off. A candidate source that fails is logged and\nadds nobody.",[985,2942,2414],{"id":2943},"grants",[738,2945,2946,2947,2949,2950,1062],{},"Teams registers the ",[747,2948,757],{}," kind of Auth's ",[742,2951,762],{"href":761},[1255,2953,2954,2971],{},[1258,2955,2956],{},[1261,2957,2958,2961,2964,2967],{},[1264,2959,2960],{},"Kind",[1264,2962,2963],{},"Keys",[1264,2965,2966],{},"Admits",[1264,2968,2969],{},[747,2970,2846],{},[1277,2972,2973,2999],{},[1261,2974,2975,2979,2985,2991],{},[1282,2976,2977],{},[747,2978,757],{},[1282,2980,2981,877,2983],{},[747,2982,2230],{},[747,2984,2409],{},[1282,2986,2987,2988,2990],{},"Signed-in users holding ",[747,2989,2409],{},", or a role above it on the ladder of the team's kind, on that team. Explicit and mapped roles count; a membership whose status gives no grant does not.",[1282,2992,2993,2994,2996,2997,837],{},"The team's members at or above ",[747,2995,2409],{},", mapped ones included (see ",[747,2998,880],{},[1261,3000,3001,3005,3012,3015],{},[1282,3002,3003],{},[747,3004,757],{},[1282,3006,3007,877,3010],{},[747,3008,3009],{},"teamKind",[747,3011,2409],{},[1282,3013,3014],{},"The same on any team of that kind, whoever owns it: every bar of every operation.",[1282,3016,3017,3018,3020],{},"The members at or above ",[747,3019,2409],{}," of every team of the kind.",[990,3022,3026],{"className":3023,"code":3024,"language":3025,"meta":995,"style":995},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","[\n  { \"kind\": \"team\", \"teamId\": \"tem_123\", \"minRole\": \"lead\" },\n  { \"kind\": \"team\", \"teamKind\": \"bar\", \"minRole\": \"bartender\" }\n]\n","json",[747,3027,3028,3033,3090,3144],{"__ignoreMap":995},[999,3029,3030],{"class":1001,"line":1002},[999,3031,3032],{"class":1051},"[\n",[999,3034,3035,3038,3041,3044,3047,3049,3051,3053,3055,3057,3059,3061,3063,3065,3067,3070,3072,3074,3076,3078,3080,3082,3084,3086,3088],{"class":1001,"line":1055},[999,3036,3037],{"class":1051},"  {",[999,3039,3040],{"class":1051}," \"",[999,3042,3043],{"class":2260},"kind",[999,3045,3046],{"class":1051},"\"",[999,3048,1062],{"class":1051},[999,3050,3040],{"class":1051},[999,3052,757],{"class":1009},[999,3054,3046],{"class":1051},[999,3056,1075],{"class":1051},[999,3058,3040],{"class":1051},[999,3060,2230],{"class":2260},[999,3062,3046],{"class":1051},[999,3064,1062],{"class":1051},[999,3066,3040],{"class":1051},[999,3068,3069],{"class":1009},"tem_123",[999,3071,3046],{"class":1051},[999,3073,1075],{"class":1051},[999,3075,3040],{"class":1051},[999,3077,2409],{"class":2260},[999,3079,3046],{"class":1051},[999,3081,1062],{"class":1051},[999,3083,3040],{"class":1051},[999,3085,753],{"class":1009},[999,3087,3046],{"class":1051},[999,3089,1149],{"class":1051},[999,3091,3092,3094,3096,3098,3100,3102,3104,3106,3108,3110,3112,3114,3116,3118,3120,3123,3125,3127,3129,3131,3133,3135,3137,3139,3141],{"class":1001,"line":1099},[999,3093,3037],{"class":1051},[999,3095,3040],{"class":1051},[999,3097,3043],{"class":2260},[999,3099,3046],{"class":1051},[999,3101,1062],{"class":1051},[999,3103,3040],{"class":1051},[999,3105,757],{"class":1009},[999,3107,3046],{"class":1051},[999,3109,1075],{"class":1051},[999,3111,3040],{"class":1051},[999,3113,3009],{"class":2260},[999,3115,3046],{"class":1051},[999,3117,1062],{"class":1051},[999,3119,3040],{"class":1051},[999,3121,3122],{"class":1009},"bar",[999,3124,3046],{"class":1051},[999,3126,1075],{"class":1051},[999,3128,3040],{"class":1051},[999,3130,2409],{"class":2260},[999,3132,3046],{"class":1051},[999,3134,1062],{"class":1051},[999,3136,3040],{"class":1051},[999,3138,1764],{"class":1009},[999,3140,3046],{"class":1051},[999,3142,3143],{"class":1051}," }\n",[999,3145,3146],{"class":1001,"line":1110},[999,3147,3148],{"class":1051},"]\n",[738,3150,3151,3152,2175,3154,3156,3157,3160,3161,3164,3165,3168,3169,877,3172,3175,3176,941,3179,847,3182,3185,3186,787],{},"A grant has either ",[747,3153,2230],{},[747,3155,3009],{},", never both. The ladders stay inside Teams: a grant names a team or a kind\nand a role key, and Teams compares them on the kind's ladder (",[747,3158,3159],{},"roleAtLeast(keys, held, min)"," from\n",[747,3162,3163],{},"@frigear-nu\u002Fteams\u002Futils","). A role that is not on the ladder admits nobody. A grant naming a team that does not exist,\na kind without a ladder, or a role off the ladder, is refused when it is stored. In ",[747,3166,3167],{},"\u003CGrantsEditor>"," the field picks\none team or a team kind, then a role of its ladder. The team list searches on the server (the name, in any language),\nso every team can be picked, and shows each team's owner (the operation's name, or Platform) under its name, since\nteams of several operations often share one. ",[747,3170,3171],{},"teamGrantSchema",[747,3173,3174],{},"isTeamKindGrant"," and the ",[747,3177,3178],{},"TeamGrant",[747,3180,3181],{},"TeamIdGrant",[747,3183,3184],{},"TeamKindGrant"," types are exported from ",[747,3187,3163],{},[985,3189,3191],{"id":3190},"owners","Owners",[738,3193,3194,3195,3197,3198,3200,3201,2224,3203,3206,3207,3210,3211,3213,3214,3217,3218,3221],{},"Teams owns owner references: the ",[747,3196,2686],{}," \u002F ",[747,3199,2505],{}," columns and their type, ",[747,3202,2513],{},[747,3204,3205],{},"{ type, id }",") and\n",[747,3208,3209],{},"OwnerType",". Other modules that store an owner (help-center categories, mailboxes) import the type from ",[747,3212,775],{},"; there\nis no global list of owner types. ",[747,3215,3216],{},"resolveTeamsOwner(event, owner)"," answers an owner's label and whether it exists,\nthrough the ",[747,3219,3220],{},"teams:owner:resolve"," hook:",[1255,3223,3224,3234],{},[1258,3225,3226],{},[1261,3227,3228,3231],{},[1264,3229,3230],{},"Owner type",[1264,3232,3233],{},"Answered by",[1277,3235,3236,3248,3257,3269],{},[1261,3237,3238,3243],{},[1282,3239,3240],{},[747,3241,3242],{},"platform",[1282,3244,3245,3246,837],{},"Nobody: it has no id (",[747,3247,2692],{},[1261,3249,3250,3254],{},[1282,3251,3252],{},[747,3253,757],{},[1282,3255,3256],{},"Teams: the team's name, and whether it exists.",[1261,3258,3259,3263],{},[1282,3260,3261],{},[747,3262,2466],{},[1282,3264,3265,3266,3268],{},"Teams, from the operations table, when ",[742,3267,524],{"href":525}," is installed.",[1261,3270,3271,3274],{},[1282,3272,3273],{},"Anything else",[1282,3275,3276,3277,3279],{},"Your app, from a ",[747,3278,3220],{}," listener.",[738,3281,3282,3283,877,3286,3288,3289,3291,3292,3294],{},"A team is created for an owner. The platform has no id (",[747,3284,3285],{},"ownerType: 'platform'",[747,3287,2692],{},"). Any other owner\nmust exist according to ",[747,3290,3220],{},". An unknown id, or an owner type nobody answers, is ",[747,3293,2738],{},". The owner and\nthe kind of a team are fixed once it exists.",[738,3296,3297,3298,3301,3302,847,3304,3306,3307,3310,3311,3314,3315,3318,3319,3322,3323,3326,3327,3329],{},"Owners are found by name through the ",[747,3299,3300],{},"teams:owner:search"," hook, which Teams answers for ",[747,3303,757],{},[747,3305,2466],{}," (the\nsame tables as above). ",[747,3308,3309],{},"searchTeamsOwners(event, type, q, limit)"," runs it and answers ",[747,3312,3313],{},"{ results, searchable }",". To make\nyour own owner type searchable, set ",[747,3316,3317],{},"searchable"," and push at most ",[747,3320,3321],{},"limit"," results whose name contains ",[747,3324,3325],{},"q"," (an empty\n",[747,3328,3325],{}," lists the first ones), ordered by name:",[990,3331,3334],{"className":1026,"code":3332,"filename":3333,"language":1029,"meta":995,"style":995},"export default defineNitroPlugin((nitro) => {\n  nitro.hooks.hook('teams:owner:search', async (ctx) => {\n    if (ctx.type !== 'venue') return\n    ctx.searchable = true\n    ctx.results.push(...(await findVenues(ctx.q, ctx.limit)).map(venue => ({ id: venue.id, label: venue.name })))\n  })\n})\n","server\u002Fplugins\u002Fvenues.ts",[747,3335,3336,3358,3396,3425,3440,3531,3538],{"__ignoreMap":995},[999,3337,3338,3340,3342,3345,3347,3349,3352,3354,3356],{"class":1001,"line":1002},[999,3339,1037],{"class":1036},[999,3341,1040],{"class":1036},[999,3343,3344],{"class":1043}," defineNitroPlugin",[999,3346,1048],{"class":1047},[999,3348,1048],{"class":1051},[999,3350,3351],{"class":2267},"nitro",[999,3353,1304],{"class":1051},[999,3355,2284],{"class":2260},[999,3357,1107],{"class":1051},[999,3359,3360,3363,3365,3368,3370,3373,3375,3377,3379,3381,3383,3385,3387,3390,3392,3394],{"class":1001,"line":1055},[999,3361,3362],{"class":1047},"  nitro",[999,3364,787],{"class":1051},[999,3366,3367],{"class":1047},"hooks",[999,3369,787],{"class":1051},[999,3371,3372],{"class":1043},"hook",[999,3374,1048],{"class":1058},[999,3376,1068],{"class":1051},[999,3378,3300],{"class":1009},[999,3380,1068],{"class":1051},[999,3382,1075],{"class":1051},[999,3384,2261],{"class":2260},[999,3386,2224],{"class":1051},[999,3388,3389],{"class":2267},"ctx",[999,3391,1304],{"class":1051},[999,3393,2284],{"class":2260},[999,3395,1107],{"class":1051},[999,3397,3398,3401,3403,3405,3407,3410,3413,3415,3418,3420,3422],{"class":1001,"line":1099},[999,3399,3400],{"class":1036},"    if",[999,3402,2224],{"class":1058},[999,3404,3389],{"class":1047},[999,3406,787],{"class":1051},[999,3408,3409],{"class":1047},"type",[999,3411,3412],{"class":1051}," !==",[999,3414,1078],{"class":1051},[999,3416,3417],{"class":1009},"venue",[999,3419,1068],{"class":1051},[999,3421,2483],{"class":1058},[999,3423,3424],{"class":1036},"return\n",[999,3426,3427,3430,3432,3434,3437],{"class":1001,"line":1110},[999,3428,3429],{"class":1047},"    ctx",[999,3431,787],{"class":1051},[999,3433,3317],{"class":1047},[999,3435,3436],{"class":1051}," =",[999,3438,3439],{"class":1136}," true\n",[999,3441,3442,3444,3446,3449,3451,3454,3456,3459,3461,3464,3467,3469,3471,3473,3475,3477,3480,3482,3484,3487,3489,3492,3494,3496,3498,3500,3502,3504,3506,3509,3511,3513,3515,3517,3519,3521,3523,3526,3528],{"class":1001,"line":1120},[999,3443,3429],{"class":1047},[999,3445,787],{"class":1051},[999,3447,3448],{"class":1047},"results",[999,3450,787],{"class":1051},[999,3452,3453],{"class":1043},"push",[999,3455,1048],{"class":1058},[999,3457,3458],{"class":1051},"...",[999,3460,1048],{"class":1058},[999,3462,3463],{"class":1036},"await",[999,3465,3466],{"class":1043}," findVenues",[999,3468,1048],{"class":1058},[999,3470,3389],{"class":1047},[999,3472,787],{"class":1051},[999,3474,3325],{"class":1047},[999,3476,1075],{"class":1051},[999,3478,3479],{"class":1047}," ctx",[999,3481,787],{"class":1051},[999,3483,3321],{"class":1047},[999,3485,3486],{"class":1058},"))",[999,3488,787],{"class":1051},[999,3490,3491],{"class":1043},"map",[999,3493,1048],{"class":1058},[999,3495,3417],{"class":2267},[999,3497,2284],{"class":2260},[999,3499,2224],{"class":1058},[999,3501,1956],{"class":1051},[999,3503,2473],{"class":1058},[999,3505,1062],{"class":1051},[999,3507,3508],{"class":1047}," venue",[999,3510,787],{"class":1051},[999,3512,2305],{"class":1047},[999,3514,1075],{"class":1051},[999,3516,1717],{"class":1058},[999,3518,1062],{"class":1051},[999,3520,3508],{"class":1047},[999,3522,787],{"class":1051},[999,3524,3525],{"class":1047},"name",[999,3527,1748],{"class":1051},[999,3529,3530],{"class":1058},")))\n",[999,3532,3533,3536],{"class":1001,"line":1152},[999,3534,3535],{"class":1051},"  }",[999,3537,1170],{"class":1058},[999,3539,3540,3542],{"class":1001,"line":1158},[999,3541,1167],{"class":1051},[999,3543,1170],{"class":1047},[985,3545,910],{"id":3546},"oauth-claim",[738,3548,3549,3550,3552,3553,2175,3555,3557,3558,3560],{},"With ",[742,3551,233],{"href":234}," installed, an application granted ",[747,3554,914],{},[747,3556,2109],{}," gets a\n",[747,3559,914],{}," claim in the id token and from userinfo:",[990,3562,3564],{"className":3023,"code":3563,"language":3025,"meta":995,"style":995},"{ \"teams\": [{ \"id\": \"tem_...\", \"ownerType\": \"operation\", \"ownerId\": \"opr_...\", \"kind\": \"bar\", \"role\": \"lead\", \"source\": \"mapped\" }] }\n",[747,3565,3566],{"__ignoreMap":995},[999,3567,3568,3570,3572,3574,3576,3578,3581,3583,3585,3587,3589,3591,3594,3596,3598,3600,3602,3604,3606,3608,3610,3612,3614,3616,3618,3620,3622,3624,3627,3629,3631,3633,3635,3637,3639,3641,3643,3645,3647,3649,3651,3653,3655,3657,3659,3661,3663,3665,3667,3669,3671,3673,3675,3677,3680],{"class":1001,"line":1002},[999,3569,1956],{"class":1051},[999,3571,3040],{"class":1051},[999,3573,914],{"class":2260},[999,3575,3046],{"class":1051},[999,3577,1062],{"class":1051},[999,3579,3580],{"class":1051}," [{",[999,3582,3040],{"class":1051},[999,3584,2305],{"class":1005},[999,3586,3046],{"class":1051},[999,3588,1062],{"class":1051},[999,3590,3040],{"class":1051},[999,3592,3593],{"class":1009},"tem_...",[999,3595,3046],{"class":1051},[999,3597,1075],{"class":1051},[999,3599,3040],{"class":1051},[999,3601,2686],{"class":1005},[999,3603,3046],{"class":1051},[999,3605,1062],{"class":1051},[999,3607,3040],{"class":1051},[999,3609,2466],{"class":1009},[999,3611,3046],{"class":1051},[999,3613,1075],{"class":1051},[999,3615,3040],{"class":1051},[999,3617,2505],{"class":1005},[999,3619,3046],{"class":1051},[999,3621,1062],{"class":1051},[999,3623,3040],{"class":1051},[999,3625,3626],{"class":1009},"opr_...",[999,3628,3046],{"class":1051},[999,3630,1075],{"class":1051},[999,3632,3040],{"class":1051},[999,3634,3043],{"class":1005},[999,3636,3046],{"class":1051},[999,3638,1062],{"class":1051},[999,3640,3040],{"class":1051},[999,3642,3122],{"class":1009},[999,3644,3046],{"class":1051},[999,3646,1075],{"class":1051},[999,3648,3040],{"class":1051},[999,3650,2558],{"class":1005},[999,3652,3046],{"class":1051},[999,3654,1062],{"class":1051},[999,3656,3040],{"class":1051},[999,3658,753],{"class":1009},[999,3660,3046],{"class":1051},[999,3662,1075],{"class":1051},[999,3664,3040],{"class":1051},[999,3666,2495],{"class":1005},[999,3668,3046],{"class":1051},[999,3670,1062],{"class":1051},[999,3672,3040],{"class":1051},[999,3674,2501],{"class":1009},[999,3676,3046],{"class":1051},[999,3678,3679],{"class":1051}," }]",[999,3681,3143],{"class":1051},[738,3683,3684,3685,3687,3688,3691],{},"Access tokens never carry it, and an existing ",[747,3686,914],{}," claim is never replaced. The same application reads the members\nof those teams with ",[747,3689,3690],{},"GET \u002Fapi\u002Fteams\u002F:id\u002Fmembers"," and a bearer token.",[985,3693,842],{"id":3694},"public-pages",[738,3696,3697,3698,3701,3702,3705,3706,3709,3710,847,3713,3716,3717,787],{},"A team is public when staff turn on ",[800,3699,3700],{},"Show on the public pages"," and it has a URL name (",[747,3703,3704],{},"slug","); anything else is a\n",[747,3707,3708],{},"404"," on the public routes, the same as an unknown slug. Every team has optional ",[747,3711,3712],{},"startsAt",[747,3714,3715],{},"endsAt",", shown on the\npublic page when set. Projects have public pages of their own: see ",[742,3718,3719],{"href":817},"Projects",[738,3721,3722,3723,3726,3727,3730,3731,877,3734,941,3737,847,3739,1062],{},"The public reads have no ",[747,3724,3725],{},"authorize",": anonymous callers are welcome, so each answer is an allowlist. The list has the\nslug, name, kind and its label (",[747,3728,3729],{},"kindLabel","), description, image and dates. The team page adds ",[747,3732,3733],{},"contactEmail",[747,3735,3736],{},"form",[747,3738,2846],{},[747,3740,818],{},[794,3742,3743,3771,3787],{},[797,3744,3745,1227,3749,3752,3753,3756,3757,3759,3760,3762,3763,3766,3767,3770],{},[800,3746,3747],{},[747,3748,3736],{},[747,3750,3751],{},"{ slug, name }"," of the form ",[747,3754,3755],{},"formRef"," names (a form id, or a slug) when\n",[742,3758,324],{"href":325}," is installed and that form is published; otherwise ",[747,3761,2509],{},". Without Forms nothing is\nlooked up. The page's ",[800,3764,3765],{},"Apply"," button links to the form page (",[747,3768,3769],{},"forms.settings.pages.form","). Store the id: a slug can\nbe renamed.",[797,3772,3773,3777,3778,3781,3782,2175,3784,3786],{},[800,3774,3775],{},[747,3776,2846],{}," lists only the members who chose to be shown (",[747,3779,3780],{},"showPublicly",") and whose membership grants (status\n",[747,3783,2509],{},[747,3785,2881],{},"): their name, their avatar (none when they opted out of photos) and their role's label. No ids and\nno emails.",[797,3788,3789,3793,3794,877,3796,877,3798,3801,3802,3804,3805,3807],{},[800,3790,3791],{},[747,3792,818],{}," are the public projects the team works on (",[747,3795,3704],{},[747,3797,3525],{},[747,3799,3800],{},"image"," and the link's ",[747,3803,931],{},"); see\n",[742,3806,3719],{"href":817},". A project that is not public, or has no slug, is left out.",[738,3809,3810,3813,3814,3817,3818,3821,3822,3824,3825,3828,3829,877,3832,3835,3836,3839,3840],{},[800,3811,3812],{},"Visibility."," A member is hidden until they turn on ",[800,3815,3816],{},"Show me on the public page"," on their dashboard item\n(",[747,3819,3820],{},"PUT \u002Fapi\u002Fteams\u002Fme\u002F:teamId\u002Fvisibility",", explicit memberships only). Staff can set it too, from the member slideover\non the admin team page (",[747,3823,3780],{}," on ",[747,3826,3827],{},"PATCH \u002Fapi\u002Fadmin\u002Fteams\u002F:id\u002Fmembers\u002F:userId","). Each change records who set it\nand when (",[747,3830,3831],{},"showPubliclySetBy",[747,3833,3834],{},"showPubliclySetAt","); the member DTO says whether it was the member themselves\n(",[747,3837,3838],{},"showPubliclySetBy.self","), and the admin member table shows \"Their own choice\" or \"Set by ",[3525,3841,3824,3842],{},[3843,3844,3845],"date",{},"\".",[738,3847,3848,3851,3852,3854,3855,3857,3858,3861,3862,3865],{},[800,3849,3850],{},"Image."," With ",[747,3853,1318],{},", the staff form uploads a PNG, JPEG or WebP (at most ",[747,3856,1338],{},", 4096 pixels each\nway) to ",[747,3859,3860],{},"PUT \u002Fapi\u002Fadmin\u002Fteams\u002F:id\u002Fimage",". It is served publicly by ",[747,3863,3864],{},"GET \u002Fapi\u002Fteams\u002Fimages\u002F:teamId\u002F:file",", cached for a\nyear (each upload has a new name). Replacing, removing or deleting the team deletes the old file.",[738,3867,3868,3871,3872,3875,3876,3879,3880,787],{},[800,3869,3870],{},"Form picker."," The staff form shows the ",[747,3873,3874],{},"FormSelectField"," component of Forms (on ",[747,3877,3878],{},"value-key=\"id\"",") when Forms is\ninstalled and registers it, and a plain text input for the form id otherwise. Its search runs on Forms' admin list, so\nit needs ",[747,3881,3882],{},"forms:manage",[985,3884,3886],{"id":3885},"sections","Sections",[738,3888,3889,3890,3892,3893,3896,3897,3899,3900,3903,3904,3906],{},"Every kind is listed in one public section. A ladder's ",[747,3891,1402],{}," names it: ",[747,3894,3895],{},"{ path, label, itemLabel? }",", with\n",[747,3898,1533],{}," the plural (\"Festivals\") and ",[747,3901,3902],{},"itemLabel"," the singular (\"Festival\"), both Translated. A kind without one, or a\nkind that only exists as a stored ladder, is in the default ",[747,3905,914],{}," section (Teams \u002F Hold, singular Team \u002F Hold). Two\nkinds may share a section; the first kind's labels name it.",[990,3908,3910],{"className":1026,"code":3909,"filename":1028,"language":1029,"meta":995,"style":995},"export default defineNuxtConfig({\n  teams: {\n    ladders: {\n      festival: {\n        section: { path: 'festivals', label: { en: 'Festivals', da: 'Festivaler' }, itemLabel: { en: 'Festival', da: 'Festival' } },\n        roles: [{ key: 'crew', label: 'Crew' }],\n      },\n    },\n  },\n})\n",[747,3911,3912,3924,3932,3940,3949,4038,4077,4081,4085,4089],{"__ignoreMap":995},[999,3913,3914,3916,3918,3920,3922],{"class":1001,"line":1002},[999,3915,1037],{"class":1036},[999,3917,1040],{"class":1036},[999,3919,1044],{"class":1043},[999,3921,1048],{"class":1047},[999,3923,1052],{"class":1051},[999,3925,3926,3928,3930],{"class":1001,"line":1055},[999,3927,1102],{"class":1058},[999,3929,1062],{"class":1051},[999,3931,1107],{"class":1051},[999,3933,3934,3936,3938],{"class":1001,"line":1099},[999,3935,1601],{"class":1058},[999,3937,1062],{"class":1051},[999,3939,1107],{"class":1051},[999,3941,3942,3945,3947],{"class":1001,"line":1110},[999,3943,3944],{"class":1058},"      festival",[999,3946,1062],{"class":1051},[999,3948,1107],{"class":1051},[999,3950,3951,3954,3956,3958,3961,3963,3965,3968,3970,3972,3974,3976,3978,3980,3982,3984,3987,3989,3991,3993,3995,3997,4000,4002,4004,4007,4009,4011,4013,4015,4017,4020,4022,4024,4026,4028,4030,4032,4034,4036],{"class":1001,"line":1120},[999,3952,3953],{"class":1058},"        section",[999,3955,1062],{"class":1051},[999,3957,1128],{"class":1051},[999,3959,3960],{"class":1058}," path",[999,3962,1062],{"class":1051},[999,3964,1078],{"class":1051},[999,3966,3967],{"class":1009},"festivals",[999,3969,1068],{"class":1051},[999,3971,1075],{"class":1051},[999,3973,1717],{"class":1058},[999,3975,1062],{"class":1051},[999,3977,1128],{"class":1051},[999,3979,1626],{"class":1058},[999,3981,1062],{"class":1051},[999,3983,1078],{"class":1051},[999,3985,3986],{"class":1009},"Festivals",[999,3988,1068],{"class":1051},[999,3990,1075],{"class":1051},[999,3992,1640],{"class":1058},[999,3994,1062],{"class":1051},[999,3996,1078],{"class":1051},[999,3998,3999],{"class":1009},"Festivaler",[999,4001,1068],{"class":1051},[999,4003,2004],{"class":1051},[999,4005,4006],{"class":1058}," itemLabel",[999,4008,1062],{"class":1051},[999,4010,1128],{"class":1051},[999,4012,1626],{"class":1058},[999,4014,1062],{"class":1051},[999,4016,1078],{"class":1051},[999,4018,4019],{"class":1009},"Festival",[999,4021,1068],{"class":1051},[999,4023,1075],{"class":1051},[999,4025,1640],{"class":1058},[999,4027,1062],{"class":1051},[999,4029,1078],{"class":1051},[999,4031,4019],{"class":1009},[999,4033,1068],{"class":1051},[999,4035,1748],{"class":1051},[999,4037,1149],{"class":1051},[999,4039,4040,4042,4044,4046,4048,4050,4052,4054,4057,4059,4061,4063,4065,4067,4069,4071,4073,4075],{"class":1001,"line":1152},[999,4041,1690],{"class":1058},[999,4043,1062],{"class":1051},[999,4045,1065],{"class":1047},[999,4047,1956],{"class":1051},[999,4049,1703],{"class":1058},[999,4051,1062],{"class":1051},[999,4053,1078],{"class":1051},[999,4055,4056],{"class":1009},"crew",[999,4058,1068],{"class":1051},[999,4060,1075],{"class":1051},[999,4062,1717],{"class":1058},[999,4064,1062],{"class":1051},[999,4066,1078],{"class":1051},[999,4068,528],{"class":1009},[999,4070,1068],{"class":1051},[999,4072,1748],{"class":1051},[999,4074,1094],{"class":1047},[999,4076,941],{"class":1051},[999,4078,4079],{"class":1001,"line":1158},[999,4080,1934],{"class":1051},[999,4082,4083],{"class":1001,"line":1164},[999,4084,1155],{"class":1051},[999,4086,4087],{"class":1001,"line":1753},[999,4088,1161],{"class":1051},[999,4090,4091,4093],{"class":1001,"line":1804},[999,4092,1167],{"class":1051},[999,4094,1170],{"class":1047},[794,4096,4097,4114,4170,4187,4208],{},[797,4098,4099,4102,4103,4106,4107,4110,4111,4113],{},[800,4100,4101],{},"URLs."," The module registers one list page (",[747,4104,4105],{},"\u002F\u003Cpath>",") and one team page (",[747,4108,4109],{},"\u002F\u003Cpath>\u002F:slug",") per section it knows at\nbuild time, from the ",[747,4112,1286],{}," option and the shipped ladders. A list shows only the teams whose kind is in its\nsection.",[797,4115,4116,4119,4120,877,4123,877,4125,877,4128,877,4131,941,4134,877,4137,877,4140,877,4143,877,4146,877,4149,877,4152,877,4155,877,4158,877,4161,877,4164,2175,4167,4169],{},[800,4117,4118],{},"Paths"," are lowercase letters, numbers and dashes, and may not be ",[747,4121,4122],{},"api",[747,4124,1211],{},[747,4126,4127],{},"account",[747,4129,4130],{},"dashboard",[747,4132,4133],{},"auth",[747,4135,4136],{},"oauth",[747,4138,4139],{},"login",[747,4141,4142],{},"logout",[747,4144,4145],{},"register",[747,4147,4148],{},"forms",[747,4150,4151],{},"operations",[747,4153,4154],{},"me",[747,4156,4157],{},"public",[747,4159,4160],{},"images",[747,4162,4163],{},"new",[747,4165,4166],{},"edit",[747,4168,818],{},"\n(the project pages). A bad path fails the build.",[797,4171,4172,4175,4176,4179,4180,4183,4184,837],{},[800,4173,4174],{},"Redirects."," Slugs are unique across every section. A team asked for under another section's path\n(",[747,4177,4178],{},"\u002Fteams\u002Fgarden"," for a festival) answers ",[747,4181,4182],{},"301"," to its own section (",[747,4185,4186],{},"\u002Ffestivals\u002Fgarden",[797,4188,4189,4192,4193,4195,4196,4198,4199,847,4202,4205,4206,787],{},[800,4190,4191],{},"Links."," The public DTOs and ",[747,4194,1242],{}," carry ",[747,4197,1402],{}," (the path). Build links with\n",[747,4200,4201],{},"useTeamLinks().publicTeam(section, slug)",[747,4203,4204],{},"publicList(section)",", never a hard-coded ",[747,4207,846],{},[797,4209,4210,4213],{},[800,4211,4212],{},"Wording."," The pages use the section's labels: the heading, \"Festival members\", \"Apply to the festival\", the empty\nstate and the back link. The admin list always says \"Teams\".",[985,4215,3719],{"id":818},[738,4217,4218,4219,4221,4222,2224,4225,4228,4229,2175,4231,4233,4234,2224,4237,4240],{},"A project (FGR, a film, a festival build) is something several teams work on, led by its project leads. It is not a\nkind of team: it has a table of its own (",[747,4220,818],{},"), its own small list of ",[800,4223,4224],{},"leads and members",[747,4226,4227],{},"project_members",",\nrole ",[747,4230,753],{},[747,4232,1301],{},") and the ",[800,4235,4236],{},"teams working on it",[747,4238,4239],{},"project_teams","). The volunteers belong to those teams.",[794,4242,4243,4281,4300,4309,4334,4390,4421],{},[797,4244,4245,4248,4249,4251,4252,877,4254,877,4256,877,4258,877,4260,877,4262,877,4264,877,4266,847,4268,4271,4272,877,4275,4277,4278,837],{},[800,4246,4247],{},"Fields."," Like a team's public fields: an owner (platform or operation, as on teams), a Translated ",[747,4250,3525],{}," and\n",[747,4253,1536],{},[747,4255,3704],{},[747,4257,4157],{},[747,4259,3800],{},[747,4261,3733],{},[747,4263,3755],{},[747,4265,3712],{},[747,4267,3715],{},[747,4269,4270],{},"sort",". The staff list\nfilters by owner and by status from the dates (",[747,4273,4274],{},"upcoming",[747,4276,2881],{},": started or undated and not ended, ",[747,4279,4280],{},"ended",[797,4282,4283,4286,4287,4289,4290,4292,4293,4296,4297,4299],{},[800,4284,4285],{},"Teams on a project"," are managed on the project page (\"Teams on this project\"), each with an optional Translated\n",[747,4288,931],{}," (what the team does there) and a ",[747,4291,4270],{},". A team is linked once per project (",[747,4294,4295],{},"409 conflict","); an unknown team\nis a ",[747,4298,2738],{},". The team page lists its projects read-only.",[797,4301,4302,4305,4306,4308],{},[800,4303,4304],{},"Access."," Everything takes ",[747,4307,1207],{},". A project lead gets no extra rights: the role is who leads the project\nand is shown on its page.",[797,4310,4311,936,4314,4316,4317,4319,4320,4322,4323,4326,4327,4330,4331,4333],{},[800,4312,4313],{},"Public pages.",[747,4315,854],{}," lists the public projects (public, with a URL name); ",[747,4318,857],{}," shows the image,\ndescription, dates, the public teams on it with their note, the leads and members who chose to be shown, ",[800,4321,3765],{},"\nand ",[800,4324,4325],{},"Contact",". The answers are allowlists like the team ones: no ids, no emails. A member shows themselves with\n",[747,4328,4329],{},"PUT \u002Fapi\u002Fteams\u002Fme\u002F:projectId\u002Fvisibility"," (the project id in place of a team id); staff set it with ",[747,4332,3780],{},"\non the member.",[797,4335,4336,936,4339,4342,4343,4346,4347,4350,4351,4354,4355,4361,4362,3197,4365,4368,4369,2502,4372,4374,4375,4378,4379,4382,4383,4386,4387,4389],{},[800,4337,4338],{},"Page.",[747,4340,4341],{},"content"," is the body of the public project page: Markdown with MDC components, Translated (one text, or\none per language). The admin project page shows a preview in a ",[800,4344,4345],{},"Page"," section; ",[800,4348,4349],{},"Edit page"," (or ",[800,4352,4353],{},"Write page",")\nopens ",[742,4356,4358],{"href":4357},"\u002Fmodules\u002Finterface\u002Fui\u002Fform-inputs#content-editor",[747,4359,4360],{},"ContentEditor"," in a wide modal, full screen on phones,\nwith a tab per language and ",[800,4363,4364],{},"Save page",[800,4366,4367],{},"Cancel"," (closing with unsaved changes asks first). It offers the\ncomponents the app registers in ",[747,4370,4371],{},"appConfig.frigearUi.contentComponents",[747,4373,857],{}," renders it in the visitor's language with ",[747,4376,4377],{},"\u003CMDC>"," (Nuxt\nContent or ",[747,4380,4381],{},"@nuxtjs\u002Fmdc",", from your app) in a ",[747,4384,4385],{},"prose"," block, or as plain Markdown without MDC. ",[747,4388,1536],{}," stays the\nshort summary for the lists and the page's meta description. At most 100,000 characters per language; empty texts\nare dropped, and nothing left clears it.",[797,4391,4392,4395,4396,4399,4400,830,4403,4405,4406,4409,4410,4412,4413,4416,4417,4420],{},[800,4393,4394],{},"Images"," are stored like team images (",[747,4397,4398],{},"teams\u002F\u003CprojectId>\u002F"," in Blob) and served by\n",[747,4401,4402],{},"GET \u002Fapi\u002Fprojects\u002Fimages\u002F:projectId\u002F:file",[747,4404,1318],{},", the page editor uploads images too (toolbar, ",[747,4407,4408],{},"\u002F","\nmenu, paste and drop; PNG, JPEG or WebP up to ",[747,4411,1338],{},") to\n",[747,4414,4415],{},"POST \u002Fapi\u002Fadmin\u002Fprojects\u002F:id\u002Fcontent-images",", stored as ",[747,4418,4419],{},"content-\u003Crandom>.\u003Cext>"," next to the project's image and\nserved publicly by the same route, so a page shows them before the project is public too (the names are random).\nThey are deleted with the project; an image taken out of the page stays stored until then.",[797,4422,4423,4426],{},[800,4424,4425],{},"Deleting"," a project deletes its leads, members and team links; deleting a team deletes its project links. The other\nside stays.",[985,4428,1371],{"id":4429},"seed-teams-and-projects",[738,4431,4432,4435,4436,877,4438,4440,4441,4443,4444,4446,4447,4443,4449,4451,4452,941,4454,877,4456,877,4458,877,4460,877,4462,847,4464,4466,4467,4470,4471,4473,4474,4477,4478,4481],{},[747,4433,4434],{},"seed.teams"," lists teams to create on the first request when no team has their slug: ",[747,4437,3704],{},[747,4439,3525],{},", and optionally\n",[747,4442,3043],{}," (default ",[747,4445,1297],{},", it needs a ladder in the option), ",[747,4448,2686],{},[747,4450,3242],{},") and ",[747,4453,2505],{},[747,4455,1536],{},[747,4457,4157],{},[747,4459,3733],{},[747,4461,3755],{},[747,4463,3712],{},[747,4465,3715],{}," (ISO). ",[747,4468,4469],{},"seed.projects"," takes the same\nfields without ",[747,4472,3043],{},", for projects. An existing slug is skipped and never updated, so staff edits are safe. It only\nruns with ",[747,4475,4476],{},"seed.enabled",", which you can turn on at runtime with ",[747,4479,4480],{},"NUXT_TEAMS_SEED_ENABLED=true",". The module ships none.",[990,4483,4485],{"className":1026,"code":4484,"filename":1028,"language":1029,"meta":995,"style":995},"export default defineNuxtConfig({\n  teams: {\n    seed: {\n      teams: [{ slug: 'welcome-crew', name: { en: 'Welcome crew', da: 'Velkomstcrew' }, public: true }],\n      projects: [{ slug: 'summer-build', name: { en: 'Summer build', da: 'Sommeropbygning' }, public: true }],\n    },\n  },\n})\n",[747,4486,4487,4499,4507,4516,4587,4655,4659,4663],{"__ignoreMap":995},[999,4488,4489,4491,4493,4495,4497],{"class":1001,"line":1002},[999,4490,1037],{"class":1036},[999,4492,1040],{"class":1036},[999,4494,1044],{"class":1043},[999,4496,1048],{"class":1047},[999,4498,1052],{"class":1051},[999,4500,4501,4503,4505],{"class":1001,"line":1055},[999,4502,1102],{"class":1058},[999,4504,1062],{"class":1051},[999,4506,1107],{"class":1051},[999,4508,4509,4512,4514],{"class":1001,"line":1099},[999,4510,4511],{"class":1058},"    seed",[999,4513,1062],{"class":1051},[999,4515,1107],{"class":1051},[999,4517,4518,4521,4523,4525,4527,4530,4532,4534,4537,4539,4541,4544,4546,4548,4550,4552,4554,4557,4559,4561,4563,4565,4567,4570,4572,4574,4577,4579,4581,4583,4585],{"class":1001,"line":1110},[999,4519,4520],{"class":1058},"      teams",[999,4522,1062],{"class":1051},[999,4524,1065],{"class":1047},[999,4526,1956],{"class":1051},[999,4528,4529],{"class":1058}," slug",[999,4531,1062],{"class":1051},[999,4533,1078],{"class":1051},[999,4535,4536],{"class":1009},"welcome-crew",[999,4538,1068],{"class":1051},[999,4540,1075],{"class":1051},[999,4542,4543],{"class":1058}," name",[999,4545,1062],{"class":1051},[999,4547,1128],{"class":1051},[999,4549,1626],{"class":1058},[999,4551,1062],{"class":1051},[999,4553,1078],{"class":1051},[999,4555,4556],{"class":1009},"Welcome crew",[999,4558,1068],{"class":1051},[999,4560,1075],{"class":1051},[999,4562,1640],{"class":1058},[999,4564,1062],{"class":1051},[999,4566,1078],{"class":1051},[999,4568,4569],{"class":1009},"Velkomstcrew",[999,4571,1068],{"class":1051},[999,4573,2004],{"class":1051},[999,4575,4576],{"class":1058}," public",[999,4578,1062],{"class":1051},[999,4580,1137],{"class":1136},[999,4582,1748],{"class":1051},[999,4584,1094],{"class":1047},[999,4586,941],{"class":1051},[999,4588,4589,4592,4594,4596,4598,4600,4602,4604,4607,4609,4611,4613,4615,4617,4619,4621,4623,4626,4628,4630,4632,4634,4636,4639,4641,4643,4645,4647,4649,4651,4653],{"class":1001,"line":1120},[999,4590,4591],{"class":1058},"      projects",[999,4593,1062],{"class":1051},[999,4595,1065],{"class":1047},[999,4597,1956],{"class":1051},[999,4599,4529],{"class":1058},[999,4601,1062],{"class":1051},[999,4603,1078],{"class":1051},[999,4605,4606],{"class":1009},"summer-build",[999,4608,1068],{"class":1051},[999,4610,1075],{"class":1051},[999,4612,4543],{"class":1058},[999,4614,1062],{"class":1051},[999,4616,1128],{"class":1051},[999,4618,1626],{"class":1058},[999,4620,1062],{"class":1051},[999,4622,1078],{"class":1051},[999,4624,4625],{"class":1009},"Summer build",[999,4627,1068],{"class":1051},[999,4629,1075],{"class":1051},[999,4631,1640],{"class":1058},[999,4633,1062],{"class":1051},[999,4635,1078],{"class":1051},[999,4637,4638],{"class":1009},"Sommeropbygning",[999,4640,1068],{"class":1051},[999,4642,2004],{"class":1051},[999,4644,4576],{"class":1058},[999,4646,1062],{"class":1051},[999,4648,1137],{"class":1136},[999,4650,1748],{"class":1051},[999,4652,1094],{"class":1047},[999,4654,941],{"class":1051},[999,4656,4657],{"class":1001,"line":1152},[999,4658,1155],{"class":1051},[999,4660,4661],{"class":1001,"line":1158},[999,4662,1161],{"class":1051},[999,4664,4665,4667],{"class":1001,"line":1164},[999,4666,1167],{"class":1051},[999,4668,1170],{"class":1047},[985,4670,4672],{"id":4671},"dashboard-item","Dashboard item",[738,4674,3549,4675,4677,4678,4681,4682,4685,4686,4690,4691,4693,4694,4696,4697,4700,4701,787],{},[742,4676,452],{"href":453}," installed, Teams adds ",[747,4679,4680],{},"teams.mine"," to ",[747,4683,4684],{},"crew.home"," and the\n",[742,4687,4689],{"href":4688},"\u002Fmodules\u002Finterface\u002Fdashboard#the-hub","hub's dashboard"," (permission ",[747,4692,2109],{},", order 60, two columns wide): the teams the person is on with their role (the ladder's label, translated), from\n",[747,4695,1242],{},"; a role a mapping rule gives\nthem is marked \"By role\". On a team with a public page, an explicit member gets the switch ",[800,4698,4699],{},"Show me on the public\npage"," under it, and the team's name links to the page. Texts are under ",[747,4702,4703],{},"teams.dashboard",[789,4705,284],{"id":4706},"app",[985,4708,105],{"id":4709},"pages",[1255,4711,4712,4724],{},[1258,4713,4714],{},[1261,4715,4716,4718,4721],{},[1264,4717,4345],{},[1264,4719,4720],{},"Path",[1264,4722,4723],{},"For",[1277,4725,4726,4744,4766,4780,4796,4819,4836,4856],{},[1261,4727,4728,4731,4738],{},[1282,4729,4730],{},"Public list",[1282,4732,4733,4735,4736],{},[747,4734,846],{},", one per ",[742,4737,1402],{"href":1401},[1282,4739,4740,4741,787],{},"Everybody. Cards with the image, name, kind and description of each public team of the section. Off with ",[747,4742,4743],{},"settings.pages.public: false",[1261,4745,4746,4749,4754],{},[1282,4747,4748],{},"Public team page",[1282,4750,4751,4753],{},[747,4752,850],{},", ...",[1282,4755,4756,4757,4759,4760,4762,4763,4765],{},"Everybody. A team asked for under another section moves (",[747,4758,4182],{},") to its own. Image, description, dates, the members who chose to be shown, the public projects it works on, ",[800,4761,3765],{}," (a published form) and ",[800,4764,4325],{}," (the contact address).",[1261,4767,4768,4771,4775],{},[1282,4769,4770],{},"Public project list",[1282,4772,4773],{},[747,4774,854],{},[1282,4776,4777,4778,787],{},"Everybody. Cards with the image, name, dates and description of each public project. Off with ",[747,4779,4743],{},[1261,4781,4782,4785,4789],{},[1282,4783,4784],{},"Public project page",[1282,4786,4787],{},[747,4788,857],{},[1282,4790,4791,4792,847,4794,787],{},"Everybody. Image, description, dates, the page body, the public teams on it, the leads and members who chose to be shown, ",[800,4793,3765],{},[800,4795,4325],{},[1261,4797,4798,4801,4805],{},[1282,4799,4800],{},"Team list",[1282,4802,4803],{},[747,4804,809],{},[1282,4806,4807,4808,4810,4811,4814,4815,4818],{},"Staff with ",[747,4809,1207],{},". Search, an owner filter (",[747,4812,4813],{},"?ownerType=&ownerId=","), a kind filter (",[747,4816,4817],{},"?kind=",") and sortable columns.",[1261,4820,4821,4824,4828],{},[1282,4822,4823],{},"Team page",[1282,4825,4826],{},[747,4827,813],{},[1282,4829,4807,4830,4832,4833,4835],{},[747,4831,1207],{},". Key facts, members, mapping rules, the ",[742,4834,818],{"href":817}," it works on (read-only), and the kind's ladder.",[1261,4837,4838,4841,4845],{},[1282,4839,4840],{},"Project list",[1282,4842,4843],{},[747,4844,822],{},[1282,4846,4807,4847,4849,4850,4853,4854,787],{},[747,4848,1207],{},". Search, an owner filter, a status filter (",[747,4851,4852],{},"?status=upcoming|active|ended",") and sortable columns. Sidebar entry ",[800,4855,3719],{},[1261,4857,4858,4861,4865],{},[1282,4859,4860],{},"Project page",[1282,4862,4863],{},[747,4864,826],{},[1282,4866,4807,4867,4869,4870,4872],{},[747,4868,1207],{},". Key facts, the page body (",[742,4871,4345],{"href":817},"), the teams on the project (add, edit note, take off) and its leads and members.",[738,4874,4875,4876,4878,4879,4882,4883,4889,4890,4893,4894,4896,4897,4900],{},"The team slideover has the public page fields: the URL name (suggested from the name until you edit it), the public\nswitch, the image (with ",[747,4877,1318],{},"), the contact address, the dates and the form. The member table has a ",[800,4880,4881],{},"Public\npage"," column: shown or hidden, and who set it. The row menu offers Edit member (the role, and whether they are shown)\nand Remove member. For a mapped member it offers Assign role, which\nadds them explicitly. Add member opens a slideover with the ",[742,4884,4886],{"href":4885},"\u002Fmodules\u002Fidentity\u002Fusers#userpicker",[747,4887,4888],{},"UserPicker"," of Users\non ",[747,4891,4892],{},"GET \u002Fapi\u002Fadmin\u002Fteams\u002Fusers",": it searches people by name, and by email with ",[747,4895,2154],{},". Staff who hold\n",[747,4898,4899],{},"users:create"," can create the person from the picker, and the new user is selected. Rules and the ladder are edited in\nslideovers too.",[985,4902,4904],{"id":4903},"tab-on-the-operation-page","Tab on the operation page",[738,4906,4907,4908,4910,4911,4913,4914,4916,4917,4920,4921,4923,4924,4926,4927,787],{},"Teams adds a ",[800,4909,258],{}," tab to the ",[747,4912,1523],{}," tab area of ",[742,4915,434],{"href":435},", with the prop\n",[747,4918,4919],{},"ownerType: 'operation'",". It reads the operation's ",[747,4922,2305],{}," from the tab context and never imports Operations. It lists\nthe operation's teams and adds new ones for it. Rendered without an ",[747,4925,2466],{},", it shows an empty state and queries\nnothing. Turn it off with ",[747,4928,4929],{},"settings.operationsTab: false",[985,4931,4933],{"id":4932},"owner-picker","Owner picker",[738,4935,4936,4939,4940,3197,4942,4944,4945,4947,4948,4951,4952,4954,4955,4957],{},[747,4937,4938],{},"OwnerSelect"," is a global component for forms that store an owner (",[747,4941,2686],{},[747,4943,2505],{},"), in Teams and in other\nmodules. It searches owners of ",[747,4946,3409],{}," by name as you type, through ",[747,4949,4950],{},"GET \u002Fapi\u002Fadmin\u002Fteams\u002Fowners"," (staff with\n",[747,4953,1207],{},"), and binds the owner's id. An edit form shows the current owner's name. When nobody answers\n",[747,4956,3300],{}," for the type, or the route refuses or fails, it falls back to a text input for the id.",[990,4959,4963],{"className":4960,"code":4961,"language":4962,"meta":995,"style":995},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003COwnerSelect v-model=\"state.ownerId\" :type=\"state.ownerType\" \u002F>\n","vue",[747,4964,4965],{"__ignoreMap":995},[999,4966,4967,4970,4972,4975,4978,4980,4983,4985,4987,4989,4992,4994,4996,4998,5000,5002,5004,5006],{"class":1001,"line":1002},[999,4968,4969],{"class":1051},"\u003C",[999,4971,4938],{"class":1058},[999,4973,4974],{"class":2260}," v-model",[999,4976,4977],{"class":1051},"=",[999,4979,3046],{"class":1051},[999,4981,4982],{"class":1047},"state",[999,4984,787],{"class":1051},[999,4986,2505],{"class":1047},[999,4988,3046],{"class":1051},[999,4990,4991],{"class":1051}," :",[999,4993,3409],{"class":2260},[999,4995,4977],{"class":1051},[999,4997,3046],{"class":1051},[999,4999,4982],{"class":1047},[999,5001,787],{"class":1051},[999,5003,2686],{"class":1047},[999,5005,3046],{"class":1051},[999,5007,5008],{"class":1051}," \u002F>\n",[1255,5010,5011,5023],{},[1258,5012,5013],{},[1261,5014,5015,5018,5020],{},[1264,5016,5017],{},"Prop",[1264,5019,1269],{},[1264,5021,5022],{},"What it does",[1277,5024,5025,5040,5059,5073],{},[1261,5026,5027,5032,5037],{},[1282,5028,5029],{},[747,5030,5031],{},"v-model",[1282,5033,5034],{},[747,5035,5036],{},"string | null",[1282,5038,5039],{},"The owner's id.",[1261,5041,5042,5046,5051],{},[1282,5043,5044],{},[747,5045,3409],{},[1282,5047,5048],{},[747,5049,5050],{},"string",[1282,5052,5053,5054,877,5056,5058],{},"The owner type (",[747,5055,757],{},[747,5057,2466],{},", or your own). Searched again when it changes.",[1261,5060,5061,5066,5070],{},[1282,5062,5063],{},[747,5064,5065],{},"disabled",[1282,5067,5068],{},[747,5069,1323],{},[1282,5071,5072],{},"Disables the select.",[1261,5074,5075,5080,5084],{},[1282,5076,5077],{},[747,5078,5079],{},"placeholder",[1282,5081,5082],{},[747,5083,5050],{},[1282,5085,5086],{},"Replaces the placeholder.",[985,5088,5090],{"id":5089},"composables","Composables",[1255,5092,5093,5102],{},[1258,5094,5095],{},[1261,5096,5097,5100],{},[1264,5098,5099],{},"Composable",[1264,5101,5022],{},[1277,5103,5104,5125,5145,5163,5181,5200,5224,5256,5272],{},[1261,5105,5106,5111],{},[1282,5107,5108],{},[747,5109,5110],{},"useTeamActions()",[1282,5112,5113,877,5116,877,5118,847,5121,5124],{},[747,5114,5115],{},"create",[747,5117,4166],{},[747,5119,5120],{},"remove",[747,5122,5123],{},"menu(team)",", with toasts and confirmations.",[1261,5126,5127,5132],{},[1282,5128,5129],{},[747,5130,5131],{},"useTeamMemberActions(team, ladders)",[1282,5133,5134,877,5137,877,5140,847,5142,787],{},[747,5135,5136],{},"add",[747,5138,5139],{},"changeRole",[747,5141,5120],{},[747,5143,5144],{},"menu(member)",[1261,5146,5147,5152],{},[1282,5148,5149],{},[747,5150,5151],{},"useTeamMappingActions(context)",[1282,5153,5154,877,5156,877,5158,847,5160,787],{},[747,5155,5115],{},[747,5157,4166],{},[747,5159,5120],{},[747,5161,5162],{},"menu(rule)",[1261,5164,5165,5170],{},[1282,5166,5167],{},[747,5168,5169],{},"useProjectActions()",[1282,5171,5172,877,5174,877,5176,847,5178,5124],{},[747,5173,5115],{},[747,5175,4166],{},[747,5177,5120],{},[747,5179,5180],{},"menu(project)",[1261,5182,5183,5188],{},[1282,5184,5185],{},[747,5186,5187],{},"useProjectMemberActions(project)",[1282,5189,5190,877,5192,5194,5195,847,5197,5199],{},[747,5191,5136],{},[747,5193,4166],{}," (the role and the public visibility), ",[747,5196,5120],{},[747,5198,5144],{}," for its leads and members.",[1261,5201,5202,5207],{},[1282,5203,5204],{},[747,5205,5206],{},"useProjectTeamActions(project, exclude?)",[1282,5208,5209,5211,5212,5214,5215,847,5217,5220,5221,787],{},[747,5210,5136],{}," (a team and a note), ",[747,5213,4166],{}," (the note), ",[747,5216,5120],{},[747,5218,5219],{},"menu(link)"," for the teams on ",[747,5222,5223],{},"project",[1261,5225,5226,5231],{},[1282,5227,5228],{},[747,5229,5230],{},"useTeamLinks()",[1282,5232,5233,5234,877,5237,877,5240,5243,5244,877,5247,877,5250,877,5253,837],{},"Locale-aware links to the admin pages (",[747,5235,5236],{},"adminTeam(id)",[747,5238,5239],{},"adminProjects()",[747,5241,5242],{},"adminProject(id)",") and the public pages (",[747,5245,5246],{},"publicList(section?)",[747,5248,5249],{},"publicTeam(section, slug)",[747,5251,5252],{},"publicProjects()",[747,5254,5255],{},"publicProject(slug)",[1261,5257,5258,5263],{},[1282,5259,5260],{},[747,5261,5262],{},"useTeamSection()",[1282,5264,5265,5266,877,5268,5271],{},"On a public page: its section and the labels (",[747,5267,1533],{},[747,5269,5270],{},"item"," and lower-case forms).",[1261,5273,5274,5279],{},[1282,5275,5276],{},[747,5277,5278],{},"useTeamsTranslate()",[1282,5280,5281,5284,5285,877,5288,847,5291,5294],{},[747,5282,5283],{},"tr(value)"," for Translated texts, and ",[747,5286,5287],{},"tr.kindLabel(ladders, kind)",[747,5289,5290],{},"tr.kindDescription(ladders, kind)",[747,5292,5293],{},"tr.kindItems(ladders)"," for kind labels and selects.",[789,5296,242],{"id":3367},[738,5298,5299,5300,5303,5304,837],{},"Your app answers these ",[742,5301,5302],{"href":91},"Nitro"," hooks from a server plugin (",[747,5305,5306],{},"server\u002Fplugins\u002F*.ts",[1255,5308,5309,5322],{},[1258,5310,5311],{},[1261,5312,5313,5316,5319],{},[1264,5314,5315],{},"Hook",[1264,5317,5318],{},"When",[1264,5320,5321],{},"Payload",[1277,5323,5324,5344,5361,5375,5391,5408,5428],{},[1261,5325,5326,5330,5339],{},[1282,5327,5328],{},[747,5329,892],{},[1282,5331,5332,5333,5335,5336,5338],{},"When an explicit membership starts granting: added with ",[747,5334,2539],{}," null or ",[747,5337,2881],{},", or its status became one of those.",[1282,5340,5341],{},[747,5342,5343],{},"{ event, team, member }",[1261,5345,5346,5350,5357],{},[1282,5347,5348],{},[747,5349,895],{},[1282,5351,5352,5353,3197,5355,787],{},"When an explicit membership stops granting: removed while it granted, or its status left ",[747,5354,2509],{},[747,5356,2881],{},[1282,5358,5359],{},[747,5360,5343],{},[1261,5362,5363,5367,5370],{},[1282,5364,5365],{},[747,5366,898],{},[1282,5368,5369],{},"When the role of a membership that grants changed.",[1282,5371,5372],{},[747,5373,5374],{},"{ event, team, member, from, to }",[1261,5376,5377,5381,5386],{},[1282,5378,5379],{},[747,5380,902],{},[1282,5382,5383,5384,787],{},"While resolving a user's mapped grants. Push grants into ",[747,5385,2943],{},[1282,5387,5388],{},[747,5389,5390],{},"{ event, user, owner, globalRoles, rules, teams, ladders, grants }",[1261,5392,5393,5397,5403],{},[1282,5394,5395],{},[747,5396,905],{},[1282,5398,5399,5400,787],{},"While listing mapped members. Add user ids to ",[747,5401,5402],{},"userIds",[1282,5404,5405],{},[747,5406,5407],{},"{ event, team, rules, userIds }",[1261,5409,5410,5414,5423],{},[1282,5411,5412],{},[747,5413,3220],{},[1282,5415,5416,5417,847,5419,5422],{},"While an owner is checked or labelled. Set ",[747,5418,1533],{},[747,5420,5421],{},"exists"," for your own owner types.",[1282,5424,5425],{},[747,5426,5427],{},"{ event, owner, label, exists }",[1261,5429,5430,5434,5447],{},[1282,5431,5432],{},[747,5433,3300],{},[1282,5435,5436,5437,5441,5442,3318,5444,5446],{},"While owners are found by name (the ",[742,5438,5440],{"href":5439},"#owner-picker","owner picker","). Set ",[747,5443,3317],{},[747,5445,3321],{}," results for your own owner types.",[1282,5448,5449],{},[747,5450,5451],{},"{ event, type, q, limit, results, searchable }",[794,5453,5454,5462,5511,5531],{},[797,5455,5456,5458,5459,5461],{},[747,5457,757],{}," is the staff DTO and ",[747,5460,1301],{}," the member DTO with the email, whatever the caller may see.",[797,5463,5464,936,5468,1227,5470,5472,5473,1227,5476,5479,5480,5483,5484,5486,5487,5489,5490,5493,5494,5496,5497,5499,5500,5502,5503,5505,5506,5508,5509,787],{},[800,5465,5466,787],{},[747,5467,902],{},[747,5469,780],{},[747,5471,2509],{},": one resolution covers every owner. ",[747,5474,5475],{},"event",[747,5477,5478],{},"undefined"," while the\nOAuth claim is built. ",[747,5481,5482],{},"rules"," are the rules in play, ",[747,5485,914],{}," the teams they cover. Give a pushed grant the ",[747,5488,2611],{},"\nof the rule it stands for; ",[747,5491,5492],{},"mappedGrantsFor(teams, rules, ladders)"," from ",[747,5495,3163],{}," builds them.\nWhile mapped members are listed, the hook runs once per candidate with ",[747,5498,914],{}," holding that one team, its ",[747,5501,780],{},",\nand only the rules Teams cannot answer in bulk (not ",[747,5504,2558],{}," rules, nor ",[747,5507,2574],{}," rules when Subscriptions is installed).\nKeep such a listener free of per-call queries: load what it needs in bulk in ",[747,5510,905],{},[797,5512,5513,5516,5517,5520,5521,5523,5524,5527,5528,5530],{},[800,5514,5515],{},"The member hooks follow the grant, not the row."," A pending row fires nothing when it is added, deleted or given\nanother role; ",[747,5518,5519],{},"added"," fires when its status becomes ",[747,5522,2881],{}," (with the role it has then), and ",[747,5525,5526],{},"removed"," when an\nactive membership becomes ",[747,5529,2601],{},". Crew fires its own hooks on the same transitions, so both agree on when a\nperson starts and stops working on a team. Mapped grants fire no hooks.",[797,5532,5533,5534,5536],{},"Deleting a team fires no ",[747,5535,895],{}," for the memberships that go with it.",[789,5538,2349],{"id":5539},"routes",[738,5541,5542,5543,5493,5546,787],{},"Typed path builders are exported as ",[747,5544,5545],{},"teamsApi",[747,5547,5548],{},"@frigear-nu\u002Fteams\u002Fapi",[1255,5550,5551,5563],{},[1258,5552,5553],{},[1261,5554,5555,5558,5561],{},[1264,5556,5557],{},"Route",[1264,5559,5560],{},"Who",[1264,5562,5022],{},[1277,5564,5565,5587,5611,5630,5648,5660,5686,5699,5712,5726,5752,5775,5832,5852,5866,5885,5901,5915,5938,5958,5972,5986,6030,6071,6085,6099,6113,6130,6145,6180,6198,6220,6237,6251,6285,6308,6328,6342,6363,6377,6399,6413,6430,6444,6463,6482],{},[1261,5566,5567,5571,5575],{},[1282,5568,5569],{},[747,5570,1242],{},[1282,5572,5573],{},[747,5574,2109],{},[1282,5576,5577,5578,5580,5581,5583,5584,787],{},"Your grants on every owner, explicit first, each with ",[747,5579,2495],{},", the team's ",[747,5582,3525],{}," and the role's ladder label ",[747,5585,5586],{},"roleLabel",[1261,5588,5589,5593,5598],{},[1282,5590,5591],{},[747,5592,3820],{},[1282,5594,5595,5597],{},[747,5596,2109],{}," + policy",[1282,5599,5600,5603,5604,5607,5608,5610],{},[747,5601,5602],{},"{ showPublicly }",": show or hide yourself on the team's public page, or a project's (a ",[747,5605,5606],{},"prj_"," id). Explicit members only (",[747,5609,3708],{}," otherwise). Recorded as set by you.",[1261,5612,5613,5618,5621],{},[1282,5614,5615],{},[747,5616,5617],{},"GET \u002Fapi\u002Fteams\u002Fpublic",[1282,5619,5620],{},"Anyone",[1282,5622,5623,5624,2502,5626,5629],{},"The public teams (public, with a slug), each with its ",[747,5625,1402],{},[747,5627,5628],{},"?section=festivals"," keeps one section.",[1261,5631,5632,5637,5639],{},[1282,5633,5634],{},[747,5635,5636],{},"GET \u002Fapi\u002Fteams\u002Fpublic\u002F:slug",[1282,5638,5620],{},[1282,5640,5641,5642,5644,5645,5647],{},"One public team with its contact address, published form, shown members, and the public ",[747,5643,818],{}," it works on. ",[747,5646,3708],{}," for anything not public.",[1261,5649,5650,5655,5657],{},[1282,5651,5652],{},[747,5653,5654],{},"GET \u002Fapi\u002Fprojects\u002Fpublic",[1282,5656,5620],{},[1282,5658,5659],{},"The public projects (public, with a slug).",[1261,5661,5662,5667,5669],{},[1282,5663,5664],{},[747,5665,5666],{},"GET \u002Fapi\u002Fprojects\u002Fpublic\u002F:slug",[1282,5668,5620],{},[1282,5670,5671,5672,5674,5675,5677,5678,877,5680,847,5682,1567,5684,5647],{},"One public project with its contact address, published form, shown leads and members (",[747,5673,2558],{},") and public ",[747,5676,914],{}," (with ",[747,5679,1402],{},[747,5681,3729],{},[747,5683,931],{},[747,5685,3708],{},[1261,5687,5688,5692,5694],{},[1282,5689,5690],{},[747,5691,4402],{},[1282,5693,5620],{},[1282,5695,5696,5697,787],{},"An uploaded project image or page body image. Only with ",[747,5698,1318],{},[1261,5700,5701,5705,5707],{},[1282,5702,5703],{},[747,5704,3864],{},[1282,5706,5620],{},[1282,5708,5709,5710,787],{},"An uploaded image. Only with ",[747,5711,1318],{},[1261,5713,5714,5719,5723],{},[1282,5715,5716],{},[747,5717,5718],{},"GET \u002Fapi\u002Fteams\u002F:id",[1282,5720,5721,5597],{},[747,5722,2109],{},[1282,5724,5725],{},"One team.",[1261,5727,5728,5732,5736],{},[1282,5729,5730],{},[747,5731,3690],{},[1282,5733,5734,5597],{},[747,5735,2109],{},[1282,5737,5738,5739,5742,5743,5745,5746,5748,5749,5751],{},"Names and avatars; ",[747,5740,5741],{},"email"," only with ",[747,5744,2154],{},". Staff and leads see every row with its ",[747,5747,2539],{},"; other members only the rows that grant. ",[747,5750,2933],{}," (staff and leads) adds mapped members.",[1261,5753,5754,5759,5763],{},[1282,5755,5756],{},[747,5757,5758],{},"GET \u002Fapi\u002Fadmin\u002Fteams",[1282,5760,5761],{},[747,5762,1207],{},[1282,5764,5765,5766,877,5768,877,5770,877,5772,5774],{},"Paginated list with ",[747,5767,2686],{},[747,5769,2505],{},[747,5771,3043],{},[747,5773,3325],{}," (name in every language) and sort.",[1261,5776,5777,5782,5786],{},[1282,5778,5779],{},[747,5780,5781],{},"POST \u002Fapi\u002Fadmin\u002Fteams",[1282,5783,5784],{},[747,5785,1207],{},[1282,5787,5788,5789,877,5791,877,5793,877,5795,877,5797,877,5799,877,5802,877,5805,877,5807,877,5809,877,5811,877,5813,877,5815,877,5817,2502,5819,5821,5822,5824,5825,877,5827,877,5829,5831],{},"Create a team: ",[747,5790,2686],{},[747,5792,2505],{},[747,5794,3043],{},[747,5796,3525],{},[747,5798,1536],{},[747,5800,5801],{},"parentId",[747,5803,5804],{},"capacity",[747,5806,4270],{},[747,5808,3704],{},[747,5810,4157],{},[747,5812,3733],{},[747,5814,3755],{},[747,5816,3712],{},[747,5818,3715],{},[747,5820,4295],{}," for a slug in use; ",[747,5823,2738],{}," for a malformed or reserved slug (",[747,5826,4154],{},[747,5828,4157],{},[747,5830,4160],{},", ...).",[1261,5833,5834,5839,5843],{},[1282,5835,5836],{},[747,5837,5838],{},"GET \u002Fapi\u002Fadmin\u002Fteams\u002F:id",[1282,5840,5841],{},[747,5842,1207],{},[1282,5844,5845,5846,847,5849,787],{},"One team, with ",[747,5847,5848],{},"ownerLabel",[747,5850,5851],{},"memberCount",[1261,5853,5854,5859,5863],{},[1282,5855,5856],{},[747,5857,5858],{},"PATCH \u002Fapi\u002Fadmin\u002Fteams\u002F:id",[1282,5860,5861],{},[747,5862,1207],{},[1282,5864,5865],{},"Edit any field but the owner and the kind.",[1261,5867,5868,5872,5876],{},[1282,5869,5870],{},[747,5871,3860],{},[1282,5873,5874],{},[747,5875,1207],{},[1282,5877,5878,5879,5882,5883,787],{},"Upload the image (multipart ",[747,5880,5881],{},"file","). Only with ",[747,5884,1318],{},[1261,5886,5887,5892,5896],{},[1282,5888,5889],{},[747,5890,5891],{},"DELETE \u002Fapi\u002Fadmin\u002Fteams\u002F:id\u002Fimage",[1282,5893,5894],{},[747,5895,1207],{},[1282,5897,5898,5899,787],{},"Remove the image. Only with ",[747,5900,1318],{},[1261,5902,5903,5908,5912],{},[1282,5904,5905],{},[747,5906,5907],{},"DELETE \u002Fapi\u002Fadmin\u002Fteams\u002F:id",[1282,5909,5910],{},[747,5911,1207],{},[1282,5913,5914],{},"Delete a team; its members, its own rules and its project links go with it (foreign key cascades).",[1261,5916,5917,5922,5926],{},[1282,5918,5919],{},[747,5920,5921],{},"POST \u002Fapi\u002Fadmin\u002Fteams\u002F:id\u002Fmembers",[1282,5923,5924],{},[747,5925,1207],{},[1282,5927,5928,5929,2502,5932,5934,5935,5937],{},"Add ",[747,5930,5931],{},"{ userId, role, status? }",[747,5933,2738],{}," for a role off the ladder, ",[747,5936,2835],{}," for a member already.",[1261,5939,5940,5944,5948],{},[1282,5941,5942],{},[747,5943,3827],{},[1282,5945,5946],{},[747,5947,1207],{},[1282,5949,5950,5951,877,5953,847,5955,5957],{},"Change ",[747,5952,2558],{},[747,5954,2539],{},[747,5956,3780],{}," (recorded as set by you).",[1261,5959,5960,5965,5969],{},[1282,5961,5962],{},[747,5963,5964],{},"DELETE \u002Fapi\u002Fadmin\u002Fteams\u002F:id\u002Fmembers\u002F:userId",[1282,5966,5967],{},[747,5968,1207],{},[1282,5970,5971],{},"Remove an explicit member.",[1261,5973,5974,5979,5983],{},[1282,5975,5976],{},[747,5977,5978],{},"GET \u002Fapi\u002Fadmin\u002Fteams\u002F:id\u002Fprojects",[1282,5980,5981],{},[747,5982,1207],{},[1282,5984,5985],{},"The projects the team works on, public or not (read-only; links are managed on the project).",[1261,5987,5988,5993,5997],{},[1282,5989,5990],{},[747,5991,5992],{},"GET \u002Fapi\u002Fadmin\u002Fprojects",[1282,5994,5995],{},[747,5996,1207],{},[1282,5998,5765,5999,877,6001,877,6003,2224,6005,877,6007,877,6009,6011,6012,6014,6015,877,6017,877,6020,6022,6023,877,6025,847,6027,787],{},[747,6000,2686],{},[747,6002,2505],{},[747,6004,2539],{},[747,6006,4274],{},[747,6008,2881],{},[747,6010,4280],{},"), ",[747,6013,3325],{}," and sort (",[747,6016,4270],{},[747,6018,6019],{},"createdAt",[747,6021,3712],{},"). Each with ",[747,6024,5848],{},[747,6026,5851],{},[747,6028,6029],{},"teamCount",[1261,6031,6032,6037,6041],{},[1282,6033,6034],{},[747,6035,6036],{},"POST \u002Fapi\u002Fadmin\u002Fprojects",[1282,6038,6039],{},[747,6040,1207],{},[1282,6042,6043,6044,877,6046,877,6048,877,6050,877,6052,877,6054,877,6056,877,6058,877,6060,877,6062,877,6064,877,6066,2502,6068,6070],{},"Create a project: ",[747,6045,2686],{},[747,6047,2505],{},[747,6049,3525],{},[747,6051,1536],{},[747,6053,4341],{},[747,6055,4270],{},[747,6057,3704],{},[747,6059,4157],{},[747,6061,3733],{},[747,6063,3755],{},[747,6065,3712],{},[747,6067,3715],{},[747,6069,4295],{}," for a slug in use.",[1261,6072,6073,6078,6082],{},[1282,6074,6075],{},[747,6076,6077],{},"GET \u002Fapi\u002Fadmin\u002Fprojects\u002F:id",[1282,6079,6080],{},[747,6081,1207],{},[1282,6083,6084],{},"One project.",[1261,6086,6087,6092,6096],{},[1282,6088,6089],{},[747,6090,6091],{},"PATCH \u002Fapi\u002Fadmin\u002Fprojects\u002F:id",[1282,6093,6094],{},[747,6095,1207],{},[1282,6097,6098],{},"Edit any field but the owner.",[1261,6100,6101,6106,6110],{},[1282,6102,6103],{},[747,6104,6105],{},"DELETE \u002Fapi\u002Fadmin\u002Fprojects\u002F:id",[1282,6107,6108],{},[747,6109,1207],{},[1282,6111,6112],{},"Delete a project with its leads, members and team links.",[1261,6114,6115,6120,6124],{},[1282,6116,6117],{},[747,6118,6119],{},"PUT \u002Fapi\u002Fadmin\u002Fprojects\u002F:id\u002Fimage",[1282,6121,6122],{},[747,6123,1207],{},[1282,6125,5878,6126,5882,6128,787],{},[747,6127,5881],{},[747,6129,1318],{},[1261,6131,6132,6137,6141],{},[1282,6133,6134],{},[747,6135,6136],{},"DELETE \u002Fapi\u002Fadmin\u002Fprojects\u002F:id\u002Fimage",[1282,6138,6139],{},[747,6140,1207],{},[1282,6142,5898,6143,787],{},[747,6144,1318],{},[1261,6146,6147,6151,6155],{},[1282,6148,6149],{},[747,6150,4415],{},[1282,6152,6153],{},[747,6154,1207],{},[1282,6156,6157,6158,1418,6160,6163,6164,2502,6167,6170,6171,6174,6175,6177,6178,787],{},"Upload an image for the page body (multipart ",[747,6159,5881],{},[747,6161,6162],{},"201"," with ",[747,6165,6166],{},"{ file, url }",[747,6168,6169],{},"415"," for anything but a PNG, JPEG or WebP, ",[747,6172,6173],{},"413"," above ",[747,6176,1338],{},". Only with ",[747,6179,1318],{},[1261,6181,6182,6187,6191],{},[1282,6183,6184],{},[747,6185,6186],{},"GET \u002Fapi\u002Fadmin\u002Fprojects\u002F:id\u002Fmembers",[1282,6188,6189],{},[747,6190,1207],{},[1282,6192,6193,6194,5742,6196,787],{},"Leads first, then members; ",[747,6195,5741],{},[747,6197,2154],{},[1261,6199,6200,6205,6209],{},[1282,6201,6202],{},[747,6203,6204],{},"POST \u002Fapi\u002Fadmin\u002Fprojects\u002F:id\u002Fmembers",[1282,6206,6207],{},[747,6208,1207],{},[1282,6210,5928,6211,2502,6214,6216,6217,6219],{},[747,6212,6213],{},"{ userId, role: 'lead' | 'member' }",[747,6215,2738],{}," for an unknown user, ",[747,6218,2835],{}," when on the project already.",[1261,6221,6222,6227,6231],{},[1282,6223,6224],{},[747,6225,6226],{},"PATCH \u002Fapi\u002Fadmin\u002Fprojects\u002F:id\u002Fmembers\u002F:memberId",[1282,6228,6229],{},[747,6230,1207],{},[1282,6232,5950,6233,847,6235,5957],{},[747,6234,2558],{},[747,6236,3780],{},[1261,6238,6239,6244,6248],{},[1282,6240,6241],{},[747,6242,6243],{},"DELETE \u002Fapi\u002Fadmin\u002Fprojects\u002F:id\u002Fmembers\u002F:memberId",[1282,6245,6246],{},[747,6247,1207],{},[1282,6249,6250],{},"Remove a lead or member.",[1261,6252,6253,6258,6262],{},[1282,6254,6255],{},[747,6256,6257],{},"GET \u002Fapi\u002Fadmin\u002Fprojects\u002F:id\u002Fteams",[1282,6259,6260],{},[747,6261,1207],{},[1282,6263,6264,6265,877,6267,877,6269,847,6271,2224,6273,877,6275,877,6277,877,6279,877,6281,877,6283,837],{},"The teams on the project, public or not. Each link has ",[747,6266,931],{},[747,6268,4270],{},[747,6270,5223],{},[747,6272,757],{},[747,6274,2305],{},[747,6276,3525],{},[747,6278,3043],{},[747,6280,3704],{},[747,6282,4157],{},[747,6284,1402],{},[1261,6286,6287,6292,6296],{},[1282,6288,6289],{},[747,6290,6291],{},"POST \u002Fapi\u002Fadmin\u002Fprojects\u002F:id\u002Fteams",[1282,6293,6294],{},[747,6295,1207],{},[1282,6297,6298,6299,2502,6302,6304,6305,6307],{},"Link ",[747,6300,6301],{},"{ teamId, note?, sort? }",[747,6303,2738],{}," for an unknown team, ",[747,6306,4295],{}," when linked already.",[1261,6309,6310,6315,6319],{},[1282,6311,6312],{},[747,6313,6314],{},"PATCH \u002Fapi\u002Fadmin\u002Fprojects\u002F:id\u002Fteams\u002F:linkId",[1282,6316,6317],{},[747,6318,1207],{},[1282,6320,5950,6321,847,6323,2502,6325,6327],{},[747,6322,931],{},[747,6324,4270],{},[747,6326,3708],{}," for a link of another project.",[1261,6329,6330,6335,6339],{},[1282,6331,6332],{},[747,6333,6334],{},"DELETE \u002Fapi\u002Fadmin\u002Fprojects\u002F:id\u002Fteams\u002F:linkId",[1282,6336,6337],{},[747,6338,1207],{},[1282,6340,6341],{},"Take the team off the project; both stay.",[1261,6343,6344,6349,6353],{},[1282,6345,6346],{},[747,6347,6348],{},"GET \u002Fapi\u002Fadmin\u002Fteams\u002Fmappings",[1282,6350,6351],{},[747,6352,1207],{},[1282,6354,6355,6356,847,6358,6360,6361,787],{},"Rules, by ",[747,6357,2686],{},[747,6359,2505],{},", or those covering ",[747,6362,2230],{},[1261,6364,6365,6370,6374],{},[1282,6366,6367],{},[747,6368,6369],{},"POST \u002Fapi\u002Fadmin\u002Fteams\u002Fmappings",[1282,6371,6372],{},[747,6373,1207],{},[1282,6375,6376],{},"Add a rule.",[1261,6378,6379,6384,6388],{},[1282,6380,6381],{},[747,6382,6383],{},"PATCH \u002Fapi\u002Fadmin\u002Fteams\u002Fmappings\u002F:id",[1282,6385,6386],{},[747,6387,1207],{},[1282,6389,6390,6391,877,6393,877,6395,877,6397,787],{},"Edit ",[747,6392,2230],{},[747,6394,2726],{},[747,6396,2618],{},[747,6398,2611],{},[1261,6400,6401,6406,6410],{},[1282,6402,6403],{},[747,6404,6405],{},"DELETE \u002Fapi\u002Fadmin\u002Fteams\u002Fmappings\u002F:id",[1282,6407,6408],{},[747,6409,1207],{},[1282,6411,6412],{},"Delete a rule.",[1261,6414,6415,6420,6424],{},[1282,6416,6417],{},[747,6418,6419],{},"GET \u002Fapi\u002Fadmin\u002Fteams\u002Fladders",[1282,6421,6422],{},[747,6423,1207],{},[1282,6425,6426,6427,787],{},"Every ladder, with ",[747,6428,6429],{},"source: 'stored' | 'default'",[1261,6431,6432,6437,6441],{},[1282,6433,6434],{},[747,6435,6436],{},"GET \u002Fapi\u002Fadmin\u002Fteams\u002Fladders\u002F:kind",[1282,6438,6439],{},[747,6440,1207],{},[1282,6442,6443],{},"One ladder.",[1261,6445,6446,6450,6454],{},[1282,6447,6448],{},[747,6449,2828],{},[1282,6451,6452],{},[747,6453,1207],{},[1282,6455,6456,6457,2502,6460,787],{},"Replace ",[747,6458,6459],{},"{ roles, leadFrom }",[747,6461,6462],{},"409 team_role_in_use",[1261,6464,6465,6469,6473],{},[1282,6466,6467],{},[747,6468,4892],{},[1282,6470,6471],{},[747,6472,1207],{},[1282,6474,6475,6478,6479,6481],{},[747,6476,6477],{},"?q="," finds people to add by name; with ",[747,6480,2154],{}," also by email, and the answer has the emails.",[1261,6483,6484,6488,6492],{},[1282,6485,6486],{},[747,6487,4950],{},[1282,6489,6490],{},[747,6491,1207],{},[1282,6493,6494,6497,6498,6500,6501,6504,6505,877,6508,6511,6512,6514],{},[747,6495,6496],{},"?type=&q="," finds owners of a type by name (at most 20; no ",[747,6499,3325],{}," lists the first ones); ",[747,6502,6503],{},"?type=&id="," labels one owner. ",[747,6506,6507],{},"{ items: { id, label }[], searchable }",[747,6509,6510],{},"searchable: false"," when nobody answers ",[747,6513,3300],{}," for the type.",[738,6516,6517,6518,6520],{},"Adding and removing members is staff only. Leads hold ",[747,6519,2125],{},", which other modules check, but they do not manage\ntheir team's members.",[738,6522,6523,6525,6526,787],{},[747,6524,2539],{}," on a membership is set by the module that uses it, such as crew; see ",[742,6527,2549],{"href":2548},[789,6529,40],{"id":6530},"database",[738,6532,6533,6534,6537],{},"Tables the module adds. Generate and commit a ",[742,6535,1181],{"href":6536},"\u002Fget-started\u002Fdatabase#migrations"," after installing.",[1255,6539,6540,6550],{},[1258,6541,6542],{},[1261,6543,6544,6547],{},[1264,6545,6546],{},"Table",[1264,6548,6549],{},"Holds",[1277,6551,6552,6602,6633,6652,6674,6711,6742],{},[1261,6553,6554,6558],{},[1282,6555,6556],{},[747,6557,914],{},[1282,6559,6560,6563,6564,877,6566,6568,6569,877,6571,6573,6574,847,6576,877,6578,6581,6582,877,6584,6586,6587,877,6589,877,6591,6593,6594,877,6596,877,6598,877,6600,787],{},[747,6561,6562],{},"tem_"," id, ",[747,6565,2686],{},[747,6567,2505],{}," (null for the platform), ",[747,6570,5801],{},[747,6572,3043],{},", Translated ",[747,6575,3525],{},[747,6577,1536],{},[747,6579,6580],{},"searchText"," (the name folded for search), ",[747,6583,5804],{},[747,6585,4270],{},", and for the public page a unique ",[747,6588,3704],{},[747,6590,4157],{},[747,6592,3800],{}," (the uploaded file's name), ",[747,6595,3733],{},[747,6597,3755],{},[747,6599,3712],{},[747,6601,3715],{},[1261,6603,6604,6608],{},[1282,6605,6606],{},[747,6607,2535],{},[1282,6609,6610,6563,6613,6615,6616,877,6619,877,6621,877,6623,951,6626,877,6628,877,6630,6632],{},[747,6611,6612],{},"tmm_",[747,6614,2230],{}," (cascade), ",[747,6617,6618],{},"userId",[747,6620,2558],{},[747,6622,2539],{},[747,6624,6625],{},"addedBy",[747,6627,3780],{},[747,6629,3831],{},[747,6631,3834],{},". One row per team and user. Crew adds columns and their indexes through its extension file.",[1261,6634,6635,6639],{},[1282,6636,6637],{},[747,6638,2808],{},[1282,6640,6641,6643,6644,2224,6647,4451,6650,787],{},[747,6642,3043],{},", ordered ",[747,6645,6646],{},"roles",[747,6648,6649],{},"[{ key, label }]",[747,6651,1570],{},[1261,6653,6654,6659],{},[1282,6655,6656],{},[747,6657,6658],{},"team_role_mappings",[1282,6660,6661,6664,6665,6667,6668,877,6670,877,6672,787],{},[747,6662,6663],{},"trm_"," id, owner, ",[747,6666,2230],{}," (cascade, null for every team), ",[747,6669,2726],{},[747,6671,2618],{},[747,6673,2611],{},[1261,6675,6676,6680],{},[1282,6677,6678],{},[747,6679,818],{},[1282,6681,6682,6684,6685,877,6687,847,6689,6691,6692,6694,6695,877,6697,877,6699,877,6701,877,6703,877,6705,877,6707,877,6709,787],{},[747,6683,5606],{}," id, owner, Translated ",[747,6686,3525],{},[747,6688,1536],{},[747,6690,4341],{}," (the page body), ",[747,6693,6580],{},", a unique ",[747,6696,3704],{},[747,6698,4157],{},[747,6700,3800],{},[747,6702,3733],{},[747,6704,3755],{},[747,6706,3712],{},[747,6708,3715],{},[747,6710,4270],{},[1261,6712,6713,6717],{},[1282,6714,6715],{},[747,6716,4227],{},[1282,6718,6719,6563,6722,6615,6725,877,6727,2224,6729,2175,6731,6011,6733,951,6735,877,6737,877,6739,6741],{},[747,6720,6721],{},"prm_",[747,6723,6724],{},"projectId",[747,6726,6618],{},[747,6728,2558],{},[747,6730,753],{},[747,6732,1301],{},[747,6734,6625],{},[747,6736,3780],{},[747,6738,3831],{},[747,6740,3834],{},". One row per project and user.",[1261,6743,6744,6748],{},[1282,6745,6746],{},[747,6747,4239],{},[1282,6749,6750,6563,6753,6615,6755,6757,6758,877,6760,6762],{},[747,6751,6752],{},"ptm_",[747,6754,6724],{},[747,6756,2230],{}," (cascade), Translated ",[747,6759,931],{},[747,6761,4270],{},". One row per pair.",[738,6764,6765],{},"User ids have no foreign key: the users table belongs to Users. Whoever deletes a user removes their memberships.",[789,6767,493],{"id":6768},"translations",[738,6770,6771,6772,6775,6776,847,6779,6782,6783,6786,6787,787],{},"Override any string in your app's ",[747,6773,6774],{},"i18n\u002Flocales\u002F\u003Ccode>.json",". The module registers ",[747,6777,6778],{},"da",[747,6780,6781],{},"en"," files under\n",[747,6784,6785],{},"teams.*",". See ",[742,6788,6790],{"href":6789},"\u002Fmodules\u002Fplatform\u002Fmodule-kit\u002Fi18n#overriding-module-strings-in-your-app","overriding module strings",[738,6792,6793,6794,877,6797,877,6800,877,6803,6806,6807,847,6810,5677,6813,877,6816,4251,6819,6822],{},"Key groups: ",[747,6795,6796],{},"menu.*",[747,6798,6799],{},"permissions.*",[747,6801,6802],{},"scopes.*",[747,6804,6805],{},"public.*"," (the public pages), ",[747,6808,6809],{},"dashboard.*",[747,6811,6812],{},"admin.*",[747,6814,6815],{},"admin.tabs.*",[747,6817,6818],{},"admin.ownerTypes.*",[747,6820,6821],{},"admin.sources.*","). Ladder role labels are data: edit them on the ladder.",[789,6824,6826],{"id":6825},"next-steps","Next steps",[794,6828,6829,6834],{},[797,6830,6831,6833],{},[742,6832,528],{"href":529}," – applications and invites that put people on teams.",[797,6835,6836,6839,6840,6842],{},[742,6837,6838],{"href":761},"Record audiences"," – the grant lists the ",[747,6841,757],{}," kind belongs to.",[6844,6845,6846],"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 .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 .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}",{"title":995,"searchDepth":1055,"depth":1055,"links":6848},[6849,6850,6856,6857,6858,6874,6880,6881,6882,6883,6884],{"id":791,"depth":1055,"text":792},{"id":979,"depth":1055,"text":980,"children":6851},[6852,6853,6854,6855],{"id":987,"depth":1099,"text":988},{"id":1019,"depth":1099,"text":1020},{"id":1173,"depth":1099,"text":1174},{"id":1197,"depth":1099,"text":1198},{"id":1246,"depth":1055,"text":1247},{"id":2076,"depth":1055,"text":2077},{"id":2337,"depth":1055,"text":2338,"children":6859},[6860,6861,6862,6863,6864,6865,6866,6867,6868,6869,6870,6871,6872,6873],{"id":2353,"depth":1099,"text":2354},{"id":2435,"depth":1099,"text":2436},{"id":2642,"depth":1099,"text":2549},{"id":2680,"depth":1099,"text":2554},{"id":1286,"depth":1099,"text":1311},{"id":2846,"depth":1099,"text":2847},{"id":2943,"depth":1099,"text":2414},{"id":3190,"depth":1099,"text":3191},{"id":3546,"depth":1099,"text":910},{"id":3694,"depth":1099,"text":842},{"id":3885,"depth":1099,"text":3886},{"id":818,"depth":1099,"text":3719},{"id":4429,"depth":1099,"text":1371},{"id":4671,"depth":1099,"text":4672},{"id":4706,"depth":1055,"text":284,"children":6875},[6876,6877,6878,6879],{"id":4709,"depth":1099,"text":105},{"id":4903,"depth":1099,"text":4904},{"id":4932,"depth":1099,"text":4933},{"id":5089,"depth":1099,"text":5090},{"id":3367,"depth":1055,"text":242},{"id":5539,"depth":1055,"text":2349},{"id":6530,"depth":1055,"text":40},{"id":6768,"depth":1055,"text":493},{"id":6825,"depth":1055,"text":6826},"Teams owned by an operation or the platform, members with a role from their team kind's ladder, and mapping rules that give people a team role without adding them by hand.","md",null,{},true,{"title":258,"description":6885},"PGR6loWtyeK-9q396dJP2-iP9omExnn5jgHQAkuCsRE",[6893,6895],{"title":249,"path":250,"stem":251,"description":6894,"children":-1},"Let a separate service accept the access tokens of an issuer, so one mobile app signs in once and calls every service.",{"title":267,"path":268,"stem":269,"description":6896,"children":-1},"Gives your app one verified Stripe webhook and a Stripe customer per user, for Payments and Subscriptions.",1796157343296]