[{"data":1,"prerenderedAt":1914},["ShallowReactive",2],{"navigation_docs":3,"-cli-platforms":732,"-cli-platforms-surround":1909},[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":622,"body":734,"description":1902,"extension":1903,"links":1904,"meta":1905,"navigation":1906,"path":623,"seo":1907,"stem":624,"__hash__":1908},"docs\u002F5.cli\u002F3.platforms.md",{"type":735,"value":736,"toc":1892},"minimark",[737,754,868,874,881,982,1135,1138,1230,1233,1302,1307,1314,1419,1443,1447,1450,1487,1495,1500,1571,1658,1661,1675,1695,1738,1744,1772,1775,1781,1847,1860,1864,1888],[738,739,740,741,745,746,749,753],"p",{},"A ",[742,743,744],"strong",{},"platform"," is a kind of app: a template to copy, the root scripts every app of that kind gets, and the ",[742,747,748],{},"targets",[750,751,752],"code",{},"platform init"," can set up in it. The built-in platforms are:",[755,756,757,775],"table",{},[758,759,760],"thead",{},[761,762,763,766,769,772],"tr",{},[764,765,474],"th",{},[764,767,768],{},"Template",[764,770,771],{},"Targets",[764,773,774],{},"What it is",[776,777,778,795,814,846],"tbody",{},[761,779,780,786,790,792],{},[781,782,783],"td",{},[750,784,785],{},"web",[781,787,788],{},[750,789,785],{},[781,791],{},[781,793,794],{},"A Nuxt web app: users, auth, account and admin",[761,796,797,802,806,808],{},[781,798,799],{},[750,800,801],{},"web-standalone",[781,803,804],{},[750,805,801],{},[781,807],{},[781,809,810,811,813],{},"The web app with an OAuth server and API for the mobile and desktop apps (app name ",[750,812,785],{},")",[761,815,816,821,825,837],{},[781,817,818],{},[750,819,820],{},"mobile",[781,822,823],{},[750,824,820],{},[781,826,827,830,831,830,834],{},[750,828,829],{},"ios",", ",[750,832,833],{},"android",[750,835,836],{},"apple-watch",[781,838,839,840],{},"A Capacitor app on ",[841,842,843],"a",{"href":439},[750,844,845],{},"@frigear-nu\u002Fmobile",[761,847,848,853,857,862],{},[781,849,850],{},[750,851,852],{},"desktop",[781,854,855],{},[750,856,852],{},[781,858,859],{},[750,860,861],{},"tauri",[781,863,864,865],{},"A Tauri app on ",[750,866,867],{},"@frigear-nu\u002Fdesktop",[738,869,870,871,873],{},"A project adds its own, such as a wall display or a kiosk: see ",[841,872,626],{"href":627},".",[875,876,878],"h2",{"id":877},"platform-add",[750,879,880],{},"platform add",[882,883,888],"pre",{"className":884,"code":885,"language":886,"meta":887,"style":887},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpx @frigear-nu\u002Fcli platform add \u003Cplatform> [name] [-t \u003Ctemplate>] [--apps-dir \u003Cdir>] [--ref \u003Cref>] [--no-scripts] [--no-install]\n","bash","",[750,889,890],{"__ignoreMap":887},[891,892,895,899,903,906,909,913,916,920,923,926,929,932,935,938,941,944,947,949,952,954,956,959,961,964,966,968,971,974,976,979],"span",{"class":893,"line":894},"line",1,[891,896,898],{"class":897},"sBMFI","pnpx",[891,900,902],{"class":901},"sfazB"," @frigear-nu\u002Fcli",[891,904,905],{"class":901}," platform",[891,907,908],{"class":901}," add",[891,910,912],{"class":911},"sMK4o"," \u003C",[891,914,915],{"class":901},"platfor",[891,917,919],{"class":918},"sTEyZ","m",[891,921,922],{"class":911},">",[891,924,925],{"class":918}," [name] ",[891,927,928],{"class":911},"[",[891,930,931],{"class":918},"-t ",[891,933,934],{"class":911},"\u003C",[891,936,937],{"class":918},"template",[891,939,940],{"class":911},">]",[891,942,943],{"class":911}," [",[891,945,946],{"class":918},"--apps-dir ",[891,948,934],{"class":911},[891,950,951],{"class":918},"dir",[891,953,940],{"class":911},[891,955,943],{"class":911},[891,957,958],{"class":918},"--ref ",[891,960,934],{"class":911},[891,962,963],{"class":918},"ref",[891,965,940],{"class":911},[891,967,943],{"class":911},[891,969,970],{"class":918},"--no-scripts",[891,972,973],{"class":911},"]",[891,975,943],{"class":911},[891,977,978],{"class":918},"--no-install",[891,980,981],{"class":911},"]\n",[755,983,984,997],{},[758,985,986],{},[761,987,988,991,994],{},[764,989,990],{},"Argument",[764,992,993],{},"Default",[764,995,996],{},"Purpose",[776,998,999,1030,1043,1074,1093,1108,1121],{},[761,1000,1001,1005,1008],{},[781,1002,1003],{},[750,1004,744],{},[781,1006,1007],{},"required",[781,1009,1010,830,1012,830,1014,830,1016,1018,1019,1022,1023,1026,1027,873],{},[750,1011,785],{},[750,1013,801],{},[750,1015,820],{},[750,1017,852],{},", a platform from ",[750,1020,1021],{},"frigear.platforms"," in the root ",[750,1024,1025],{},"package.json",", or any other name together with ",[750,1028,1029],{},"--template",[761,1031,1032,1037,1040],{},[781,1033,1034],{},[750,1035,1036],{},"name",[781,1038,1039],{},"the platform's name",[781,1041,1042],{},"Folder of the app, kebab-cased. Add the same platform again under another name for a second app.",[761,1044,1045,1052,1055],{},[781,1046,1047,830,1050],{},[750,1048,1049],{},"-t",[750,1051,1029],{},[781,1053,1054],{},"the platform's",[781,1056,1057,1058,830,1060,830,1062,830,1064,1066,1067,1070,1071,873],{},"A template name (",[750,1059,785],{},[750,1061,801],{},[750,1063,820],{},[750,1065,852],{},", or from ",[750,1068,1069],{},"frigear.templates",") or a giget source such as ",[750,1072,1073],{},"gh:org\u002Frepo\u002Fpath#ref",[761,1075,1076,1081,1086],{},[781,1077,1078],{},[750,1079,1080],{},"--apps-dir",[781,1082,1083],{},[750,1084,1085],{},"auto",[781,1087,1088,1089,873],{},"Where the app goes; see ",[841,1090,1092],{"href":1091},"\u002Fcli\u002Foverview#where-it-works","Where it works",[761,1094,1095,1100,1105],{},[781,1096,1097],{},[750,1098,1099],{},"--ref",[781,1101,1102],{},[750,1103,1104],{},"main",[781,1106,1107],{},"Branch or tag of the Frigear repository for the built-in templates.",[761,1109,1110,1114,1116],{},[781,1111,1112],{},[750,1113,970],{},[781,1115],{},[781,1117,1118,1119,873],{},"Do not add the platform's scripts to the root ",[750,1120,1025],{},[761,1122,1123,1127,1129],{},[781,1124,1125],{},[750,1126,978],{},[781,1128],{},[781,1130,1131,1132,873],{},"Skip the install and ",[750,1133,1134],{},"prepare:env",[738,1136,1137],{},"It works from anywhere in a workspace, the root and the apps folder included:",[882,1139,1141],{"className":884,"code":1140,"language":886,"meta":887,"style":887},"pnpx @frigear-nu\u002Fcli platform add mobile             # apps\u002Fmobile\ncd apps && pnpx @frigear-nu\u002Fcli platform add desktop # apps\u002Fdesktop\npnpx @frigear-nu\u002Fcli platform add mobile tablet      # a second Capacitor app in apps\u002Ftablet\npnpx @frigear-nu\u002Fcli platform add display lobby --template web\n",[750,1142,1143,1160,1188,1207],{"__ignoreMap":887},[891,1144,1145,1147,1149,1151,1153,1156],{"class":893,"line":894},[891,1146,898],{"class":897},[891,1148,902],{"class":901},[891,1150,905],{"class":901},[891,1152,908],{"class":901},[891,1154,1155],{"class":901}," mobile",[891,1157,1159],{"class":1158},"sHwdD","             # apps\u002Fmobile\n",[891,1161,1163,1167,1170,1173,1176,1178,1180,1182,1185],{"class":893,"line":1162},2,[891,1164,1166],{"class":1165},"s2Zo4","cd",[891,1168,1169],{"class":901}," apps",[891,1171,1172],{"class":911}," &&",[891,1174,1175],{"class":897}," pnpx",[891,1177,902],{"class":901},[891,1179,905],{"class":901},[891,1181,908],{"class":901},[891,1183,1184],{"class":901}," desktop",[891,1186,1187],{"class":1158}," # apps\u002Fdesktop\n",[891,1189,1191,1193,1195,1197,1199,1201,1204],{"class":893,"line":1190},3,[891,1192,898],{"class":897},[891,1194,902],{"class":901},[891,1196,905],{"class":901},[891,1198,908],{"class":901},[891,1200,1155],{"class":901},[891,1202,1203],{"class":901}," tablet",[891,1205,1206],{"class":1158},"      # a second Capacitor app in apps\u002Ftablet\n",[891,1208,1210,1212,1214,1216,1218,1221,1224,1227],{"class":893,"line":1209},4,[891,1211,898],{"class":897},[891,1213,902],{"class":901},[891,1215,905],{"class":901},[891,1217,908],{"class":901},[891,1219,1220],{"class":901}," display",[891,1222,1223],{"class":901}," lobby",[891,1225,1226],{"class":901}," --template",[891,1228,1229],{"class":901}," web\n",[738,1231,1232],{},"What it does:",[1234,1235,1236,1247,1279,1286,1299],"ol",{},[1237,1238,1239,1240,1243,1244,1246],"li",{},"Copies the template into ",[750,1241,1242],{},"\u003Capps folder>\u002F\u003Cname>",". It fails when that folder already has a ",[750,1245,1025],{},"; in a\nterminal it asks for another name.",[1237,1248,1249,1250,1253,1254,1257,1258,1261,1262,1264,1265,1267,1268,1271,1272,1275,1276,873],{},"Names the package ",[750,1251,1252],{},"\u003Cscope>\u002F\u003Cname>",", with the scope of the existing apps (",[750,1255,1256],{},"@workspace"," in the starters), else of the\nroot package, and records ",[750,1259,1260],{},"\"frigear\": { \"platform\": \"\u003Cplatform>\" }"," in it, so ",[750,1263,752],{}," knows what it is.\nWhen a workspace package or a dependency of the app already has that name (",[750,1266,845],{}," in a workspace\nscoped ",[750,1269,1270],{},"@frigear-nu","), the package is ",[750,1273,1274],{},"\u003Cscope>\u002F\u003Cname>-app"," instead, with a warning. The folder and scripts keep\n",[750,1277,1278],{},"\u003Cname>",[1237,1280,1281,1282,1285],{},"Adds the platform's root scripts under the app's name. Scripts the root already has are kept as they are, and the\nroot ",[750,1283,1284],{},"dev"," script is not changed.",[1237,1287,1288,1289,1291,1292,1295,1296,873],{},"Runs the install and the root ",[750,1290,1134],{}," script, which writes the app's ",[750,1293,1294],{},".env"," from its ",[750,1297,1298],{},".env.example",[1237,1300,1301],{},"Prints the next steps.",[1303,1304,1306],"h3",{"id":1305},"root-scripts","Root scripts",[738,1308,1309,1310,1313],{},"With the default names these are the ",[841,1311,1312],{"href":567},"multi-platform starter","'s scripts, so a\nproject that grows one platform at a time ends up with the same commands:",[755,1315,1316,1331],{},[758,1317,1318],{},[761,1319,1320,1322],{},[764,1321,474],{},[764,1323,1324,1325,830,1327,830,1329,813],{},"Scripts (for an app named ",[750,1326,820],{},[750,1328,852],{},[750,1330,785],{},[776,1332,1333,1365,1397],{},[761,1334,1335,1339],{},[781,1336,1337],{},[750,1338,820],{},[781,1340,1341,830,1344,830,1347,830,1350,830,1353,830,1356,830,1359,830,1362],{},[750,1342,1343],{},"dev:mobile",[750,1345,1346],{},"mobile:native",[750,1348,1349],{},"mobile:doctor",[750,1351,1352],{},"mobile:watch",[750,1354,1355],{},"mobile:sync",[750,1357,1358],{},"mobile:ios",[750,1360,1361],{},"mobile:ios:device",[750,1363,1364],{},"mobile:android",[761,1366,1367,1371],{},[781,1368,1369],{},[750,1370,852],{},[781,1372,1373,830,1376,830,1379,830,1382,830,1385,830,1388,830,1391,830,1394],{},[750,1374,1375],{},"dev:desktop",[750,1377,1378],{},"desktop:setup",[750,1380,1381],{},"desktop:doctor",[750,1383,1384],{},"desktop:init",[750,1386,1387],{},"desktop:sync",[750,1389,1390],{},"desktop:dev",[750,1392,1393],{},"desktop:build",[750,1395,1396],{},"desktop:sidecar",[761,1398,1399,1405],{},[781,1400,1401,830,1403],{},[750,1402,785],{},[750,1404,801],{},[781,1406,1407,1410,1411,1414,1415,1418],{},[750,1408,1409],{},"dev:web",", and ",[750,1412,1413],{},"db:generate"," and ",[750,1416,1417],{},"db:migrate"," when the root has none yet",[738,1420,1421,1422,1425,1426,830,1429,830,1432,1435,1436,1439,1440,1442],{},"A second app gets its own set: ",[750,1423,1424],{},"platform add mobile tablet"," adds ",[750,1427,1428],{},"dev:tablet",[750,1430,1431],{},"tablet:ios",[750,1433,1434],{},"tablet:android",", ...\nTo start it with the rest, add ",[750,1437,1438],{},"--filter .\u002Fapps\u002Ftablet"," to the root ",[750,1441,1284],{}," script.",[1303,1444,1446],{"id":1445},"signing-in-from-the-new-app","Signing in from the new app",[738,1448,1449],{},"A mobile or desktop app signs in at an OAuth server. The command does not register it for you; its next steps say\nwhat to do:",[1451,1452,1453,1474],"ul",{},[1237,1454,1455,1456,1461,1462,1465,1466,1469,1470,1473],{},"When an app of the workspace runs ",[841,1457,1458],{"href":234},[750,1459,1460],{},"@frigear-nu\u002Foauth-server",": import the new\napp's ",[750,1463,1464],{},"identity"," in that app's ",[750,1467,1468],{},"nuxt.config.ts"," and add it to ",[750,1471,1472],{},"oauthServer.clients",", as the multi-platform starter\ndoes.",[1237,1475,1476,1477,1480,1481,1484,1485,873],{},"Otherwise: set ",[750,1478,1479],{},"NUXT_PUBLIC_AUTHENTICATION_CLIENT_ISSUER"," (and ",[750,1482,1483],{},"_API_BASE",") in the new app's ",[750,1486,1294],{},[1488,1489,1490,1491,1494],"warning",{},"A second app copied from the same template starts with the first one's app id, name and OAuth client id. Give it its\nown in its ",[750,1492,1493],{},"identity.ts"," before you register it or create its native projects.",[875,1496,1498],{"id":1497},"platform-init",[750,1499,752],{},[882,1501,1503],{"className":884,"code":1502,"language":886,"meta":887,"style":887},"pnpx @frigear-nu\u002Fcli platform init \u003Ctarget> [--app \u003Cname>] [--apps-dir \u003Cdir>] [-- \u003Cflags>]\n",[750,1504,1505],{"__ignoreMap":887},[891,1506,1507,1509,1511,1513,1516,1518,1521,1524,1526,1529,1531,1534,1537,1539,1541,1544,1546,1549,1552,1554,1556,1559,1561,1564,1567,1569],{"class":893,"line":894},[891,1508,898],{"class":897},[891,1510,902],{"class":901},[891,1512,905],{"class":901},[891,1514,1515],{"class":901}," init",[891,1517,912],{"class":911},[891,1519,1520],{"class":901},"targe",[891,1522,1523],{"class":918},"t",[891,1525,922],{"class":911},[891,1527,1528],{"class":918}," [--app ",[891,1530,934],{"class":911},[891,1532,1533],{"class":901},"nam",[891,1535,1536],{"class":918},"e",[891,1538,922],{"class":911},[891,1540,973],{"class":901},[891,1542,1543],{"class":918}," [--apps-dir ",[891,1545,934],{"class":911},[891,1547,1548],{"class":901},"di",[891,1550,1551],{"class":918},"r",[891,1553,922],{"class":911},[891,1555,973],{"class":901},[891,1557,1558],{"class":918}," [-- ",[891,1560,934],{"class":911},[891,1562,1563],{"class":901},"flag",[891,1565,1566],{"class":918},"s",[891,1568,922],{"class":911},[891,1570,981],{"class":901},[755,1572,1573,1585],{},[758,1574,1575],{},[761,1576,1577,1580,1582],{},[764,1578,1579],{},"Target",[764,1581,474],{},[764,1583,1584],{},"Runs in the app",[776,1586,1587,1609,1639],{},[761,1588,1589,1595,1599],{},[781,1590,1591,830,1593],{},[750,1592,829],{},[750,1594,833],{},[781,1596,1597],{},[750,1598,820],{},[781,1600,1601,1602,1605,1606,813],{},"its ",[750,1603,1604],{},"native"," script (",[750,1607,1608],{},"frigear-mobile native --platform \u003Ctarget>",[761,1610,1611,1622,1626],{},[781,1612,1613,1615,1616,830,1619,813],{},[750,1614,836],{}," (",[750,1617,1618],{},"watchos",[750,1620,1621],{},"watch",[781,1623,1624],{},[750,1625,820],{},[781,1627,1601,1628,1630,1631,1634,1635],{},[750,1629,1621],{}," script, else ",[750,1632,1633],{},"frigear-mobile watch",": a ",[841,1636,1638],{"href":1637},"\u002Fmodules\u002Finterface\u002Fmobile\u002Fcli-and-devices#apple-watch","watchOS companion app",[761,1640,1641,1647,1651],{},[781,1642,1643,1615,1645,813],{},[750,1644,861],{},[750,1646,852],{},[781,1648,1649],{},[750,1650,852],{},[781,1652,1601,1653,1630,1655],{},[750,1654,1604],{},[750,1656,1657],{},"frigear-desktop init",[738,1659,1660],{},"Which app:",[1234,1662,1663,1669,1672],{},[1237,1664,1665,1668],{},[750,1666,1667],{},"--app",": a folder in the apps folder, or a path;",[1237,1670,1671],{},"else the app you run it from;",[1237,1673,1674],{},"else the only app whose platform has the target. With several it asks, or fails outside a terminal and lists them.",[738,1676,1677,1678,1681,1682,1684,1685,830,1687,1690,1691,1694],{},"The platform is the app's ",[750,1679,1680],{},"frigear.platform",", else worked out from its dependencies (",[750,1683,845],{},",\n",[750,1686,867],{},[750,1688,1689],{},"nuxt","). It runs the target's script of the app when the app has it, else the target's binary\nfrom the app's dependencies. Flags after ",[750,1692,1693],{},"--"," go to the script or binary:",[882,1696,1698],{"className":884,"code":1697,"language":886,"meta":887,"style":887},"pnpx @frigear-nu\u002Fcli platform init ios -- --if-missing\npnpx @frigear-nu\u002Fcli platform init apple-watch --app tablet\n",[750,1699,1700,1719],{"__ignoreMap":887},[891,1701,1702,1704,1706,1708,1710,1713,1716],{"class":893,"line":894},[891,1703,898],{"class":897},[891,1705,902],{"class":901},[891,1707,905],{"class":901},[891,1709,1515],{"class":901},[891,1711,1712],{"class":901}," ios",[891,1714,1715],{"class":901}," --",[891,1717,1718],{"class":901}," --if-missing\n",[891,1720,1721,1723,1725,1727,1729,1732,1735],{"class":893,"line":1162},[891,1722,898],{"class":897},[891,1724,902],{"class":901},[891,1726,905],{"class":901},[891,1728,1515],{"class":901},[891,1730,1731],{"class":901}," apple-watch",[891,1733,1734],{"class":901}," --app",[891,1736,1737],{"class":901}," tablet\n",[875,1739,1741],{"id":1740},"platform-list",[750,1742,1743],{},"platform list",[882,1745,1747],{"className":884,"code":1746,"language":886,"meta":887,"style":887},"pnpx @frigear-nu\u002Fcli platform list [--apps-dir \u003Cdir>]\n",[750,1748,1749],{"__ignoreMap":887},[891,1750,1751,1753,1755,1757,1760,1762,1764,1766,1768,1770],{"class":893,"line":894},[891,1752,898],{"class":897},[891,1754,902],{"class":901},[891,1756,905],{"class":901},[891,1758,1759],{"class":901}," list",[891,1761,1543],{"class":918},[891,1763,934],{"class":911},[891,1765,1548],{"class":901},[891,1767,1551],{"class":918},[891,1769,922],{"class":911},[891,1771,981],{"class":901},[738,1773,1774],{},"Prints the platforms (built-in and the project's own) with their templates and targets, the template names, and each\napp of the apps folder with its platform.",[875,1776,1778],{"id":1777},"appcreate",[750,1779,1780],{},"app:create",[882,1782,1784],{"className":884,"code":1783,"language":886,"meta":887,"style":887},"pnpx @frigear-nu\u002Fcli app:create \u003Cname> [--template \u003Ctemplate>] [--apps-dir \u003Cdir>] [--ref \u003Cref>] [--no-install]\n",[750,1785,1786],{"__ignoreMap":887},[891,1787,1788,1790,1792,1795,1797,1799,1801,1803,1806,1808,1811,1813,1815,1817,1819,1821,1823,1825,1827,1829,1832,1834,1837,1840,1842,1844],{"class":893,"line":894},[891,1789,898],{"class":897},[891,1791,902],{"class":901},[891,1793,1794],{"class":901}," app:create",[891,1796,912],{"class":911},[891,1798,1533],{"class":901},[891,1800,1536],{"class":918},[891,1802,922],{"class":911},[891,1804,1805],{"class":918}," [--template ",[891,1807,934],{"class":911},[891,1809,1810],{"class":901},"templat",[891,1812,1536],{"class":918},[891,1814,922],{"class":911},[891,1816,973],{"class":901},[891,1818,1543],{"class":918},[891,1820,934],{"class":911},[891,1822,1548],{"class":901},[891,1824,1551],{"class":918},[891,1826,922],{"class":911},[891,1828,973],{"class":901},[891,1830,1831],{"class":918}," [--ref ",[891,1833,934],{"class":911},[891,1835,1836],{"class":901},"re",[891,1838,1839],{"class":918},"f",[891,1841,922],{"class":911},[891,1843,973],{"class":901},[891,1845,1846],{"class":918}," [--no-install]\n",[738,1848,1849,1850,1853,1854,1856,1857,1859],{},"The older form of ",[750,1851,1852],{},"platform add \u003Ctemplate> \u003Cname>",", with ",[750,1855,1029],{}," defaulting to ",[750,1858,785],{},". It adds the root scripts\ntoo.",[875,1861,1863],{"id":1862},"next-steps","Next steps",[1451,1865,1866,1871,1883],{},[1237,1867,1868,1870],{},[841,1869,626],{"href":627}," – declare a platform of your own.",[1237,1872,1873,1876,1877,1414,1880,1882],{},[841,1874,1875],{"href":445},"Mobile CLI and devices"," – what ",[750,1878,1879],{},"frigear-mobile native",[750,1881,1621],{}," do.",[1237,1884,1885,1887],{},[841,1886,566],{"href":567}," – the project all three platforms add up to.",[1889,1890,1891],"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 .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}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 .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 .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}",{"title":887,"searchDepth":1162,"depth":1162,"links":1893},[1894,1898,1899,1900,1901],{"id":877,"depth":1162,"text":880,"children":1895},[1896,1897],{"id":1305,"depth":1190,"text":1306},{"id":1445,"depth":1190,"text":1446},{"id":1497,"depth":1162,"text":752},{"id":1740,"depth":1162,"text":1743},{"id":1777,"depth":1162,"text":1780},{"id":1862,"depth":1162,"text":1863},"Add web, mobile and desktop apps to a workspace, as many as you need, and set up their native projects.","md",null,{},{"icon":569},{"title":622,"description":1902},"9RZhPGtS1quLf5wFM0OtVB_r2TOqxvq3KWd806WtXXw",[1910,1912],{"title":617,"path":618,"stem":619,"description":1911,"icon":620,"children":-1},"Start a new Frigear workspace from a starter with init or pnpm create frigear-app.",{"title":626,"path":627,"stem":628,"description":1913,"icon":629,"children":-1},"Declare platforms and templates of your own, such as an embedded display, in the root package.json.",1796157350827]