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