[{"data":1,"prerenderedAt":2534},["ShallowReactive",2],{"docs-navigation:en":3,"content-page:docs:m4pcEfHQKtUsLDO5aQ0Ff-NUWxuQEWPfUVAl-PNUDnY":595,"content-page-surround:docs:m4pcEfHQKtUsLDO5aQ0Ff-NUWxuQEWPfUVAl-PNUDnY":2516,"i-logos:typescript-icon":2521,"i-logos:nuxt-icon":2525,"i-logos:vue":2528,"i-lucide:clipboard":2531},[4,55,123,191,450,509,554,590],{"title":5,"page":6,"canonicalKey":7,"locale":8,"id":9,"draft":6,"icon":10,"sidebar":11,"children":12},"Learn",false,"1","en","content:docs:1.overview:.navigation.yml","i-lucide-book-open","section",[13,20,27,34,41,48],{"title":14,"id":15,"canonicalKey":16,"locale":8,"draft":6,"navigation":17,"icon":18,"path":19},"Better Convex Nuxt","content:docs:1.overview:1.introduction.md","1\u002F1",{"icon":18},"i-lucide-orbit","\u002Fdocs\u002Foverview\u002Fintroduction",{"title":21,"id":22,"canonicalKey":23,"locale":8,"draft":6,"navigation":24,"icon":25,"path":26},"Why Better Convex Nuxt","content:docs:1.overview:2.why-better-convex-nuxt.md","1\u002F2",{"icon":25},"i-lucide-badge-check","\u002Fdocs\u002Foverview\u002Fwhy-better-convex-nuxt",{"title":28,"id":29,"canonicalKey":30,"locale":8,"draft":6,"navigation":31,"icon":32,"path":33},"Who It Is For","content:docs:1.overview:3.who-it-is-for.md","1\u002F3",{"icon":32},"i-lucide-users","\u002Fdocs\u002Foverview\u002Fwho-it-is-for",{"title":35,"id":36,"canonicalKey":37,"locale":8,"draft":6,"navigation":38,"icon":39,"path":40},"Use Cases","content:docs:1.overview:4.use-cases.md","1\u002F4",{"icon":39},"i-lucide-layout-dashboard","\u002Fdocs\u002Foverview\u002Fuse-cases",{"title":42,"id":43,"canonicalKey":44,"locale":8,"draft":6,"navigation":45,"icon":46,"path":47},"Compare Nuxt Integrations","content:docs:1.overview:5.comparison.md","1\u002F5",{"icon":46},"i-lucide-scale","\u002Fdocs\u002Foverview\u002Fcomparison",{"title":49,"id":50,"canonicalKey":51,"locale":8,"draft":6,"navigation":52,"icon":53,"path":54},"Limitations and Trade-offs","content:docs:1.overview:6.limitations.md","1\u002F6",{"icon":53},"i-lucide-triangle-alert","\u002Fdocs\u002Foverview\u002Flimitations",{"title":56,"page":6,"canonicalKey":57,"locale":8,"id":58,"draft":6,"icon":59,"children":60},"Understand","2","content:docs:2.understand:.navigation.yml","i-lucide-brain",[61,67,74,81,88,95,102,109,116],{"title":62,"id":63,"canonicalKey":64,"locale":8,"draft":6,"navigation":65,"icon":59,"path":66},"Mental Model","content:docs:2.understand:1.mental-model.md","2\u002F1",{"icon":59},"\u002Fdocs\u002Funderstand\u002Fmental-model",{"title":68,"id":69,"canonicalKey":70,"locale":8,"draft":6,"navigation":71,"icon":72,"path":73},"Request Lifecycle","content:docs:2.understand:2.request-lifecycle.md","2\u002F2",{"icon":72},"i-lucide-route","\u002Fdocs\u002Funderstand\u002Frequest-lifecycle",{"title":75,"id":76,"canonicalKey":77,"locale":8,"draft":6,"navigation":78,"icon":79,"path":80},"SSR, Hydration, and Real-Time","content:docs:2.understand:3.ssr-hydration-realtime.md","2\u002F3",{"icon":79},"i-lucide-refresh-cw","\u002Fdocs\u002Funderstand\u002Fssr-hydration-realtime",{"title":82,"id":83,"canonicalKey":84,"locale":8,"draft":6,"navigation":85,"icon":86,"path":87},"Query Ownership and Caching","content:docs:2.understand:4.query-ownership-and-caching.md","2\u002F4",{"icon":86},"i-lucide-database","\u002Fdocs\u002Funderstand\u002Fquery-ownership-and-caching",{"title":89,"id":90,"canonicalKey":91,"locale":8,"draft":6,"navigation":92,"icon":93,"path":94},"Authentication and Identity","content:docs:2.understand:5.authentication-and-identity.md","2\u002F5",{"icon":93},"i-lucide-fingerprint","\u002Fdocs\u002Funderstand\u002Fauthentication-and-identity",{"title":96,"id":97,"canonicalKey":98,"locale":8,"draft":6,"navigation":99,"icon":100,"path":101},"Server and Client Boundaries","content:docs:2.understand:6.server-and-client-boundaries.md","2\u002F6",{"icon":100},"i-lucide-panels-top-left","\u002Fdocs\u002Funderstand\u002Fserver-and-client-boundaries",{"title":103,"id":104,"canonicalKey":105,"locale":8,"draft":6,"navigation":106,"icon":107,"path":108},"Errors and Failures","content:docs:2.understand:7.errors-and-failures.md","2\u002F7",{"icon":107},"i-lucide-circle-x","\u002Fdocs\u002Funderstand\u002Ferrors-and-failures",{"title":110,"id":111,"canonicalKey":112,"locale":8,"draft":6,"navigation":113,"icon":114,"path":115},"Design Decisions","content:docs:2.understand:8.design-decisions.md","2\u002F8",{"icon":114},"i-lucide-git-branch","\u002Fdocs\u002Funderstand\u002Fdesign-decisions",{"title":117,"id":118,"canonicalKey":119,"locale":8,"draft":6,"navigation":120,"icon":121,"path":122},"Glossary","content:docs:2.understand:9.glossary.md","2\u002F9",{"icon":121},"i-lucide-book-a","\u002Fdocs\u002Funderstand\u002Fglossary",{"title":124,"page":6,"canonicalKey":125,"locale":8,"id":126,"draft":6,"icon":127,"children":128},"Get Started","3","content:docs:3.get-started:.navigation.yml","i-lucide-rocket",[129,136,143,150,157,164,171,178,185],{"title":130,"id":131,"canonicalKey":132,"locale":8,"draft":6,"navigation":133,"icon":134,"path":135},"Choose Your Path","content:docs:3.get-started:1.choose-your-path.md","3\u002F1",{"icon":134},"i-lucide-signpost","\u002Fdocs\u002Fget-started\u002Fchoose-your-path",{"title":137,"id":138,"canonicalKey":139,"locale":8,"draft":6,"navigation":140,"icon":141,"path":142},"Installation","content:docs:3.get-started:2.installation.md","3\u002F2",{"icon":141},"i-lucide-download","\u002Fdocs\u002Fget-started\u002Finstallation",{"title":144,"id":145,"canonicalKey":146,"locale":8,"draft":6,"navigation":147,"icon":148,"path":149},"First Real-Time Page","content:docs:3.get-started:3.first-realtime-page.md","3\u002F3",{"icon":148},"i-lucide-radio","\u002Fdocs\u002Fget-started\u002Ffirst-realtime-page",{"title":151,"id":152,"canonicalKey":153,"locale":8,"draft":6,"navigation":154,"icon":155,"path":156},"Add a Mutation","content:docs:3.get-started:4.add-a-mutation.md","3\u002F4",{"icon":155},"i-lucide-square-pen","\u002Fdocs\u002Fget-started\u002Fadd-a-mutation",{"title":158,"id":159,"canonicalKey":160,"locale":8,"draft":6,"navigation":161,"icon":162,"path":163},"Add Authentication","content:docs:3.get-started:5.add-authentication.md","3\u002F5",{"icon":162},"i-lucide-log-in","\u002Fdocs\u002Fget-started\u002Fadd-authentication",{"title":165,"id":166,"canonicalKey":167,"locale":8,"draft":6,"navigation":168,"icon":169,"path":170},"Protect Data","content:docs:3.get-started:6.protect-data.md","3\u002F6",{"icon":169},"i-lucide-shield-check","\u002Fdocs\u002Fget-started\u002Fprotect-data",{"title":172,"id":173,"canonicalKey":174,"locale":8,"draft":6,"navigation":175,"icon":176,"path":177},"Project Structure","content:docs:3.get-started:7.project-structure.md","3\u002F7",{"icon":176},"i-lucide-folder-tree","\u002Fdocs\u002Fget-started\u002Fproject-structure",{"title":179,"id":180,"canonicalKey":181,"locale":8,"draft":6,"navigation":182,"icon":183,"path":184},"Next Steps","content:docs:3.get-started:8.next-steps.md","3\u002F8",{"icon":183},"i-lucide-arrow-right","\u002Fdocs\u002Fget-started\u002Fnext-steps",{"title":186,"id":187,"canonicalKey":188,"locale":8,"draft":6,"navigation":189,"icon":100,"path":190},"Plain Vue and Vite","content:docs:3.get-started:9.plain-vue.md","3\u002F9",{"icon":100},"\u002Fdocs\u002Fget-started\u002Fplain-vue",{"title":192,"page":6,"canonicalKey":193,"locale":8,"id":194,"draft":6,"icon":195,"sidebar":11,"children":196},"Build","4","content:docs:4.build:.navigation.yml","i-lucide-blocks",[197,234,265,336,368,393,432],{"title":198,"page":6,"canonicalKey":199,"locale":8,"children":200},"Queries","4\u002F1",[201,206,213,220,227],{"title":198,"id":202,"canonicalKey":203,"locale":8,"draft":6,"navigation":204,"icon":86,"path":205},"content:docs:4.build:1.queries:1.queries.md","4\u002F1\u002F1",{"icon":86},"\u002Fdocs\u002Fbuild\u002Fqueries\u002Fqueries",{"title":207,"id":208,"canonicalKey":209,"locale":8,"draft":6,"navigation":210,"icon":211,"path":212},"Reactive Arguments","content:docs:4.build:1.queries:2.reactive-arguments.md","4\u002F1\u002F2",{"icon":211},"i-lucide-sliders-horizontal","\u002Fdocs\u002Fbuild\u002Fqueries\u002Freactive-arguments",{"title":214,"id":215,"canonicalKey":216,"locale":8,"draft":6,"navigation":217,"icon":218,"path":219},"Loading and Stale Data","content:docs:4.build:1.queries:3.loading-and-stale-data.md","4\u002F1\u002F3",{"icon":218},"i-lucide-loader-circle","\u002Fdocs\u002Fbuild\u002Fqueries\u002Floading-and-stale-data",{"title":221,"id":222,"canonicalKey":223,"locale":8,"draft":6,"navigation":224,"icon":225,"path":226},"Query Execution Options","content:docs:4.build:1.queries:4.ssr-options.md","4\u002F1\u002F4",{"icon":225},"i-lucide-server-cog","\u002Fdocs\u002Fbuild\u002Fqueries\u002Fssr-options",{"title":228,"id":229,"canonicalKey":230,"locale":8,"draft":6,"navigation":231,"icon":232,"path":233},"Pagination","content:docs:4.build:1.queries:6.pagination.md","4\u002F1\u002F6",{"icon":232},"i-lucide-list-plus","\u002Fdocs\u002Fbuild\u002Fqueries\u002Fpagination",{"title":235,"page":6,"canonicalKey":236,"locale":8,"children":237},"Write Data","4\u002F2",[238,244,251,258],{"title":239,"id":240,"canonicalKey":241,"locale":8,"draft":6,"navigation":242,"icon":155,"path":243},"Mutations","content:docs:4.build:2.write-data:1.mutations.md","4\u002F2\u002F1",{"icon":155},"\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Fmutations",{"title":245,"id":246,"canonicalKey":247,"locale":8,"draft":6,"navigation":248,"icon":249,"path":250},"Actions","content:docs:4.build:2.write-data:2.actions.md","4\u002F2\u002F2",{"icon":249},"i-lucide-zap","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Factions",{"title":252,"id":253,"canonicalKey":254,"locale":8,"draft":6,"navigation":255,"icon":256,"path":257},"Optimistic Updates","content:docs:4.build:2.write-data:3.optimistic-updates.md","4\u002F2\u002F3",{"icon":256},"i-lucide-gauge","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Foptimistic-updates",{"title":259,"id":260,"canonicalKey":261,"locale":8,"draft":6,"navigation":262,"icon":263,"path":264},"Concurrent Operations","content:docs:4.build:2.write-data:4.concurrent-operations.md","4\u002F2\u002F4",{"icon":263},"i-lucide-git-fork","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Fconcurrent-operations",{"title":266,"page":6,"canonicalKey":267,"locale":8,"children":268},"Authentication","4\u002F3",[269,275,282,289,295,301,308,315,322,329],{"title":266,"id":270,"canonicalKey":271,"locale":8,"draft":6,"navigation":272,"icon":273,"path":274},"content:docs:4.build:3.authentication:1.overview.md","4\u002F3\u002F1",{"icon":273},"i-lucide-shield","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Foverview",{"title":276,"id":277,"canonicalKey":278,"locale":8,"draft":6,"navigation":279,"icon":280,"path":281},"Better Auth Setup","content:docs:4.build:3.authentication:2.better-auth-setup.md","4\u002F3\u002F2",{"icon":280},"i-lucide-settings-2","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fbetter-auth-setup",{"title":283,"id":284,"canonicalKey":285,"locale":8,"draft":6,"navigation":286,"icon":287,"path":288},"Auth State and User Data","content:docs:4.build:3.authentication:3.auth-state-and-user.md","4\u002F3\u002F3",{"icon":287},"i-lucide-user-round","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fauth-state-and-user",{"title":290,"id":291,"canonicalKey":292,"locale":8,"draft":6,"navigation":293,"icon":162,"path":294},"Sign In and Sign Out","content:docs:4.build:3.authentication:4.sign-in-and-sign-out.md","4\u002F3\u002F4",{"icon":162},"\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fsign-in-and-sign-out",{"title":296,"id":297,"canonicalKey":298,"locale":8,"draft":6,"navigation":299,"icon":72,"path":300},"Route Protection","content:docs:4.build:3.authentication:5.route-protection.md","4\u002F3\u002F5",{"icon":72},"\u002Fdocs\u002Fbuild\u002Fauthentication\u002Froute-protection",{"title":302,"id":303,"canonicalKey":304,"locale":8,"draft":6,"navigation":305,"icon":306,"path":307},"Backend Authorization","content:docs:4.build:3.authentication:6.backend-authorization.md","4\u002F3\u002F6",{"icon":306},"i-lucide-lock-keyhole","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fbackend-authorization",{"title":309,"id":310,"canonicalKey":311,"locale":8,"draft":6,"navigation":312,"icon":313,"path":314},"Better Auth Plugins","content:docs:4.build:3.authentication:7.better-auth-plugins.md","4\u002F3\u002F7",{"icon":313},"i-lucide-plug","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fbetter-auth-plugins",{"title":316,"id":317,"canonicalKey":318,"locale":8,"draft":6,"navigation":319,"icon":320,"path":321},"Custom User Fields","content:docs:4.build:3.authentication:8.custom-user-fields.md","4\u002F3\u002F8",{"icon":320},"i-lucide-user-cog","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fcustom-user-fields",{"title":323,"id":324,"canonicalKey":325,"locale":8,"draft":6,"navigation":326,"icon":327,"path":328},"User Synchronization","content:docs:4.build:3.authentication:9.user-synchronization.md","4\u002F3\u002F9",{"icon":327},"i-lucide-refresh-ccw","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fuser-synchronization",{"title":330,"id":331,"canonicalKey":332,"locale":8,"draft":6,"navigation":333,"icon":334,"path":335},"Delegated OAuth and MCP","content:docs:4.build:3.authentication:10.delegated-oauth-and-mcp.md","4\u002F3\u002F10",{"icon":334},"i-lucide-bot","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fdelegated-oauth-and-mcp",{"title":337,"page":6,"canonicalKey":338,"locale":8,"children":339},"Server","4\u002F4",[340,347,354,361],{"title":341,"id":342,"canonicalKey":343,"locale":8,"draft":6,"navigation":344,"icon":345,"path":346},"serverConvex","content:docs:4.build:4.server:1.server-convex.md","4\u002F4\u002F1",{"icon":345},"i-lucide-server","\u002Fdocs\u002Fbuild\u002Fserver\u002Fserver-convex",{"title":348,"id":349,"canonicalKey":350,"locale":8,"draft":6,"navigation":351,"icon":352,"path":353},"Server Routes","content:docs:4.build:4.server:2.server-routes.md","4\u002F4\u002F2",{"icon":352},"i-lucide-waypoints","\u002Fdocs\u002Fbuild\u002Fserver\u002Fserver-routes",{"title":355,"id":356,"canonicalKey":357,"locale":8,"draft":6,"navigation":358,"icon":359,"path":360},"Webhooks and Jobs","content:docs:4.build:4.server:3.webhooks-and-jobs.md","4\u002F4\u002F3",{"icon":359},"i-lucide-webhook","\u002Fdocs\u002Fbuild\u002Fserver\u002Fwebhooks-and-jobs",{"title":362,"id":363,"canonicalKey":364,"locale":8,"draft":6,"navigation":365,"icon":366,"path":367},"Credentials and Server Security","content:docs:4.build:4.server:4.credentials-and-security.md","4\u002F4\u002F4",{"icon":366},"i-lucide-key-round","\u002Fdocs\u002Fbuild\u002Fserver\u002Fcredentials-and-security",{"title":369,"page":6,"canonicalKey":370,"locale":8,"children":371},"Files","4\u002F5",[372,379,386],{"title":373,"id":374,"canonicalKey":375,"locale":8,"draft":6,"navigation":376,"icon":377,"path":378},"Upload Files","content:docs:4.build:5.files:1.upload-files.md","4\u002F5\u002F1",{"icon":377},"i-lucide-upload","\u002Fdocs\u002Fbuild\u002Ffiles\u002Fupload-files",{"title":380,"id":381,"canonicalKey":382,"locale":8,"draft":6,"navigation":383,"icon":384,"path":385},"Storage URLs","content:docs:4.build:5.files:3.storage-urls.md","4\u002F5\u002F3",{"icon":384},"i-lucide-link","\u002Fdocs\u002Fbuild\u002Ffiles\u002Fstorage-urls",{"title":387,"id":388,"canonicalKey":389,"locale":8,"draft":6,"navigation":390,"icon":391,"path":392},"File Validation and Deletion","content:docs:4.build:5.files:4.validation-and-deletion.md","4\u002F5\u002F4",{"icon":391},"i-lucide-file-x","\u002Fdocs\u002Fbuild\u002Ffiles\u002Fvalidation-and-deletion",{"title":394,"page":6,"canonicalKey":395,"locale":8,"children":396},"Application Behavior","4\u002F6",[397,404,411,418,425],{"title":398,"id":399,"canonicalKey":400,"locale":8,"draft":6,"navigation":401,"icon":402,"path":403},"Connection State","content:docs:4.build:6.application-behavior:1.connection-state.md","4\u002F6\u002F1",{"icon":402},"i-lucide-wifi","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Fconnection-state",{"title":405,"id":406,"canonicalKey":407,"locale":8,"draft":6,"navigation":408,"icon":409,"path":410},"Error Handling","content:docs:4.build:6.application-behavior:2.error-handling.md","4\u002F6\u002F2",{"icon":409},"i-lucide-circle-alert","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Ferror-handling",{"title":412,"id":413,"canonicalKey":414,"locale":8,"draft":6,"navigation":415,"icon":416,"path":417},"Logging","content:docs:4.build:6.application-behavior:3.logging.md","4\u002F6\u002F3",{"icon":416},"i-lucide-scroll-text","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Flogging",{"title":419,"id":420,"canonicalKey":421,"locale":8,"draft":6,"navigation":422,"icon":423,"path":424},"DevTools","content:docs:4.build:6.application-behavior:4.devtools.md","4\u002F6\u002F4",{"icon":423},"i-lucide-wrench","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Fdevtools",{"title":426,"id":427,"canonicalKey":428,"locale":8,"draft":6,"navigation":429,"icon":430,"path":431},"Performance","content:docs:4.build:6.application-behavior:5.performance.md","4\u002F6\u002F5",{"icon":430},"i-lucide-chart-no-axes-combined","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Fperformance",{"title":433,"page":6,"canonicalKey":434,"locale":8,"id":435,"draft":6,"icon":334,"children":436},"Agents and MCP","4\u002F7","content:docs:4.build:7.agents:.navigation.yml",[437,444],{"title":438,"id":439,"canonicalKey":440,"locale":8,"draft":6,"navigation":441,"icon":442,"path":443},"MCP on Convex","content:docs:4.build:7.agents:1.mcp.md","4\u002F7\u002F1",{"icon":442},"i-lucide-plug-zap","\u002Fdocs\u002Fbuild\u002Fagents\u002Fmcp",{"title":445,"id":446,"canonicalKey":447,"locale":8,"draft":6,"navigation":448,"icon":100,"path":449},"Vue MCP Apps","content:docs:4.build:7.agents:2.mcp-apps.md","4\u002F7\u002F2",{"icon":100},"\u002Fdocs\u002Fbuild\u002Fagents\u002Fmcp-apps",{"title":451,"page":6,"canonicalKey":452,"locale":8,"id":453,"draft":6,"icon":454,"children":455},"Recipes","5","content:docs:5.recipes:.navigation.yml","i-lucide-cooking-pot",[456,462,469,476,483,490,497,503],{"title":457,"id":458,"canonicalKey":459,"locale":8,"draft":6,"navigation":460,"icon":39,"path":461},"Protected Dashboard","content:docs:5.recipes:1.protected-dashboard.md","5\u002F1",{"icon":39},"\u002Fdocs\u002Frecipes\u002Fprotected-dashboard",{"title":463,"id":464,"canonicalKey":465,"locale":8,"draft":6,"navigation":466,"icon":467,"path":468},"Real-Time Feed","content:docs:5.recipes:2.realtime-feed.md","5\u002F2",{"icon":467},"i-lucide-messages-square","\u002Fdocs\u002Frecipes\u002Frealtime-feed",{"title":470,"id":471,"canonicalKey":472,"locale":8,"draft":6,"navigation":473,"icon":474,"path":475},"Optimistic Todo List","content:docs:5.recipes:3.optimistic-todo-list.md","5\u002F3",{"icon":474},"i-lucide-list-todo","\u002Fdocs\u002Frecipes\u002Foptimistic-todo-list",{"title":477,"id":478,"canonicalKey":479,"locale":8,"draft":6,"navigation":480,"icon":481,"path":482},"Infinite Scroll","content:docs:5.recipes:4.infinite-scroll.md","5\u002F4",{"icon":481},"i-lucide-mouse","\u002Fdocs\u002Frecipes\u002Finfinite-scroll",{"title":484,"id":485,"canonicalKey":486,"locale":8,"draft":6,"navigation":487,"icon":488,"path":489},"File Upload Form","content:docs:5.recipes:5.file-upload-form.md","5\u002F5",{"icon":488},"i-lucide-file-up","\u002Fdocs\u002Frecipes\u002Ffile-upload-form",{"title":491,"id":492,"canonicalKey":493,"locale":8,"draft":6,"navigation":494,"icon":495,"path":496},"Organization Permissions","content:docs:5.recipes:6.organization-permissions.md","5\u002F6",{"icon":495},"i-lucide-building-2","\u002Fdocs\u002Frecipes\u002Forganization-permissions",{"title":498,"id":499,"canonicalKey":500,"locale":8,"draft":6,"navigation":501,"icon":345,"path":502},"Authenticated Server Route","content:docs:5.recipes:7.authenticated-server-route.md","5\u002F7",{"icon":345},"\u002Fdocs\u002Frecipes\u002Fauthenticated-server-route",{"title":504,"id":505,"canonicalKey":506,"locale":8,"draft":6,"navigation":507,"icon":100,"path":508},"Public and Private Data","content:docs:5.recipes:8.public-and-private-data.md","5\u002F8",{"icon":100},"\u002Fdocs\u002Frecipes\u002Fpublic-and-private-data",{"title":510,"page":6,"canonicalKey":511,"locale":8,"id":512,"draft":6,"icon":513,"children":514},"Reference","6","content:docs:6.reference:.navigation.yml","i-lucide-braces",[515,521,527,533,540,547],{"title":516,"id":517,"canonicalKey":518,"locale":8,"draft":6,"navigation":519,"icon":513,"path":520},"Composables","content:docs:6.reference:1.composables.md","6\u002F1",{"icon":513},"\u002Fdocs\u002Freference\u002Fcomposables",{"title":522,"id":523,"canonicalKey":524,"locale":8,"draft":6,"navigation":525,"icon":345,"path":526},"Server API","content:docs:6.reference:3.server-api.md","6\u002F3",{"icon":345},"\u002Fdocs\u002Freference\u002Fserver-api",{"title":528,"id":529,"canonicalKey":530,"locale":8,"draft":6,"navigation":531,"icon":107,"path":532},"Error Types","content:docs:6.reference:4.error-types.md","6\u002F4",{"icon":107},"\u002Fdocs\u002Freference\u002Ferror-types",{"title":534,"id":535,"canonicalKey":536,"locale":8,"draft":6,"navigation":537,"icon":538,"path":539},"Module Configuration","content:docs:6.reference:5.module-configuration.md","6\u002F5",{"icon":538},"i-lucide-settings","\u002Fdocs\u002Freference\u002Fmodule-configuration",{"title":541,"id":542,"canonicalKey":543,"locale":8,"draft":6,"navigation":544,"icon":545,"path":546},"Package Exports","content:docs:6.reference:6.package-exports.md","6\u002F6",{"icon":545},"i-lucide-package-open","\u002Fdocs\u002Freference\u002Fpackage-exports",{"title":548,"id":549,"canonicalKey":550,"locale":8,"draft":6,"navigation":551,"icon":552,"path":553},"API Surface","content:docs:6.reference:7.api-surface.md","6\u002F7",{"icon":552},"i-lucide-list","\u002Fdocs\u002Freference\u002Fapi-surface",{"title":555,"page":6,"canonicalKey":556,"locale":8,"id":557,"draft":6,"icon":280,"children":558},"Operations","7","content:docs:7.operations:.navigation.yml",[559,566,572,578,584],{"title":560,"id":561,"canonicalKey":562,"locale":8,"draft":6,"navigation":563,"icon":564,"path":565},"Environment Variables","content:docs:7.operations:1.environment-variables.md","7\u002F1",{"icon":564},"i-lucide-variable","\u002Fdocs\u002Foperations\u002Fenvironment-variables",{"title":567,"id":568,"canonicalKey":569,"locale":8,"draft":6,"navigation":570,"icon":127,"path":571},"Deployment","content:docs:7.operations:2.deployment.md","7\u002F2",{"icon":127},"\u002Fdocs\u002Foperations\u002Fdeployment",{"title":573,"id":574,"canonicalKey":575,"locale":8,"draft":6,"navigation":576,"icon":169,"path":577},"Security Model","content:docs:7.operations:3.security-model.md","7\u002F3",{"icon":169},"\u002Fdocs\u002Foperations\u002Fsecurity-model",{"title":579,"id":580,"canonicalKey":581,"locale":8,"draft":6,"navigation":582,"icon":423,"path":583},"Troubleshooting","content:docs:7.operations:4.troubleshooting.md","7\u002F4",{"icon":423},"\u002Fdocs\u002Foperations\u002Ftroubleshooting",{"title":585,"id":586,"canonicalKey":587,"locale":8,"draft":6,"navigation":588,"icon":25,"path":589},"Release Compatibility","content:docs:7.operations:5.release-compatibility.md","7\u002F5",{"icon":25},"\u002Fdocs\u002Foperations\u002Frelease-compatibility",{"title":591,"id":592,"canonicalKey":593,"locale":8,"draft":6,"path":594},"Better Convex documentation","content:docs:index.md","\u002F","\u002Fdocs",{"title":165,"description":596,"navigation":597,"body":598,"type":2503,"id":166,"canonicalKey":167,"draft":6,"partial":6,"locale":8,"collection":2504,"navigationFile":6,"file":2505,"route":2511,"resolution":2513},"Enforce ownership in Convex and add Nuxt route protection for navigation.",{"icon":169},{"type":599,"children":600,"toc":2493},"root",[601,609,616,919,924,930,2031,2036,2042,2208,2220,2225,2231,2236,2401,2406,2439,2451,2457,2462,2488],{"type":602,"tag":603,"props":604,"children":605},"element","p",{},[606],{"type":607,"value":608},"text","Authentication does not secure a function by itself. Update the todo app so every document belongs to the authenticated Convex identity.",{"type":602,"tag":610,"props":611,"children":613},"h2",{"id":612},"add-an-owner-to-the-schema",[614],{"type":607,"value":615},"Add an owner to the schema",{"type":602,"tag":617,"props":618,"children":622},"pre",{"language":619,"filename":620,"class":621},"ts","convex\u002Fschema.ts","shiki shiki-themes light-plus dark-plus dark:dark-plus",[623],{"type":602,"tag":624,"props":625,"children":627},"code",{"class":626},"language-ts",[628,678,680,709,710,713,714,738,739,756,757,785,786,810,811,836,837,862,863,910,911],{"type":602,"tag":629,"props":630,"children":633},"span",{"class":631,"style":632},"line","display: inline",[634,640,646,652,657,662,667,672],{"type":602,"tag":629,"props":635,"children":637},{"style":636},"color:#AF00DB;--shiki-dark:#C586C0",[638],{"type":607,"value":639},"import",{"type":602,"tag":629,"props":641,"children":643},{"style":642},"color:#000000;--shiki-dark:#D4D4D4",[644],{"type":607,"value":645}," { ",{"type":602,"tag":629,"props":647,"children":649},{"style":648},"color:#001080;--shiki-dark:#9CDCFE",[650],{"type":607,"value":651},"defineSchema",{"type":602,"tag":629,"props":653,"children":654},{"style":642},[655],{"type":607,"value":656},", ",{"type":602,"tag":629,"props":658,"children":659},{"style":648},[660],{"type":607,"value":661},"defineTable",{"type":602,"tag":629,"props":663,"children":664},{"style":642},[665],{"type":607,"value":666}," } ",{"type":602,"tag":629,"props":668,"children":669},{"style":636},[670],{"type":607,"value":671},"from",{"type":602,"tag":629,"props":673,"children":675},{"style":674},"color:#A31515;--shiki-dark:#CE9178",[676],{"type":607,"value":677}," 'convex\u002Fserver'",{"type":607,"value":679},"\n",{"type":602,"tag":629,"props":681,"children":682},{"class":631,"style":632},[683,687,691,696,700,704],{"type":602,"tag":629,"props":684,"children":685},{"style":636},[686],{"type":607,"value":639},{"type":602,"tag":629,"props":688,"children":689},{"style":642},[690],{"type":607,"value":645},{"type":602,"tag":629,"props":692,"children":693},{"style":648},[694],{"type":607,"value":695},"v",{"type":602,"tag":629,"props":697,"children":698},{"style":642},[699],{"type":607,"value":666},{"type":602,"tag":629,"props":701,"children":702},{"style":636},[703],{"type":607,"value":671},{"type":602,"tag":629,"props":705,"children":706},{"style":674},[707],{"type":607,"value":708}," 'convex\u002Fvalues'",{"type":607,"value":679},{"type":602,"tag":629,"props":711,"children":712},{"class":631,"style":632},[],{"type":607,"value":679},{"type":602,"tag":629,"props":715,"children":716},{"class":631,"style":632},[717,722,727,733],{"type":602,"tag":629,"props":718,"children":719},{"style":636},[720],{"type":607,"value":721},"export",{"type":602,"tag":629,"props":723,"children":724},{"style":636},[725],{"type":607,"value":726}," default",{"type":602,"tag":629,"props":728,"children":730},{"style":729},"color:#795E26;--shiki-dark:#DCDCAA",[731],{"type":607,"value":732}," defineSchema",{"type":602,"tag":629,"props":734,"children":735},{"style":642},[736],{"type":607,"value":737},"({",{"type":607,"value":679},{"type":602,"tag":629,"props":740,"children":741},{"class":631,"style":632},[742,747,752],{"type":602,"tag":629,"props":743,"children":744},{"style":648},[745],{"type":607,"value":746},"  todos:",{"type":602,"tag":629,"props":748,"children":749},{"style":729},[750],{"type":607,"value":751}," defineTable",{"type":602,"tag":629,"props":753,"children":754},{"style":642},[755],{"type":607,"value":737},{"type":607,"value":679},{"type":602,"tag":629,"props":758,"children":759},{"class":631,"style":632},[760,765,770,775,780],{"type":602,"tag":629,"props":761,"children":762},{"style":648},[763],{"type":607,"value":764},"    ownerId:",{"type":602,"tag":629,"props":766,"children":767},{"style":648},[768],{"type":607,"value":769}," v",{"type":602,"tag":629,"props":771,"children":772},{"style":642},[773],{"type":607,"value":774},".",{"type":602,"tag":629,"props":776,"children":777},{"style":729},[778],{"type":607,"value":779},"string",{"type":602,"tag":629,"props":781,"children":782},{"style":642},[783],{"type":607,"value":784},"(),",{"type":607,"value":679},{"type":602,"tag":629,"props":787,"children":788},{"class":631,"style":632},[789,794,798,802,806],{"type":602,"tag":629,"props":790,"children":791},{"style":648},[792],{"type":607,"value":793},"    text:",{"type":602,"tag":629,"props":795,"children":796},{"style":648},[797],{"type":607,"value":769},{"type":602,"tag":629,"props":799,"children":800},{"style":642},[801],{"type":607,"value":774},{"type":602,"tag":629,"props":803,"children":804},{"style":729},[805],{"type":607,"value":779},{"type":602,"tag":629,"props":807,"children":808},{"style":642},[809],{"type":607,"value":784},{"type":607,"value":679},{"type":602,"tag":629,"props":812,"children":813},{"class":631,"style":632},[814,819,823,827,832],{"type":602,"tag":629,"props":815,"children":816},{"style":648},[817],{"type":607,"value":818},"    completed:",{"type":602,"tag":629,"props":820,"children":821},{"style":648},[822],{"type":607,"value":769},{"type":602,"tag":629,"props":824,"children":825},{"style":642},[826],{"type":607,"value":774},{"type":602,"tag":629,"props":828,"children":829},{"style":729},[830],{"type":607,"value":831},"boolean",{"type":602,"tag":629,"props":833,"children":834},{"style":642},[835],{"type":607,"value":784},{"type":607,"value":679},{"type":602,"tag":629,"props":838,"children":839},{"class":631,"style":632},[840,845,849,853,858],{"type":602,"tag":629,"props":841,"children":842},{"style":648},[843],{"type":607,"value":844},"    createdAt:",{"type":602,"tag":629,"props":846,"children":847},{"style":648},[848],{"type":607,"value":769},{"type":602,"tag":629,"props":850,"children":851},{"style":642},[852],{"type":607,"value":774},{"type":602,"tag":629,"props":854,"children":855},{"style":729},[856],{"type":607,"value":857},"number",{"type":602,"tag":629,"props":859,"children":860},{"style":642},[861],{"type":607,"value":784},{"type":607,"value":679},{"type":602,"tag":629,"props":864,"children":865},{"class":631,"style":632},[866,871,876,881,886,891,896,900,905],{"type":602,"tag":629,"props":867,"children":868},{"style":642},[869],{"type":607,"value":870},"  }).",{"type":602,"tag":629,"props":872,"children":873},{"style":729},[874],{"type":607,"value":875},"index",{"type":602,"tag":629,"props":877,"children":878},{"style":642},[879],{"type":607,"value":880},"(",{"type":602,"tag":629,"props":882,"children":883},{"style":674},[884],{"type":607,"value":885},"'by_owner_created'",{"type":602,"tag":629,"props":887,"children":888},{"style":642},[889],{"type":607,"value":890},", [",{"type":602,"tag":629,"props":892,"children":893},{"style":674},[894],{"type":607,"value":895},"'ownerId'",{"type":602,"tag":629,"props":897,"children":898},{"style":642},[899],{"type":607,"value":656},{"type":602,"tag":629,"props":901,"children":902},{"style":674},[903],{"type":607,"value":904},"'createdAt'",{"type":602,"tag":629,"props":906,"children":907},{"style":642},[908],{"type":607,"value":909},"]),",{"type":607,"value":679},{"type":602,"tag":629,"props":912,"children":913},{"class":631,"style":632},[914],{"type":602,"tag":629,"props":915,"children":916},{"style":642},[917],{"type":607,"value":918},"})",{"type":602,"tag":603,"props":920,"children":921},{},[922],{"type":607,"value":923},"Delete or migrate public development records before deploying this schema change. Do not assign existing records to the first user who reads them.",{"type":602,"tag":610,"props":925,"children":927},{"id":926},"require-identity-in-the-backend",[928],{"type":607,"value":929},"Require identity in the backend",{"type":602,"tag":617,"props":931,"children":933},{"language":619,"filename":932,"class":621},"convex\u002Ftodos.ts",[934],{"type":602,"tag":624,"props":935,"children":936},{"class":626},[937,975,976,1012,1013,1016,1017,1050,1051,1114,1115,1123,1124,1175,1176,1234,1235,1247,1248,1256,1257,1260,1261,1290,1291,1304,1305,1346,1347,1384,1385,1411,1412,1437,1438,1519,1520,1545,1546,1572,1573,1581,1582,1589,1590,1593,1594,1622,1623,1656,1657,1701,1702,1737,1738,1779,1780,1829,1830,1863,1864,1872,1873,1876,1877,1922,1923,1948,1949,1961,1962,1979,1980,2006,2007,2015,2016,2023,2024],{"type":602,"tag":629,"props":938,"children":939},{"class":631,"style":632},[940,944,948,953,957,962,966,970],{"type":602,"tag":629,"props":941,"children":942},{"style":636},[943],{"type":607,"value":639},{"type":602,"tag":629,"props":945,"children":946},{"style":642},[947],{"type":607,"value":645},{"type":602,"tag":629,"props":949,"children":950},{"style":648},[951],{"type":607,"value":952},"mutation",{"type":602,"tag":629,"props":954,"children":955},{"style":642},[956],{"type":607,"value":656},{"type":602,"tag":629,"props":958,"children":959},{"style":648},[960],{"type":607,"value":961},"query",{"type":602,"tag":629,"props":963,"children":964},{"style":642},[965],{"type":607,"value":666},{"type":602,"tag":629,"props":967,"children":968},{"style":636},[969],{"type":607,"value":671},{"type":602,"tag":629,"props":971,"children":972},{"style":674},[973],{"type":607,"value":974}," '.\u002F_generated\u002Fserver'",{"type":607,"value":679},{"type":602,"tag":629,"props":977,"children":978},{"class":631,"style":632},[979,983,987,992,996,1000,1004,1008],{"type":602,"tag":629,"props":980,"children":981},{"style":636},[982],{"type":607,"value":639},{"type":602,"tag":629,"props":984,"children":985},{"style":642},[986],{"type":607,"value":645},{"type":602,"tag":629,"props":988,"children":989},{"style":648},[990],{"type":607,"value":991},"ConvexError",{"type":602,"tag":629,"props":993,"children":994},{"style":642},[995],{"type":607,"value":656},{"type":602,"tag":629,"props":997,"children":998},{"style":648},[999],{"type":607,"value":695},{"type":602,"tag":629,"props":1001,"children":1002},{"style":642},[1003],{"type":607,"value":666},{"type":602,"tag":629,"props":1005,"children":1006},{"style":636},[1007],{"type":607,"value":671},{"type":602,"tag":629,"props":1009,"children":1010},{"style":674},[1011],{"type":607,"value":708},{"type":607,"value":679},{"type":602,"tag":629,"props":1014,"children":1015},{"class":631,"style":632},[],{"type":607,"value":679},{"type":602,"tag":629,"props":1018,"children":1019},{"class":631,"style":632},[1020,1026,1031,1036,1040,1045],{"type":602,"tag":629,"props":1021,"children":1023},{"style":1022},"color:#0000FF;--shiki-dark:#569CD6",[1024],{"type":607,"value":1025},"async",{"type":602,"tag":629,"props":1027,"children":1028},{"style":1022},[1029],{"type":607,"value":1030}," function",{"type":602,"tag":629,"props":1032,"children":1033},{"style":729},[1034],{"type":607,"value":1035}," requireIdentity",{"type":602,"tag":629,"props":1037,"children":1038},{"style":642},[1039],{"type":607,"value":880},{"type":602,"tag":629,"props":1041,"children":1042},{"style":648},[1043],{"type":607,"value":1044},"ctx",{"type":602,"tag":629,"props":1046,"children":1047},{"style":642},[1048],{"type":607,"value":1049},": {",{"type":607,"value":679},{"type":602,"tag":629,"props":1052,"children":1053},{"class":631,"style":632},[1054,1059,1064,1069,1074,1080,1085,1090,1095,1099,1104,1109],{"type":602,"tag":629,"props":1055,"children":1056},{"style":648},[1057],{"type":607,"value":1058},"  auth",{"type":602,"tag":629,"props":1060,"children":1061},{"style":642},[1062],{"type":607,"value":1063},": { ",{"type":602,"tag":629,"props":1065,"children":1066},{"style":729},[1067],{"type":607,"value":1068},"getUserIdentity",{"type":602,"tag":629,"props":1070,"children":1071},{"style":642},[1072],{"type":607,"value":1073},"(): ",{"type":602,"tag":629,"props":1075,"children":1077},{"style":1076},"color:#267F99;--shiki-dark:#4EC9B0",[1078],{"type":607,"value":1079},"Promise",{"type":602,"tag":629,"props":1081,"children":1082},{"style":642},[1083],{"type":607,"value":1084},"\u003C{ ",{"type":602,"tag":629,"props":1086,"children":1087},{"style":648},[1088],{"type":607,"value":1089},"subject",{"type":602,"tag":629,"props":1091,"children":1092},{"style":642},[1093],{"type":607,"value":1094},": ",{"type":602,"tag":629,"props":1096,"children":1097},{"style":1076},[1098],{"type":607,"value":779},{"type":602,"tag":629,"props":1100,"children":1101},{"style":642},[1102],{"type":607,"value":1103}," } | ",{"type":602,"tag":629,"props":1105,"children":1106},{"style":1076},[1107],{"type":607,"value":1108},"null",{"type":602,"tag":629,"props":1110,"children":1111},{"style":642},[1112],{"type":607,"value":1113},"> }",{"type":607,"value":679},{"type":602,"tag":629,"props":1116,"children":1117},{"class":631,"style":632},[1118],{"type":602,"tag":629,"props":1119,"children":1120},{"style":642},[1121],{"type":607,"value":1122},"}) {",{"type":607,"value":679},{"type":602,"tag":629,"props":1125,"children":1126},{"class":631,"style":632},[1127,1132,1138,1143,1148,1153,1157,1162,1166,1170],{"type":602,"tag":629,"props":1128,"children":1129},{"style":1022},[1130],{"type":607,"value":1131},"  const",{"type":602,"tag":629,"props":1133,"children":1135},{"style":1134},"color:#0070C1;--shiki-dark:#4FC1FF",[1136],{"type":607,"value":1137}," identity",{"type":602,"tag":629,"props":1139,"children":1140},{"style":642},[1141],{"type":607,"value":1142}," = ",{"type":602,"tag":629,"props":1144,"children":1145},{"style":636},[1146],{"type":607,"value":1147},"await",{"type":602,"tag":629,"props":1149,"children":1150},{"style":648},[1151],{"type":607,"value":1152}," ctx",{"type":602,"tag":629,"props":1154,"children":1155},{"style":642},[1156],{"type":607,"value":774},{"type":602,"tag":629,"props":1158,"children":1159},{"style":648},[1160],{"type":607,"value":1161},"auth",{"type":602,"tag":629,"props":1163,"children":1164},{"style":642},[1165],{"type":607,"value":774},{"type":602,"tag":629,"props":1167,"children":1168},{"style":729},[1169],{"type":607,"value":1068},{"type":602,"tag":629,"props":1171,"children":1172},{"style":642},[1173],{"type":607,"value":1174},"()",{"type":607,"value":679},{"type":602,"tag":629,"props":1177,"children":1178},{"class":631,"style":632},[1179,1184,1189,1194,1199,1204,1209,1214,1219,1224,1229],{"type":602,"tag":629,"props":1180,"children":1181},{"style":636},[1182],{"type":607,"value":1183},"  if",{"type":602,"tag":629,"props":1185,"children":1186},{"style":642},[1187],{"type":607,"value":1188}," (!",{"type":602,"tag":629,"props":1190,"children":1191},{"style":648},[1192],{"type":607,"value":1193},"identity",{"type":602,"tag":629,"props":1195,"children":1196},{"style":642},[1197],{"type":607,"value":1198},") ",{"type":602,"tag":629,"props":1200,"children":1201},{"style":636},[1202],{"type":607,"value":1203},"throw",{"type":602,"tag":629,"props":1205,"children":1206},{"style":1022},[1207],{"type":607,"value":1208}," new",{"type":602,"tag":629,"props":1210,"children":1211},{"style":729},[1212],{"type":607,"value":1213}," ConvexError",{"type":602,"tag":629,"props":1215,"children":1216},{"style":642},[1217],{"type":607,"value":1218},"({ ",{"type":602,"tag":629,"props":1220,"children":1221},{"style":648},[1222],{"type":607,"value":1223},"code:",{"type":602,"tag":629,"props":1225,"children":1226},{"style":674},[1227],{"type":607,"value":1228}," 'UNAUTHENTICATED'",{"type":602,"tag":629,"props":1230,"children":1231},{"style":642},[1232],{"type":607,"value":1233}," })",{"type":607,"value":679},{"type":602,"tag":629,"props":1236,"children":1237},{"class":631,"style":632},[1238,1243],{"type":602,"tag":629,"props":1239,"children":1240},{"style":636},[1241],{"type":607,"value":1242},"  return",{"type":602,"tag":629,"props":1244,"children":1245},{"style":648},[1246],{"type":607,"value":1137},{"type":607,"value":679},{"type":602,"tag":629,"props":1249,"children":1250},{"class":631,"style":632},[1251],{"type":602,"tag":629,"props":1252,"children":1253},{"style":642},[1254],{"type":607,"value":1255},"}",{"type":607,"value":679},{"type":602,"tag":629,"props":1258,"children":1259},{"class":631,"style":632},[],{"type":607,"value":679},{"type":602,"tag":629,"props":1262,"children":1263},{"class":631,"style":632},[1264,1268,1273,1278,1282,1286],{"type":602,"tag":629,"props":1265,"children":1266},{"style":636},[1267],{"type":607,"value":721},{"type":602,"tag":629,"props":1269,"children":1270},{"style":1022},[1271],{"type":607,"value":1272}," const",{"type":602,"tag":629,"props":1274,"children":1275},{"style":1134},[1276],{"type":607,"value":1277}," list",{"type":602,"tag":629,"props":1279,"children":1280},{"style":642},[1281],{"type":607,"value":1142},{"type":602,"tag":629,"props":1283,"children":1284},{"style":729},[1285],{"type":607,"value":961},{"type":602,"tag":629,"props":1287,"children":1288},{"style":642},[1289],{"type":607,"value":737},{"type":607,"value":679},{"type":602,"tag":629,"props":1292,"children":1293},{"class":631,"style":632},[1294,1299],{"type":602,"tag":629,"props":1295,"children":1296},{"style":648},[1297],{"type":607,"value":1298},"  args:",{"type":602,"tag":629,"props":1300,"children":1301},{"style":642},[1302],{"type":607,"value":1303}," {},",{"type":607,"value":679},{"type":602,"tag":629,"props":1306,"children":1307},{"class":631,"style":632},[1308,1313,1318,1323,1328,1332,1336,1341],{"type":602,"tag":629,"props":1309,"children":1310},{"style":729},[1311],{"type":607,"value":1312},"  handler",{"type":602,"tag":629,"props":1314,"children":1315},{"style":648},[1316],{"type":607,"value":1317},":",{"type":602,"tag":629,"props":1319,"children":1320},{"style":1022},[1321],{"type":607,"value":1322}," async",{"type":602,"tag":629,"props":1324,"children":1325},{"style":642},[1326],{"type":607,"value":1327}," (",{"type":602,"tag":629,"props":1329,"children":1330},{"style":648},[1331],{"type":607,"value":1044},{"type":602,"tag":629,"props":1333,"children":1334},{"style":642},[1335],{"type":607,"value":1198},{"type":602,"tag":629,"props":1337,"children":1338},{"style":1022},[1339],{"type":607,"value":1340},"=>",{"type":602,"tag":629,"props":1342,"children":1343},{"style":642},[1344],{"type":607,"value":1345}," {",{"type":607,"value":679},{"type":602,"tag":629,"props":1348,"children":1349},{"class":631,"style":632},[1350,1355,1359,1363,1367,1371,1375,1379],{"type":602,"tag":629,"props":1351,"children":1352},{"style":1022},[1353],{"type":607,"value":1354},"    const",{"type":602,"tag":629,"props":1356,"children":1357},{"style":1134},[1358],{"type":607,"value":1137},{"type":602,"tag":629,"props":1360,"children":1361},{"style":642},[1362],{"type":607,"value":1142},{"type":602,"tag":629,"props":1364,"children":1365},{"style":636},[1366],{"type":607,"value":1147},{"type":602,"tag":629,"props":1368,"children":1369},{"style":729},[1370],{"type":607,"value":1035},{"type":602,"tag":629,"props":1372,"children":1373},{"style":642},[1374],{"type":607,"value":880},{"type":602,"tag":629,"props":1376,"children":1377},{"style":648},[1378],{"type":607,"value":1044},{"type":602,"tag":629,"props":1380,"children":1381},{"style":642},[1382],{"type":607,"value":1383},")",{"type":607,"value":679},{"type":602,"tag":629,"props":1386,"children":1387},{"class":631,"style":632},[1388,1393,1398,1402,1406],{"type":602,"tag":629,"props":1389,"children":1390},{"style":636},[1391],{"type":607,"value":1392},"    return",{"type":602,"tag":629,"props":1394,"children":1395},{"style":636},[1396],{"type":607,"value":1397}," await",{"type":602,"tag":629,"props":1399,"children":1400},{"style":648},[1401],{"type":607,"value":1152},{"type":602,"tag":629,"props":1403,"children":1404},{"style":642},[1405],{"type":607,"value":774},{"type":602,"tag":629,"props":1407,"children":1408},{"style":648},[1409],{"type":607,"value":1410},"db",{"type":607,"value":679},{"type":602,"tag":629,"props":1413,"children":1414},{"class":631,"style":632},[1415,1420,1424,1428,1433],{"type":602,"tag":629,"props":1416,"children":1417},{"style":642},[1418],{"type":607,"value":1419},"      .",{"type":602,"tag":629,"props":1421,"children":1422},{"style":729},[1423],{"type":607,"value":961},{"type":602,"tag":629,"props":1425,"children":1426},{"style":642},[1427],{"type":607,"value":880},{"type":602,"tag":629,"props":1429,"children":1430},{"style":674},[1431],{"type":607,"value":1432},"'todos'",{"type":602,"tag":629,"props":1434,"children":1435},{"style":642},[1436],{"type":607,"value":1383},{"type":607,"value":679},{"type":602,"tag":629,"props":1439,"children":1440},{"class":631,"style":632},[1441,1445,1450,1454,1458,1463,1468,1472,1476,1481,1485,1490,1494,1498,1502,1506,1510,1514],{"type":602,"tag":629,"props":1442,"children":1443},{"style":642},[1444],{"type":607,"value":1419},{"type":602,"tag":629,"props":1446,"children":1447},{"style":729},[1448],{"type":607,"value":1449},"withIndex",{"type":602,"tag":629,"props":1451,"children":1452},{"style":642},[1453],{"type":607,"value":880},{"type":602,"tag":629,"props":1455,"children":1456},{"style":674},[1457],{"type":607,"value":885},{"type":602,"tag":629,"props":1459,"children":1460},{"style":642},[1461],{"type":607,"value":1462},", (",{"type":602,"tag":629,"props":1464,"children":1465},{"style":648},[1466],{"type":607,"value":1467},"q",{"type":602,"tag":629,"props":1469,"children":1470},{"style":642},[1471],{"type":607,"value":1198},{"type":602,"tag":629,"props":1473,"children":1474},{"style":1022},[1475],{"type":607,"value":1340},{"type":602,"tag":629,"props":1477,"children":1478},{"style":648},[1479],{"type":607,"value":1480}," q",{"type":602,"tag":629,"props":1482,"children":1483},{"style":642},[1484],{"type":607,"value":774},{"type":602,"tag":629,"props":1486,"children":1487},{"style":729},[1488],{"type":607,"value":1489},"eq",{"type":602,"tag":629,"props":1491,"children":1492},{"style":642},[1493],{"type":607,"value":880},{"type":602,"tag":629,"props":1495,"children":1496},{"style":674},[1497],{"type":607,"value":895},{"type":602,"tag":629,"props":1499,"children":1500},{"style":642},[1501],{"type":607,"value":656},{"type":602,"tag":629,"props":1503,"children":1504},{"style":648},[1505],{"type":607,"value":1193},{"type":602,"tag":629,"props":1507,"children":1508},{"style":642},[1509],{"type":607,"value":774},{"type":602,"tag":629,"props":1511,"children":1512},{"style":648},[1513],{"type":607,"value":1089},{"type":602,"tag":629,"props":1515,"children":1516},{"style":642},[1517],{"type":607,"value":1518},"))",{"type":607,"value":679},{"type":602,"tag":629,"props":1521,"children":1522},{"class":631,"style":632},[1523,1527,1532,1536,1541],{"type":602,"tag":629,"props":1524,"children":1525},{"style":642},[1526],{"type":607,"value":1419},{"type":602,"tag":629,"props":1528,"children":1529},{"style":729},[1530],{"type":607,"value":1531},"order",{"type":602,"tag":629,"props":1533,"children":1534},{"style":642},[1535],{"type":607,"value":880},{"type":602,"tag":629,"props":1537,"children":1538},{"style":674},[1539],{"type":607,"value":1540},"'desc'",{"type":602,"tag":629,"props":1542,"children":1543},{"style":642},[1544],{"type":607,"value":1383},{"type":607,"value":679},{"type":602,"tag":629,"props":1547,"children":1548},{"class":631,"style":632},[1549,1553,1558,1562,1568],{"type":602,"tag":629,"props":1550,"children":1551},{"style":642},[1552],{"type":607,"value":1419},{"type":602,"tag":629,"props":1554,"children":1555},{"style":729},[1556],{"type":607,"value":1557},"take",{"type":602,"tag":629,"props":1559,"children":1560},{"style":642},[1561],{"type":607,"value":880},{"type":602,"tag":629,"props":1563,"children":1565},{"style":1564},"color:#098658;--shiki-dark:#B5CEA8",[1566],{"type":607,"value":1567},"50",{"type":602,"tag":629,"props":1569,"children":1570},{"style":642},[1571],{"type":607,"value":1383},{"type":607,"value":679},{"type":602,"tag":629,"props":1574,"children":1575},{"class":631,"style":632},[1576],{"type":602,"tag":629,"props":1577,"children":1578},{"style":642},[1579],{"type":607,"value":1580},"  },",{"type":607,"value":679},{"type":602,"tag":629,"props":1583,"children":1584},{"class":631,"style":632},[1585],{"type":602,"tag":629,"props":1586,"children":1587},{"style":642},[1588],{"type":607,"value":918},{"type":607,"value":679},{"type":602,"tag":629,"props":1591,"children":1592},{"class":631,"style":632},[],{"type":607,"value":679},{"type":602,"tag":629,"props":1595,"children":1596},{"class":631,"style":632},[1597,1601,1605,1610,1614,1618],{"type":602,"tag":629,"props":1598,"children":1599},{"style":636},[1600],{"type":607,"value":721},{"type":602,"tag":629,"props":1602,"children":1603},{"style":1022},[1604],{"type":607,"value":1272},{"type":602,"tag":629,"props":1606,"children":1607},{"style":1134},[1608],{"type":607,"value":1609}," create",{"type":602,"tag":629,"props":1611,"children":1612},{"style":642},[1613],{"type":607,"value":1142},{"type":602,"tag":629,"props":1615,"children":1616},{"style":729},[1617],{"type":607,"value":952},{"type":602,"tag":629,"props":1619,"children":1620},{"style":642},[1621],{"type":607,"value":737},{"type":607,"value":679},{"type":602,"tag":629,"props":1624,"children":1625},{"class":631,"style":632},[1626,1630,1634,1639,1643,1647,1651],{"type":602,"tag":629,"props":1627,"children":1628},{"style":648},[1629],{"type":607,"value":1298},{"type":602,"tag":629,"props":1631,"children":1632},{"style":642},[1633],{"type":607,"value":645},{"type":602,"tag":629,"props":1635,"children":1636},{"style":648},[1637],{"type":607,"value":1638},"text:",{"type":602,"tag":629,"props":1640,"children":1641},{"style":648},[1642],{"type":607,"value":769},{"type":602,"tag":629,"props":1644,"children":1645},{"style":642},[1646],{"type":607,"value":774},{"type":602,"tag":629,"props":1648,"children":1649},{"style":729},[1650],{"type":607,"value":779},{"type":602,"tag":629,"props":1652,"children":1653},{"style":642},[1654],{"type":607,"value":1655},"() },",{"type":607,"value":679},{"type":602,"tag":629,"props":1658,"children":1659},{"class":631,"style":632},[1660,1664,1668,1672,1676,1680,1684,1689,1693,1697],{"type":602,"tag":629,"props":1661,"children":1662},{"style":729},[1663],{"type":607,"value":1312},{"type":602,"tag":629,"props":1665,"children":1666},{"style":648},[1667],{"type":607,"value":1317},{"type":602,"tag":629,"props":1669,"children":1670},{"style":1022},[1671],{"type":607,"value":1322},{"type":602,"tag":629,"props":1673,"children":1674},{"style":642},[1675],{"type":607,"value":1327},{"type":602,"tag":629,"props":1677,"children":1678},{"style":648},[1679],{"type":607,"value":1044},{"type":602,"tag":629,"props":1681,"children":1682},{"style":642},[1683],{"type":607,"value":656},{"type":602,"tag":629,"props":1685,"children":1686},{"style":648},[1687],{"type":607,"value":1688},"args",{"type":602,"tag":629,"props":1690,"children":1691},{"style":642},[1692],{"type":607,"value":1198},{"type":602,"tag":629,"props":1694,"children":1695},{"style":1022},[1696],{"type":607,"value":1340},{"type":602,"tag":629,"props":1698,"children":1699},{"style":642},[1700],{"type":607,"value":1345},{"type":607,"value":679},{"type":602,"tag":629,"props":1703,"children":1704},{"class":631,"style":632},[1705,1709,1713,1717,1721,1725,1729,1733],{"type":602,"tag":629,"props":1706,"children":1707},{"style":1022},[1708],{"type":607,"value":1354},{"type":602,"tag":629,"props":1710,"children":1711},{"style":1134},[1712],{"type":607,"value":1137},{"type":602,"tag":629,"props":1714,"children":1715},{"style":642},[1716],{"type":607,"value":1142},{"type":602,"tag":629,"props":1718,"children":1719},{"style":636},[1720],{"type":607,"value":1147},{"type":602,"tag":629,"props":1722,"children":1723},{"style":729},[1724],{"type":607,"value":1035},{"type":602,"tag":629,"props":1726,"children":1727},{"style":642},[1728],{"type":607,"value":880},{"type":602,"tag":629,"props":1730,"children":1731},{"style":648},[1732],{"type":607,"value":1044},{"type":602,"tag":629,"props":1734,"children":1735},{"style":642},[1736],{"type":607,"value":1383},{"type":607,"value":679},{"type":602,"tag":629,"props":1739,"children":1740},{"class":631,"style":632},[1741,1745,1750,1754,1758,1762,1766,1770,1775],{"type":602,"tag":629,"props":1742,"children":1743},{"style":1022},[1744],{"type":607,"value":1354},{"type":602,"tag":629,"props":1746,"children":1747},{"style":1134},[1748],{"type":607,"value":1749}," text",{"type":602,"tag":629,"props":1751,"children":1752},{"style":642},[1753],{"type":607,"value":1142},{"type":602,"tag":629,"props":1755,"children":1756},{"style":648},[1757],{"type":607,"value":1688},{"type":602,"tag":629,"props":1759,"children":1760},{"style":642},[1761],{"type":607,"value":774},{"type":602,"tag":629,"props":1763,"children":1764},{"style":648},[1765],{"type":607,"value":607},{"type":602,"tag":629,"props":1767,"children":1768},{"style":642},[1769],{"type":607,"value":774},{"type":602,"tag":629,"props":1771,"children":1772},{"style":729},[1773],{"type":607,"value":1774},"trim",{"type":602,"tag":629,"props":1776,"children":1777},{"style":642},[1778],{"type":607,"value":1174},{"type":607,"value":679},{"type":602,"tag":629,"props":1781,"children":1782},{"class":631,"style":632},[1783,1788,1792,1796,1801,1805,1809,1814,1819,1824],{"type":602,"tag":629,"props":1784,"children":1785},{"style":636},[1786],{"type":607,"value":1787},"    if",{"type":602,"tag":629,"props":1789,"children":1790},{"style":642},[1791],{"type":607,"value":1188},{"type":602,"tag":629,"props":1793,"children":1794},{"style":648},[1795],{"type":607,"value":607},{"type":602,"tag":629,"props":1797,"children":1798},{"style":642},[1799],{"type":607,"value":1800}," || ",{"type":602,"tag":629,"props":1802,"children":1803},{"style":648},[1804],{"type":607,"value":607},{"type":602,"tag":629,"props":1806,"children":1807},{"style":642},[1808],{"type":607,"value":774},{"type":602,"tag":629,"props":1810,"children":1811},{"style":648},[1812],{"type":607,"value":1813},"length",{"type":602,"tag":629,"props":1815,"children":1816},{"style":642},[1817],{"type":607,"value":1818}," > ",{"type":602,"tag":629,"props":1820,"children":1821},{"style":1564},[1822],{"type":607,"value":1823},"200",{"type":602,"tag":629,"props":1825,"children":1826},{"style":642},[1827],{"type":607,"value":1828},") {",{"type":607,"value":679},{"type":602,"tag":629,"props":1831,"children":1832},{"class":631,"style":632},[1833,1838,1842,1846,1850,1854,1859],{"type":602,"tag":629,"props":1834,"children":1835},{"style":636},[1836],{"type":607,"value":1837},"      throw",{"type":602,"tag":629,"props":1839,"children":1840},{"style":1022},[1841],{"type":607,"value":1208},{"type":602,"tag":629,"props":1843,"children":1844},{"style":729},[1845],{"type":607,"value":1213},{"type":602,"tag":629,"props":1847,"children":1848},{"style":642},[1849],{"type":607,"value":1218},{"type":602,"tag":629,"props":1851,"children":1852},{"style":648},[1853],{"type":607,"value":1223},{"type":602,"tag":629,"props":1855,"children":1856},{"style":674},[1857],{"type":607,"value":1858}," 'INVALID_TODO_TEXT'",{"type":602,"tag":629,"props":1860,"children":1861},{"style":642},[1862],{"type":607,"value":1233},{"type":607,"value":679},{"type":602,"tag":629,"props":1865,"children":1866},{"class":631,"style":632},[1867],{"type":602,"tag":629,"props":1868,"children":1869},{"style":642},[1870],{"type":607,"value":1871},"    }",{"type":607,"value":679},{"type":602,"tag":629,"props":1874,"children":1875},{"class":631,"style":632},[],{"type":607,"value":679},{"type":602,"tag":629,"props":1878,"children":1879},{"class":631,"style":632},[1880,1884,1888,1892,1896,1900,1904,1909,1913,1917],{"type":602,"tag":629,"props":1881,"children":1882},{"style":636},[1883],{"type":607,"value":1392},{"type":602,"tag":629,"props":1885,"children":1886},{"style":636},[1887],{"type":607,"value":1397},{"type":602,"tag":629,"props":1889,"children":1890},{"style":648},[1891],{"type":607,"value":1152},{"type":602,"tag":629,"props":1893,"children":1894},{"style":642},[1895],{"type":607,"value":774},{"type":602,"tag":629,"props":1897,"children":1898},{"style":648},[1899],{"type":607,"value":1410},{"type":602,"tag":629,"props":1901,"children":1902},{"style":642},[1903],{"type":607,"value":774},{"type":602,"tag":629,"props":1905,"children":1906},{"style":729},[1907],{"type":607,"value":1908},"insert",{"type":602,"tag":629,"props":1910,"children":1911},{"style":642},[1912],{"type":607,"value":880},{"type":602,"tag":629,"props":1914,"children":1915},{"style":674},[1916],{"type":607,"value":1432},{"type":602,"tag":629,"props":1918,"children":1919},{"style":642},[1920],{"type":607,"value":1921},", {",{"type":607,"value":679},{"type":602,"tag":629,"props":1924,"children":1925},{"class":631,"style":632},[1926,1931,1935,1939,1943],{"type":602,"tag":629,"props":1927,"children":1928},{"style":648},[1929],{"type":607,"value":1930},"      ownerId:",{"type":602,"tag":629,"props":1932,"children":1933},{"style":648},[1934],{"type":607,"value":1137},{"type":602,"tag":629,"props":1936,"children":1937},{"style":642},[1938],{"type":607,"value":774},{"type":602,"tag":629,"props":1940,"children":1941},{"style":648},[1942],{"type":607,"value":1089},{"type":602,"tag":629,"props":1944,"children":1945},{"style":642},[1946],{"type":607,"value":1947},",",{"type":607,"value":679},{"type":602,"tag":629,"props":1950,"children":1951},{"class":631,"style":632},[1952,1957],{"type":602,"tag":629,"props":1953,"children":1954},{"style":648},[1955],{"type":607,"value":1956},"      text",{"type":602,"tag":629,"props":1958,"children":1959},{"style":642},[1960],{"type":607,"value":1947},{"type":607,"value":679},{"type":602,"tag":629,"props":1963,"children":1964},{"class":631,"style":632},[1965,1970,1975],{"type":602,"tag":629,"props":1966,"children":1967},{"style":648},[1968],{"type":607,"value":1969},"      completed:",{"type":602,"tag":629,"props":1971,"children":1972},{"style":1022},[1973],{"type":607,"value":1974}," false",{"type":602,"tag":629,"props":1976,"children":1977},{"style":642},[1978],{"type":607,"value":1947},{"type":607,"value":679},{"type":602,"tag":629,"props":1981,"children":1982},{"class":631,"style":632},[1983,1988,1993,1997,2002],{"type":602,"tag":629,"props":1984,"children":1985},{"style":648},[1986],{"type":607,"value":1987},"      createdAt:",{"type":602,"tag":629,"props":1989,"children":1990},{"style":648},[1991],{"type":607,"value":1992}," Date",{"type":602,"tag":629,"props":1994,"children":1995},{"style":642},[1996],{"type":607,"value":774},{"type":602,"tag":629,"props":1998,"children":1999},{"style":729},[2000],{"type":607,"value":2001},"now",{"type":602,"tag":629,"props":2003,"children":2004},{"style":642},[2005],{"type":607,"value":784},{"type":607,"value":679},{"type":602,"tag":629,"props":2008,"children":2009},{"class":631,"style":632},[2010],{"type":602,"tag":629,"props":2011,"children":2012},{"style":642},[2013],{"type":607,"value":2014},"    })",{"type":607,"value":679},{"type":602,"tag":629,"props":2017,"children":2018},{"class":631,"style":632},[2019],{"type":602,"tag":629,"props":2020,"children":2021},{"style":642},[2022],{"type":607,"value":1580},{"type":607,"value":679},{"type":602,"tag":629,"props":2025,"children":2026},{"class":631,"style":632},[2027],{"type":602,"tag":629,"props":2028,"children":2029},{"style":642},[2030],{"type":607,"value":918},{"type":602,"tag":603,"props":2032,"children":2033},{},[2034],{"type":607,"value":2035},"The query only reads the caller's indexed documents. The mutation ignores any client-supplied owner and writes the validated identity.",{"type":602,"tag":610,"props":2037,"children":2039},{"id":2038},"mark-the-query-as-required",[2040],{"type":607,"value":2041},"Mark the query as required",{"type":602,"tag":617,"props":2043,"children":2044},{"language":619,"class":621},[2045],{"type":602,"tag":624,"props":2046,"children":2047},{"class":626},[2048,2060,2061,2082,2083,2095,2096,2108,2109,2126,2127,2156,2157,2165,2166,2174,2175,2192,2193,2200,2201],{"type":602,"tag":629,"props":2049,"children":2050},{"class":631,"style":632},[2051,2056],{"type":602,"tag":629,"props":2052,"children":2053},{"style":1022},[2054],{"type":607,"value":2055},"const",{"type":602,"tag":629,"props":2057,"children":2058},{"style":642},[2059],{"type":607,"value":1345},{"type":607,"value":679},{"type":602,"tag":629,"props":2062,"children":2063},{"class":631,"style":632},[2064,2069,2073,2078],{"type":602,"tag":629,"props":2065,"children":2066},{"style":648},[2067],{"type":607,"value":2068},"  data",{"type":602,"tag":629,"props":2070,"children":2071},{"style":642},[2072],{"type":607,"value":1094},{"type":602,"tag":629,"props":2074,"children":2075},{"style":1134},[2076],{"type":607,"value":2077},"todos",{"type":602,"tag":629,"props":2079,"children":2080},{"style":642},[2081],{"type":607,"value":1947},{"type":607,"value":679},{"type":602,"tag":629,"props":2084,"children":2085},{"class":631,"style":632},[2086,2091],{"type":602,"tag":629,"props":2087,"children":2088},{"style":1134},[2089],{"type":607,"value":2090},"  status",{"type":602,"tag":629,"props":2092,"children":2093},{"style":642},[2094],{"type":607,"value":1947},{"type":607,"value":679},{"type":602,"tag":629,"props":2097,"children":2098},{"class":631,"style":632},[2099,2104],{"type":602,"tag":629,"props":2100,"children":2101},{"style":1134},[2102],{"type":607,"value":2103},"  error",{"type":602,"tag":629,"props":2105,"children":2106},{"style":642},[2107],{"type":607,"value":1947},{"type":607,"value":679},{"type":602,"tag":629,"props":2110,"children":2111},{"class":631,"style":632},[2112,2117,2122],{"type":602,"tag":629,"props":2113,"children":2114},{"style":642},[2115],{"type":607,"value":2116},"} = ",{"type":602,"tag":629,"props":2118,"children":2119},{"style":729},[2120],{"type":607,"value":2121},"useConvexQuery",{"type":602,"tag":629,"props":2123,"children":2124},{"style":642},[2125],{"type":607,"value":880},{"type":607,"value":679},{"type":602,"tag":629,"props":2128,"children":2129},{"class":631,"style":632},[2130,2135,2139,2143,2147,2152],{"type":602,"tag":629,"props":2131,"children":2132},{"style":648},[2133],{"type":607,"value":2134},"  api",{"type":602,"tag":629,"props":2136,"children":2137},{"style":642},[2138],{"type":607,"value":774},{"type":602,"tag":629,"props":2140,"children":2141},{"style":648},[2142],{"type":607,"value":2077},{"type":602,"tag":629,"props":2144,"children":2145},{"style":642},[2146],{"type":607,"value":774},{"type":602,"tag":629,"props":2148,"children":2149},{"style":648},[2150],{"type":607,"value":2151},"list",{"type":602,"tag":629,"props":2153,"children":2154},{"style":642},[2155],{"type":607,"value":1947},{"type":607,"value":679},{"type":602,"tag":629,"props":2158,"children":2159},{"class":631,"style":632},[2160],{"type":602,"tag":629,"props":2161,"children":2162},{"style":642},[2163],{"type":607,"value":2164},"  {},",{"type":607,"value":679},{"type":602,"tag":629,"props":2167,"children":2168},{"class":631,"style":632},[2169],{"type":602,"tag":629,"props":2170,"children":2171},{"style":642},[2172],{"type":607,"value":2173},"  {",{"type":607,"value":679},{"type":602,"tag":629,"props":2176,"children":2177},{"class":631,"style":632},[2178,2183,2188],{"type":602,"tag":629,"props":2179,"children":2180},{"style":648},[2181],{"type":607,"value":2182},"    auth:",{"type":602,"tag":629,"props":2184,"children":2185},{"style":674},[2186],{"type":607,"value":2187}," 'required'",{"type":602,"tag":629,"props":2189,"children":2190},{"style":642},[2191],{"type":607,"value":1947},{"type":607,"value":679},{"type":602,"tag":629,"props":2194,"children":2195},{"class":631,"style":632},[2196],{"type":602,"tag":629,"props":2197,"children":2198},{"style":642},[2199],{"type":607,"value":1580},{"type":607,"value":679},{"type":602,"tag":629,"props":2202,"children":2203},{"class":631,"style":632},[2204],{"type":602,"tag":629,"props":2205,"children":2206},{"style":642},[2207],{"type":607,"value":1383},{"type":602,"tag":603,"props":2209,"children":2210},{},[2211,2213,2218],{"type":607,"value":2212},"An anonymous ",{"type":602,"tag":624,"props":2214,"children":2215},{},[2216],{"type":607,"value":2217},"required",{"type":607,"value":2219}," query stays idle instead of executing anonymously.",{"type":602,"tag":603,"props":2221,"children":2222},{},[2223],{"type":607,"value":2224},"This is execution policy, not the backend check. Keep both.",{"type":602,"tag":610,"props":2226,"children":2228},{"id":2227},"protect-navigation",[2229],{"type":607,"value":2230},"Protect navigation",{"type":602,"tag":603,"props":2232,"children":2233},{},[2234],{"type":607,"value":2235},"Configure the default sign-in route:",{"type":602,"tag":617,"props":2237,"children":2239},{"language":619,"filename":2238,"class":621},"nuxt.config.ts",[2240],{"type":602,"tag":624,"props":2241,"children":2242},{"class":626},[2243,2263,2264,2287,2288,2300,2301,2312,2313,2358,2359,2376,2377,2385,2386,2393,2394],{"type":602,"tag":629,"props":2244,"children":2245},{"class":631,"style":632},[2246,2250,2254,2259],{"type":602,"tag":629,"props":2247,"children":2248},{"style":636},[2249],{"type":607,"value":721},{"type":602,"tag":629,"props":2251,"children":2252},{"style":636},[2253],{"type":607,"value":726},{"type":602,"tag":629,"props":2255,"children":2256},{"style":729},[2257],{"type":607,"value":2258}," defineNuxtConfig",{"type":602,"tag":629,"props":2260,"children":2261},{"style":642},[2262],{"type":607,"value":737},{"type":607,"value":679},{"type":602,"tag":629,"props":2265,"children":2266},{"class":631,"style":632},[2267,2272,2277,2282],{"type":602,"tag":629,"props":2268,"children":2269},{"style":648},[2270],{"type":607,"value":2271},"  modules:",{"type":602,"tag":629,"props":2273,"children":2274},{"style":642},[2275],{"type":607,"value":2276}," [",{"type":602,"tag":629,"props":2278,"children":2279},{"style":674},[2280],{"type":607,"value":2281},"'@lupinum\u002Fbetter-convex-nuxt'",{"type":602,"tag":629,"props":2283,"children":2284},{"style":642},[2285],{"type":607,"value":2286},"],",{"type":607,"value":679},{"type":602,"tag":629,"props":2289,"children":2290},{"class":631,"style":632},[2291,2296],{"type":602,"tag":629,"props":2292,"children":2293},{"style":648},[2294],{"type":607,"value":2295},"  convex:",{"type":602,"tag":629,"props":2297,"children":2298},{"style":642},[2299],{"type":607,"value":1345},{"type":607,"value":679},{"type":602,"tag":629,"props":2302,"children":2303},{"class":631,"style":632},[2304,2308],{"type":602,"tag":629,"props":2305,"children":2306},{"style":648},[2307],{"type":607,"value":2182},{"type":602,"tag":629,"props":2309,"children":2310},{"style":642},[2311],{"type":607,"value":1345},{"type":607,"value":679},{"type":602,"tag":629,"props":2314,"children":2315},{"class":631,"style":632},[2316,2321,2326,2330,2335,2339,2344,2349,2354],{"type":602,"tag":629,"props":2317,"children":2318},{"style":648},[2319],{"type":607,"value":2320},"      origin:",{"type":602,"tag":629,"props":2322,"children":2323},{"style":648},[2324],{"type":607,"value":2325}," process",{"type":602,"tag":629,"props":2327,"children":2328},{"style":642},[2329],{"type":607,"value":774},{"type":602,"tag":629,"props":2331,"children":2332},{"style":648},[2333],{"type":607,"value":2334},"env",{"type":602,"tag":629,"props":2336,"children":2337},{"style":642},[2338],{"type":607,"value":774},{"type":602,"tag":629,"props":2340,"children":2341},{"style":1134},[2342],{"type":607,"value":2343},"SITE_URL",{"type":602,"tag":629,"props":2345,"children":2346},{"style":642},[2347],{"type":607,"value":2348}," ?? ",{"type":602,"tag":629,"props":2350,"children":2351},{"style":674},[2352],{"type":607,"value":2353},"'http:\u002F\u002Flocalhost:3000'",{"type":602,"tag":629,"props":2355,"children":2356},{"style":642},[2357],{"type":607,"value":1947},{"type":607,"value":679},{"type":602,"tag":629,"props":2360,"children":2361},{"class":631,"style":632},[2362,2367,2372],{"type":602,"tag":629,"props":2363,"children":2364},{"style":648},[2365],{"type":607,"value":2366},"      redirectTo:",{"type":602,"tag":629,"props":2368,"children":2369},{"style":674},[2370],{"type":607,"value":2371}," '\u002Fauth'",{"type":602,"tag":629,"props":2373,"children":2374},{"style":642},[2375],{"type":607,"value":1947},{"type":607,"value":679},{"type":602,"tag":629,"props":2378,"children":2379},{"class":631,"style":632},[2380],{"type":602,"tag":629,"props":2381,"children":2382},{"style":642},[2383],{"type":607,"value":2384},"    },",{"type":607,"value":679},{"type":602,"tag":629,"props":2387,"children":2388},{"class":631,"style":632},[2389],{"type":602,"tag":629,"props":2390,"children":2391},{"style":642},[2392],{"type":607,"value":1580},{"type":607,"value":679},{"type":602,"tag":629,"props":2395,"children":2396},{"class":631,"style":632},[2397],{"type":602,"tag":629,"props":2398,"children":2399},{"style":642},[2400],{"type":607,"value":918},{"type":602,"tag":603,"props":2402,"children":2403},{},[2404],{"type":607,"value":2405},"Mark the todo page:",{"type":602,"tag":617,"props":2407,"children":2409},{"language":619,"filename":2408,"class":621},"app\u002Fpages\u002Findex.vue",[2410],{"type":602,"tag":624,"props":2411,"children":2412},{"class":626},[2413],{"type":602,"tag":629,"props":2414,"children":2415},{"class":631,"style":632},[2416,2421,2425,2430,2435],{"type":602,"tag":629,"props":2417,"children":2418},{"style":729},[2419],{"type":607,"value":2420},"definePageMeta",{"type":602,"tag":629,"props":2422,"children":2423},{"style":642},[2424],{"type":607,"value":1218},{"type":602,"tag":629,"props":2426,"children":2427},{"style":648},[2428],{"type":607,"value":2429},"convexAuth:",{"type":602,"tag":629,"props":2431,"children":2432},{"style":1022},[2433],{"type":607,"value":2434}," true",{"type":602,"tag":629,"props":2436,"children":2437},{"style":642},[2438],{"type":607,"value":1233},{"type":602,"tag":603,"props":2440,"children":2441},{},[2442,2444,2449],{"type":607,"value":2443},"The middleware waits for auth settlement and redirects anonymous navigation. It always preserves a validated local return path in the ",{"type":602,"tag":624,"props":2445,"children":2446},{},[2447],{"type":607,"value":2448},"redirect",{"type":607,"value":2450}," query parameter.",{"type":602,"tag":610,"props":2452,"children":2454},{"id":2453},"verify-the-boundary",[2455],{"type":607,"value":2456},"Verify the boundary",{"type":602,"tag":603,"props":2458,"children":2459},{},[2460],{"type":607,"value":2461},"Test all three cases:",{"type":602,"tag":2463,"props":2464,"children":2465},"ol",{},[2466,2478,2483],{"type":602,"tag":2467,"props":2468,"children":2469},"li",{},[2470,2472,2477],{"type":607,"value":2471},"Anonymous navigation redirects to ",{"type":602,"tag":624,"props":2473,"children":2474},{},[2475],{"type":607,"value":2476},"\u002Fauth",{"type":607,"value":774},{"type":602,"tag":2467,"props":2479,"children":2480},{},[2481],{"type":607,"value":2482},"An authenticated user can create and list their todos.",{"type":602,"tag":2467,"props":2484,"children":2485},{},[2486],{"type":607,"value":2487},"A different authenticated user cannot list the first user's todos.",{"type":602,"tag":603,"props":2489,"children":2490},{},[2491],{"type":607,"value":2492},"The third test proves backend isolation. The first proves route UX.",{"title":2494,"searchDepth":2495,"depth":2495,"links":2496},"",4,[2497,2499,2500,2501,2502],{"id":612,"depth":2498,"text":615},2,{"id":926,"depth":2498,"text":929},{"id":2038,"depth":2498,"text":2041},{"id":2227,"depth":2498,"text":2230},{"id":2453,"depth":2498,"text":2456},"markdown","docs",{"source":2506,"path":2507,"stem":2508,"dir":2509,"extension":2510},"content","docs\u002F3.get-started\u002F6.protect-data.md","docs\u002F3.get-started\u002F6.protect-data","get-started","md",{"requestedPath":170,"resolvedPath":170,"alternates":2512},[],{"requested":2514,"resolved":2515,"usedFallback":6},{},{"locale":8},{"previous":2517,"next":2519},{"title":158,"id":159,"canonicalKey":160,"locale":8,"draft":6,"navigation":2518,"icon":162,"path":163},{"icon":162},{"title":172,"id":173,"canonicalKey":174,"locale":8,"draft":6,"navigation":2520,"icon":176,"path":177},{"icon":176},{"left":2522,"top":2522,"width":2523,"height":2523,"rotate":2522,"vFlip":6,"hFlip":6,"body":2524},0,256,"\u003Cpath fill=\"#3178c6\" d=\"M20 0h216c11.046 0 20 8.954 20 20v216c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20V20C0 8.954 8.954 0 20 0\"\u002F>\u003Cpath fill=\"#fff\" d=\"M150.518 200.475v27.62q6.738 3.453 15.938 5.179T185.849 235q9.934 0 18.874-1.899t15.678-6.257q6.738-4.359 10.669-11.394q3.93-7.033 3.93-17.391q0-7.51-2.246-13.163a30.8 30.8 0 0 0-6.479-10.055q-4.232-4.402-10.149-7.898t-13.347-6.602q-5.442-2.245-9.761-4.359t-7.342-4.316q-3.024-2.2-4.665-4.661t-1.641-5.567q0-2.848 1.468-5.135q1.469-2.288 4.147-3.927t6.565-2.547q3.887-.906 8.638-.906q3.456 0 7.299.518q3.844.517 7.732 1.597a54 54 0 0 1 7.558 2.719a41.7 41.7 0 0 1 6.781 3.797v-25.807q-6.306-2.417-13.778-3.582T198.633 107q-9.847 0-18.658 2.115q-8.811 2.114-15.506 6.602q-6.694 4.49-10.582 11.437Q150 134.102 150 143.769q0 12.342 7.127 21.06t21.638 14.759a292 292 0 0 1 10.625 4.575q4.924 2.244 8.509 4.66t5.658 5.265t2.073 6.474a9.9 9.9 0 0 1-1.296 4.963q-1.295 2.287-3.93 3.97t-6.565 2.632t-9.2.95q-8.983 0-17.794-3.151t-16.327-9.451m-46.036-68.733H140V109H41v22.742h35.345V233h28.137z\"\u002F>",{"left":2522,"top":2522,"width":2523,"height":2526,"rotate":2522,"vFlip":6,"hFlip":6,"body":2527},168,"\u003Cpath fill=\"#00dc82\" d=\"M143.618 167.029h95.166c3.023 0 5.992-.771 8.61-2.237a16.96 16.96 0 0 0 6.302-6.115a16.3 16.3 0 0 0 2.304-8.352c0-2.932-.799-5.811-2.312-8.35L189.778 34.6a16.97 16.97 0 0 0-6.301-6.113a17.6 17.6 0 0 0-8.608-2.238c-3.023 0-5.991.772-8.609 2.238a16.96 16.96 0 0 0-6.3 6.113l-16.342 27.473l-31.95-53.724a17 17 0 0 0-6.304-6.112A17.64 17.64 0 0 0 96.754 0c-3.022 0-5.992.772-8.61 2.237a17 17 0 0 0-6.303 6.112L2.31 141.975a16.3 16.3 0 0 0-2.31 8.35c0 2.932.793 5.813 2.304 8.352a16.96 16.96 0 0 0 6.302 6.115a17.6 17.6 0 0 0 8.61 2.237h59.737c23.669 0 41.123-10.084 53.134-29.758l29.159-48.983l15.618-26.215l46.874 78.742h-62.492zm-67.64-26.24l-41.688-.01L96.782 35.796l31.181 52.492l-20.877 35.084c-7.976 12.765-17.037 17.416-31.107 17.416\"\u002F>",{"left":2522,"top":2522,"width":2523,"height":2529,"rotate":2522,"vFlip":6,"hFlip":6,"body":2530},221,"\u003Cpath fill=\"#41b883\" d=\"M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0z\"\u002F>\u003Cpath fill=\"#41b883\" d=\"m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0z\"\u002F>\u003Cpath fill=\"#35495e\" d=\"M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0z\"\u002F>",{"left":2522,"top":2522,"width":2532,"height":2532,"rotate":2522,"vFlip":6,"hFlip":6,"body":2533},24,"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"8\" height=\"4\" x=\"8\" y=\"2\" rx=\"1\" ry=\"1\"\u002F>\u003Cpath d=\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2\"\u002F>\u003C\u002Fg>",1786627513134]