[{"data":1,"prerenderedAt":2933},["ShallowReactive",2],{"navigation_docs":3,"-modules-interface-desktop":732,"-modules-interface-desktop-surround":2928},[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":456,"body":734,"description":2921,"extension":2922,"links":2923,"meta":2924,"navigation":2925,"path":457,"seo":2926,"stem":458,"__hash__":2927},"docs\u002F3.modules\u002F7.interface\u002F7.desktop\u002Findex.md",{"type":735,"value":736,"toc":2902},"minimark",[737,761,776,781,834,838,903,906,910,952,956,1373,1392,1396,1403,1856,1883,1890,1925,1945,1949,1955,2011,2057,2063,2115,2118,2128,2144,2148,2162,2168,2172,2185,2386,2398,2400,2405,2472,2621,2624,2627,2652,2794,2801,2805,2819,2898],[738,739,740,741,748,749,751,752,756,757,760],"p",{},"Desktop turns a Nuxt app into a desktop app for macOS, Windows and Linux with ",[742,743,747],"a",{"href":744,"rel":745},"https:\u002F\u002Fv2.tauri.app",[746],"nofollow","Tauri v2",". It is\nthe desktop sibling of ",[742,750,438],{"href":439},": the module writes the parts of the Tauri config it can\nderive from your Nuxt config, and the ",[753,754,755],"code",{},"frigear-desktop"," CLI creates and updates the ",[753,758,759],{},"src-tauri\u002F"," project.",[738,762,763,764,767,768,771,772,775],{},"The package is ",[753,765,766],{},"@frigear-nu\u002Fdesktop",". In remote mode, users sign in through\n",[742,769,770],{"href":188},"Auth in client mode",". In local mode, they sign in on the app's own bundled server\n(locally, or at an issuer such as frigear.nu through the system browser), or at a remote issuer with\n",[742,773,774],{"href":196},"Auth in resource mode",".",[777,778,780],"h2",{"id":779},"modes","Modes",[782,783,784,799],"table",{},[785,786,787],"thead",{},[788,789,790,796],"tr",{},[791,792,793],"th",{},[753,794,795],{},"mode",[791,797,798],{},"What ships in the app",[800,801,802,818],"tbody",{},[788,803,804,811],{},[805,806,807,810],"td",{},[753,808,809],{},"remote"," (default)",[805,812,813,814,817],{},"A static SPA (",[753,815,816],{},"nuxt generate","). It talks to a remote API and signs in at a remote issuer with OAuth PKCE.",[788,819,820,825],{},[805,821,822],{},[753,823,824],{},"local",[805,826,827,828,831,832,775],{},"The whole app (SSR, API routes and server modules) compiled into one executable that runs offline on ",[753,829,830],{},"127.0.0.1",", with a sqlite database in the app-data folder. Users sign in with cookie sessions (Auth in server mode), or at a remote issuer whose access tokens the server accepts (Auth in resource mode). See ",[742,833,466],{"href":467},[777,835,837],{"id":836},"what-you-get","What you get",[839,840,841,855,866,877,883,892,898],"ul",{},[842,843,844,848,849,851,852,775],"li",{},[845,846,847],"strong",{},"Generated Tauri config",": the app id, name, version, window, deep-link schemes and the permissions the features\nuse, merged into ",[753,850,759],{}," by ",[753,853,854],{},"frigear-desktop sync",[842,856,857,859,860,863,864,775],{},[845,858,462],{},": ",[753,861,862],{},"frigear-desktop init | sync | dev | build | doctor",". See ",[742,865,462],{"href":463},[842,867,868,873,874,775],{},[845,869,870],{},[753,871,872],{},"useDesktop()",": whether the app runs in Tauri, the OS, the app version, window controls and ",[753,875,876],{},"openExternal",[842,878,879,882],{},[845,880,881],{},"Deep links",": links with the app's scheme open a page of the app. OAuth callbacks are left to Auth.",[842,884,885,859,888,891],{},[845,886,887],{},"Styling hooks",[753,889,890],{},"\u003Chtml class=\"desktop\" data-desktop=\"macos\">"," inside the desktop app.",[842,893,894,897],{},[845,895,896],{},"Sign-in"," (opt-in): through Auth in client mode, in the system browser with the redirect back as a deep link.",[842,899,900,902],{},[845,901,466],{},": a bundled server started by the shell, with startup migrations, generated secrets and offline\ndefaults.",[738,904,905],{},"Everything does nothing in a plain browser, so the same app also runs as a website.",[907,908],"module-runtime",{":client":909},"true",[911,912,913,935],"note",{},[738,914,915,918,919,924,925,930,931,934],{},[845,916,917],{},"Installed for you:"," ",[742,920,921],{"href":480},[753,922,923],{},"@frigear-nu\u002Fmodule-kit",", and\n",[742,926,927],{"href":173},[753,928,929],{},"@frigear-nu\u002Fauth"," when ",[753,932,933],{},"authentication"," is configured.",[738,936,937,918,940,943,944,947,948,775],{},[845,938,939],{},"You add:",[753,941,942],{},"@tauri-apps\u002Fcli"," (dev), ",[753,945,946],{},"@tauri-apps\u002Fapi",", and the Tauri plugins your features use. The Rust toolchain\nand your OS's prerequisites, see ",[742,949,951],{"href":950},"\u002Fmodules\u002Finterface\u002Fdesktop\u002Fcli#prerequisites","Prerequisites",[777,953,955],{"id":954},"quick-setup","Quick setup",[957,958,959,964,1034,1038,1311,1315],"steps",{},[960,961,963],"h3",{"id":962},"install-desktop-and-tauri","Install Desktop and Tauri",[965,966,971],"pre",{"className":967,"code":968,"language":969,"meta":970,"style":970},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm add @frigear-nu\u002Fdesktop @tauri-apps\u002Fapi @tauri-apps\u002Fplugin-deep-link @tauri-apps\u002Fplugin-opener @tauri-apps\u002Fplugin-store\npnpm add -D @tauri-apps\u002Fcli\n# optional, for the features that use them:\npnpm add @tauri-apps\u002Fplugin-autostart @tauri-apps\u002Fplugin-updater\n","bash","",[753,972,973,1001,1014,1021],{"__ignoreMap":970},[974,975,978,982,986,989,992,995,998],"span",{"class":976,"line":977},"line",1,[974,979,981],{"class":980},"sBMFI","pnpm",[974,983,985],{"class":984},"sfazB"," add",[974,987,988],{"class":984}," @frigear-nu\u002Fdesktop",[974,990,991],{"class":984}," @tauri-apps\u002Fapi",[974,993,994],{"class":984}," @tauri-apps\u002Fplugin-deep-link",[974,996,997],{"class":984}," @tauri-apps\u002Fplugin-opener",[974,999,1000],{"class":984}," @tauri-apps\u002Fplugin-store\n",[974,1002,1004,1006,1008,1011],{"class":976,"line":1003},2,[974,1005,981],{"class":980},[974,1007,985],{"class":984},[974,1009,1010],{"class":984}," -D",[974,1012,1013],{"class":984}," @tauri-apps\u002Fcli\n",[974,1015,1017],{"class":976,"line":1016},3,[974,1018,1020],{"class":1019},"sHwdD","# optional, for the features that use them:\n",[974,1022,1024,1026,1028,1031],{"class":976,"line":1023},4,[974,1025,981],{"class":980},[974,1027,985],{"class":984},[974,1029,1030],{"class":984}," @tauri-apps\u002Fplugin-autostart",[974,1032,1033],{"class":984}," @tauri-apps\u002Fplugin-updater\n",[960,1035,1037],{"id":1036},"add-it-to-nuxtconfigts","Add it to nuxt.config.ts",[965,1039,1044],{"className":1040,"code":1041,"filename":1042,"language":1043,"meta":970,"style":970},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  modules: ['@frigear-nu\u002Fdesktop'],\n  desktop: {\n    appId: 'nu.frigear.crew', \u002F\u002F Tauri identifier and, in lowercase, the deep-link and OAuth redirect scheme\n    appName: 'Crew',\n    window: { width: 1280, height: 800, minWidth: 900 },\n  },\n  \u002F\u002F Optional sign-in, in client mode. See Sign-in below.\n  authentication: {\n    mode: 'client',\n    client: { issuer: 'https:\u002F\u002Ffrigear.nu', clientId: 'crew-desktop', scopes: ['openid', 'profile', 'offline_access'] },\n  },\n})\n","nuxt.config.ts","ts",[753,1045,1046,1067,1092,1102,1123,1139,1182,1188,1194,1204,1221,1297,1302],{"__ignoreMap":970},[974,1047,1048,1052,1055,1059,1063],{"class":976,"line":977},[974,1049,1051],{"class":1050},"s7zQu","export",[974,1053,1054],{"class":1050}," default",[974,1056,1058],{"class":1057},"s2Zo4"," defineNuxtConfig",[974,1060,1062],{"class":1061},"sTEyZ","(",[974,1064,1066],{"class":1065},"sMK4o","{\n",[974,1068,1069,1073,1076,1079,1082,1084,1086,1089],{"class":976,"line":1003},[974,1070,1072],{"class":1071},"swJcz","  modules",[974,1074,1075],{"class":1065},":",[974,1077,1078],{"class":1061}," [",[974,1080,1081],{"class":1065},"'",[974,1083,766],{"class":984},[974,1085,1081],{"class":1065},[974,1087,1088],{"class":1061},"]",[974,1090,1091],{"class":1065},",\n",[974,1093,1094,1097,1099],{"class":976,"line":1016},[974,1095,1096],{"class":1071},"  desktop",[974,1098,1075],{"class":1065},[974,1100,1101],{"class":1065}," {\n",[974,1103,1104,1107,1109,1112,1115,1117,1120],{"class":976,"line":1023},[974,1105,1106],{"class":1071},"    appId",[974,1108,1075],{"class":1065},[974,1110,1111],{"class":1065}," '",[974,1113,1114],{"class":984},"nu.frigear.crew",[974,1116,1081],{"class":1065},[974,1118,1119],{"class":1065},",",[974,1121,1122],{"class":1019}," \u002F\u002F Tauri identifier and, in lowercase, the deep-link and OAuth redirect scheme\n",[974,1124,1126,1129,1131,1133,1135,1137],{"class":976,"line":1125},5,[974,1127,1128],{"class":1071},"    appName",[974,1130,1075],{"class":1065},[974,1132,1111],{"class":1065},[974,1134,528],{"class":984},[974,1136,1081],{"class":1065},[974,1138,1091],{"class":1065},[974,1140,1142,1145,1147,1150,1153,1155,1159,1161,1164,1166,1169,1171,1174,1176,1179],{"class":976,"line":1141},6,[974,1143,1144],{"class":1071},"    window",[974,1146,1075],{"class":1065},[974,1148,1149],{"class":1065}," {",[974,1151,1152],{"class":1071}," width",[974,1154,1075],{"class":1065},[974,1156,1158],{"class":1157},"sbssI"," 1280",[974,1160,1119],{"class":1065},[974,1162,1163],{"class":1071}," height",[974,1165,1075],{"class":1065},[974,1167,1168],{"class":1157}," 800",[974,1170,1119],{"class":1065},[974,1172,1173],{"class":1071}," minWidth",[974,1175,1075],{"class":1065},[974,1177,1178],{"class":1157}," 900",[974,1180,1181],{"class":1065}," },\n",[974,1183,1185],{"class":976,"line":1184},7,[974,1186,1187],{"class":1065},"  },\n",[974,1189,1191],{"class":976,"line":1190},8,[974,1192,1193],{"class":1019},"  \u002F\u002F Optional sign-in, in client mode. See Sign-in below.\n",[974,1195,1197,1200,1202],{"class":976,"line":1196},9,[974,1198,1199],{"class":1071},"  authentication",[974,1201,1075],{"class":1065},[974,1203,1101],{"class":1065},[974,1205,1207,1210,1212,1214,1217,1219],{"class":976,"line":1206},10,[974,1208,1209],{"class":1071},"    mode",[974,1211,1075],{"class":1065},[974,1213,1111],{"class":1065},[974,1215,1216],{"class":984},"client",[974,1218,1081],{"class":1065},[974,1220,1091],{"class":1065},[974,1222,1224,1227,1229,1231,1234,1236,1238,1241,1243,1245,1248,1250,1252,1255,1257,1259,1262,1264,1266,1268,1271,1273,1275,1277,1280,1282,1284,1286,1289,1291,1294],{"class":976,"line":1223},11,[974,1225,1226],{"class":1071},"    client",[974,1228,1075],{"class":1065},[974,1230,1149],{"class":1065},[974,1232,1233],{"class":1071}," issuer",[974,1235,1075],{"class":1065},[974,1237,1111],{"class":1065},[974,1239,1240],{"class":984},"https:\u002F\u002Ffrigear.nu",[974,1242,1081],{"class":1065},[974,1244,1119],{"class":1065},[974,1246,1247],{"class":1071}," clientId",[974,1249,1075],{"class":1065},[974,1251,1111],{"class":1065},[974,1253,1254],{"class":984},"crew-desktop",[974,1256,1081],{"class":1065},[974,1258,1119],{"class":1065},[974,1260,1261],{"class":1071}," scopes",[974,1263,1075],{"class":1065},[974,1265,1078],{"class":1061},[974,1267,1081],{"class":1065},[974,1269,1270],{"class":984},"openid",[974,1272,1081],{"class":1065},[974,1274,1119],{"class":1065},[974,1276,1111],{"class":1065},[974,1278,1279],{"class":984},"profile",[974,1281,1081],{"class":1065},[974,1283,1119],{"class":1065},[974,1285,1111],{"class":1065},[974,1287,1288],{"class":984},"offline_access",[974,1290,1081],{"class":1065},[974,1292,1293],{"class":1061},"] ",[974,1295,1296],{"class":1065},"},\n",[974,1298,1300],{"class":976,"line":1299},12,[974,1301,1187],{"class":1065},[974,1303,1305,1308],{"class":976,"line":1304},13,[974,1306,1307],{"class":1065},"}",[974,1309,1310],{"class":1061},")\n",[960,1312,1314],{"id":1313},"create-the-tauri-project-and-run-it","Create the Tauri project and run it",[965,1316,1318],{"className":967,"code":1317,"language":969,"meta":970,"style":970},"npx frigear-desktop doctor --fix   # installs Rust and the Tauri packages if needed, then checks again\nnpx frigear-desktop init      # src-tauri\u002F with the Rust plugins, placeholder icons, then sync\nnpx frigear-desktop dev       # nuxt dev in a Tauri window\nnpx frigear-desktop build     # nuxt generate, then the installers in src-tauri\u002Ftarget\u002Frelease\u002Fbundle\n",[753,1319,1320,1337,1349,1361],{"__ignoreMap":970},[974,1321,1322,1325,1328,1331,1334],{"class":976,"line":977},[974,1323,1324],{"class":980},"npx",[974,1326,1327],{"class":984}," frigear-desktop",[974,1329,1330],{"class":984}," doctor",[974,1332,1333],{"class":984}," --fix",[974,1335,1336],{"class":1019},"   # installs Rust and the Tauri packages if needed, then checks again\n",[974,1338,1339,1341,1343,1346],{"class":976,"line":1003},[974,1340,1324],{"class":980},[974,1342,1327],{"class":984},[974,1344,1345],{"class":984}," init",[974,1347,1348],{"class":1019},"      # src-tauri\u002F with the Rust plugins, placeholder icons, then sync\n",[974,1350,1351,1353,1355,1358],{"class":976,"line":1016},[974,1352,1324],{"class":980},[974,1354,1327],{"class":984},[974,1356,1357],{"class":984}," dev",[974,1359,1360],{"class":1019},"       # nuxt dev in a Tauri window\n",[974,1362,1363,1365,1367,1370],{"class":976,"line":1023},[974,1364,1324],{"class":980},[974,1366,1327],{"class":984},[974,1368,1369],{"class":984}," build",[974,1371,1372],{"class":1019},"     # nuxt generate, then the installers in src-tauri\u002Ftarget\u002Frelease\u002Fbundle\n",[1374,1375,1378,918,1381,1384,1385,1388,1389,775],"callout",{"color":1376,"icon":1377},"success","i-lucide-check",[845,1379,1380],{},"What you should see:",[753,1382,1383],{},"frigear-desktop doctor"," reports no blockers, and ",[753,1386,1387],{},"frigear-desktop dev"," opens the app in a\nwindow titled with your ",[753,1390,1391],{},"appName",[777,1393,1395],{"id":1394},"options","Options",[738,1397,1398,1399,1402],{},"Options go under the ",[753,1400,1401],{},"desktop"," key.",[782,1404,1405,1421],{},[785,1406,1407],{},[788,1408,1409,1412,1415,1418],{},[791,1410,1411],{},"Option",[791,1413,1414],{},"Type",[791,1416,1417],{},"Default",[791,1419,1420],{},"Purpose",[800,1422,1423,1445,1462,1485,1507,1535,1569,1587,1613,1633,1651,1669,1687,1705,1723,1746,1764,1786,1808,1829],{},[788,1424,1425,1430,1435,1438],{},[805,1426,1427],{},[753,1428,1429],{},"appId",[805,1431,1432],{},[753,1433,1434],{},"string",[805,1436,1437],{},"required",[805,1439,1440,1441,1444],{},"The reverse-DNS app id: Tauri's ",[753,1442,1443],{},"identifier"," and, in lowercase, the default scheme.",[788,1446,1447,1451,1455,1459],{},[805,1448,1449],{},[753,1450,1391],{},[805,1452,1453],{},[753,1454,1434],{},[805,1456,1457],{},[753,1458,1429],{},[805,1460,1461],{},"The product name and the default window title.",[788,1463,1464,1469,1473,1482],{},[805,1465,1466],{},[753,1467,1468],{},"version",[805,1470,1471],{},[753,1472,1434],{},[805,1474,1475,1478,1479],{},[753,1476,1477],{},"package.json"," version, else ",[753,1480,1481],{},"0.1.0",[805,1483,1484],{},"The app version (semver).",[788,1486,1487,1491,1496,1501],{},[805,1488,1489],{},[753,1490,795],{},[805,1492,1493],{},[753,1494,1495],{},"'remote' | 'local'",[805,1497,1498],{},[753,1499,1500],{},"'remote'",[805,1502,1503,1504,775],{},"See ",[742,1505,780],{"href":1506},"#modes",[788,1508,1509,1514,1519,1528],{},[805,1510,1511],{},[753,1512,1513],{},"spa",[805,1515,1516],{},[753,1517,1518],{},"boolean",[805,1520,1521,1523,1524,1527],{},[753,1522,909],{}," (remote and local with resource auth), ",[753,1525,1526],{},"false"," (local)",[805,1529,1530,1531,1534],{},"Sets ",[753,1532,1533],{},"ssr: false",", because Tauri serves a static build in remote mode.",[788,1536,1537,1541,1546,1552],{},[805,1538,1539],{},[753,1540,824],{},[805,1542,1543],{},[753,1544,1545],{},"object",[805,1547,1548,1549],{},"see ",[742,1550,466],{"href":1551},"\u002Fmodules\u002Finterface\u002Fdesktop\u002Flocal-mode#options",[805,1553,1554,1557,1558,1557,1561,1564,1565,1568],{},[753,1555,1556],{},"binaryName",", ",[753,1559,1560],{},"port",[753,1562,1563],{},"secureCookie"," and ",[753,1566,1567],{},"dataDirName"," of the bundled server.",[788,1570,1571,1576,1580,1584],{},[805,1572,1573],{},[753,1574,1575],{},"window.title",[805,1577,1578],{},[753,1579,1434],{},[805,1581,1582],{},[753,1583,1391],{},[805,1585,1586],{},"The window title.",[788,1588,1589,1597,1602,1610],{},[805,1590,1591,1557,1594],{},[753,1592,1593],{},"window.width",[753,1595,1596],{},"window.height",[805,1598,1599],{},[753,1600,1601],{},"number",[805,1603,1604,1557,1607],{},[753,1605,1606],{},"1280",[753,1608,1609],{},"800",[805,1611,1612],{},"The window size at start.",[788,1614,1615,1623,1627,1630],{},[805,1616,1617,1557,1620],{},[753,1618,1619],{},"window.minWidth",[753,1621,1622],{},"window.minHeight",[805,1624,1625],{},[753,1626,1601],{},[805,1628,1629],{},"none",[805,1631,1632],{},"The smallest size.",[788,1634,1635,1640,1644,1648],{},[805,1636,1637],{},[753,1638,1639],{},"window.resizable",[805,1641,1642],{},[753,1643,1518],{},[805,1645,1646],{},[753,1647,909],{},[805,1649,1650],{},"Whether the window can be resized.",[788,1652,1653,1658,1662,1666],{},[805,1654,1655],{},[753,1656,1657],{},"window.fullscreen",[805,1659,1660],{},[753,1661,1518],{},[805,1663,1664],{},[753,1665,1526],{},[805,1667,1668],{},"Start fullscreen.",[788,1670,1671,1676,1680,1684],{},[805,1672,1673],{},[753,1674,1675],{},"window.kiosk",[805,1677,1678],{},[753,1679,1518],{},[805,1681,1682],{},[753,1683,1526],{},[805,1685,1686],{},"Fullscreen, without title bar and not resizable, for a single-purpose screen.",[788,1688,1689,1694,1698,1702],{},[805,1690,1691],{},[753,1692,1693],{},"window.decorations",[805,1695,1696],{},[753,1697,1518],{},[805,1699,1700],{},[753,1701,909],{},[805,1703,1704],{},"The OS title bar and borders.",[788,1706,1707,1712,1716,1720],{},[805,1708,1709],{},[753,1710,1711],{},"window.center",[805,1713,1714],{},[753,1715,1518],{},[805,1717,1718],{},[753,1719,909],{},[805,1721,1722],{},"Centered on the screen at start.",[788,1724,1725,1730,1735,1740],{},[805,1726,1727],{},[753,1728,1729],{},"deepLinks.schemes",[805,1731,1732],{},[753,1733,1734],{},"string[] | false",[805,1736,1737],{},[753,1738,1739],{},"[appId]",[805,1741,1742,1743,1745],{},"Custom schemes routed into the app. ",[753,1744,1526],{}," for none.",[788,1747,1748,1753,1757,1761],{},[805,1749,1750],{},[753,1751,1752],{},"singleInstance",[805,1754,1755],{},[753,1756,1518],{},[805,1758,1759],{},[753,1760,909],{},[805,1762,1763],{},"A second launch, or a deep link on Windows and Linux, goes to the running app.",[788,1765,1766,1771,1775,1779],{},[805,1767,1768],{},[753,1769,1770],{},"autostart",[805,1772,1773],{},[753,1774,1518],{},[805,1776,1777],{},[753,1778,1526],{},[805,1780,1781,1782,1785],{},"Adds ",[753,1783,1784],{},"tauri-plugin-autostart",", so the app can start at login.",[788,1787,1788,1793,1798,1802],{},[805,1789,1790],{},[753,1791,1792],{},"updater",[805,1794,1795],{},[753,1796,1797],{},"{ endpoints, pubkey } | false",[805,1799,1800],{},[753,1801,1526],{},[805,1803,1781,1804,1807],{},[753,1805,1806],{},"tauri-plugin-updater"," with your update endpoints and public key.",[788,1809,1810,1815,1819,1824],{},[805,1811,1812],{},[753,1813,1814],{},"devUrl",[805,1816,1817],{},[753,1818,1434],{},[805,1820,1821],{},[753,1822,1823],{},"http:\u002F\u002Flocalhost:\u003CdevServer.port>",[805,1825,1826,1827,775],{},"The URL the window loads under ",[753,1828,1387],{},[788,1830,1831,1836,1840,1844],{},[805,1832,1833],{},[753,1834,1835],{},"doctor",[805,1837,1838],{},[753,1839,1518],{},[805,1841,1842],{},[753,1843,909],{},[805,1845,1846,1847,1850,1851,1855],{},"Warns about missing Tauri packages when dev or build starts. A missing ",[753,1848,1849],{},"@tauri-apps\u002Fplugin-opener"," fails the build, whatever this option says, when local mode turns on the frigear handoff (",[742,1852,1854],{"href":1853},"\u002Fmodules\u002Finterface\u002Fdesktop\u002Flocal-mode#sign-in-at-an-issuer-with-server-auth","Sign in at an issuer with server auth",").",[738,1857,1858,1862,1863,1564,1866,1868,1869,1872,1873,1876,1877,1879,1880,775],{},[845,1859,1860,775],{},[753,1861,1429],{}," Letters, digits, ",[753,1864,1865],{},"-",[753,1867,775],{},", in reverse-DNS form. Avoid a last segment of ",[753,1870,1871],{},"app",", which clashes with the\nmacOS bundle extension. In lowercase, with ",[753,1874,1875],{},"_"," turned into ",[753,1878,1865],{},", it becomes the deep-link scheme and Auth's\n",[753,1881,1882],{},"client.native.scheme",[738,1884,1885,1889],{},[845,1886,1887,775],{},[753,1888,1752],{}," Keep it on when the app signs in. On Windows and Linux the OS starts a new process for each deep\nlink, and only the single-instance plugin hands the OAuth redirect to the running app.",[738,1891,1892,918,1896,1899,1900,1903,1904,1557,1907,1564,1910,1913,1914,1917,1918,1921,1922,775],{},[845,1893,1894,775],{},[753,1895,1792],{},[753,1897,1898],{},"endpoints"," are ",[753,1901,1902],{},"https"," URLs (Tauri fills in ",[753,1905,1906],{},"{{target}}",[753,1908,1909],{},"{{arch}}",[753,1911,1912],{},"{{current_version}}","), and\n",[753,1915,1916],{},"pubkey"," is the contents of the public key from ",[753,1919,1920],{},"tauri signer generate",". Builds then also produce the signed update\nartifacts. Load the plugin with ",[753,1923,1924],{},"useDesktop().load('updater')",[738,1926,1927,918,1930,1933,1934,1557,1936,1557,1938,1557,1940,1942,1943,775],{},[845,1928,1929],{},"Runtime config.",[753,1931,1932],{},"runtimeConfig.public.desktop"," holds ",[753,1935,1429],{},[753,1937,1391],{},[753,1939,1468],{},[753,1941,795],{}," and\n",[753,1944,1729],{},[777,1946,1948],{"id":1947},"what-the-module-writes","What the module writes",[738,1950,1951,1952,1075],{},"On every prepare, dev and build start, the module writes three files to ",[753,1953,1954],{},".nuxt\u002Fdesktop\u002F",[782,1956,1957,1967],{},[785,1958,1959],{},[788,1960,1961,1964],{},[791,1962,1963],{},"File",[791,1965,1966],{},"What it is",[800,1968,1969,1983,2001],{},[788,1970,1971,1976],{},[805,1972,1973],{},[753,1974,1975],{},"tauri.json",[805,1977,1978,1979,1982],{},"The keys of ",[753,1980,1981],{},"tauri.conf.json"," the module owns.",[788,1984,1985,1990],{},[805,1986,1987],{},[753,1988,1989],{},"capabilities.json",[805,1991,1992,1993,1996,1997,2000],{},"The capability ",[753,1994,1995],{},"frigear"," for the ",[753,1998,1999],{},"main"," window.",[788,2002,2003,2008],{},[805,2004,2005],{},[753,2006,2007],{},"manifest.json",[805,2009,2010],{},"The settings the CLI needs, such as the redirect URI and the Tauri packages the features use.",[738,2012,2013,2015,2016,2018,2019,1899,2021,1091,2024,1557,2026,1557,2028,2031,2032,2035,2036,2039,2040,2042,2043,1557,2046,2049,2050,1942,2053,2056],{},[753,2014,854],{}," merges them into ",[753,2017,759],{},". The owned keys of ",[753,2020,1981],{},[753,2022,2023],{},"productName",[753,2025,1468],{},[753,2027,1443],{},[753,2029,2030],{},"build.frontendDist"," (",[753,2033,2034],{},"..\u002F.output\u002Fpublic","), ",[753,2037,2038],{},"build.devUrl",", the fields of the window labelled\n",[753,2041,1999],{}," that the options set, ",[753,2044,2045],{},"plugins.deep-link.desktop.schemes",[753,2047,2048],{},"plugins.updater"," when set, ",[753,2051,2052],{},"bundle.active",[753,2054,2055],{},"bundle.createUpdaterArtifacts",". Every other key is yours, and sync keeps it.",[738,2058,2059,2062],{},[753,2060,2061],{},"src-tauri\u002Fcapabilities\u002Ffrigear.json"," belongs to the module, and sync rewrites it. Put your own permissions in another\ncapability file. It grants:",[839,2064,2065,2093,2106],{},[842,2066,2067,2070,2071,1557,2074,1557,2077,1557,2080,1557,2083,1091,2086,1564,2089,2092],{},[753,2068,2069],{},"core:default",", and ",[753,2072,2073],{},"core:window:allow-set-focus",[753,2075,2076],{},"-minimize",[753,2078,2079],{},"-maximize",[753,2081,2082],{},"-unmaximize",[753,2084,2085],{},"-toggle-maximize",[753,2087,2088],{},"-close",[753,2090,2091],{},"-set-fullscreen"," for the window controls and the focus after sign-in;",[842,2094,2095,2098,2099,1564,2102,2105],{},[753,2096,2097],{},"opener:default"," (http, https, mailto and tel links), ",[753,2100,2101],{},"deep-link:default",[753,2103,2104],{},"store:default",";",[842,2107,2108,1564,2111,2114],{},[753,2109,2110],{},"autostart:default",[753,2112,2113],{},"updater:default"," when those options are on.",[777,2116,896],{"id":2117},"sign-in",[738,2119,2120,2121,2123,2124,1855],{},"This section covers remote mode. In local mode Auth runs on the bundled server, in server mode (see\n",[742,2122,1854],{"href":1853},") or\nin resource mode (see ",[742,2125,2127],{"href":2126},"\u002Fmodules\u002Finterface\u002Fdesktop\u002Flocal-mode#sign-in-at-a-remote-issuer","Sign in at a remote issuer",[738,2129,2130,2131,2133,2134,2136,2137,2139,2140,2143],{},"When the app configures ",[753,2132,933],{},", Desktop installs Auth and fills in ",[753,2135,1882],{}," from ",[753,2138,1429],{},". It\nnever sets the mode: the app sets ",[753,2141,2142],{},"authentication.mode: 'client'"," itself.",[2145,2146,2147],"warning",{},"In remote mode, Auth in server mode fails the build: a Tauri app in remote mode cannot send a same-origin session\ncookie to the API. Resource mode fails it too: it needs a server of the app's own, which remote mode does not bundle.\nIn local mode, client mode fails the build: it has no server half.",[738,2149,2150,2151,2153,2154,2158,2159,775],{},"A production build signs in through the user's default browser and gets the redirect back as a deep link. Under\n",[753,2152,1387],{}," the window loads the dev server, and Auth signs in with a redirect inside the window. See\n",[742,2155,2157],{"href":2156},"\u002Fmodules\u002Fidentity\u002Fauth\u002Fclient-mode#tauri-desktop","Tauri (desktop)"," for the flows, the token storage and\n",[753,2160,2161],{},"client.native.desktopFlow",[738,2163,2164,2165,775],{},"The scheme of Auth's redirect URI is registered with the deep-link schemes, even with ",[753,2166,2167],{},"deepLinks.schemes: false",[960,2169,2171],{"id":2170},"register-the-client-on-the-issuer","Register the client on the issuer",[738,2173,2174,2175,2180,2181,1075],{},"On an issuer running ",[742,2176,2177],{"href":234},[753,2178,2179],{},"@frigear-nu\u002Foauth-server",", add the app as a\n",[742,2182,2184],{"href":2183},"\u002Fmodules\u002Fidentity\u002Foauth-server\u002Froutes-and-clients#configured-clients","configured client",[965,2186,2189],{"className":1040,"code":2187,"filename":2188,"language":1043,"meta":970,"style":970},"export default defineNuxtConfig({\n  oauthServer: {\n    cors: { paths: ['\u002Fapi\u002F'] },\n    clients: [{\n      id: 'crew-desktop',\n      name: 'Crew for desktop',\n      \u002F\u002F The custom-scheme redirect of a production build: `\u003CappId in lowercase>:\u002Fauth\u002Fcallback`.\n      redirectUris: ['nu.frigear.crew:\u002Fauth\u002Fcallback'],\n      \u002F\u002F Only accepted under `nuxt dev`: the window loads the app's dev server.\n      devRedirectUris: ['http:\u002F\u002Flocalhost:3000\u002Fauth\u002Fcallback'],\n      \u002F\u002F The Tauri webview origins: macOS and Linux, then Windows.\n      corsOrigins: ['tauri:\u002F\u002Flocalhost', 'http:\u002F\u002Ftauri.localhost'],\n    }],\n  },\n})\n","nuxt.config.ts (issuer)",[753,2190,2191,2203,2212,2239,2250,2265,2281,2286,2306,2311,2331,2336,2365,2374,2379],{"__ignoreMap":970},[974,2192,2193,2195,2197,2199,2201],{"class":976,"line":977},[974,2194,1051],{"class":1050},[974,2196,1054],{"class":1050},[974,2198,1058],{"class":1057},[974,2200,1062],{"class":1061},[974,2202,1066],{"class":1065},[974,2204,2205,2208,2210],{"class":976,"line":1003},[974,2206,2207],{"class":1071},"  oauthServer",[974,2209,1075],{"class":1065},[974,2211,1101],{"class":1065},[974,2213,2214,2217,2219,2221,2224,2226,2228,2230,2233,2235,2237],{"class":976,"line":1016},[974,2215,2216],{"class":1071},"    cors",[974,2218,1075],{"class":1065},[974,2220,1149],{"class":1065},[974,2222,2223],{"class":1071}," paths",[974,2225,1075],{"class":1065},[974,2227,1078],{"class":1061},[974,2229,1081],{"class":1065},[974,2231,2232],{"class":984},"\u002Fapi\u002F",[974,2234,1081],{"class":1065},[974,2236,1293],{"class":1061},[974,2238,1296],{"class":1065},[974,2240,2241,2244,2246,2248],{"class":976,"line":1023},[974,2242,2243],{"class":1071},"    clients",[974,2245,1075],{"class":1065},[974,2247,1078],{"class":1061},[974,2249,1066],{"class":1065},[974,2251,2252,2255,2257,2259,2261,2263],{"class":976,"line":1125},[974,2253,2254],{"class":1071},"      id",[974,2256,1075],{"class":1065},[974,2258,1111],{"class":1065},[974,2260,1254],{"class":984},[974,2262,1081],{"class":1065},[974,2264,1091],{"class":1065},[974,2266,2267,2270,2272,2274,2277,2279],{"class":976,"line":1141},[974,2268,2269],{"class":1071},"      name",[974,2271,1075],{"class":1065},[974,2273,1111],{"class":1065},[974,2275,2276],{"class":984},"Crew for desktop",[974,2278,1081],{"class":1065},[974,2280,1091],{"class":1065},[974,2282,2283],{"class":976,"line":1184},[974,2284,2285],{"class":1019},"      \u002F\u002F The custom-scheme redirect of a production build: `\u003CappId in lowercase>:\u002Fauth\u002Fcallback`.\n",[974,2287,2288,2291,2293,2295,2297,2300,2302,2304],{"class":976,"line":1190},[974,2289,2290],{"class":1071},"      redirectUris",[974,2292,1075],{"class":1065},[974,2294,1078],{"class":1061},[974,2296,1081],{"class":1065},[974,2298,2299],{"class":984},"nu.frigear.crew:\u002Fauth\u002Fcallback",[974,2301,1081],{"class":1065},[974,2303,1088],{"class":1061},[974,2305,1091],{"class":1065},[974,2307,2308],{"class":976,"line":1196},[974,2309,2310],{"class":1019},"      \u002F\u002F Only accepted under `nuxt dev`: the window loads the app's dev server.\n",[974,2312,2313,2316,2318,2320,2322,2325,2327,2329],{"class":976,"line":1206},[974,2314,2315],{"class":1071},"      devRedirectUris",[974,2317,1075],{"class":1065},[974,2319,1078],{"class":1061},[974,2321,1081],{"class":1065},[974,2323,2324],{"class":984},"http:\u002F\u002Flocalhost:3000\u002Fauth\u002Fcallback",[974,2326,1081],{"class":1065},[974,2328,1088],{"class":1061},[974,2330,1091],{"class":1065},[974,2332,2333],{"class":976,"line":1223},[974,2334,2335],{"class":1019},"      \u002F\u002F The Tauri webview origins: macOS and Linux, then Windows.\n",[974,2337,2338,2341,2343,2345,2347,2350,2352,2354,2356,2359,2361,2363],{"class":976,"line":1299},[974,2339,2340],{"class":1071},"      corsOrigins",[974,2342,1075],{"class":1065},[974,2344,1078],{"class":1061},[974,2346,1081],{"class":1065},[974,2348,2349],{"class":984},"tauri:\u002F\u002Flocalhost",[974,2351,1081],{"class":1065},[974,2353,1119],{"class":1065},[974,2355,1111],{"class":1065},[974,2357,2358],{"class":984},"http:\u002F\u002Ftauri.localhost",[974,2360,1081],{"class":1065},[974,2362,1088],{"class":1061},[974,2364,1091],{"class":1065},[974,2366,2367,2370,2372],{"class":976,"line":1304},[974,2368,2369],{"class":1065},"    }",[974,2371,1088],{"class":1061},[974,2373,1091],{"class":1065},[974,2375,2377],{"class":976,"line":2376},14,[974,2378,1187],{"class":1065},[974,2380,2382,2384],{"class":976,"line":2381},15,[974,2383,1307],{"class":1065},[974,2385,1310],{"class":1061},[738,2387,2388,2389,2394,2395,775],{},"An API behind ",[742,2390,2391],{"href":250},[753,2392,2393],{},"@frigear-nu\u002Foauth-resource"," needs the same two origins in its\n",[753,2396,2397],{},"corsOrigins",[777,2399,284],{"id":1871},[960,2401,2403],{"id":2402},"usedesktop",[753,2404,872],{},[965,2406,2408],{"className":1040,"code":2407,"language":1043,"meta":970,"style":970},"const { isDesktop, os, getVersion, minimize, toggleMaximize, close, setFullscreen, openExternal, load } = useDesktop()\n",[753,2409,2410],{"__ignoreMap":970},[974,2411,2412,2416,2418,2421,2423,2426,2428,2431,2433,2436,2438,2441,2443,2446,2448,2451,2453,2456,2458,2461,2463,2466,2469],{"class":976,"line":977},[974,2413,2415],{"class":2414},"spNyl","const",[974,2417,1149],{"class":1065},[974,2419,2420],{"class":1061}," isDesktop",[974,2422,1119],{"class":1065},[974,2424,2425],{"class":1061}," os",[974,2427,1119],{"class":1065},[974,2429,2430],{"class":1061}," getVersion",[974,2432,1119],{"class":1065},[974,2434,2435],{"class":1061}," minimize",[974,2437,1119],{"class":1065},[974,2439,2440],{"class":1061}," toggleMaximize",[974,2442,1119],{"class":1065},[974,2444,2445],{"class":1061}," close",[974,2447,1119],{"class":1065},[974,2449,2450],{"class":1061}," setFullscreen",[974,2452,1119],{"class":1065},[974,2454,2455],{"class":1061}," openExternal",[974,2457,1119],{"class":1065},[974,2459,2460],{"class":1061}," load ",[974,2462,1307],{"class":1065},[974,2464,2465],{"class":1065}," =",[974,2467,2468],{"class":1057}," useDesktop",[974,2470,2471],{"class":1061},"()\n",[782,2473,2474,2483],{},[785,2475,2476],{},[788,2477,2478,2481],{},[791,2479,2480],{},"Name",[791,2482,1966],{},[800,2484,2485,2500,2532,2545,2576,2586],{},[788,2486,2487,2492],{},[805,2488,2489],{},[753,2490,2491],{},"isDesktop",[805,2493,2494,2496,2497,2499],{},[753,2495,909],{}," inside the Tauri window. ",[753,2498,1526],{}," in a browser and on the server.",[788,2501,2502,2516],{},[805,2503,2504,1557,2507,1557,2510,1557,2513],{},[753,2505,2506],{},"os",[753,2508,2509],{},"isMacos",[753,2511,2512],{},"isWindows",[753,2514,2515],{},"isLinux",[805,2517,2518,2519,1557,2522,1557,2525,2528,2529,775],{},"The OS, from the webview's user agent: ",[753,2520,2521],{},"macos",[753,2523,2524],{},"windows",[753,2526,2527],{},"linux"," or ",[753,2530,2531],{},"unknown",[788,2533,2534,2539],{},[805,2535,2536],{},[753,2537,2538],{},"getVersion()",[805,2540,2541,2542,775],{},"The running app's version, else ",[753,2543,2544],{},"desktop.version",[788,2546,2547,2570],{},[805,2548,2549,1557,2552,1557,2555,1557,2558,1557,2561,1557,2564,1557,2567],{},[753,2550,2551],{},"minimize()",[753,2553,2554],{},"maximize()",[753,2556,2557],{},"unmaximize()",[753,2559,2560],{},"toggleMaximize()",[753,2562,2563],{},"close()",[753,2565,2566],{},"setFullscreen(on)",[753,2568,2569],{},"focus()",[805,2571,2572,2573,2575],{},"Window controls (need ",[753,2574,946],{},"). They do nothing in a browser.",[788,2577,2578,2583],{},[805,2579,2580],{},[753,2581,2582],{},"openExternal(url)",[805,2584,2585],{},"Opens the link in the default browser, or in a new tab outside the desktop app.",[788,2587,2588,2596],{},[805,2589,2590,1557,2593],{},[753,2591,2592],{},"has(name)",[753,2594,2595],{},"load(name)",[805,2597,2598,2599,2602,2603,1557,2606,1557,2608,1557,2611,1557,2614,1557,2617,1557,2619,775],{},"Whether a Tauri package is installed, and the package inside the desktop app (",[753,2600,2601],{},"null"," elsewhere): ",[753,2604,2605],{},"window",[753,2607,1871],{},[753,2609,2610],{},"deepLink",[753,2612,2613],{},"opener",[753,2615,2616],{},"store",[753,2618,1770],{},[753,2620,1792],{},[738,2622,2623],{},"The Tauri packages are optional peers. The module only imports the installed ones, so a missing package never fails\nthe build.",[960,2625,881],{"id":2626},"deep-links",[738,2628,2629,2630,2632,2633,1564,2636,2639,2640,2643,2644,2647,2648,2651],{},"A link with one of ",[753,2631,1729],{}," opens the matching page, on a cold start and while the app runs:\n",[753,2634,2635],{},"nu.frigear.crew:\u002Fshifts\u002F12",[753,2637,2638],{},"nu.frigear.crew:\u002F\u002Fshifts\u002F12"," both open ",[753,2641,2642],{},"\u002Fshifts\u002F12",". OAuth callbacks are left to\nAuth, and other links are ignored. In local mode with server auth, ",[753,2645,2646],{},"\u003Cscheme>:\u002Fauth\u002Freturn"," only brings the window to\nthe front (the return link of \"Log in with frigear.nu\"). Change the path, or handle the link yourself, in the ",[753,2649,2650],{},"desktop:deep-link"," hook:",[965,2653,2656],{"className":1040,"code":2654,"filename":2655,"language":1043,"meta":970,"style":970},"export default defineNuxtPlugin((nuxtApp) => {\n  nuxtApp.hook('desktop:deep-link', (ctx) => {\n    if (ctx.path.startsWith('\u002Flegacy\u002F')) ctx.path = ctx.path.replace('\u002Flegacy', '')\n  })\n})\n","app\u002Fplugins\u002Fdeep-links.client.ts",[753,2657,2658,2683,2714,2781,2788],{"__ignoreMap":970},[974,2659,2660,2662,2664,2667,2669,2671,2675,2678,2681],{"class":976,"line":977},[974,2661,1051],{"class":1050},[974,2663,1054],{"class":1050},[974,2665,2666],{"class":1057}," defineNuxtPlugin",[974,2668,1062],{"class":1061},[974,2670,1062],{"class":1065},[974,2672,2674],{"class":2673},"sHdIc","nuxtApp",[974,2676,2677],{"class":1065},")",[974,2679,2680],{"class":2414}," =>",[974,2682,1101],{"class":1065},[974,2684,2685,2688,2690,2693,2695,2697,2699,2701,2703,2705,2708,2710,2712],{"class":976,"line":1003},[974,2686,2687],{"class":1061},"  nuxtApp",[974,2689,775],{"class":1065},[974,2691,2692],{"class":1057},"hook",[974,2694,1062],{"class":1071},[974,2696,1081],{"class":1065},[974,2698,2650],{"class":984},[974,2700,1081],{"class":1065},[974,2702,1119],{"class":1065},[974,2704,2031],{"class":1065},[974,2706,2707],{"class":2673},"ctx",[974,2709,2677],{"class":1065},[974,2711,2680],{"class":2414},[974,2713,1101],{"class":1065},[974,2715,2716,2719,2721,2723,2725,2728,2730,2733,2735,2737,2740,2742,2745,2747,2749,2751,2753,2756,2758,2760,2762,2765,2767,2769,2772,2774,2776,2779],{"class":976,"line":1016},[974,2717,2718],{"class":1050},"    if",[974,2720,2031],{"class":1071},[974,2722,2707],{"class":1061},[974,2724,775],{"class":1065},[974,2726,2727],{"class":1061},"path",[974,2729,775],{"class":1065},[974,2731,2732],{"class":1057},"startsWith",[974,2734,1062],{"class":1071},[974,2736,1081],{"class":1065},[974,2738,2739],{"class":984},"\u002Flegacy\u002F",[974,2741,1081],{"class":1065},[974,2743,2744],{"class":1071},")) ",[974,2746,2707],{"class":1061},[974,2748,775],{"class":1065},[974,2750,2727],{"class":1061},[974,2752,2465],{"class":1065},[974,2754,2755],{"class":1061}," ctx",[974,2757,775],{"class":1065},[974,2759,2727],{"class":1061},[974,2761,775],{"class":1065},[974,2763,2764],{"class":1057},"replace",[974,2766,1062],{"class":1071},[974,2768,1081],{"class":1065},[974,2770,2771],{"class":984},"\u002Flegacy",[974,2773,1081],{"class":1065},[974,2775,1119],{"class":1065},[974,2777,2778],{"class":1065}," ''",[974,2780,1310],{"class":1071},[974,2782,2783,2786],{"class":976,"line":1023},[974,2784,2785],{"class":1065},"  }",[974,2787,1310],{"class":1071},[974,2789,2790,2792],{"class":976,"line":1125},[974,2791,1307],{"class":1065},[974,2793,1310],{"class":1061},[738,2795,2796,2797,2800],{},"The plugin needs ",[753,2798,2799],{},"@tauri-apps\u002Fplugin-deep-link",". A path the hook returns that would leave the app is ignored.",[960,2802,2804],{"id":2803},"styling","Styling",[738,2806,2807,2808,2811,2812,2814,2815,2818],{},"Inside the desktop app the ",[753,2809,2810],{},"\u003Chtml>"," element gets the class ",[753,2813,1401],{}," and a ",[753,2816,2817],{},"data-desktop"," attribute with the OS:",[965,2820,2824],{"className":2821,"code":2822,"language":2823,"meta":970,"style":970},"language-css shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","html.desktop body { user-select: none; }\nhtml[data-desktop='macos'] .app-header { padding-left: 80px; } \u002F* room for the traffic lights *\u002F\n","css",[753,2825,2826,2854],{"__ignoreMap":970},[974,2827,2828,2831,2833,2835,2838,2840,2844,2846,2849,2851],{"class":976,"line":977},[974,2829,2830],{"class":980},"html",[974,2832,775],{"class":1065},[974,2834,1401],{"class":980},[974,2836,2837],{"class":980}," body",[974,2839,1149],{"class":1065},[974,2841,2843],{"class":2842},"sqsOY"," user-select",[974,2845,1075],{"class":1065},[974,2847,2848],{"class":1061}," none",[974,2850,2105],{"class":1065},[974,2852,2853],{"class":1065}," }\n",[974,2855,2856,2858,2861,2863,2866,2868,2870,2872,2874,2877,2880,2882,2885,2887,2890,2892,2895],{"class":976,"line":1003},[974,2857,2830],{"class":980},[974,2859,2860],{"class":1065},"[",[974,2862,2817],{"class":2414},[974,2864,2865],{"class":1065},"=",[974,2867,1081],{"class":1065},[974,2869,2521],{"class":984},[974,2871,1081],{"class":1065},[974,2873,1088],{"class":1065},[974,2875,2876],{"class":1065}," .",[974,2878,2879],{"class":980},"app-header",[974,2881,1149],{"class":1065},[974,2883,2884],{"class":2842}," padding-left",[974,2886,1075],{"class":1065},[974,2888,2889],{"class":1157}," 80px",[974,2891,2105],{"class":1065},[974,2893,2894],{"class":1065}," }",[974,2896,2897],{"class":1019}," \u002F* room for the traffic lights *\u002F\n",[2899,2900,2901],"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 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 .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 .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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}html pre.shiki code .sqsOY, html code.shiki .sqsOY{--shiki-light:#8796B0;--shiki-default:#B2CCD6;--shiki-dark:#B2CCD6}",{"title":970,"searchDepth":1003,"depth":1003,"links":2903},[2904,2905,2906,2911,2912,2913,2916],{"id":779,"depth":1003,"text":780},{"id":836,"depth":1003,"text":837},{"id":954,"depth":1003,"text":955,"children":2907},[2908,2909,2910],{"id":962,"depth":1016,"text":963},{"id":1036,"depth":1016,"text":1037},{"id":1313,"depth":1016,"text":1314},{"id":1394,"depth":1003,"text":1395},{"id":1947,"depth":1003,"text":1948},{"id":2117,"depth":1003,"text":896,"children":2914},[2915],{"id":2170,"depth":1016,"text":2171},{"id":1871,"depth":1003,"text":284,"children":2917},[2918,2919,2920],{"id":2402,"depth":1016,"text":872},{"id":2626,"depth":1016,"text":881},{"id":2803,"depth":1016,"text":2804},"Turns a Nuxt app into a Tauri desktop app for macOS, Windows and Linux, either a static SPA that signs in at a remote issuer or the whole app with its own offline server.","md",null,{},{"title":177},{"title":456,"description":2921},"SCSa7CsUEeg7vg8F2eeiVtKbd7dHhOuYw6u0rOoW4co",[2929,2931],{"title":452,"path":453,"stem":454,"description":2930,"children":-1},"Lets modules put cards on a named dashboard, such as the volunteer home screen, and lets each user reorder, hide and collapse them.",{"title":462,"path":463,"stem":464,"description":2932,"children":-1},"Create and update the Tauri project, run the app in a window, build installers and check your machine.",1796157342232]