[{"data":1,"prerenderedAt":968},["ShallowReactive",2],{"navigation":3,"\u002Fextending-the-cwa\u002Fauth-events":630,"\u002Fextending-the-cwa\u002Fauth-events-surround":963},[4,24,67,93,240,541,559],{"title":5,"path":6,"stem":7,"children":8,"collapsed":23},"Getting Started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,11,15,19],{"title":10,"path":6,"stem":7},"Introduction",{"title":12,"path":13,"stem":14},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":16,"path":17,"stem":18},"Key Ideas","\u002Fgetting-started\u002Fkey-ideas","1.getting-started\u002F3.key-ideas",{"title":20,"path":21,"stem":22},"Releases","\u002Fgetting-started\u002Freleases","1.getting-started\u002F4.releases",true,{"title":25,"path":26,"stem":27,"children":28,"collapsed":23},"Core Concepts","\u002Fcore-concepts","2.core-concepts\u002F0.index",[29,31,35,39,43,47,51,55,59,63],{"title":30,"path":26,"stem":27},"Overview",{"title":32,"path":33,"stem":34},"How It All Works","\u002Fcore-concepts\u002Farchitecture","2.core-concepts\u002F1.architecture",{"title":36,"path":37,"stem":38},"The Data Model","\u002Fcore-concepts\u002Fthe-data-model","2.core-concepts\u002F2.the-data-model",{"title":40,"path":41,"stem":42},"Layouts & Pages","\u002Fcore-concepts\u002Flayouts-and-pages","2.core-concepts\u002F3.layouts-and-pages",{"title":44,"path":45,"stem":46},"Dynamic Pages","\u002Fcore-concepts\u002Fdynamic-pages","2.core-concepts\u002F4.dynamic-pages",{"title":48,"path":49,"stem":50},"Components","\u002Fcore-concepts\u002Fcomponents","2.core-concepts\u002F5.components",{"title":52,"path":53,"stem":54},"Draft & Publish Workflow","\u002Fcore-concepts\u002Fdraft-and-publish","2.core-concepts\u002F6.draft-and-publish",{"title":56,"path":57,"stem":58},"The Admin Panel","\u002Fcore-concepts\u002Fadmin-panel","2.core-concepts\u002F7.admin-panel",{"title":60,"path":61,"stem":62},"Caching","\u002Fcore-concepts\u002Fcaching","2.core-concepts\u002F8.caching",{"title":64,"path":65,"stem":66},"Glossary","\u002Fcore-concepts\u002Fglossary","2.core-concepts\u002F9.glossary",{"title":68,"path":69,"stem":70,"children":71,"collapsed":23},"Guides","\u002Fguides","3.guides\u002F0.index",[72,73,77,81,85,89],{"title":30,"path":69,"stem":70},{"title":74,"path":75,"stem":76},"Your First Layout","\u002Fguides\u002Fyour-first-layout","3.guides\u002F1.your-first-layout",{"title":78,"path":79,"stem":80},"Your First Page Template","\u002Fguides\u002Fyour-first-page-template","3.guides\u002F2.your-first-page-template",{"title":82,"path":83,"stem":84},"Your First Component","\u002Fguides\u002Fyour-first-component","3.guides\u002F3.your-first-component",{"title":86,"path":87,"stem":88},"Alternative UI Variants","\u002Fguides\u002Falternative-ui-variants","3.guides\u002F4.alternative-ui-variants",{"title":90,"path":91,"stem":92},"Your First Dynamic Page","\u002Fguides\u002Fyour-first-dynamic-page","3.guides\u002F5.your-first-dynamic-page",{"title":94,"path":95,"stem":96,"children":97,"collapsed":23},"API Bundle (Back-End)","\u002Fapi","4.api\u002F0.index",[98,99,103,107,133,179,183,187,216,220,224,228,232,236],{"title":30,"path":95,"stem":96},{"title":100,"path":101,"stem":102},"Bundle Setup","\u002Fapi\u002Fbundle-setup","4.api\u002F02.bundle-setup",{"title":104,"path":105,"stem":106},"Configuration Reference","\u002Fapi\u002Fconfiguration","4.api\u002F03.configuration",{"title":108,"path":109,"stem":110,"children":111,"page":132},"Users","\u002Fapi\u002Fusers","4.api\u002F04.users",[112,116,120,124,128],{"title":113,"path":114,"stem":115},"Authentication","\u002Fapi\u002Fusers\u002Fauthentication","4.api\u002F04.users\u002F1.authentication",{"title":117,"path":118,"stem":119},"User Emails","\u002Fapi\u002Fusers\u002Fuser-emails","4.api\u002F04.users\u002F2.user-emails",{"title":121,"path":122,"stem":123},"Access Control","\u002Fapi\u002Fusers\u002Faccess-control","4.api\u002F04.users\u002F3.access-control",{"title":125,"path":126,"stem":127},"Sites with Non-Admin Users","\u002Fapi\u002Fusers\u002Fnon-admin-users","4.api\u002F04.users\u002F4.non-admin-users",{"title":129,"path":130,"stem":131},"Admin Roles","\u002Fapi\u002Fusers\u002Fadmin-roles","4.api\u002F04.users\u002F5.admin-roles",false,{"title":48,"path":134,"stem":135,"children":136,"page":132},"\u002Fapi\u002Fcomponents","4.api\u002F05.components",[137,141,162,175],{"title":138,"path":139,"stem":140},"Creating Components","\u002Fapi\u002Fcomponents\u002Fcreating-components","4.api\u002F05.components\u002F1.creating-components",{"title":142,"path":143,"stem":144,"children":145,"page":132},"Annotations","\u002Fapi\u002Fcomponents\u002Fannotations","4.api\u002F05.components\u002F2.annotations",[146,150,154,158],{"title":147,"path":148,"stem":149},"Publishable","\u002Fapi\u002Fcomponents\u002Fannotations\u002Fpublishable","4.api\u002F05.components\u002F2.annotations\u002F1.publishable",{"title":151,"path":152,"stem":153},"Uploadable","\u002Fapi\u002Fcomponents\u002Fannotations\u002Fuploadable","4.api\u002F05.components\u002F2.annotations\u002F2.uploadable",{"title":155,"path":156,"stem":157},"Timestamped","\u002Fapi\u002Fcomponents\u002Fannotations\u002Ftimestamped","4.api\u002F05.components\u002F2.annotations\u002F3.timestamped",{"title":159,"path":160,"stem":161},"Explicit Allow Only","\u002Fapi\u002Fcomponents\u002Fannotations\u002Fexplicit-allow-only","4.api\u002F05.components\u002F2.annotations\u002F4.explicit-allow-only",{"title":163,"path":164,"stem":165,"children":166,"page":132},"Built Ins","\u002Fapi\u002Fcomponents\u002Fbuilt-ins","4.api\u002F05.components\u002F3.built-ins",[167,171],{"title":168,"path":169,"stem":170},"Collection Component","\u002Fapi\u002Fcomponents\u002Fbuilt-ins\u002Fcollection-component","4.api\u002F05.components\u002F3.built-ins\u002F1.collection-component",{"title":172,"path":173,"stem":174},"Form Component","\u002Fapi\u002Fcomponents\u002Fbuilt-ins\u002Fform-component","4.api\u002F05.components\u002F3.built-ins\u002F2.form-component",{"title":176,"path":177,"stem":178},"Groups & Positions","\u002Fapi\u002Fcomponents\u002Fcomponent-groups","4.api\u002F05.components\u002F4.component-groups",{"title":180,"path":181,"stem":182},"Page Data & Nested Pages","\u002Fapi\u002Fdynamic-pages","4.api\u002F06.dynamic-pages",{"title":184,"path":185,"stem":186},"Routes","\u002Fapi\u002Froutes","4.api\u002F07.routes",{"title":188,"path":189,"stem":190,"children":191,"page":132},"Data Fixtures","\u002Fapi\u002Fdata-fixtures","4.api\u002F08.data-fixtures",[192,196,200,204,208,212],{"title":193,"path":194,"stem":195},"Getting Started with Fixtures","\u002Fapi\u002Fdata-fixtures\u002Fgetting-started","4.api\u002F08.data-fixtures\u002F1.getting-started",{"title":197,"path":198,"stem":199},"Writing a Scaffold","\u002Fapi\u002Fdata-fixtures\u002Fwriting-a-scaffold","4.api\u002F08.data-fixtures\u002F2.writing-a-scaffold",{"title":201,"path":202,"stem":203},"Builder Reference","\u002Fapi\u002Fdata-fixtures\u002Fbuilder-reference","4.api\u002F08.data-fixtures\u002F3.builder-reference",{"title":205,"path":206,"stem":207},"Seeding Content","\u002Fapi\u002Fdata-fixtures\u002Fseeding-content","4.api\u002F08.data-fixtures\u002F4.seeding-content",{"title":209,"path":210,"stem":211},"Appending & Multiple Scaffolds","\u002Fapi\u002Fdata-fixtures\u002Fappending","4.api\u002F08.data-fixtures\u002F5.appending",{"title":213,"path":214,"stem":215},"Generating Fixtures","\u002Fapi\u002Fdata-fixtures\u002Fgenerating-fixtures","4.api\u002F08.data-fixtures\u002F6.generating-fixtures",{"title":217,"path":218,"stem":219},"Real-Time (Mercure)","\u002Fapi\u002Freal-time","4.api\u002F09.real-time",{"title":221,"path":222,"stem":223},"Versions & Conflicts","\u002Fapi\u002Fversions-and-conflicts","4.api\u002F09.versions-and-conflicts",{"title":225,"path":226,"stem":227},"HTTP Caching","\u002Fapi\u002Fhttp-caching","4.api\u002F10.http-caching",{"title":229,"path":230,"stem":231},"Orphaned Data","\u002Fapi\u002Forphaned-data","4.api\u002F11.orphaned-data",{"title":233,"path":234,"stem":235},"Console Commands","\u002Fapi\u002Fconsole-commands","4.api\u002F12.console-commands",{"title":237,"path":238,"stem":239},"Debugging & Errors","\u002Fapi\u002Fdebugging","4.api\u002F13.debugging",{"title":241,"path":242,"stem":243,"children":244,"collapsed":23},"Nuxt Module (Front-End)","\u002Fnuxt-module","5.nuxt-module\u002F0.index",[245,246,250,263,287,316,337,468,502,505,533,537],{"title":30,"path":242,"stem":243},{"title":247,"path":248,"stem":249},"Module Setup","\u002Fnuxt-module\u002Fmodule-setup","5.nuxt-module\u002F01.module-setup",{"title":251,"path":252,"stem":253,"children":254,"page":132},"Configuration","\u002Fnuxt-module\u002Fconfiguration","5.nuxt-module\u002F02.configuration",[255,259],{"title":256,"path":257,"stem":258},"Nuxt Config","\u002Fnuxt-module\u002Fconfiguration\u002Fnuxt-config","5.nuxt-module\u002F02.configuration\u002F1.nuxt-config",{"title":260,"path":261,"stem":262},"Site Config & SEO","\u002Fnuxt-module\u002Fconfiguration\u002Fsite-config-and-seo","5.nuxt-module\u002F02.configuration\u002F2.site-config-and-seo",{"title":264,"path":265,"stem":266,"children":267,"page":132},"Building Your Ui","\u002Fnuxt-module\u002Fbuilding-your-ui","5.nuxt-module\u002F03.building-your-ui",[268,272,276,279,283],{"title":269,"path":270,"stem":271},"Layouts","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcreating-layouts","5.nuxt-module\u002F03.building-your-ui\u002F1.creating-layouts",{"title":273,"path":274,"stem":275},"Page Templates","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcreating-page-templates","5.nuxt-module\u002F03.building-your-ui\u002F2.creating-page-templates",{"title":48,"path":277,"stem":278},"\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcreating-components","5.nuxt-module\u002F03.building-your-ui\u002F3.creating-components",{"title":280,"path":281,"stem":282},"CLI Generator","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcwa-cli","5.nuxt-module\u002F03.building-your-ui\u002F4.cwa-cli",{"title":284,"path":285,"stem":286},"Categorise and Restrict","\u002Fnuxt-module\u002Fbuilding-your-ui\u002Fcategorise-and-restrict","5.nuxt-module\u002F03.building-your-ui\u002F5.categorise-and-restrict",{"title":288,"path":289,"stem":290,"children":291,"page":132},"Component Helpers","\u002Fnuxt-module\u002Fcomponent-helpers","5.nuxt-module\u002F04.component-helpers",[292,296,300,304,308,312],{"title":293,"path":294,"stem":295},"Images & Media","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fimages-and-uploads","5.nuxt-module\u002F04.component-helpers\u002F1.images-and-uploads",{"title":297,"path":298,"stem":299},"Collections & Pagination","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fcollections-and-pagination","5.nuxt-module\u002F04.component-helpers\u002F2.collections-and-pagination",{"title":301,"path":302,"stem":303},"HTML Content","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fhtml-content","5.nuxt-module\u002F04.component-helpers\u002F3.html-content",{"title":305,"path":306,"stem":307},"Rich-Text Editor","\u002Fnuxt-module\u002Fcomponent-helpers\u002Frich-text-editor","5.nuxt-module\u002F04.component-helpers\u002F4.rich-text-editor",{"title":309,"path":310,"stem":311},"Real-Time Updates","\u002Fnuxt-module\u002Fcomponent-helpers\u002Freal-time-updates","5.nuxt-module\u002F04.component-helpers\u002F5.real-time-updates",{"title":313,"path":314,"stem":315},"Forms","\u002Fnuxt-module\u002Fcomponent-helpers\u002Fforms","5.nuxt-module\u002F04.component-helpers\u002F6.forms",{"title":317,"path":318,"stem":319,"children":320,"page":132},"Cwa Components","\u002Fnuxt-module\u002Fcwa-components","5.nuxt-module\u002F05.cwa-components",[321,325,329,333],{"title":322,"path":323,"stem":324},"\u003CCwaComponentGroup \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-component-group","5.nuxt-module\u002F05.cwa-components\u002F1.cwa-component-group",{"title":326,"path":327,"stem":328},"\u003CCwaPage \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-page","5.nuxt-module\u002F05.cwa-components\u002F2.cwa-page",{"title":330,"path":331,"stem":332},"\u003CCwaLink \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-link","5.nuxt-module\u002F05.cwa-components\u002F3.cwa-link",{"title":334,"path":335,"stem":336},"\u003CCwaDefaultLayout \u002F>","\u002Fnuxt-module\u002Fcwa-components\u002Fcwa-default-layout","5.nuxt-module\u002F05.cwa-components\u002F5.cwa-default-layout",{"title":338,"path":339,"stem":340,"children":341,"page":132},"Composables","\u002Fnuxt-module\u002Fcomposables","5.nuxt-module\u002F06.composables",[342,345,353,378,398,423,443],{"title":30,"path":343,"stem":344},"\u002Fnuxt-module\u002Fcomposables\u002Foverview","5.nuxt-module\u002F06.composables\u002F0.overview",{"title":346,"path":347,"stem":348,"children":349,"page":132},"Layout","\u002Fnuxt-module\u002Fcomposables\u002Flayout","5.nuxt-module\u002F06.composables\u002F1.layout",[350],{"title":346,"path":351,"stem":352},"\u002Fnuxt-module\u002Fcomposables\u002Flayout\u002Fuse-cwa-layout","5.nuxt-module\u002F06.composables\u002F1.layout\u002F1.use-cwa-layout",{"title":354,"path":355,"stem":356,"children":357,"page":132},"Component","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent","5.nuxt-module\u002F06.composables\u002F2.component",[358,362,366,370,374],{"title":359,"path":360,"stem":361},"Component (recommended)","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-component","5.nuxt-module\u002F06.composables\u002F2.component\u002F1.use-cwa-component",{"title":363,"path":364,"stem":365},"Resource","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-resource","5.nuxt-module\u002F06.composables\u002F2.component\u002F2.use-cwa-resource",{"title":367,"path":368,"stem":369},"File Field","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-file-field","5.nuxt-module\u002F06.composables\u002F2.component\u002F3.use-cwa-file-field",{"title":371,"path":372,"stem":373},"Collection Pagination","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-collection-pagination","5.nuxt-module\u002F06.composables\u002F2.component\u002F4.use-cwa-collection-pagination",{"title":375,"path":376,"stem":377},"Collection Resource (deprecated)","\u002Fnuxt-module\u002Fcomposables\u002Fcomponent\u002Fuse-cwa-collection-resource","5.nuxt-module\u002F06.composables\u002F2.component\u002F9.use-cwa-collection-resource",{"title":379,"path":380,"stem":381,"children":382,"page":132},"Form","\u002Fnuxt-module\u002Fcomposables\u002Fform","5.nuxt-module\u002F06.composables\u002F3.form",[383,386,390,394],{"title":379,"path":384,"stem":385},"\u002Fnuxt-module\u002Fcomposables\u002Fform\u002Fuse-cwa-form","5.nuxt-module\u002F06.composables\u002F3.form\u002F1.use-cwa-form",{"title":387,"path":388,"stem":389},"Form Input","\u002Fnuxt-module\u002Fcomposables\u002Fform\u002Fuse-cwa-form-input","5.nuxt-module\u002F06.composables\u002F3.form\u002F2.use-cwa-form-input",{"title":391,"path":392,"stem":393},"Form Repeated","\u002Fnuxt-module\u002Fcomposables\u002Fform\u002Fuse-cwa-form-repeated","5.nuxt-module\u002F06.composables\u002F3.form\u002F3.use-cwa-form-repeated",{"title":395,"path":396,"stem":397},"Form Collection","\u002Fnuxt-module\u002Fcomposables\u002Fform\u002Fuse-cwa-form-collection","5.nuxt-module\u002F06.composables\u002F3.form\u002F4.use-cwa-form-collection",{"title":399,"path":400,"stem":401,"children":402,"page":132},"Admin Manager","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager","5.nuxt-module\u002F06.composables\u002F4.admin-manager",[403,407,411,415,419],{"title":404,"path":405,"stem":406},"Manager Tab","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-manager-tab","5.nuxt-module\u002F06.composables\u002F4.admin-manager\u002F1.use-cwa-resource-manager-tab",{"title":408,"path":409,"stem":410},"Resource Model","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-model","5.nuxt-module\u002F06.composables\u002F4.admin-manager\u002F2.use-cwa-resource-model",{"title":412,"path":413,"stem":414},"Resource Upload","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-resource-upload","5.nuxt-module\u002F06.composables\u002F4.admin-manager\u002F3.use-cwa-resource-upload",{"title":416,"path":417,"stem":418},"Remote Changes","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fon-remote-change","5.nuxt-module\u002F06.composables\u002F4.admin-manager\u002F4.on-remote-change",{"title":420,"path":421,"stem":422},"Real-Time Events","\u002Fnuxt-module\u002Fcomposables\u002Fadmin-manager\u002Fuse-cwa-realtime","5.nuxt-module\u002F06.composables\u002F4.admin-manager\u002F5.use-cwa-realtime",{"title":424,"path":425,"stem":426,"children":427,"page":132},"Utilities","\u002Fnuxt-module\u002Fcomposables\u002Futilities","5.nuxt-module\u002F06.composables\u002F5.utilities",[428,432,436,440],{"title":429,"path":430,"stem":431},"Resource Endpoint","\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-cwa-resource-endpoint","5.nuxt-module\u002F06.composables\u002F5.utilities\u002F1.use-cwa-resource-endpoint",{"title":433,"path":434,"stem":435},"Query Model","\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-query-bound-model","5.nuxt-module\u002F06.composables\u002F5.utilities\u002F2.use-query-bound-model",{"title":437,"path":438,"stem":439},"Resource Route","\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-cwa-resource-route","5.nuxt-module\u002F06.composables\u002F5.utilities\u002F3.use-cwa-resource-route",{"title":301,"path":441,"stem":442},"\u002Fnuxt-module\u002Fcomposables\u002Futilities\u002Fuse-html-content","5.nuxt-module\u002F06.composables\u002F5.utilities\u002F4.use-html-content",{"title":444,"path":445,"stem":446,"children":447,"page":132},"Auth","\u002Fnuxt-module\u002Fcomposables\u002Fauth","5.nuxt-module\u002F06.composables\u002F6.auth",[448,452,456,460,464],{"title":449,"path":450,"stem":451},"Login","\u002Fnuxt-module\u002Fcomposables\u002Fauth\u002Fuse-login","5.nuxt-module\u002F06.composables\u002F6.auth\u002F1.use-login",{"title":453,"path":454,"stem":455},"Forgot Password","\u002Fnuxt-module\u002Fcomposables\u002Fauth\u002Fuse-forgot-password","5.nuxt-module\u002F06.composables\u002F6.auth\u002F2.use-forgot-password",{"title":457,"path":458,"stem":459},"Reset Password","\u002Fnuxt-module\u002Fcomposables\u002Fauth\u002Fuse-reset-password","5.nuxt-module\u002F06.composables\u002F6.auth\u002F3.use-reset-password",{"title":461,"path":462,"stem":463},"Verify Email","\u002Fnuxt-module\u002Fcomposables\u002Fauth\u002Fuse-verify-email","5.nuxt-module\u002F06.composables\u002F6.auth\u002F4.use-verify-email",{"title":465,"path":466,"stem":467},"Resend Verify Email","\u002Fnuxt-module\u002Fcomposables\u002Fauth\u002Fuse-resend-verify-email","5.nuxt-module\u002F06.composables\u002F6.auth\u002F5.use-resend-verify-email",{"title":469,"path":470,"stem":471,"children":472,"page":132},"Cwa Api","\u002Fnuxt-module\u002Fcwa-api","5.nuxt-module\u002F07.cwa-api",[473,476,480,484,487,490,494,498],{"title":30,"path":474,"stem":475},"\u002Fnuxt-module\u002Fcwa-api\u002Foverview","5.nuxt-module\u002F07.cwa-api\u002F1.overview",{"title":477,"path":478,"stem":479},"Resources","\u002Fnuxt-module\u002Fcwa-api\u002Fresources","5.nuxt-module\u002F07.cwa-api\u002F2.resources",{"title":481,"path":482,"stem":483},"Resources Manager","\u002Fnuxt-module\u002Fcwa-api\u002Fresources-manager","5.nuxt-module\u002F07.cwa-api\u002F3.resources-manager",{"title":444,"path":485,"stem":486},"\u002Fnuxt-module\u002Fcwa-api\u002Fauth","5.nuxt-module\u002F07.cwa-api\u002F4.auth",{"title":313,"path":488,"stem":489},"\u002Fnuxt-module\u002Fcwa-api\u002Fforms","5.nuxt-module\u002F07.cwa-api\u002F5.forms",{"title":491,"path":492,"stem":493},"Admin","\u002Fnuxt-module\u002Fcwa-api\u002Fadmin","5.nuxt-module\u002F07.cwa-api\u002F6.admin",{"title":495,"path":496,"stem":497},"Site Config","\u002Fnuxt-module\u002Fcwa-api\u002Fsite-config","5.nuxt-module\u002F07.cwa-api\u002F7.site-config",{"title":499,"path":500,"stem":501},"Orphaned Resources","\u002Fnuxt-module\u002Fcwa-api\u002Forphaned-resources","5.nuxt-module\u002F07.cwa-api\u002F8.orphaned-resources",{"title":113,"path":503,"stem":504},"\u002Fnuxt-module\u002Fauthentication","5.nuxt-module\u002F08.authentication",{"title":506,"path":507,"stem":508,"children":509,"page":132},"Cwa Layer","\u002Fnuxt-module\u002Fcwa-layer","5.nuxt-module\u002F9.cwa-layer",[510,513,517,521,525,529],{"title":30,"path":511,"stem":512},"\u002Fnuxt-module\u002Fcwa-layer\u002Foverview","5.nuxt-module\u002F9.cwa-layer\u002F1.overview",{"title":514,"path":515,"stem":516},"Auth Pages","\u002Fnuxt-module\u002Fcwa-layer\u002Fauth-pages","5.nuxt-module\u002F9.cwa-layer\u002F2.auth-pages",{"title":518,"path":519,"stem":520},"Admin Panel","\u002Fnuxt-module\u002Fcwa-layer\u002Fadmin-panel","5.nuxt-module\u002F9.cwa-layer\u002F3.admin-panel",{"title":522,"path":523,"stem":524},"Styling","\u002Fnuxt-module\u002Fcwa-layer\u002Fstyling","5.nuxt-module\u002F9.cwa-layer\u002F4.styling",{"title":526,"path":527,"stem":528},"Date Pickers","\u002Fnuxt-module\u002Fcwa-layer\u002Fdate-pickers","5.nuxt-module\u002F9.cwa-layer\u002F5.date-pickers",{"title":530,"path":531,"stem":532},"Maintenance","\u002Fnuxt-module\u002Fcwa-layer\u002Fmaintenance","5.nuxt-module\u002F9.cwa-layer\u002F6.maintenance",{"title":534,"path":535,"stem":536},"PWA & Offline","\u002Fnuxt-module\u002Fpwa","5.nuxt-module\u002F91.pwa",{"title":538,"path":539,"stem":540},"Page Caching","\u002Fnuxt-module\u002Fpage-caching","5.nuxt-module\u002F92.page-caching",{"title":542,"path":543,"stem":544,"children":545,"collapsed":23},"Extending the CWA","\u002Fextending-the-cwa","55.extending-the-cwa\u002F0.index",[546,547,551,555],{"title":30,"path":543,"stem":544},{"title":548,"path":549,"stem":550},"Registering an Extension","\u002Fextending-the-cwa\u002Fregistering-an-extension","55.extending-the-cwa\u002F1.registering-an-extension",{"title":552,"path":553,"stem":554},"Admin Pages","\u002Fextending-the-cwa\u002Fadmin-pages","55.extending-the-cwa\u002F2.admin-pages",{"title":556,"path":557,"stem":558},"Sign-In and Sign-Out Events","\u002Fextending-the-cwa\u002Fauth-events","55.extending-the-cwa\u002F3.auth-events",{"title":560,"path":561,"stem":562,"children":563,"collapsed":23},"Deployment & Operations","\u002Fdeployment","6.deployment\u002F0.index",[564,566,570,574,578,582,586,590,594,598,602,606,610,614,618,622,626],{"title":565,"path":561,"stem":562},"Deploying a CWA Site",{"title":567,"path":568,"stem":569},"Docker","\u002Fdeployment\u002Fdocker","6.deployment\u002F1.docker",{"title":571,"path":572,"stem":573},"Deploy to One Server","\u002Fdeployment\u002Fone-server","6.deployment\u002F1.one-server",{"title":575,"path":576,"stem":577},"Kubernetes & Helm","\u002Fdeployment\u002Fkubernetes","6.deployment\u002F2.kubernetes",{"title":579,"path":580,"stem":581},"Moving From One Server to Kubernetes","\u002Fdeployment\u002Fmoving-to-kubernetes","6.deployment\u002F2.moving-to-kubernetes",{"title":583,"path":584,"stem":585},"Scaled Mode","\u002Fdeployment\u002Fscaled-mode","6.deployment\u002F2.scaled-mode",{"title":587,"path":588,"stem":589},"CI\u002FCD","\u002Fdeployment\u002Fci-cd","6.deployment\u002F3.ci-cd",{"title":591,"path":592,"stem":593},"Migrations and Backups","\u002Fdeployment\u002Fmigrations-and-backups","6.deployment\u002F3.migrations-and-backups",{"title":595,"path":596,"stem":597},"CI\u002FCD Variables","\u002Fdeployment\u002Fvariables","6.deployment\u002F4.variables",{"title":599,"path":600,"stem":601},"Cloudflare","\u002Fdeployment\u002Fcloudflare","6.deployment\u002F5.cloudflare",{"title":603,"path":604,"stem":605},"Origin Protection","\u002Fdeployment\u002Forigin-protection","6.deployment\u002F5.origin-protection",{"title":607,"path":608,"stem":609},"Load Testing","\u002Fdeployment\u002Fload-testing","6.deployment\u002F6.load-testing",{"title":611,"path":612,"stem":613},"Performance Audit","\u002Fdeployment\u002Fperformance-audit","6.deployment\u002F6.performance-audit",{"title":615,"path":616,"stem":617},"Reading Lighthouse Scores","\u002Fdeployment\u002Freading-lighthouse-scores","6.deployment\u002F6.reading-lighthouse-scores",{"title":619,"path":620,"stem":621},"Browser Tests","\u002Fdeployment\u002Fbrowser-tests","6.deployment\u002F7.browser-tests",{"title":623,"path":624,"stem":625},"Faster Functional Tests","\u002Fdeployment\u002Ffaster-functional-tests","6.deployment\u002F7.faster-functional-tests",{"title":627,"path":628,"stem":629},"Troubleshooting","\u002Fdeployment\u002Ftroubleshooting","6.deployment\u002F7.troubleshooting",{"id":631,"title":556,"badge":632,"body":633,"description":958,"extension":959,"links":632,"meta":960,"navigation":23,"path":557,"seo":961,"stem":558,"__hash__":962},"docs\u002F55.extending-the-cwa\u002F3.auth-events.md",null,{"type":634,"value":635,"toc":954},"minimark",[636,640,645,840,850,854,917,928,944,950],[637,638,639],"p",{},"An extension often keeps something for the signed-in user, such as a basket it merges when they sign in or clears when they leave. The module calls two Nuxt runtime hooks for this. A site can listen to them too.",[641,642,644],"h2",{"id":643},"listening-from-a-plugin","Listening From a Plugin",[646,647,652],"pre",{"className":648,"code":649,"language":650,"meta":651,"style":651},"language-ts shiki shiki-themes github-light github-dark material-theme-palenight has-focused","\u002F\u002F cwa-shop\u002Fruntime\u002Fplugin.client.ts\nexport default defineNuxtPlugin((nuxtApp) => {\n  nuxtApp.hook('cwa:auth:signed-in', async ({ user }) => { \u002F\u002F [!code focus]\n    await mergeGuestBasket(user['@id'])\n  })\n\n  nuxtApp.hook('cwa:auth:signed-out', () => { \u002F\u002F [!code focus]\n    clearBasket()\n  })\n})\n","ts","",[653,654,655,664,699,746,773,782,788,816,825,832],"code",{"__ignoreMap":651},[656,657,660],"span",{"class":658,"line":659},"line",1,[656,661,663],{"class":662},"sTBSN","\u002F\u002F cwa-shop\u002Fruntime\u002Fplugin.client.ts\n",[656,665,667,671,674,678,682,685,689,692,696],{"class":658,"line":666},2,[656,668,670],{"class":669},"sm4w6","export",[656,672,673],{"class":669}," default",[656,675,677],{"class":676},"sKpYG"," defineNuxtPlugin",[656,679,681],{"class":680},"sPB8G","(",[656,683,681],{"class":684},"sOvfz",[656,686,688],{"class":687},"sNTR6","nuxtApp",[656,690,691],{"class":684},")",[656,693,695],{"class":694},"swB56"," =>",[656,697,698],{"class":684}," {\n",[656,700,704,707,710,713,716,720,724,726,729,732,735,738,741,743],{"class":701,"line":703},[658,702],"focused",3,[656,705,706],{"class":680},"  nuxtApp",[656,708,709],{"class":684},".",[656,711,712],{"class":676},"hook",[656,714,681],{"class":715},"sDHlG",[656,717,719],{"class":718},"seSrl","'",[656,721,723],{"class":722},"sLL54","cwa:auth:signed-in",[656,725,719],{"class":718},[656,727,728],{"class":684},",",[656,730,731],{"class":694}," async",[656,733,734],{"class":684}," ({",[656,736,737],{"class":687}," user",[656,739,740],{"class":684}," })",[656,742,695],{"class":694},[656,744,745],{"class":684}," {",[656,747,749,752,755,757,760,763,765,768,770],{"class":658,"line":748},4,[656,750,751],{"class":669},"    await",[656,753,754],{"class":676}," mergeGuestBasket",[656,756,681],{"class":715},[656,758,759],{"class":680},"user",[656,761,762],{"class":715},"[",[656,764,719],{"class":718},[656,766,767],{"class":722},"@id",[656,769,719],{"class":718},[656,771,772],{"class":715},"])\n",[656,774,776,779],{"class":658,"line":775},5,[656,777,778],{"class":684},"  }",[656,780,781],{"class":715},")\n",[656,783,785],{"class":658,"line":784},6,[656,786,787],{"emptyLinePlaceholder":23},"\n",[656,789,792,794,796,798,800,802,805,807,809,812,814],{"class":790,"line":791},[658,702],7,[656,793,706],{"class":680},[656,795,709],{"class":684},[656,797,712],{"class":676},[656,799,681],{"class":715},[656,801,719],{"class":718},[656,803,804],{"class":722},"cwa:auth:signed-out",[656,806,719],{"class":718},[656,808,728],{"class":684},[656,810,811],{"class":684}," ()",[656,813,695],{"class":694},[656,815,745],{"class":684},[656,817,819,822],{"class":658,"line":818},8,[656,820,821],{"class":676},"    clearBasket",[656,823,824],{"class":715},"()\n",[656,826,828,830],{"class":658,"line":827},9,[656,829,778],{"class":684},[656,831,781],{"class":715},[656,833,835,838],{"class":658,"line":834},10,[656,836,837],{"class":684},"}",[656,839,781],{"class":680},[637,841,842,843,845,846,849],{},"Both hooks are typed, so ",[653,844,759],{}," is the CWA user that ",[653,847,848],{},"\u002Fme"," returned.",[641,851,853],{"id":852},"when-each-is-called","When Each Is Called",[855,856,857,873],"table",{},[858,859,860],"thead",{},[861,862,863,867,870],"tr",{},[864,865,866],"th",{},"Hook",[864,868,869],{},"Called",[864,871,872],{},"Not called",[874,875,876,902],"tbody",{},[861,877,878,883,899],{},[879,880,881],"td",{},[653,882,723],{},[879,884,885,886,889,890,896,897],{},"After a sign-in through ",[653,887,888],{},"$cwa.auth.signIn()"," (the login page and ",[891,892,893],"a",{"href":450},[653,894,895],{},"useLogin"," use it), once the user has loaded from ",[653,898,848],{},[879,900,901],{},"When a page loads for someone already signed in, or when the sign-in or the user's load fails",[861,903,904,908,914],{},[879,905,906],{},[653,907,804],{},[879,909,910,911,913],{},"Once, when a signed-in session ends in the browser: signing out, or a ",[653,912,848],{}," that fails because the session expired",[879,915,916],{},"During a server render, and for a visitor who was never signed in",[637,918,919,920,922,923,927],{},"A session that's found to have expired during a server render loads the page signed out without calling ",[653,921,804],{},". To find out who's signed in when a page loads, read ",[891,924,926],{"href":925},"\u002Fnuxt-module\u002Fauthentication#reading-auth-state","Authentication › Reading Auth State"," instead.",[929,930,933],"callout",{"color":931,"icon":932},"warning","i-heroicons-exclamation-triangle",[637,934,935,939,940,943],{},[936,937,938],"strong",{},"A handler can't stop or fail a sign-in."," Sign-in doesn't wait for the handlers, and an error a handler throws is logged to the browser console with ",[653,941,942],{},"console.error",". Handle your own errors if the user needs to know.",[637,945,946,947,709],{},"Next: back to the ",[891,948,949],{"href":543},"Extending the CWA overview",[951,952,953],"style",{},"html pre.shiki code .sTBSN, html code.shiki .sTBSN{--shiki-light:#6A737D;--shiki-light-font-style:inherit;--shiki-default:#6A737D;--shiki-default-font-style:inherit;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sm4w6, html code.shiki .sm4w6{--shiki-light:#D73A49;--shiki-light-font-style:inherit;--shiki-default:#F97583;--shiki-default-font-style:inherit;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sKpYG, html code.shiki .sKpYG{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#82AAFF}html pre.shiki code .sPB8G, html code.shiki .sPB8G{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#BABED8}html pre.shiki code .sOvfz, html code.shiki .sOvfz{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#89DDFF}html pre.shiki code .sNTR6, html code.shiki .sNTR6{--shiki-light:#E36209;--shiki-light-font-style:inherit;--shiki-default:#FFAB70;--shiki-default-font-style:inherit;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .swB56, html code.shiki .swB56{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#C792EA}html pre.shiki code .sDHlG, html code.shiki .sDHlG{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#F07178}html pre.shiki code .seSrl, html code.shiki .seSrl{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#89DDFF}html pre.shiki code .sLL54, html code.shiki .sLL54{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":651,"searchDepth":666,"depth":666,"links":955},[956,957],{"id":643,"depth":666,"text":644},{"id":852,"depth":666,"text":853},"The cwa:auth:signed-in and cwa:auth:signed-out hooks, when each one is called, and what happens when a handler throws.","md",{},{"title":556,"description":958},"8IahOuYJWl3bOKKQX559XoP9Z7Tr5kMYnTQe3VK503s",[964,966],{"title":552,"path":553,"stem":554,"description":965,"children":-1},"Adding an extension's pages under \u002F_cwa with a role and a menu entry, and building a list and an item dialog from the admin's own parts.",{"title":565,"path":561,"stem":562,"description":967,"children":-1},"Choose between one server with Docker Compose (a preview) and Kubernetes with Helm, then take a new site to production on Kubernetes step by step, with the template's GitLab or GitHub pipeline.",1795626701103]