[{"data":1,"prerenderedAt":2515},["ShallowReactive",2],{"docs-navigation:en":3,"content-page:docs:kuQdrOoop6os4U73gPVhmo85YNtxpsaVe5OAaQFXoyU":595,"content-page-surround:docs:kuQdrOoop6os4U73gPVhmo85YNtxpsaVe5OAaQFXoyU":2500,"i-logos:typescript-icon":2505,"i-logos:vue":2509,"i-lucide:clipboard":2512},[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":151,"description":596,"navigation":597,"body":598,"type":2487,"id":152,"canonicalKey":153,"draft":6,"partial":6,"locale":8,"collection":2488,"navigationFile":6,"file":2489,"route":2495,"resolution":2497},"Write Convex data and observe the live query update without a manual refetch.",{"icon":155},{"type":599,"children":600,"toc":2479},"root",[601,609,616,1374,1380,1385,2407,2413,2431,2443,2460],{"type":602,"tag":603,"props":604,"children":605},"element","p",{},[606],{"type":607,"value":608},"text","Add a mutation to the todo app from the previous page.",{"type":602,"tag":610,"props":611,"children":613},"h2",{"id":612},"define-the-backend-write",[614],{"type":607,"value":615},"Define the backend write",{"type":602,"tag":617,"props":618,"children":622},"pre",{"language":619,"filename":620,"class":621},"ts","convex\u002Ftodos.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,718,719,722,723,758,759,772,773,816,817,924,925,933,934,942,943,946,947,975,976,987,988,1015,1016,1023,1024,1068,1069,1112,1113,1163,1164,1186,1187,1205,1206,1223,1224,1232,1233,1241,1242,1245,1246,1291,1292,1304,1305,1322,1323,1349,1350,1358,1359,1366,1367],{"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},"mutation",{"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},"query",{"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}," '.\u002F_generated\u002Fserver'",{"type":607,"value":679},"\n",{"type":602,"tag":629,"props":681,"children":682},{"class":631,"style":632},[683,687,691,696,700,705,709,713],{"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},"ConvexError",{"type":602,"tag":629,"props":697,"children":698},{"style":642},[699],{"type":607,"value":656},{"type":602,"tag":629,"props":701,"children":702},{"style":648},[703],{"type":607,"value":704},"v",{"type":602,"tag":629,"props":706,"children":707},{"style":642},[708],{"type":607,"value":666},{"type":602,"tag":629,"props":710,"children":711},{"style":636},[712],{"type":607,"value":671},{"type":602,"tag":629,"props":714,"children":715},{"style":674},[716],{"type":607,"value":717}," 'convex\u002Fvalues'",{"type":607,"value":679},{"type":602,"tag":629,"props":720,"children":721},{"class":631,"style":632},[],{"type":607,"value":679},{"type":602,"tag":629,"props":724,"children":725},{"class":631,"style":632},[726,731,737,743,748,753],{"type":602,"tag":629,"props":727,"children":728},{"style":636},[729],{"type":607,"value":730},"export",{"type":602,"tag":629,"props":732,"children":734},{"style":733},"color:#0000FF;--shiki-dark:#569CD6",[735],{"type":607,"value":736}," const",{"type":602,"tag":629,"props":738,"children":740},{"style":739},"color:#0070C1;--shiki-dark:#4FC1FF",[741],{"type":607,"value":742}," list",{"type":602,"tag":629,"props":744,"children":745},{"style":642},[746],{"type":607,"value":747}," = ",{"type":602,"tag":629,"props":749,"children":751},{"style":750},"color:#795E26;--shiki-dark:#DCDCAA",[752],{"type":607,"value":661},{"type":602,"tag":629,"props":754,"children":755},{"style":642},[756],{"type":607,"value":757},"({",{"type":607,"value":679},{"type":602,"tag":629,"props":760,"children":761},{"class":631,"style":632},[762,767],{"type":602,"tag":629,"props":763,"children":764},{"style":648},[765],{"type":607,"value":766},"  args:",{"type":602,"tag":629,"props":768,"children":769},{"style":642},[770],{"type":607,"value":771}," {},",{"type":607,"value":679},{"type":602,"tag":629,"props":774,"children":775},{"class":631,"style":632},[776,781,786,791,796,801,806,811],{"type":602,"tag":629,"props":777,"children":778},{"style":750},[779],{"type":607,"value":780},"  handler",{"type":602,"tag":629,"props":782,"children":783},{"style":648},[784],{"type":607,"value":785},":",{"type":602,"tag":629,"props":787,"children":788},{"style":733},[789],{"type":607,"value":790}," async",{"type":602,"tag":629,"props":792,"children":793},{"style":642},[794],{"type":607,"value":795}," (",{"type":602,"tag":629,"props":797,"children":798},{"style":648},[799],{"type":607,"value":800},"ctx",{"type":602,"tag":629,"props":802,"children":803},{"style":642},[804],{"type":607,"value":805},") ",{"type":602,"tag":629,"props":807,"children":808},{"style":733},[809],{"type":607,"value":810},"=>",{"type":602,"tag":629,"props":812,"children":813},{"style":642},[814],{"type":607,"value":815}," {",{"type":607,"value":679},{"type":602,"tag":629,"props":818,"children":819},{"class":631,"style":632},[820,825,830,835,840,845,849,853,858,863,868,873,877,882,886,891,895,900,904,909,913,919],{"type":602,"tag":629,"props":821,"children":822},{"style":636},[823],{"type":607,"value":824},"    return",{"type":602,"tag":629,"props":826,"children":827},{"style":636},[828],{"type":607,"value":829}," await",{"type":602,"tag":629,"props":831,"children":832},{"style":648},[833],{"type":607,"value":834}," ctx",{"type":602,"tag":629,"props":836,"children":837},{"style":642},[838],{"type":607,"value":839},".",{"type":602,"tag":629,"props":841,"children":842},{"style":648},[843],{"type":607,"value":844},"db",{"type":602,"tag":629,"props":846,"children":847},{"style":642},[848],{"type":607,"value":839},{"type":602,"tag":629,"props":850,"children":851},{"style":750},[852],{"type":607,"value":661},{"type":602,"tag":629,"props":854,"children":855},{"style":642},[856],{"type":607,"value":857},"(",{"type":602,"tag":629,"props":859,"children":860},{"style":674},[861],{"type":607,"value":862},"'todos'",{"type":602,"tag":629,"props":864,"children":865},{"style":642},[866],{"type":607,"value":867},").",{"type":602,"tag":629,"props":869,"children":870},{"style":750},[871],{"type":607,"value":872},"withIndex",{"type":602,"tag":629,"props":874,"children":875},{"style":642},[876],{"type":607,"value":857},{"type":602,"tag":629,"props":878,"children":879},{"style":674},[880],{"type":607,"value":881},"'by_created'",{"type":602,"tag":629,"props":883,"children":884},{"style":642},[885],{"type":607,"value":867},{"type":602,"tag":629,"props":887,"children":888},{"style":750},[889],{"type":607,"value":890},"order",{"type":602,"tag":629,"props":892,"children":893},{"style":642},[894],{"type":607,"value":857},{"type":602,"tag":629,"props":896,"children":897},{"style":674},[898],{"type":607,"value":899},"'desc'",{"type":602,"tag":629,"props":901,"children":902},{"style":642},[903],{"type":607,"value":867},{"type":602,"tag":629,"props":905,"children":906},{"style":750},[907],{"type":607,"value":908},"take",{"type":602,"tag":629,"props":910,"children":911},{"style":642},[912],{"type":607,"value":857},{"type":602,"tag":629,"props":914,"children":916},{"style":915},"color:#098658;--shiki-dark:#B5CEA8",[917],{"type":607,"value":918},"50",{"type":602,"tag":629,"props":920,"children":921},{"style":642},[922],{"type":607,"value":923},")",{"type":607,"value":679},{"type":602,"tag":629,"props":926,"children":927},{"class":631,"style":632},[928],{"type":602,"tag":629,"props":929,"children":930},{"style":642},[931],{"type":607,"value":932},"  },",{"type":607,"value":679},{"type":602,"tag":629,"props":935,"children":936},{"class":631,"style":632},[937],{"type":602,"tag":629,"props":938,"children":939},{"style":642},[940],{"type":607,"value":941},"})",{"type":607,"value":679},{"type":602,"tag":629,"props":944,"children":945},{"class":631,"style":632},[],{"type":607,"value":679},{"type":602,"tag":629,"props":948,"children":949},{"class":631,"style":632},[950,954,958,963,967,971],{"type":602,"tag":629,"props":951,"children":952},{"style":636},[953],{"type":607,"value":730},{"type":602,"tag":629,"props":955,"children":956},{"style":733},[957],{"type":607,"value":736},{"type":602,"tag":629,"props":959,"children":960},{"style":739},[961],{"type":607,"value":962}," create",{"type":602,"tag":629,"props":964,"children":965},{"style":642},[966],{"type":607,"value":747},{"type":602,"tag":629,"props":968,"children":969},{"style":750},[970],{"type":607,"value":651},{"type":602,"tag":629,"props":972,"children":973},{"style":642},[974],{"type":607,"value":757},{"type":607,"value":679},{"type":602,"tag":629,"props":977,"children":978},{"class":631,"style":632},[979,983],{"type":602,"tag":629,"props":980,"children":981},{"style":648},[982],{"type":607,"value":766},{"type":602,"tag":629,"props":984,"children":985},{"style":642},[986],{"type":607,"value":815},{"type":607,"value":679},{"type":602,"tag":629,"props":989,"children":990},{"class":631,"style":632},[991,996,1001,1005,1010],{"type":602,"tag":629,"props":992,"children":993},{"style":648},[994],{"type":607,"value":995},"    text:",{"type":602,"tag":629,"props":997,"children":998},{"style":648},[999],{"type":607,"value":1000}," v",{"type":602,"tag":629,"props":1002,"children":1003},{"style":642},[1004],{"type":607,"value":839},{"type":602,"tag":629,"props":1006,"children":1007},{"style":750},[1008],{"type":607,"value":1009},"string",{"type":602,"tag":629,"props":1011,"children":1012},{"style":642},[1013],{"type":607,"value":1014},"(),",{"type":607,"value":679},{"type":602,"tag":629,"props":1017,"children":1018},{"class":631,"style":632},[1019],{"type":602,"tag":629,"props":1020,"children":1021},{"style":642},[1022],{"type":607,"value":932},{"type":607,"value":679},{"type":602,"tag":629,"props":1025,"children":1026},{"class":631,"style":632},[1027,1031,1035,1039,1043,1047,1051,1056,1060,1064],{"type":602,"tag":629,"props":1028,"children":1029},{"style":750},[1030],{"type":607,"value":780},{"type":602,"tag":629,"props":1032,"children":1033},{"style":648},[1034],{"type":607,"value":785},{"type":602,"tag":629,"props":1036,"children":1037},{"style":733},[1038],{"type":607,"value":790},{"type":602,"tag":629,"props":1040,"children":1041},{"style":642},[1042],{"type":607,"value":795},{"type":602,"tag":629,"props":1044,"children":1045},{"style":648},[1046],{"type":607,"value":800},{"type":602,"tag":629,"props":1048,"children":1049},{"style":642},[1050],{"type":607,"value":656},{"type":602,"tag":629,"props":1052,"children":1053},{"style":648},[1054],{"type":607,"value":1055},"args",{"type":602,"tag":629,"props":1057,"children":1058},{"style":642},[1059],{"type":607,"value":805},{"type":602,"tag":629,"props":1061,"children":1062},{"style":733},[1063],{"type":607,"value":810},{"type":602,"tag":629,"props":1065,"children":1066},{"style":642},[1067],{"type":607,"value":815},{"type":607,"value":679},{"type":602,"tag":629,"props":1070,"children":1071},{"class":631,"style":632},[1072,1077,1082,1086,1090,1094,1098,1102,1107],{"type":602,"tag":629,"props":1073,"children":1074},{"style":733},[1075],{"type":607,"value":1076},"    const",{"type":602,"tag":629,"props":1078,"children":1079},{"style":739},[1080],{"type":607,"value":1081}," text",{"type":602,"tag":629,"props":1083,"children":1084},{"style":642},[1085],{"type":607,"value":747},{"type":602,"tag":629,"props":1087,"children":1088},{"style":648},[1089],{"type":607,"value":1055},{"type":602,"tag":629,"props":1091,"children":1092},{"style":642},[1093],{"type":607,"value":839},{"type":602,"tag":629,"props":1095,"children":1096},{"style":648},[1097],{"type":607,"value":607},{"type":602,"tag":629,"props":1099,"children":1100},{"style":642},[1101],{"type":607,"value":839},{"type":602,"tag":629,"props":1103,"children":1104},{"style":750},[1105],{"type":607,"value":1106},"trim",{"type":602,"tag":629,"props":1108,"children":1109},{"style":642},[1110],{"type":607,"value":1111},"()",{"type":607,"value":679},{"type":602,"tag":629,"props":1114,"children":1115},{"class":631,"style":632},[1116,1121,1126,1130,1135,1139,1143,1148,1153,1158],{"type":602,"tag":629,"props":1117,"children":1118},{"style":636},[1119],{"type":607,"value":1120},"    if",{"type":602,"tag":629,"props":1122,"children":1123},{"style":642},[1124],{"type":607,"value":1125}," (!",{"type":602,"tag":629,"props":1127,"children":1128},{"style":648},[1129],{"type":607,"value":607},{"type":602,"tag":629,"props":1131,"children":1132},{"style":642},[1133],{"type":607,"value":1134}," || ",{"type":602,"tag":629,"props":1136,"children":1137},{"style":648},[1138],{"type":607,"value":607},{"type":602,"tag":629,"props":1140,"children":1141},{"style":642},[1142],{"type":607,"value":839},{"type":602,"tag":629,"props":1144,"children":1145},{"style":648},[1146],{"type":607,"value":1147},"length",{"type":602,"tag":629,"props":1149,"children":1150},{"style":642},[1151],{"type":607,"value":1152}," > ",{"type":602,"tag":629,"props":1154,"children":1155},{"style":915},[1156],{"type":607,"value":1157},"200",{"type":602,"tag":629,"props":1159,"children":1160},{"style":642},[1161],{"type":607,"value":1162},") {",{"type":607,"value":679},{"type":602,"tag":629,"props":1165,"children":1166},{"class":631,"style":632},[1167,1172,1177,1182],{"type":602,"tag":629,"props":1168,"children":1169},{"style":636},[1170],{"type":607,"value":1171},"      throw",{"type":602,"tag":629,"props":1173,"children":1174},{"style":733},[1175],{"type":607,"value":1176}," new",{"type":602,"tag":629,"props":1178,"children":1179},{"style":750},[1180],{"type":607,"value":1181}," ConvexError",{"type":602,"tag":629,"props":1183,"children":1184},{"style":642},[1185],{"type":607,"value":757},{"type":607,"value":679},{"type":602,"tag":629,"props":1188,"children":1189},{"class":631,"style":632},[1190,1195,1200],{"type":602,"tag":629,"props":1191,"children":1192},{"style":648},[1193],{"type":607,"value":1194},"        code:",{"type":602,"tag":629,"props":1196,"children":1197},{"style":674},[1198],{"type":607,"value":1199}," 'INVALID_TODO_TEXT'",{"type":602,"tag":629,"props":1201,"children":1202},{"style":642},[1203],{"type":607,"value":1204},",",{"type":607,"value":679},{"type":602,"tag":629,"props":1207,"children":1208},{"class":631,"style":632},[1209,1214,1219],{"type":602,"tag":629,"props":1210,"children":1211},{"style":648},[1212],{"type":607,"value":1213},"        message:",{"type":602,"tag":629,"props":1215,"children":1216},{"style":674},[1217],{"type":607,"value":1218}," 'Todo text must contain 1 to 200 characters'",{"type":602,"tag":629,"props":1220,"children":1221},{"style":642},[1222],{"type":607,"value":1204},{"type":607,"value":679},{"type":602,"tag":629,"props":1225,"children":1226},{"class":631,"style":632},[1227],{"type":602,"tag":629,"props":1228,"children":1229},{"style":642},[1230],{"type":607,"value":1231},"      })",{"type":607,"value":679},{"type":602,"tag":629,"props":1234,"children":1235},{"class":631,"style":632},[1236],{"type":602,"tag":629,"props":1237,"children":1238},{"style":642},[1239],{"type":607,"value":1240},"    }",{"type":607,"value":679},{"type":602,"tag":629,"props":1243,"children":1244},{"class":631,"style":632},[],{"type":607,"value":679},{"type":602,"tag":629,"props":1247,"children":1248},{"class":631,"style":632},[1249,1253,1257,1261,1265,1269,1273,1278,1282,1286],{"type":602,"tag":629,"props":1250,"children":1251},{"style":636},[1252],{"type":607,"value":824},{"type":602,"tag":629,"props":1254,"children":1255},{"style":636},[1256],{"type":607,"value":829},{"type":602,"tag":629,"props":1258,"children":1259},{"style":648},[1260],{"type":607,"value":834},{"type":602,"tag":629,"props":1262,"children":1263},{"style":642},[1264],{"type":607,"value":839},{"type":602,"tag":629,"props":1266,"children":1267},{"style":648},[1268],{"type":607,"value":844},{"type":602,"tag":629,"props":1270,"children":1271},{"style":642},[1272],{"type":607,"value":839},{"type":602,"tag":629,"props":1274,"children":1275},{"style":750},[1276],{"type":607,"value":1277},"insert",{"type":602,"tag":629,"props":1279,"children":1280},{"style":642},[1281],{"type":607,"value":857},{"type":602,"tag":629,"props":1283,"children":1284},{"style":674},[1285],{"type":607,"value":862},{"type":602,"tag":629,"props":1287,"children":1288},{"style":642},[1289],{"type":607,"value":1290},", {",{"type":607,"value":679},{"type":602,"tag":629,"props":1293,"children":1294},{"class":631,"style":632},[1295,1300],{"type":602,"tag":629,"props":1296,"children":1297},{"style":648},[1298],{"type":607,"value":1299},"      text",{"type":602,"tag":629,"props":1301,"children":1302},{"style":642},[1303],{"type":607,"value":1204},{"type":607,"value":679},{"type":602,"tag":629,"props":1306,"children":1307},{"class":631,"style":632},[1308,1313,1318],{"type":602,"tag":629,"props":1309,"children":1310},{"style":648},[1311],{"type":607,"value":1312},"      completed:",{"type":602,"tag":629,"props":1314,"children":1315},{"style":733},[1316],{"type":607,"value":1317}," false",{"type":602,"tag":629,"props":1319,"children":1320},{"style":642},[1321],{"type":607,"value":1204},{"type":607,"value":679},{"type":602,"tag":629,"props":1324,"children":1325},{"class":631,"style":632},[1326,1331,1336,1340,1345],{"type":602,"tag":629,"props":1327,"children":1328},{"style":648},[1329],{"type":607,"value":1330},"      createdAt:",{"type":602,"tag":629,"props":1332,"children":1333},{"style":648},[1334],{"type":607,"value":1335}," Date",{"type":602,"tag":629,"props":1337,"children":1338},{"style":642},[1339],{"type":607,"value":839},{"type":602,"tag":629,"props":1341,"children":1342},{"style":750},[1343],{"type":607,"value":1344},"now",{"type":602,"tag":629,"props":1346,"children":1347},{"style":642},[1348],{"type":607,"value":1014},{"type":607,"value":679},{"type":602,"tag":629,"props":1351,"children":1352},{"class":631,"style":632},[1353],{"type":602,"tag":629,"props":1354,"children":1355},{"style":642},[1356],{"type":607,"value":1357},"    })",{"type":607,"value":679},{"type":602,"tag":629,"props":1360,"children":1361},{"class":631,"style":632},[1362],{"type":602,"tag":629,"props":1363,"children":1364},{"style":642},[1365],{"type":607,"value":932},{"type":607,"value":679},{"type":602,"tag":629,"props":1368,"children":1369},{"class":631,"style":632},[1370],{"type":602,"tag":629,"props":1371,"children":1372},{"style":642},[1373],{"type":607,"value":941},{"type":602,"tag":610,"props":1375,"children":1377},{"id":1376},"connect-the-form",[1378],{"type":607,"value":1379},"Connect the form",{"type":602,"tag":603,"props":1381,"children":1382},{},[1383],{"type":607,"value":1384},"Replace the page with:",{"type":602,"tag":617,"props":1386,"children":1389},{"language":1387,"filename":1388,"class":621},"vue","app\u002Fpages\u002Findex.vue",[1390],{"type":602,"tag":624,"props":1391,"children":1393},{"class":1392},"language-vue",[1394,1436,1437,1466,1467,1470,1471,1505,1506,1589,1590,1640,1641,1644,1645,1668,1669,1711,1712,1737,1738,1741,1742,1754,1755,1786,1787,1811,1812,1829,1830,1839,1840,1848,1849,1857,1858,1874,1875,1878,1879,1895,1896,1913,1914,1948,1949,1952,1953,1983,1984,2044,2045,2075,2076,2084,2085,2101,2102,2118,2119,2122,2123,2169,2170,2215,2216,2262,2263,2266,2267,2288,2289,2333,2334,2342,2343,2358,2359,2374,2375,2391,2392],{"type":602,"tag":629,"props":1395,"children":1396},{"class":631,"style":632},[1397,1403,1409,1415,1420,1425,1431],{"type":602,"tag":629,"props":1398,"children":1400},{"style":1399},"color:#800000;--shiki-dark:#808080",[1401],{"type":607,"value":1402},"\u003C",{"type":602,"tag":629,"props":1404,"children":1406},{"style":1405},"color:#800000;--shiki-dark:#569CD6",[1407],{"type":607,"value":1408},"script",{"type":602,"tag":629,"props":1410,"children":1412},{"style":1411},"color:#E50000;--shiki-dark:#9CDCFE",[1413],{"type":607,"value":1414}," setup",{"type":602,"tag":629,"props":1416,"children":1417},{"style":1411},[1418],{"type":607,"value":1419}," lang",{"type":602,"tag":629,"props":1421,"children":1422},{"style":642},[1423],{"type":607,"value":1424},"=",{"type":602,"tag":629,"props":1426,"children":1428},{"style":1427},"color:#0000FF;--shiki-dark:#CE9178",[1429],{"type":607,"value":1430},"\"ts\"",{"type":602,"tag":629,"props":1432,"children":1433},{"style":1399},[1434],{"type":607,"value":1435},">",{"type":607,"value":679},{"type":602,"tag":629,"props":1438,"children":1439},{"class":631,"style":632},[1440,1444,1448,1453,1457,1461],{"type":602,"tag":629,"props":1441,"children":1442},{"style":636},[1443],{"type":607,"value":639},{"type":602,"tag":629,"props":1445,"children":1446},{"style":642},[1447],{"type":607,"value":645},{"type":602,"tag":629,"props":1449,"children":1450},{"style":648},[1451],{"type":607,"value":1452},"api",{"type":602,"tag":629,"props":1454,"children":1455},{"style":642},[1456],{"type":607,"value":666},{"type":602,"tag":629,"props":1458,"children":1459},{"style":636},[1460],{"type":607,"value":671},{"type":602,"tag":629,"props":1462,"children":1463},{"style":674},[1464],{"type":607,"value":1465}," '#convex\u002Fapi'",{"type":607,"value":679},{"type":602,"tag":629,"props":1468,"children":1469},{"class":631,"style":632},[],{"type":607,"value":679},{"type":602,"tag":629,"props":1472,"children":1473},{"class":631,"style":632},[1474,1479,1483,1487,1492,1496,1501],{"type":602,"tag":629,"props":1475,"children":1476},{"style":733},[1477],{"type":607,"value":1478},"const",{"type":602,"tag":629,"props":1480,"children":1481},{"style":739},[1482],{"type":607,"value":1081},{"type":602,"tag":629,"props":1484,"children":1485},{"style":642},[1486],{"type":607,"value":747},{"type":602,"tag":629,"props":1488,"children":1489},{"style":750},[1490],{"type":607,"value":1491},"ref",{"type":602,"tag":629,"props":1493,"children":1494},{"style":642},[1495],{"type":607,"value":857},{"type":602,"tag":629,"props":1497,"children":1498},{"style":674},[1499],{"type":607,"value":1500},"''",{"type":602,"tag":629,"props":1502,"children":1503},{"style":642},[1504],{"type":607,"value":923},{"type":607,"value":679},{"type":602,"tag":629,"props":1507,"children":1508},{"class":631,"style":632},[1509,1513,1517,1522,1527,1532,1536,1541,1545,1550,1555,1560,1564,1568,1572,1576,1580,1585],{"type":602,"tag":629,"props":1510,"children":1511},{"style":733},[1512],{"type":607,"value":1478},{"type":602,"tag":629,"props":1514,"children":1515},{"style":642},[1516],{"type":607,"value":645},{"type":602,"tag":629,"props":1518,"children":1519},{"style":648},[1520],{"type":607,"value":1521},"data",{"type":602,"tag":629,"props":1523,"children":1524},{"style":642},[1525],{"type":607,"value":1526},": ",{"type":602,"tag":629,"props":1528,"children":1529},{"style":739},[1530],{"type":607,"value":1531},"todos",{"type":602,"tag":629,"props":1533,"children":1534},{"style":642},[1535],{"type":607,"value":656},{"type":602,"tag":629,"props":1537,"children":1538},{"style":739},[1539],{"type":607,"value":1540},"status",{"type":602,"tag":629,"props":1542,"children":1543},{"style":642},[1544],{"type":607,"value":656},{"type":602,"tag":629,"props":1546,"children":1547},{"style":739},[1548],{"type":607,"value":1549},"error",{"type":602,"tag":629,"props":1551,"children":1552},{"style":642},[1553],{"type":607,"value":1554}," } = ",{"type":602,"tag":629,"props":1556,"children":1557},{"style":750},[1558],{"type":607,"value":1559},"useConvexQuery",{"type":602,"tag":629,"props":1561,"children":1562},{"style":642},[1563],{"type":607,"value":857},{"type":602,"tag":629,"props":1565,"children":1566},{"style":648},[1567],{"type":607,"value":1452},{"type":602,"tag":629,"props":1569,"children":1570},{"style":642},[1571],{"type":607,"value":839},{"type":602,"tag":629,"props":1573,"children":1574},{"style":648},[1575],{"type":607,"value":1531},{"type":602,"tag":629,"props":1577,"children":1578},{"style":642},[1579],{"type":607,"value":839},{"type":602,"tag":629,"props":1581,"children":1582},{"style":648},[1583],{"type":607,"value":1584},"list",{"type":602,"tag":629,"props":1586,"children":1587},{"style":642},[1588],{"type":607,"value":923},{"type":607,"value":679},{"type":602,"tag":629,"props":1591,"children":1592},{"class":631,"style":632},[1593,1597,1602,1606,1611,1615,1619,1623,1627,1631,1636],{"type":602,"tag":629,"props":1594,"children":1595},{"style":733},[1596],{"type":607,"value":1478},{"type":602,"tag":629,"props":1598,"children":1599},{"style":739},[1600],{"type":607,"value":1601}," createTodo",{"type":602,"tag":629,"props":1603,"children":1604},{"style":642},[1605],{"type":607,"value":747},{"type":602,"tag":629,"props":1607,"children":1608},{"style":750},[1609],{"type":607,"value":1610},"useConvexMutation",{"type":602,"tag":629,"props":1612,"children":1613},{"style":642},[1614],{"type":607,"value":857},{"type":602,"tag":629,"props":1616,"children":1617},{"style":648},[1618],{"type":607,"value":1452},{"type":602,"tag":629,"props":1620,"children":1621},{"style":642},[1622],{"type":607,"value":839},{"type":602,"tag":629,"props":1624,"children":1625},{"style":648},[1626],{"type":607,"value":1531},{"type":602,"tag":629,"props":1628,"children":1629},{"style":642},[1630],{"type":607,"value":839},{"type":602,"tag":629,"props":1632,"children":1633},{"style":648},[1634],{"type":607,"value":1635},"create",{"type":602,"tag":629,"props":1637,"children":1638},{"style":642},[1639],{"type":607,"value":923},{"type":607,"value":679},{"type":602,"tag":629,"props":1642,"children":1643},{"class":631,"style":632},[],{"type":607,"value":679},{"type":602,"tag":629,"props":1646,"children":1647},{"class":631,"style":632},[1648,1653,1658,1663],{"type":602,"tag":629,"props":1649,"children":1650},{"style":733},[1651],{"type":607,"value":1652},"async",{"type":602,"tag":629,"props":1654,"children":1655},{"style":733},[1656],{"type":607,"value":1657}," function",{"type":602,"tag":629,"props":1659,"children":1660},{"style":750},[1661],{"type":607,"value":1662}," submit",{"type":602,"tag":629,"props":1664,"children":1665},{"style":642},[1666],{"type":607,"value":1667},"() {",{"type":607,"value":679},{"type":602,"tag":629,"props":1670,"children":1671},{"class":631,"style":632},[1672,1677,1682,1686,1690,1694,1699,1703,1707],{"type":602,"tag":629,"props":1673,"children":1674},{"style":733},[1675],{"type":607,"value":1676},"  const",{"type":602,"tag":629,"props":1678,"children":1679},{"style":739},[1680],{"type":607,"value":1681}," value",{"type":602,"tag":629,"props":1683,"children":1684},{"style":642},[1685],{"type":607,"value":747},{"type":602,"tag":629,"props":1687,"children":1688},{"style":648},[1689],{"type":607,"value":607},{"type":602,"tag":629,"props":1691,"children":1692},{"style":642},[1693],{"type":607,"value":839},{"type":602,"tag":629,"props":1695,"children":1696},{"style":648},[1697],{"type":607,"value":1698},"value",{"type":602,"tag":629,"props":1700,"children":1701},{"style":642},[1702],{"type":607,"value":839},{"type":602,"tag":629,"props":1704,"children":1705},{"style":750},[1706],{"type":607,"value":1106},{"type":602,"tag":629,"props":1708,"children":1709},{"style":642},[1710],{"type":607,"value":1111},{"type":607,"value":679},{"type":602,"tag":629,"props":1713,"children":1714},{"class":631,"style":632},[1715,1720,1724,1728,1732],{"type":602,"tag":629,"props":1716,"children":1717},{"style":636},[1718],{"type":607,"value":1719},"  if",{"type":602,"tag":629,"props":1721,"children":1722},{"style":642},[1723],{"type":607,"value":1125},{"type":602,"tag":629,"props":1725,"children":1726},{"style":648},[1727],{"type":607,"value":1698},{"type":602,"tag":629,"props":1729,"children":1730},{"style":642},[1731],{"type":607,"value":805},{"type":602,"tag":629,"props":1733,"children":1734},{"style":636},[1735],{"type":607,"value":1736},"return",{"type":607,"value":679},{"type":602,"tag":629,"props":1739,"children":1740},{"class":631,"style":632},[],{"type":607,"value":679},{"type":602,"tag":629,"props":1743,"children":1744},{"class":631,"style":632},[1745,1750],{"type":602,"tag":629,"props":1746,"children":1747},{"style":636},[1748],{"type":607,"value":1749},"  try",{"type":602,"tag":629,"props":1751,"children":1752},{"style":642},[1753],{"type":607,"value":815},{"type":607,"value":679},{"type":602,"tag":629,"props":1756,"children":1757},{"class":631,"style":632},[1758,1763,1767,1772,1777,1781],{"type":602,"tag":629,"props":1759,"children":1760},{"style":636},[1761],{"type":607,"value":1762},"    await",{"type":602,"tag":629,"props":1764,"children":1765},{"style":750},[1766],{"type":607,"value":1601},{"type":602,"tag":629,"props":1768,"children":1769},{"style":642},[1770],{"type":607,"value":1771},"({ ",{"type":602,"tag":629,"props":1773,"children":1774},{"style":648},[1775],{"type":607,"value":1776},"text:",{"type":602,"tag":629,"props":1778,"children":1779},{"style":648},[1780],{"type":607,"value":1681},{"type":602,"tag":629,"props":1782,"children":1783},{"style":642},[1784],{"type":607,"value":1785}," })",{"type":607,"value":679},{"type":602,"tag":629,"props":1788,"children":1789},{"class":631,"style":632},[1790,1795,1799,1803,1807],{"type":602,"tag":629,"props":1791,"children":1792},{"style":648},[1793],{"type":607,"value":1794},"    text",{"type":602,"tag":629,"props":1796,"children":1797},{"style":642},[1798],{"type":607,"value":839},{"type":602,"tag":629,"props":1800,"children":1801},{"style":648},[1802],{"type":607,"value":1698},{"type":602,"tag":629,"props":1804,"children":1805},{"style":642},[1806],{"type":607,"value":747},{"type":602,"tag":629,"props":1808,"children":1809},{"style":674},[1810],{"type":607,"value":1500},{"type":607,"value":679},{"type":602,"tag":629,"props":1813,"children":1814},{"class":631,"style":632},[1815,1820,1825],{"type":602,"tag":629,"props":1816,"children":1817},{"style":642},[1818],{"type":607,"value":1819},"  } ",{"type":602,"tag":629,"props":1821,"children":1822},{"style":636},[1823],{"type":607,"value":1824},"catch",{"type":602,"tag":629,"props":1826,"children":1827},{"style":642},[1828],{"type":607,"value":815},{"type":607,"value":679},{"type":602,"tag":629,"props":1831,"children":1832},{"class":631,"style":632},[1833],{"type":602,"tag":629,"props":1834,"children":1836},{"style":1835},"color:#008000;--shiki-dark:#6A9955",[1837],{"type":607,"value":1838},"    \u002F\u002F createTodo.error contains the normalized public error for this attempt.",{"type":607,"value":679},{"type":602,"tag":629,"props":1841,"children":1842},{"class":631,"style":632},[1843],{"type":602,"tag":629,"props":1844,"children":1845},{"style":642},[1846],{"type":607,"value":1847},"  }",{"type":607,"value":679},{"type":602,"tag":629,"props":1850,"children":1851},{"class":631,"style":632},[1852],{"type":602,"tag":629,"props":1853,"children":1854},{"style":642},[1855],{"type":607,"value":1856},"}",{"type":607,"value":679},{"type":602,"tag":629,"props":1859,"children":1860},{"class":631,"style":632},[1861,1866,1870],{"type":602,"tag":629,"props":1862,"children":1863},{"style":1399},[1864],{"type":607,"value":1865},"\u003C\u002F",{"type":602,"tag":629,"props":1867,"children":1868},{"style":1405},[1869],{"type":607,"value":1408},{"type":602,"tag":629,"props":1871,"children":1872},{"style":1399},[1873],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":1876,"children":1877},{"class":631,"style":632},[],{"type":607,"value":679},{"type":602,"tag":629,"props":1880,"children":1881},{"class":631,"style":632},[1882,1886,1891],{"type":602,"tag":629,"props":1883,"children":1884},{"style":1399},[1885],{"type":607,"value":1402},{"type":602,"tag":629,"props":1887,"children":1888},{"style":1405},[1889],{"type":607,"value":1890},"template",{"type":602,"tag":629,"props":1892,"children":1893},{"style":1399},[1894],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":1897,"children":1898},{"class":631,"style":632},[1899,1904,1909],{"type":602,"tag":629,"props":1900,"children":1901},{"style":1399},[1902],{"type":607,"value":1903},"  \u003C",{"type":602,"tag":629,"props":1905,"children":1906},{"style":1405},[1907],{"type":607,"value":1908},"main",{"type":602,"tag":629,"props":1910,"children":1911},{"style":1399},[1912],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":1915,"children":1916},{"class":631,"style":632},[1917,1922,1927,1931,1936,1940,1944],{"type":602,"tag":629,"props":1918,"children":1919},{"style":1399},[1920],{"type":607,"value":1921},"    \u003C",{"type":602,"tag":629,"props":1923,"children":1924},{"style":1405},[1925],{"type":607,"value":1926},"h1",{"type":602,"tag":629,"props":1928,"children":1929},{"style":1399},[1930],{"type":607,"value":1435},{"type":602,"tag":629,"props":1932,"children":1933},{"style":642},[1934],{"type":607,"value":1935},"Todos",{"type":602,"tag":629,"props":1937,"children":1938},{"style":1399},[1939],{"type":607,"value":1865},{"type":602,"tag":629,"props":1941,"children":1942},{"style":1405},[1943],{"type":607,"value":1926},{"type":602,"tag":629,"props":1945,"children":1946},{"style":1399},[1947],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":1950,"children":1951},{"class":631,"style":632},[],{"type":607,"value":679},{"type":602,"tag":629,"props":1954,"children":1955},{"class":631,"style":632},[1956,1960,1965,1970,1974,1979],{"type":602,"tag":629,"props":1957,"children":1958},{"style":1399},[1959],{"type":607,"value":1921},{"type":602,"tag":629,"props":1961,"children":1962},{"style":1405},[1963],{"type":607,"value":1964},"form",{"type":602,"tag":629,"props":1966,"children":1967},{"style":1411},[1968],{"type":607,"value":1969}," @submit.prevent",{"type":602,"tag":629,"props":1971,"children":1972},{"style":642},[1973],{"type":607,"value":1424},{"type":602,"tag":629,"props":1975,"children":1976},{"style":1427},[1977],{"type":607,"value":1978},"\"submit\"",{"type":602,"tag":629,"props":1980,"children":1981},{"style":1399},[1982],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":1985,"children":1986},{"class":631,"style":632},[1987,1992,1997,2002,2006,2011,2016,2020,2025,2030,2034,2039],{"type":602,"tag":629,"props":1988,"children":1989},{"style":1399},[1990],{"type":607,"value":1991},"      \u003C",{"type":602,"tag":629,"props":1993,"children":1994},{"style":1405},[1995],{"type":607,"value":1996},"input",{"type":602,"tag":629,"props":1998,"children":1999},{"style":1411},[2000],{"type":607,"value":2001}," v-model",{"type":602,"tag":629,"props":2003,"children":2004},{"style":642},[2005],{"type":607,"value":1424},{"type":602,"tag":629,"props":2007,"children":2008},{"style":1427},[2009],{"type":607,"value":2010},"\"text\"",{"type":602,"tag":629,"props":2012,"children":2013},{"style":1411},[2014],{"type":607,"value":2015}," maxlength",{"type":602,"tag":629,"props":2017,"children":2018},{"style":642},[2019],{"type":607,"value":1424},{"type":602,"tag":629,"props":2021,"children":2022},{"style":1427},[2023],{"type":607,"value":2024},"\"200\"",{"type":602,"tag":629,"props":2026,"children":2027},{"style":1411},[2028],{"type":607,"value":2029}," aria-label",{"type":602,"tag":629,"props":2031,"children":2032},{"style":642},[2033],{"type":607,"value":1424},{"type":602,"tag":629,"props":2035,"children":2036},{"style":1427},[2037],{"type":607,"value":2038},"\"Todo text\"",{"type":602,"tag":629,"props":2040,"children":2041},{"style":1399},[2042],{"type":607,"value":2043}," \u002F>",{"type":607,"value":679},{"type":602,"tag":629,"props":2046,"children":2047},{"class":631,"style":632},[2048,2052,2057,2062,2066,2071],{"type":602,"tag":629,"props":2049,"children":2050},{"style":1399},[2051],{"type":607,"value":1991},{"type":602,"tag":629,"props":2053,"children":2054},{"style":1405},[2055],{"type":607,"value":2056},"button",{"type":602,"tag":629,"props":2058,"children":2059},{"style":1411},[2060],{"type":607,"value":2061}," :disabled",{"type":602,"tag":629,"props":2063,"children":2064},{"style":642},[2065],{"type":607,"value":1424},{"type":602,"tag":629,"props":2067,"children":2068},{"style":1427},[2069],{"type":607,"value":2070},"\"createTodo.pending || !text.trim()\"",{"type":602,"tag":629,"props":2072,"children":2073},{"style":1399},[2074],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":2077,"children":2078},{"class":631,"style":632},[2079],{"type":602,"tag":629,"props":2080,"children":2081},{"style":642},[2082],{"type":607,"value":2083},"        {{ createTodo.pending ? 'Adding…' : 'Add todo' }}",{"type":607,"value":679},{"type":602,"tag":629,"props":2086,"children":2087},{"class":631,"style":632},[2088,2093,2097],{"type":602,"tag":629,"props":2089,"children":2090},{"style":1399},[2091],{"type":607,"value":2092},"      \u003C\u002F",{"type":602,"tag":629,"props":2094,"children":2095},{"style":1405},[2096],{"type":607,"value":2056},{"type":602,"tag":629,"props":2098,"children":2099},{"style":1399},[2100],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":2103,"children":2104},{"class":631,"style":632},[2105,2110,2114],{"type":602,"tag":629,"props":2106,"children":2107},{"style":1399},[2108],{"type":607,"value":2109},"    \u003C\u002F",{"type":602,"tag":629,"props":2111,"children":2112},{"style":1405},[2113],{"type":607,"value":1964},{"type":602,"tag":629,"props":2115,"children":2116},{"style":1399},[2117],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":2120,"children":2121},{"class":631,"style":632},[],{"type":607,"value":679},{"type":602,"tag":629,"props":2124,"children":2125},{"class":631,"style":632},[2126,2130,2134,2139,2143,2148,2152,2157,2161,2165],{"type":602,"tag":629,"props":2127,"children":2128},{"style":1399},[2129],{"type":607,"value":1921},{"type":602,"tag":629,"props":2131,"children":2132},{"style":1405},[2133],{"type":607,"value":603},{"type":602,"tag":629,"props":2135,"children":2136},{"style":1411},[2137],{"type":607,"value":2138}," v-if",{"type":602,"tag":629,"props":2140,"children":2141},{"style":642},[2142],{"type":607,"value":1424},{"type":602,"tag":629,"props":2144,"children":2145},{"style":1427},[2146],{"type":607,"value":2147},"\"createTodo.error\"",{"type":602,"tag":629,"props":2149,"children":2150},{"style":1399},[2151],{"type":607,"value":1435},{"type":602,"tag":629,"props":2153,"children":2154},{"style":642},[2155],{"type":607,"value":2156},"{{ createTodo.error.message }}",{"type":602,"tag":629,"props":2158,"children":2159},{"style":1399},[2160],{"type":607,"value":1865},{"type":602,"tag":629,"props":2162,"children":2163},{"style":1405},[2164],{"type":607,"value":603},{"type":602,"tag":629,"props":2166,"children":2167},{"style":1399},[2168],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":2171,"children":2172},{"class":631,"style":632},[2173,2177,2181,2185,2189,2194,2198,2203,2207,2211],{"type":602,"tag":629,"props":2174,"children":2175},{"style":1399},[2176],{"type":607,"value":1921},{"type":602,"tag":629,"props":2178,"children":2179},{"style":1405},[2180],{"type":607,"value":603},{"type":602,"tag":629,"props":2182,"children":2183},{"style":1411},[2184],{"type":607,"value":2138},{"type":602,"tag":629,"props":2186,"children":2187},{"style":642},[2188],{"type":607,"value":1424},{"type":602,"tag":629,"props":2190,"children":2191},{"style":1427},[2192],{"type":607,"value":2193},"\"status === 'pending'\"",{"type":602,"tag":629,"props":2195,"children":2196},{"style":1399},[2197],{"type":607,"value":1435},{"type":602,"tag":629,"props":2199,"children":2200},{"style":642},[2201],{"type":607,"value":2202},"Loading todos…",{"type":602,"tag":629,"props":2204,"children":2205},{"style":1399},[2206],{"type":607,"value":1865},{"type":602,"tag":629,"props":2208,"children":2209},{"style":1405},[2210],{"type":607,"value":603},{"type":602,"tag":629,"props":2212,"children":2213},{"style":1399},[2214],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":2217,"children":2218},{"class":631,"style":632},[2219,2223,2227,2232,2236,2241,2245,2250,2254,2258],{"type":602,"tag":629,"props":2220,"children":2221},{"style":1399},[2222],{"type":607,"value":1921},{"type":602,"tag":629,"props":2224,"children":2225},{"style":1405},[2226],{"type":607,"value":603},{"type":602,"tag":629,"props":2228,"children":2229},{"style":1411},[2230],{"type":607,"value":2231}," v-else-if",{"type":602,"tag":629,"props":2233,"children":2234},{"style":642},[2235],{"type":607,"value":1424},{"type":602,"tag":629,"props":2237,"children":2238},{"style":1427},[2239],{"type":607,"value":2240},"\"error\"",{"type":602,"tag":629,"props":2242,"children":2243},{"style":1399},[2244],{"type":607,"value":1435},{"type":602,"tag":629,"props":2246,"children":2247},{"style":642},[2248],{"type":607,"value":2249},"Could not load todos.",{"type":602,"tag":629,"props":2251,"children":2252},{"style":1399},[2253],{"type":607,"value":1865},{"type":602,"tag":629,"props":2255,"children":2256},{"style":1405},[2257],{"type":607,"value":603},{"type":602,"tag":629,"props":2259,"children":2260},{"style":1399},[2261],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":2264,"children":2265},{"class":631,"style":632},[],{"type":607,"value":679},{"type":602,"tag":629,"props":2268,"children":2269},{"class":631,"style":632},[2270,2274,2279,2284],{"type":602,"tag":629,"props":2271,"children":2272},{"style":1399},[2273],{"type":607,"value":1921},{"type":602,"tag":629,"props":2275,"children":2276},{"style":1405},[2277],{"type":607,"value":2278},"ul",{"type":602,"tag":629,"props":2280,"children":2281},{"style":1411},[2282],{"type":607,"value":2283}," v-else",{"type":602,"tag":629,"props":2285,"children":2286},{"style":1399},[2287],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":2290,"children":2291},{"class":631,"style":632},[2292,2296,2301,2306,2310,2315,2320,2324,2329],{"type":602,"tag":629,"props":2293,"children":2294},{"style":1399},[2295],{"type":607,"value":1991},{"type":602,"tag":629,"props":2297,"children":2298},{"style":1405},[2299],{"type":607,"value":2300},"li",{"type":602,"tag":629,"props":2302,"children":2303},{"style":1411},[2304],{"type":607,"value":2305}," v-for",{"type":602,"tag":629,"props":2307,"children":2308},{"style":642},[2309],{"type":607,"value":1424},{"type":602,"tag":629,"props":2311,"children":2312},{"style":1427},[2313],{"type":607,"value":2314},"\"todo in todos ?? []\"",{"type":602,"tag":629,"props":2316,"children":2317},{"style":1411},[2318],{"type":607,"value":2319}," :key",{"type":602,"tag":629,"props":2321,"children":2322},{"style":642},[2323],{"type":607,"value":1424},{"type":602,"tag":629,"props":2325,"children":2326},{"style":1427},[2327],{"type":607,"value":2328},"\"todo._id\"",{"type":602,"tag":629,"props":2330,"children":2331},{"style":1399},[2332],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":2335,"children":2336},{"class":631,"style":632},[2337],{"type":602,"tag":629,"props":2338,"children":2339},{"style":642},[2340],{"type":607,"value":2341},"        {{ todo.text }}",{"type":607,"value":679},{"type":602,"tag":629,"props":2344,"children":2345},{"class":631,"style":632},[2346,2350,2354],{"type":602,"tag":629,"props":2347,"children":2348},{"style":1399},[2349],{"type":607,"value":2092},{"type":602,"tag":629,"props":2351,"children":2352},{"style":1405},[2353],{"type":607,"value":2300},{"type":602,"tag":629,"props":2355,"children":2356},{"style":1399},[2357],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":2360,"children":2361},{"class":631,"style":632},[2362,2366,2370],{"type":602,"tag":629,"props":2363,"children":2364},{"style":1399},[2365],{"type":607,"value":2109},{"type":602,"tag":629,"props":2367,"children":2368},{"style":1405},[2369],{"type":607,"value":2278},{"type":602,"tag":629,"props":2371,"children":2372},{"style":1399},[2373],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":2376,"children":2377},{"class":631,"style":632},[2378,2383,2387],{"type":602,"tag":629,"props":2379,"children":2380},{"style":1399},[2381],{"type":607,"value":2382},"  \u003C\u002F",{"type":602,"tag":629,"props":2384,"children":2385},{"style":1405},[2386],{"type":607,"value":1908},{"type":602,"tag":629,"props":2388,"children":2389},{"style":1399},[2390],{"type":607,"value":1435},{"type":607,"value":679},{"type":602,"tag":629,"props":2393,"children":2394},{"class":631,"style":632},[2395,2399,2403],{"type":602,"tag":629,"props":2396,"children":2397},{"style":1399},[2398],{"type":607,"value":1865},{"type":602,"tag":629,"props":2400,"children":2401},{"style":1405},[2402],{"type":607,"value":1890},{"type":602,"tag":629,"props":2404,"children":2405},{"style":1399},[2406],{"type":607,"value":1435},{"type":602,"tag":610,"props":2408,"children":2410},{"id":2409},"what-updates-the-list",[2411],{"type":607,"value":2412},"What updates the list",{"type":602,"tag":603,"props":2414,"children":2415},{},[2416,2418,2422,2424,2429],{"type":607,"value":2417},"The mutation writes to ",{"type":602,"tag":624,"props":2419,"children":2420},{},[2421],{"type":607,"value":1531},{"type":607,"value":2423},". Convex recomputes subscribed queries whose dependencies changed and publishes the new ",{"type":602,"tag":624,"props":2425,"children":2426},{},[2427],{"type":607,"value":2428},"todos.list",{"type":607,"value":2430}," result.",{"type":602,"tag":603,"props":2432,"children":2433},{},[2434,2436,2441],{"type":607,"value":2435},"The module updates the query ref. The page does not call ",{"type":602,"tag":624,"props":2437,"children":2438},{},[2439],{"type":607,"value":2440},"refresh()",{"type":607,"value":2442}," after the mutation.",{"type":602,"tag":603,"props":2444,"children":2445},{},[2446,2451,2453,2458],{"type":602,"tag":624,"props":2447,"children":2448},{},[2449],{"type":607,"value":2450},"createTodo(args)",{"type":607,"value":2452}," resolves with the generated mutation result and rejects with\n",{"type":602,"tag":624,"props":2454,"children":2455},{},[2456],{"type":607,"value":2457},"ConvexCallError",{"type":607,"value":2459}," on failure. Its readonly refs describe the newest invocation.",{"type":602,"tag":603,"props":2461,"children":2462},{},[2463,2465,2471,2473,2478],{"type":607,"value":2464},"Next, either explore ",{"type":602,"tag":2466,"props":2467,"children":2468},"a",{"href":205},[2469],{"type":607,"value":2470},"query guides",{"type":607,"value":2472}," or ",{"type":602,"tag":2466,"props":2474,"children":2475},{"href":163},[2476],{"type":607,"value":2477},"add authentication",{"type":607,"value":839},{"title":2480,"searchDepth":2481,"depth":2481,"links":2482},"",4,[2483,2485,2486],{"id":612,"depth":2484,"text":615},2,{"id":1376,"depth":2484,"text":1379},{"id":2409,"depth":2484,"text":2412},"markdown","docs",{"source":2490,"path":2491,"stem":2492,"dir":2493,"extension":2494},"content","docs\u002F3.get-started\u002F4.add-a-mutation.md","docs\u002F3.get-started\u002F4.add-a-mutation","get-started","md",{"requestedPath":156,"resolvedPath":156,"alternates":2496},[],{"requested":2498,"resolved":2499,"usedFallback":6},{},{"locale":8},{"previous":2501,"next":2503},{"title":144,"id":145,"canonicalKey":146,"locale":8,"draft":6,"navigation":2502,"icon":148,"path":149},{"icon":148},{"title":158,"id":159,"canonicalKey":160,"locale":8,"draft":6,"navigation":2504,"icon":162,"path":163},{"icon":162},{"left":2506,"top":2506,"width":2507,"height":2507,"rotate":2506,"vFlip":6,"hFlip":6,"body":2508},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":2506,"top":2506,"width":2507,"height":2510,"rotate":2506,"vFlip":6,"hFlip":6,"body":2511},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":2506,"top":2506,"width":2513,"height":2513,"rotate":2506,"vFlip":6,"hFlip":6,"body":2514},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>",1786627512342]