[{"data":1,"prerenderedAt":1680},["ShallowReactive",2],{"navigation_docs":3,"-modules-content-documents":732,"-modules-content-documents-surround":1675},[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":300,"body":734,"description":1668,"extension":1669,"links":1670,"meta":1671,"navigation":1672,"path":301,"seo":1673,"stem":302,"__hash__":1674},"docs\u002F3.modules\u002F4.content\u002F3.documents.md",{"type":735,"value":736,"toc":1653},"minimark",[737,756,772,777,829,833,868,872,1050,1065,1069,1209,1219,1223,1234,1276,1283,1325,1343,1347,1368,1375,1379,1424,1428,1438,1582,1585,1649],[738,739,740,741,745,746,750,751,755],"p",{},"Documents are the files people need: the handbook, the bar guide, the shift overview, the minutes of a coordinator\nmeeting. ",[742,743,744],"a",{"href":91},"Staff"," upload them under ",[747,748,749],"strong",{},"Admin → Documents",", put them in folders and decide who\nmay see each one. Signed-in people browse what they may see at ",[752,753,754],"code",{},"\u002Fdashboard\u002Fdocuments"," and download it.",[738,757,758,759,762,763,767,768,771],{},"The package is ",[752,760,761],{},"@frigear-nu\u002Fdocuments",". Who may see a folder or a file is a grant list (Auth's\n",[742,764,766],{"href":765},"\u002Fcontribute\u002Fwriting-a-module\u002Faccess-control#record-audiences","record audiences","): public, signed-in, a role, a team,\nan operation, a ",[742,769,770],{"href":276},"plan",", whatever kinds your app has. There is no other access model:\nno groups, no shares.",[773,774,776],"h2",{"id":775},"what-you-get","What you get",[778,779,780,787,793,806,819],"ul",{},[781,782,783,786],"li",{},[747,784,785],{},"Nested folders"," with files in them, each with a title and description in every language and an icon.",[781,788,789,792],{},[747,790,791],{},"Grant inheritance."," A folder or a file without a list of its own follows its folder; a folder hides everything in it\nfrom people who cannot see the folder.",[781,794,795,798,799,802,803,805],{},[747,796,797],{},"A browse page"," in the signed-in hub of ",[742,800,452],{"href":801},"\u002Fmodules\u002Finterface\u002Fdashboard#the-hub"," (",[752,804,754],{},"):\nfolders open in place, files download.",[781,807,808,811,812,814,815,818],{},[747,809,810],{},"A staff page"," (with ",[742,813,225],{"href":427},", ",[752,816,817],{},"\u002Fadmin\u002Fdocuments","): browse every folder, add folders,\nupload, edit, move, replace and delete, with the grants editor (\"Same as the folder\", or a list of its own).",[781,820,821,824,825,828],{},[747,822,823],{},"Safe downloads."," Uploads are typed by their bytes, downloads are attachments with ",[752,826,827],{},"nosniff",", and only files that\nare public the whole way down are cached publicly.",[830,831],"module-runtime",{":client":832,":server":832},"true",[834,835,836,839,840,814,842,844,845,839,848,851,852,855,856,839,859,861,862,864,865,867],"note",{},[747,837,838],{},"Installed for you:"," ",[742,841,172],{"href":173},[742,843,402],{"href":403}," and Module Kit; NuxtHub Blob is\nturned on.\n",[747,846,847],{},"You add:",[752,849,850],{},"@nuxthub\u002Fcore",", and ",[752,853,854],{},"@nuxt\u002Fui"," for the pages.\n",[747,857,858],{},"Optional:",[742,860,452],{"href":453}," for the browse page, ",[742,863,225],{"href":427}," for the\nstaff page, ",[742,866,430],{"href":431}," for the menu entries.",[773,869,871],{"id":870},"quick-setup","Quick setup",[873,874,875,880,908,912,915,1007,1011,1023,1035,1039],"steps",{},[876,877,879],"h3",{"id":878},"install-documents","Install documents",[881,882,887],"pre",{"className":883,"code":884,"language":885,"meta":886,"style":886},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm add @frigear-nu\u002Fdocuments @nuxthub\u002Fcore\n","bash","",[752,888,889],{"__ignoreMap":886},[890,891,894,898,902,905],"span",{"class":892,"line":893},"line",1,[890,895,897],{"class":896},"sBMFI","pnpm",[890,899,901],{"class":900},"sfazB"," add",[890,903,904],{"class":900}," @frigear-nu\u002Fdocuments",[890,906,907],{"class":900}," @nuxthub\u002Fcore\n",[876,909,911],{"id":910},"add-it-to-nuxtconfigts","Add it to nuxt.config.ts",[738,913,914],{},"List Dashboard, Admin and Menu before documents, so the pages and the menu entries register.",[881,916,921],{"className":917,"code":918,"filename":919,"language":920,"meta":886,"style":886},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  modules: ['@nuxthub\u002Fcore', '@frigear-nu\u002Fdashboard', '@frigear-nu\u002Fadmin', '@frigear-nu\u002Fdocuments'],\n})\n","nuxt.config.ts","ts",[752,922,923,944,998],{"__ignoreMap":886},[890,924,925,929,932,936,940],{"class":892,"line":893},[890,926,928],{"class":927},"s7zQu","export",[890,930,931],{"class":927}," default",[890,933,935],{"class":934},"s2Zo4"," defineNuxtConfig",[890,937,939],{"class":938},"sTEyZ","(",[890,941,943],{"class":942},"sMK4o","{\n",[890,945,947,951,954,957,960,962,964,967,970,973,975,977,979,982,984,986,988,990,992,995],{"class":892,"line":946},2,[890,948,950],{"class":949},"swJcz","  modules",[890,952,953],{"class":942},":",[890,955,956],{"class":938}," [",[890,958,959],{"class":942},"'",[890,961,850],{"class":900},[890,963,959],{"class":942},[890,965,966],{"class":942},",",[890,968,969],{"class":942}," '",[890,971,972],{"class":900},"@frigear-nu\u002Fdashboard",[890,974,959],{"class":942},[890,976,966],{"class":942},[890,978,969],{"class":942},[890,980,981],{"class":900},"@frigear-nu\u002Fadmin",[890,983,959],{"class":942},[890,985,966],{"class":942},[890,987,969],{"class":942},[890,989,761],{"class":900},[890,991,959],{"class":942},[890,993,994],{"class":938},"]",[890,996,997],{"class":942},",\n",[890,999,1001,1004],{"class":892,"line":1000},3,[890,1002,1003],{"class":942},"}",[890,1005,1006],{"class":938},")\n",[876,1008,1010],{"id":1009},"generate-the-migration","Generate the migration",[1012,1013,1014,1015,1018,1019,1022],"warning",{},"Without a ",[742,1016,1017],{"href":91},"migration"," the ",[752,1020,1021],{},"documents"," table does not exist, and every request to it fails.",[881,1024,1026],{"className":883,"code":1025,"language":885,"meta":886,"style":886},"pnpm db:generate\n",[752,1027,1028],{"__ignoreMap":886},[890,1029,1030,1032],{"class":892,"line":893},[890,1031,897],{"class":896},[890,1033,1034],{"class":900}," db:generate\n",[876,1036,1038],{"id":1037},"bind-blob-in-production","Bind Blob in production",[738,1040,1041,1042,1045,1046,1049],{},"On Cloudflare, files go to R2 through NuxtHub's ",[752,1043,1044],{},"BLOB"," binding. Configure ",[752,1047,1048],{},"hub.blob"," for production as you do for the\nother modules that store files.",[1051,1052,1055,1058,1059,1061,1062,1064],"callout",{"color":1053,"icon":1054},"success","i-lucide-check",[747,1056,1057],{},"What you should see:"," an admin opens ",[752,1060,817],{},", adds a folder that one role can see and uploads a PDF into\nit. Someone with that role finds the folder at ",[752,1063,754],{}," and downloads the PDF; anybody else sees neither.",[773,1066,1068],{"id":1067},"options","Options",[881,1070,1072],{"className":917,"code":1071,"filename":919,"language":920,"meta":886,"style":886},"export default defineNuxtConfig({\n  documents: {\n    settings: {\n      pages: {\n        \u002F\u002F `true` (the default) is `\u003Chub>\u002Fdocuments`; a string is a path of its own; `false` turns it off.\n        browse: true,\n        \u002F\u002F `true` (the default, with Admin) is `\u002Fadmin\u002Fdocuments`; `false` turns it off.\n        admin: true,\n      },\n      \u002F\u002F The largest upload, in bytes (25 MB by default). Uploads are read into memory.\n      maxFileBytes: 25 * 1024 * 1024,\n    },\n  },\n})\n",[752,1073,1074,1086,1096,1105,1115,1122,1136,1142,1154,1160,1166,1190,1196,1202],{"__ignoreMap":886},[890,1075,1076,1078,1080,1082,1084],{"class":892,"line":893},[890,1077,928],{"class":927},[890,1079,931],{"class":927},[890,1081,935],{"class":934},[890,1083,939],{"class":938},[890,1085,943],{"class":942},[890,1087,1088,1091,1093],{"class":892,"line":946},[890,1089,1090],{"class":949},"  documents",[890,1092,953],{"class":942},[890,1094,1095],{"class":942}," {\n",[890,1097,1098,1101,1103],{"class":892,"line":1000},[890,1099,1100],{"class":949},"    settings",[890,1102,953],{"class":942},[890,1104,1095],{"class":942},[890,1106,1108,1111,1113],{"class":892,"line":1107},4,[890,1109,1110],{"class":949},"      pages",[890,1112,953],{"class":942},[890,1114,1095],{"class":942},[890,1116,1118],{"class":892,"line":1117},5,[890,1119,1121],{"class":1120},"sHwdD","        \u002F\u002F `true` (the default) is `\u003Chub>\u002Fdocuments`; a string is a path of its own; `false` turns it off.\n",[890,1123,1125,1128,1130,1134],{"class":892,"line":1124},6,[890,1126,1127],{"class":949},"        browse",[890,1129,953],{"class":942},[890,1131,1133],{"class":1132},"sfNiH"," true",[890,1135,997],{"class":942},[890,1137,1139],{"class":892,"line":1138},7,[890,1140,1141],{"class":1120},"        \u002F\u002F `true` (the default, with Admin) is `\u002Fadmin\u002Fdocuments`; `false` turns it off.\n",[890,1143,1145,1148,1150,1152],{"class":892,"line":1144},8,[890,1146,1147],{"class":949},"        admin",[890,1149,953],{"class":942},[890,1151,1133],{"class":1132},[890,1153,997],{"class":942},[890,1155,1157],{"class":892,"line":1156},9,[890,1158,1159],{"class":942},"      },\n",[890,1161,1163],{"class":892,"line":1162},10,[890,1164,1165],{"class":1120},"      \u002F\u002F The largest upload, in bytes (25 MB by default). Uploads are read into memory.\n",[890,1167,1169,1172,1174,1178,1181,1184,1186,1188],{"class":892,"line":1168},11,[890,1170,1171],{"class":949},"      maxFileBytes",[890,1173,953],{"class":942},[890,1175,1177],{"class":1176},"sbssI"," 25",[890,1179,1180],{"class":942}," *",[890,1182,1183],{"class":1176}," 1024",[890,1185,1180],{"class":942},[890,1187,1183],{"class":1176},[890,1189,997],{"class":942},[890,1191,1193],{"class":892,"line":1192},12,[890,1194,1195],{"class":942},"    },\n",[890,1197,1199],{"class":892,"line":1198},13,[890,1200,1201],{"class":942},"  },\n",[890,1203,1205,1207],{"class":892,"line":1204},14,[890,1206,1003],{"class":942},[890,1208,1006],{"class":938},[738,1210,1211,1212,1215,1216,1218],{},"Without the dashboard hub there is no browse page unless ",[752,1213,1214],{},"pages.browse"," is a path; that page is then guarded for\nsigned-in people (with ",[742,1217,207],{"href":208},").",[773,1220,1222],{"id":1221},"who-sees-what","Who sees what",[738,1224,1225,1226,1229,1230,1233],{},"Every document stores ",[752,1227,1228],{},"grants",": a grant list, or ",[752,1231,1232],{},"null",".",[1235,1236,1237,1251],"table",{},[1238,1239,1240],"thead",{},[1241,1242,1243,1248],"tr",{},[1244,1245,1246],"th",{},[752,1247,1228],{},[1244,1249,1250],{},"What applies",[1252,1253,1254,1267],"tbody",{},[1241,1255,1256,1260],{},[1257,1258,1259],"td",{},"a list",[1257,1261,1262,1263,1266],{},"That list: any one grant admits, ",[752,1264,1265],{},"[]"," admits nobody but managers.",[1241,1268,1269,1273],{},[1257,1270,1271],{},[752,1272,1232],{},[1257,1274,1275],{},"The same as its folder: the nearest folder above it with a list. At the top level, nobody but managers.",[738,1277,1278,1279,1282],{},"A document is visible when the list that applies to it ",[747,1280,1281],{},"and"," the list that applies to every folder above it admit\nthe reader. A file can narrow its folder but never widen it: a public file in a crew folder is for the crew only.",[778,1284,1285,1299,1302,1309,1316],{},[781,1286,1287,1288,1291,1292,1295,1296,1233],{},"Anonymous visitors see a document only when every list on the way holds ",[752,1289,1290],{},"public",". Only those downloads are cached\npublicly (",[752,1293,1294],{},"cache-control: public, max-age=300","); everything else is ",[752,1297,1298],{},"private, no-store",[781,1300,1301],{},"A folder whose parent is missing (or a loop) hides everything in it.",[781,1303,1304,1305,1308],{},"People who hold ",[752,1306,1307],{},"documents:manage"," see every document, also those whose list is empty.",[781,1310,1311,1312,1315],{},"A hidden document answers ",[752,1313,1314],{},"404",", the same as one that does not exist.",[781,1317,1318,1319,1321,1322,1324],{},"A new document without ",[752,1320,1228],{}," follows its folder; one at the top level starts with ",[752,1323,1265],{}," (managers only).",[738,1326,1327,1328,1331,1332,1334,1335,1338,1339,1342],{},"Reads go through ",[752,1329,1330],{},"grantsCanRead(event, 'documents:read', { grants })"," on the list that applies, so a token without the\n",[752,1333,1021],{}," scope reads public documents only. The ",[752,1336,1337],{},"documents:read"," policy evaluates the list with ",[752,1340,1341],{},"grantsMatch","; the\nroute walks the folders.",[773,1344,1346],{"id":1345},"uploads","Uploads",[738,1348,1349,1350,1352,1353,1356,1357,1360,1361,1364,1365,1218],{},"A file is accepted when its extension is one of PDF, PNG, JPEG, WebP, GIF, Word, Excel, PowerPoint (both the current\nand the old formats), OpenDocument, ZIP, TXT, CSV or Markdown ",[747,1351,1281],{}," its bytes match that extension. The stored type\nis the one read from the bytes, never the browser's. Anything else is refused with ",[752,1354,1355],{},"415 unsupported_media_type",". A\nrequest larger than ",[752,1358,1359],{},"maxFileBytes"," is refused from its ",[752,1362,1363],{},"content-length"," before it is read (",[752,1366,1367],{},"413 file_too_large",[738,1369,1370,1371,1374],{},"Files are stored in Blob under ",[752,1372,1373],{},"documents\u002F\u003Cid>\u002F"," with a random suffix, so a replaced file gets a new path and the old\none is deleted. When the database write fails, the stored file is deleted again. Deleting a folder deletes everything\nin it, with the files.",[773,1376,1378],{"id":1377},"permissions","Permissions",[1235,1380,1381,1394],{},[1238,1382,1383],{},[1241,1384,1385,1388,1391],{},[1244,1386,1387],{},"Permission",[1244,1389,1390],{},"Who holds it",[1244,1392,1393],{},"What it allows",[1252,1395,1396,1410],{},[1241,1397,1398,1402,1407],{},[1257,1399,1400],{},[752,1401,1307],{},[1257,1403,1404],{},[752,1405,1406],{},"admin",[1257,1408,1409],{},"The staff routes and page; seeing every document.",[1241,1411,1412,1416,1419],{},[1257,1413,1414],{},[752,1415,1337],{},[1257,1417,1418],{},"Every signed-in user (implicit)",[1257,1420,1421,1422,1233],{},"Browsing and downloading the documents their grants admit. Scope ",[752,1423,1021],{},[773,1425,1427],{"id":1426},"routes","Routes",[738,1429,1430,1431,1434,1435,1233],{},"Path builders: ",[752,1432,1433],{},"documentsApi"," from ",[752,1436,1437],{},"@frigear-nu\u002Fdocuments\u002Fapi",[1235,1439,1440,1450],{},[1238,1441,1442],{},[1241,1443,1444,1447],{},[1244,1445,1446],{},"Route",[1244,1448,1449],{},"What it does",[1252,1451,1452,1476,1489,1507,1520,1542,1560,1572],{},[1241,1453,1454,1459],{},[1257,1455,1456],{},[752,1457,1458],{},"GET \u002Fapi\u002Fdocuments?parent=\u003Cid>",[1257,1460,1461,1462,1464,1465,1468,1469,1472,1473,1475],{},"The folder (",[752,1463,1232],{}," at the top level), the folders on the way down to it (",[752,1466,1467],{},"breadcrumb",") and the visible ",[752,1470,1471],{},"items"," in it. ",[752,1474,1314],{}," for a hidden folder.",[1241,1477,1478,1483],{},[1257,1479,1480],{},[752,1481,1482],{},"GET \u002Fapi\u002Fdocuments\u002F:id\u002Fdownload",[1257,1484,1485,1486,1488],{},"The file as an attachment. ",[752,1487,1314],{}," when hidden or missing.",[1241,1490,1491,1496],{},[1257,1492,1493],{},[752,1494,1495],{},"GET \u002Fapi\u002Fadmin\u002Fdocuments",[1257,1497,1498,1499,814,1501,1504,1505,1233],{},"Every folder and file with ",[752,1500,1228],{},[752,1502,1503],{},"effectiveGrants"," and ",[752,1506,1290],{},[1241,1508,1509,1514],{},[1257,1510,1511],{},[752,1512,1513],{},"POST \u002Fapi\u002Fadmin\u002Fdocuments\u002Ffolders",[1257,1515,1516,1517,1233],{},"A new folder: ",[752,1518,1519],{},"{ title, description?, icon?, parentId?, sortOrder?, grants? }",[1241,1521,1522,1527],{},[1257,1523,1524],{},[752,1525,1526],{},"POST \u002Fapi\u002Fadmin\u002Fdocuments\u002Ffiles",[1257,1528,1529,1530,1533,1534,1537,1538,1541],{},"An upload: multipart with a ",[752,1531,1532],{},"file"," part and a ",[752,1535,1536],{},"meta"," part holding the folder fields as JSON (",[752,1539,1540],{},"title"," defaults to the file name).",[1241,1543,1544,1549],{},[1257,1545,1546],{},[752,1547,1548],{},"PATCH \u002Fapi\u002Fadmin\u002Fdocuments\u002F:id",[1257,1550,1551,1552,1555,1556,1559],{},"Any of the fields; ",[752,1553,1554],{},"parentId"," moves it (never into itself), ",[752,1557,1558],{},"grants: null"," makes it follow its folder.",[1241,1561,1562,1567],{},[1257,1563,1564],{},[752,1565,1566],{},"PUT \u002Fapi\u002Fadmin\u002Fdocuments\u002F:id\u002Ffile",[1257,1568,1569,1570,1218],{},"Replaces the stored file of a file (multipart, ",[752,1571,1532],{},[1241,1573,1574,1579],{},[1257,1575,1576],{},[752,1577,1578],{},"DELETE \u002Fapi\u002Fadmin\u002Fdocuments\u002F:id",[1257,1580,1581],{},"Deletes a file, or a folder with everything in it.",[773,1583,40],{"id":1584},"database",[738,1586,1587,1588,1590,1591,802,1594,1597,1598,1600,1601,802,1604,1607,1608,1597,1610,1612,1613,1616,1617,814,1620,814,1623,1625,1626,1629,1630,814,1633,1504,1636,1639,1640,814,1643,1504,1646,1233],{},"One table, ",[752,1589,1021],{},": ",[752,1592,1593],{},"id",[752,1595,1596],{},"doc_…","), ",[752,1599,1554],{}," (the folder, deleted with it), ",[752,1602,1603],{},"kind",[752,1605,1606],{},"folder"," or ",[752,1609,1532],{},[752,1611,1540],{},"\nand ",[752,1614,1615],{},"description"," (translated JSON), ",[752,1618,1619],{},"icon",[752,1621,1622],{},"sortOrder",[752,1624,1228],{}," (JSON, nullable), and for files ",[752,1627,1628],{},"pathname"," (in Blob,\nnever sent to clients), ",[752,1631,1632],{},"filename",[752,1634,1635],{},"contentType",[752,1637,1638],{},"size",", plus ",[752,1641,1642],{},"createdBy",[752,1644,1645],{},"createdAt",[752,1647,1648],{},"updatedAt",[1650,1651,1652],"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 .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 .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":886,"searchDepth":946,"depth":946,"links":1654},[1655,1656,1662,1663,1664,1665,1666,1667],{"id":775,"depth":946,"text":776},{"id":870,"depth":946,"text":871,"children":1657},[1658,1659,1660,1661],{"id":878,"depth":1000,"text":879},{"id":910,"depth":1000,"text":911},{"id":1009,"depth":1000,"text":1010},{"id":1037,"depth":1000,"text":1038},{"id":1067,"depth":946,"text":1068},{"id":1221,"depth":946,"text":1222},{"id":1345,"depth":946,"text":1346},{"id":1377,"depth":946,"text":1378},{"id":1426,"depth":946,"text":1427},{"id":1584,"depth":946,"text":40},"Files in nested folders, stored in NuxtHub Blob, where who may see each file or folder is a grant list that follows its folder unless it has its own.","md",null,{},true,{"title":300,"description":1668},"1r6z8MppR_SCzWbICOAbfltQKr8q2ysplwULtrC9-YU",[1676,1678],{"title":296,"path":297,"stem":298,"description":1677,"children":-1},"Bilingual help articles in categories, public or visible per role, shown as article lists, FAQ accordions or FAQ cards, with onboarding checklists that track what each volunteer has read, from the database or Nuxt Content.",{"title":177,"path":310,"stem":311,"description":1679,"children":-1},"Sell tickets to your events, free or paid through Stripe, and check people in at the door with a QR code.",1796157343557]