[{"data":1,"prerenderedAt":3931},["ShallowReactive",2],{"docs-navigation:en":3,"content-page:docs:EFfZv9XWEfxXZnZkG9IA7MU-h2_31cPqtZ2JGaXK5QU":842,"content-page-surround:docs:EFfZv9XWEfxXZnZkG9IA7MU-h2_31cPqtZ2JGaXK5QU":3916,"i-logos:typescript-icon":3921,"i-logos:vue":3925,"i-lucide:clipboard":3928},[4,41,110,540,643,708,772,837],{"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],{"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},"Who it is for","content:docs:1.overview:2.who-it-is-for.md","1\u002F2",{"icon":25},"i-lucide-users","\u002Fdocs\u002Foverview\u002Fwho-it-is-for",{"title":28,"id":29,"canonicalKey":30,"locale":8,"draft":6,"navigation":31,"icon":32,"path":33},"Limitations and trade-offs","content:docs:1.overview:3.limitations.md","1\u002F3",{"icon":32},"i-lucide-triangle-alert","\u002Fdocs\u002Foverview\u002Flimitations",{"title":35,"id":36,"canonicalKey":37,"locale":8,"draft":6,"navigation":38,"icon":39,"path":40},"Compare Nuxt integrations","content:docs:1.overview:4.comparison.md","1\u002F4",{"icon":39},"i-lucide-scale","\u002Fdocs\u002Foverview\u002Fcomparison",{"title":42,"page":6,"canonicalKey":43,"locale":8,"id":44,"draft":6,"icon":45,"children":46},"Get started","2","content:docs:2.get-started:.navigation.yml","i-lucide-rocket",[47,54,61,68,75,82,89,96,103],{"title":48,"id":49,"canonicalKey":50,"locale":8,"draft":6,"navigation":51,"icon":52,"path":53},"Choose your path","content:docs:2.get-started:1.choose-your-path.md","2\u002F1",{"icon":52},"i-lucide-signpost","\u002Fdocs\u002Fget-started\u002Fchoose-your-path",{"title":55,"id":56,"canonicalKey":57,"locale":8,"draft":6,"navigation":58,"icon":59,"path":60},"Installation","content:docs:2.get-started:2.installation.md","2\u002F2",{"icon":59},"i-lucide-download","\u002Fdocs\u002Fget-started\u002Finstallation",{"title":62,"id":63,"canonicalKey":64,"locale":8,"draft":6,"navigation":65,"icon":66,"path":67},"First real-time page","content:docs:2.get-started:3.first-realtime-page.md","2\u002F3",{"icon":66},"i-lucide-radio","\u002Fdocs\u002Fget-started\u002Ffirst-realtime-page",{"title":69,"id":70,"canonicalKey":71,"locale":8,"draft":6,"navigation":72,"icon":73,"path":74},"Complete and delete","content:docs:2.get-started:4.complete-and-delete.md","2\u002F4",{"icon":73},"i-lucide-square-check","\u002Fdocs\u002Fget-started\u002Fcomplete-and-delete",{"title":76,"id":77,"canonicalKey":78,"locale":8,"draft":6,"navigation":79,"icon":80,"path":81},"Add authentication","content:docs:2.get-started:5.add-authentication.md","2\u002F5",{"icon":80},"i-lucide-log-in","\u002Fdocs\u002Fget-started\u002Fadd-authentication",{"title":83,"id":84,"canonicalKey":85,"locale":8,"draft":6,"navigation":86,"icon":87,"path":88},"Protect data","content:docs:2.get-started:6.protect-data.md","2\u002F6",{"icon":87},"i-lucide-shield-check","\u002Fdocs\u002Fget-started\u002Fprotect-data",{"title":90,"id":91,"canonicalKey":92,"locale":8,"draft":6,"navigation":93,"icon":94,"path":95},"Project structure","content:docs:2.get-started:7.project-structure.md","2\u002F7",{"icon":94},"i-lucide-folder-tree","\u002Fdocs\u002Fget-started\u002Fproject-structure",{"title":97,"id":98,"canonicalKey":99,"locale":8,"draft":6,"navigation":100,"icon":101,"path":102},"Next steps","content:docs:2.get-started:8.next-steps.md","2\u002F8",{"icon":101},"i-lucide-arrow-right","\u002Fdocs\u002Fget-started\u002Fnext-steps",{"title":104,"id":105,"canonicalKey":106,"locale":8,"draft":6,"navigation":107,"icon":108,"path":109},"Plain Vue and Vite","content:docs:2.get-started:9.plain-vue.md","2\u002F9",{"icon":108},"i-lucide-panels-top-left","\u002Fdocs\u002Fget-started\u002Fplain-vue",{"title":111,"page":6,"canonicalKey":112,"locale":8,"id":113,"draft":6,"icon":114,"sidebar":11,"children":115},"Build","3","content:docs:3.build:.navigation.yml","i-lucide-blocks",[116,154,200,321,353,385,431,481],{"title":117,"page":6,"canonicalKey":118,"locale":8,"children":119},"Queries","3\u002F1",[120,126,133,140,147],{"title":117,"id":121,"canonicalKey":122,"locale":8,"draft":6,"navigation":123,"icon":124,"path":125},"content:docs:3.build:1.queries:1.queries.md","3\u002F1\u002F1",{"icon":124},"i-lucide-database","\u002Fdocs\u002Fbuild\u002Fqueries\u002Fqueries",{"title":127,"id":128,"canonicalKey":129,"locale":8,"draft":6,"navigation":130,"icon":131,"path":132},"Reactive arguments","content:docs:3.build:1.queries:2.reactive-arguments.md","3\u002F1\u002F2",{"icon":131},"i-lucide-sliders-horizontal","\u002Fdocs\u002Fbuild\u002Fqueries\u002Freactive-arguments",{"title":134,"id":135,"canonicalKey":136,"locale":8,"draft":6,"navigation":137,"icon":138,"path":139},"Loading and stale data","content:docs:3.build:1.queries:3.loading-and-stale-data.md","3\u002F1\u002F3",{"icon":138},"i-lucide-loader-circle","\u002Fdocs\u002Fbuild\u002Fqueries\u002Floading-and-stale-data",{"title":141,"id":142,"canonicalKey":143,"locale":8,"draft":6,"navigation":144,"icon":145,"path":146},"Query execution options","content:docs:3.build:1.queries:4.ssr-options.md","3\u002F1\u002F4",{"icon":145},"i-lucide-server-cog","\u002Fdocs\u002Fbuild\u002Fqueries\u002Fssr-options",{"title":148,"id":149,"canonicalKey":150,"locale":8,"draft":6,"navigation":151,"icon":152,"path":153},"Pagination","content:docs:3.build:1.queries:6.pagination.md","3\u002F1\u002F6",{"icon":152},"i-lucide-list-plus","\u002Fdocs\u002Fbuild\u002Fqueries\u002Fpagination",{"title":155,"page":6,"canonicalKey":156,"locale":8,"children":157},"Write Data","3\u002F2",[158,165,172,179,186,193],{"title":159,"id":160,"canonicalKey":161,"locale":8,"draft":6,"navigation":162,"icon":163,"path":164},"Mutations","content:docs:3.build:2.write-data:1.mutations.md","3\u002F2\u002F1",{"icon":163},"i-lucide-square-pen","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Fmutations",{"title":166,"id":167,"canonicalKey":168,"locale":8,"draft":6,"navigation":169,"icon":170,"path":171},"Actions","content:docs:3.build:2.write-data:2.actions.md","3\u002F2\u002F2",{"icon":170},"i-lucide-zap","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Factions",{"title":173,"id":174,"canonicalKey":175,"locale":8,"draft":6,"navigation":176,"icon":177,"path":178},"Optimistic updates","content:docs:3.build:2.write-data:3.optimistic-updates.md","3\u002F2\u002F3",{"icon":177},"i-lucide-gauge","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Foptimistic-updates",{"title":180,"id":181,"canonicalKey":182,"locale":8,"draft":6,"navigation":183,"icon":184,"path":185},"Concurrent operations","content:docs:3.build:2.write-data:4.concurrent-operations.md","3\u002F2\u002F4",{"icon":184},"i-lucide-git-fork","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Fconcurrent-operations",{"title":187,"id":188,"canonicalKey":189,"locale":8,"draft":6,"navigation":190,"icon":191,"path":192},"Form submissions","content:docs:3.build:2.write-data:5.forms.md","3\u002F2\u002F5",{"icon":191},"i-lucide-list-checks","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Fforms",{"title":194,"id":195,"canonicalKey":196,"locale":8,"draft":6,"navigation":197,"icon":198,"path":199},"Multi-step operations","content:docs:3.build:2.write-data:6.multi-step-operations.md","3\u002F2\u002F6",{"icon":198},"i-lucide-list-ordered","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Fmulti-step-operations",{"title":201,"page":6,"canonicalKey":202,"locale":8,"children":203},"Authentication","3\u002F3",[204,210,217,224,230,237,244,251,258,265,272,279,286,293,300,307,314],{"title":201,"id":205,"canonicalKey":206,"locale":8,"draft":6,"navigation":207,"icon":208,"path":209},"content:docs:3.build:3.authentication:1.overview.md","3\u002F3\u002F1",{"icon":208},"i-lucide-shield","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Foverview",{"title":211,"id":212,"canonicalKey":213,"locale":8,"draft":6,"navigation":214,"icon":215,"path":216},"Better Auth setup","content:docs:3.build:3.authentication:2.better-auth-setup.md","3\u002F3\u002F2",{"icon":215},"i-lucide-settings-2","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fbetter-auth-setup",{"title":218,"id":219,"canonicalKey":220,"locale":8,"draft":6,"navigation":221,"icon":222,"path":223},"Auth state and user data","content:docs:3.build:3.authentication:3.auth-state-and-user.md","3\u002F3\u002F3",{"icon":222},"i-lucide-user-round","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fauth-state-and-user",{"title":225,"id":226,"canonicalKey":227,"locale":8,"draft":6,"navigation":228,"icon":80,"path":229},"Sign in and sign out","content:docs:3.build:3.authentication:4.sign-in-and-sign-out.md","3\u002F3\u002F4",{"icon":80},"\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fsign-in-and-sign-out",{"title":231,"id":232,"canonicalKey":233,"locale":8,"draft":6,"navigation":234,"icon":235,"path":236},"Route protection","content:docs:3.build:3.authentication:5.route-protection.md","3\u002F3\u002F5",{"icon":235},"i-lucide-route","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Froute-protection",{"title":238,"id":239,"canonicalKey":240,"locale":8,"draft":6,"navigation":241,"icon":242,"path":243},"Backend authorization","content:docs:3.build:3.authentication:6.backend-authorization.md","3\u002F3\u002F6",{"icon":242},"i-lucide-lock-keyhole","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fbackend-authorization",{"title":245,"id":246,"canonicalKey":247,"locale":8,"draft":6,"navigation":248,"icon":249,"path":250},"Better Auth plugins","content:docs:3.build:3.authentication:7.better-auth-plugins.md","3\u002F3\u002F7",{"icon":249},"i-lucide-plug","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fbetter-auth-plugins",{"title":252,"id":253,"canonicalKey":254,"locale":8,"draft":6,"navigation":255,"icon":256,"path":257},"Custom user fields","content:docs:3.build:3.authentication:8.custom-user-fields.md","3\u002F3\u002F8",{"icon":256},"i-lucide-user-cog","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fcustom-user-fields",{"title":259,"id":260,"canonicalKey":261,"locale":8,"draft":6,"navigation":262,"icon":263,"path":264},"User synchronization","content:docs:3.build:3.authentication:9.user-synchronization.md","3\u002F3\u002F9",{"icon":263},"i-lucide-refresh-ccw","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fuser-synchronization",{"title":266,"id":267,"canonicalKey":268,"locale":8,"draft":6,"navigation":269,"icon":270,"path":271},"Delegated OAuth and MCP","content:docs:3.build:3.authentication:10.delegated-oauth-and-mcp.md","3\u002F3\u002F10",{"icon":270},"i-lucide-bot","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fdelegated-oauth-and-mcp",{"title":273,"id":274,"canonicalKey":275,"locale":8,"draft":6,"navigation":276,"icon":277,"path":278},"Transactional auth email","content:docs:3.build:3.authentication:11.transactional-email.md","3\u002F3\u002F11",{"icon":277},"i-lucide-mail","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Ftransactional-email",{"title":280,"id":281,"canonicalKey":282,"locale":8,"draft":6,"navigation":283,"icon":284,"path":285},"Social sign-in","content:docs:3.build:3.authentication:12.social-sign-in.md","3\u002F3\u002F12",{"icon":284},"i-lucide-github","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fsocial-sign-in",{"title":287,"id":288,"canonicalKey":289,"locale":8,"draft":6,"navigation":290,"icon":291,"path":292},"Better Auth plugin support","content:docs:3.build:3.authentication:13.better-auth-plugin-support.md","3\u002F3\u002F13",{"icon":291},"i-lucide-puzzle","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fbetter-auth-plugin-support",{"title":294,"id":295,"canonicalKey":296,"locale":8,"draft":6,"navigation":297,"icon":298,"path":299},"Cacheable public pages","content:docs:3.build:3.authentication:14.cacheable-public-pages.md","3\u002F3\u002F14",{"icon":298},"i-lucide-globe","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fcacheable-public-pages",{"title":301,"id":302,"canonicalKey":303,"locale":8,"draft":6,"navigation":304,"icon":305,"path":306},"Several sites on one deployment","content:docs:3.build:3.authentication:15.multiple-site-origins.md","3\u002F3\u002F15",{"icon":305},"i-lucide-network","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fmultiple-site-origins",{"title":308,"id":309,"canonicalKey":310,"locale":8,"draft":6,"navigation":311,"icon":312,"path":313},"Account deletion","content:docs:3.build:3.authentication:16.account-deletion.md","3\u002F3\u002F16",{"icon":312},"i-lucide-user-x","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Faccount-deletion",{"title":315,"id":316,"canonicalKey":317,"locale":8,"draft":6,"navigation":318,"icon":319,"path":320},"Company sign-in (OIDC)","content:docs:3.build:3.authentication:17.company-sign-in.md","3\u002F3\u002F17",{"icon":319},"i-lucide-building-2","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fcompany-sign-in",{"title":322,"page":6,"canonicalKey":323,"locale":8,"children":324},"Server","3\u002F4",[325,332,339,346],{"title":326,"id":327,"canonicalKey":328,"locale":8,"draft":6,"navigation":329,"icon":330,"path":331},"serverConvex","content:docs:3.build:4.server:1.server-convex.md","3\u002F4\u002F1",{"icon":330},"i-lucide-server","\u002Fdocs\u002Fbuild\u002Fserver\u002Fserver-convex",{"title":333,"id":334,"canonicalKey":335,"locale":8,"draft":6,"navigation":336,"icon":337,"path":338},"Server routes","content:docs:3.build:4.server:2.server-routes.md","3\u002F4\u002F2",{"icon":337},"i-lucide-waypoints","\u002Fdocs\u002Fbuild\u002Fserver\u002Fserver-routes",{"title":340,"id":341,"canonicalKey":342,"locale":8,"draft":6,"navigation":343,"icon":344,"path":345},"Webhooks and jobs","content:docs:3.build:4.server:3.webhooks-and-jobs.md","3\u002F4\u002F3",{"icon":344},"i-lucide-webhook","\u002Fdocs\u002Fbuild\u002Fserver\u002Fwebhooks-and-jobs",{"title":347,"id":348,"canonicalKey":349,"locale":8,"draft":6,"navigation":350,"icon":351,"path":352},"Credentials and server security","content:docs:3.build:4.server:4.credentials-and-security.md","3\u002F4\u002F4",{"icon":351},"i-lucide-key-round","\u002Fdocs\u002Fbuild\u002Fserver\u002Fcredentials-and-security",{"title":354,"page":6,"canonicalKey":355,"locale":8,"children":356},"Files","3\u002F5",[357,364,371,378],{"title":358,"id":359,"canonicalKey":360,"locale":8,"draft":6,"navigation":361,"icon":362,"path":363},"Upload files","content:docs:3.build:5.files:1.upload-files.md","3\u002F5\u002F1",{"icon":362},"i-lucide-upload","\u002Fdocs\u002Fbuild\u002Ffiles\u002Fupload-files",{"title":365,"id":366,"canonicalKey":367,"locale":8,"draft":6,"navigation":368,"icon":369,"path":370},"Storage URLs","content:docs:3.build:5.files:3.storage-urls.md","3\u002F5\u002F3",{"icon":369},"i-lucide-link","\u002Fdocs\u002Fbuild\u002Ffiles\u002Fstorage-urls",{"title":372,"id":373,"canonicalKey":374,"locale":8,"draft":6,"navigation":375,"icon":376,"path":377},"File validation and deletion","content:docs:3.build:5.files:4.validation-and-deletion.md","3\u002F5\u002F4",{"icon":376},"i-lucide-file-x","\u002Fdocs\u002Fbuild\u002Ffiles\u002Fvalidation-and-deletion",{"title":379,"id":380,"canonicalKey":381,"locale":8,"draft":6,"navigation":382,"icon":383,"path":384},"Private downloads","content:docs:3.build:5.files:5.private-downloads.md","3\u002F5\u002F5",{"icon":383},"i-lucide-file-lock","\u002Fdocs\u002Fbuild\u002Ffiles\u002Fprivate-downloads",{"title":386,"page":6,"canonicalKey":387,"locale":8,"children":388},"Application Behavior","3\u002F6",[389,396,403,410,417,424],{"title":390,"id":391,"canonicalKey":392,"locale":8,"draft":6,"navigation":393,"icon":394,"path":395},"Connection state","content:docs:3.build:6.application-behavior:1.connection-state.md","3\u002F6\u002F1",{"icon":394},"i-lucide-wifi","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Fconnection-state",{"title":397,"id":398,"canonicalKey":399,"locale":8,"draft":6,"navigation":400,"icon":401,"path":402},"Error handling","content:docs:3.build:6.application-behavior:2.error-handling.md","3\u002F6\u002F2",{"icon":401},"i-lucide-circle-alert","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Ferror-handling",{"title":404,"id":405,"canonicalKey":406,"locale":8,"draft":6,"navigation":407,"icon":408,"path":409},"Logging","content:docs:3.build:6.application-behavior:3.logging.md","3\u002F6\u002F3",{"icon":408},"i-lucide-scroll-text","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Flogging",{"title":411,"id":412,"canonicalKey":413,"locale":8,"draft":6,"navigation":414,"icon":415,"path":416},"DevTools","content:docs:3.build:6.application-behavior:4.devtools.md","3\u002F6\u002F4",{"icon":415},"i-lucide-wrench","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Fdevtools",{"title":418,"id":419,"canonicalKey":420,"locale":8,"draft":6,"navigation":421,"icon":422,"path":423},"Performance","content:docs:3.build:6.application-behavior:5.performance.md","3\u002F6\u002F5",{"icon":422},"i-lucide-chart-no-axes-combined","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Fperformance",{"title":425,"id":426,"canonicalKey":427,"locale":8,"draft":6,"navigation":428,"icon":429,"path":430},"Start the client on demand","content:docs:3.build:6.application-behavior:6.on-demand-client.md","3\u002F6\u002F6",{"icon":429},"i-lucide-power","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Fon-demand-client",{"title":432,"page":6,"canonicalKey":433,"locale":8,"id":434,"draft":6,"icon":270,"children":435},"Agents and MCP","3\u002F7","content:docs:3.build:7.agents:.navigation.yml",[436,442,449,456,463,469,475],{"title":437,"id":438,"canonicalKey":439,"locale":8,"draft":6,"navigation":440,"icon":415,"path":441},"Tools and approvals","content:docs:3.build:7.agents:1.tools-and-approvals.md","3\u002F7\u002F1",{"icon":415},"\u002Fdocs\u002Fbuild\u002Fagents\u002Ftools-and-approvals",{"title":443,"id":444,"canonicalKey":445,"locale":8,"draft":6,"navigation":446,"icon":447,"path":448},"The MCP door","content:docs:3.build:7.agents:2.mcp-door.md","3\u002F7\u002F2",{"icon":447},"i-lucide-door-open","\u002Fdocs\u002Fbuild\u002Fagents\u002Fmcp-door",{"title":450,"id":451,"canonicalKey":452,"locale":8,"draft":6,"navigation":453,"icon":454,"path":455},"Limits","content:docs:3.build:7.agents:3.limits.md","3\u002F7\u002F3",{"icon":454},"i-lucide-traffic-cone","\u002Fdocs\u002Fbuild\u002Fagents\u002Flimits",{"title":457,"id":458,"canonicalKey":459,"locale":8,"draft":6,"navigation":460,"icon":461,"path":462},"MCP on Convex","content:docs:3.build:7.agents:4.mcp.md","3\u002F7\u002F4",{"icon":461},"i-lucide-plug-zap","\u002Fdocs\u002Fbuild\u002Fagents\u002Fmcp",{"title":464,"id":465,"canonicalKey":466,"locale":8,"draft":6,"navigation":467,"icon":249,"path":468},"Add MCP to your application","content:docs:3.build:7.agents:5.mcp-application.md","3\u002F7\u002F5",{"icon":249},"\u002Fdocs\u002Fbuild\u002Fagents\u002Fmcp-application",{"title":470,"id":471,"canonicalKey":472,"locale":8,"draft":6,"navigation":473,"icon":369,"path":474},"Connect ChatGPT and Claude","content:docs:3.build:7.agents:6.connect-chatgpt-and-claude.md","3\u002F7\u002F6",{"icon":369},"\u002Fdocs\u002Fbuild\u002Fagents\u002Fconnect-chatgpt-and-claude",{"title":476,"id":477,"canonicalKey":478,"locale":8,"draft":6,"navigation":479,"icon":108,"path":480},"MCP Apps","content:docs:3.build:7.agents:7.mcp-apps.md","3\u002F7\u002F7",{"icon":108},"\u002Fdocs\u002Fbuild\u002Fagents\u002Fmcp-apps",{"title":482,"page":6,"canonicalKey":483,"locale":8,"id":484,"draft":6,"icon":485,"children":486},"Operations and policy","3\u002F8","content:docs:3.build:8.functions:.navigation.yml","i-lucide-shield-half",[487,494,500,507,514,521,527,534],{"title":488,"id":489,"canonicalKey":490,"locale":8,"draft":6,"navigation":491,"icon":492,"path":493},"Start here","content:docs:3.build:8.functions:1.start-here.md","3\u002F8\u002F1",{"icon":492},"i-lucide-flag","\u002Fdocs\u002Fbuild\u002Ffunctions\u002Fstart-here",{"title":495,"id":496,"canonicalKey":497,"locale":8,"draft":6,"navigation":498,"icon":39,"path":499},"Policy and roles","content:docs:3.build:8.functions:2.policy-and-roles.md","3\u002F8\u002F2",{"icon":39},"\u002Fdocs\u002Fbuild\u002Ffunctions\u002Fpolicy-and-roles",{"title":501,"id":502,"canonicalKey":503,"locale":8,"draft":6,"navigation":504,"icon":505,"path":506},"Row rules","content:docs:3.build:8.functions:3.row-rules.md","3\u002F8\u002F3",{"icon":505},"i-lucide-rows-3","\u002Fdocs\u002Fbuild\u002Ffunctions\u002Frow-rules",{"title":508,"id":509,"canonicalKey":510,"locale":8,"draft":6,"navigation":511,"icon":512,"path":513},"Internal operations","content:docs:3.build:8.functions:4.internal-operations.md","3\u002F8\u002F4",{"icon":512},"i-lucide-workflow","\u002Fdocs\u002Fbuild\u002Ffunctions\u002Finternal-operations",{"title":515,"id":516,"canonicalKey":517,"locale":8,"draft":6,"navigation":518,"icon":519,"path":520},"Test your app","content:docs:3.build:8.functions:5.testing.md","3\u002F8\u002F5",{"icon":519},"i-lucide-flask-conical","\u002Fdocs\u002Fbuild\u002Ffunctions\u002Ftesting",{"title":522,"id":523,"canonicalKey":524,"locale":8,"draft":6,"navigation":525,"icon":177,"path":526},"Cost","content:docs:3.build:8.functions:6.cost.md","3\u002F8\u002F6",{"icon":177},"\u002Fdocs\u002Fbuild\u002Ffunctions\u002Fcost",{"title":528,"id":529,"canonicalKey":530,"locale":8,"draft":6,"navigation":531,"icon":532,"path":533},"Threat model","content:docs:3.build:8.functions:7.threat-model.md","3\u002F8\u002F7",{"icon":532},"i-lucide-shield-alert","\u002Fdocs\u002Fbuild\u002Ffunctions\u002Fthreat-model",{"title":535,"id":536,"canonicalKey":537,"locale":8,"draft":6,"navigation":538,"icon":408,"path":539},"Rate limits, audit log and call events","content:docs:3.build:8.functions:8.limits-and-audit.md","3\u002F8\u002F8",{"icon":408},"\u002Fdocs\u002Fbuild\u002Ffunctions\u002Flimits-and-audit",{"title":541,"page":6,"canonicalKey":542,"locale":8,"id":543,"draft":6,"icon":544,"children":545},"Recipes","4","content:docs:4.recipes:.navigation.yml","i-lucide-cooking-pot",[546,553,560,567,574,581,587,593,599,605,612,619,626,633,638],{"title":547,"id":548,"canonicalKey":549,"locale":8,"draft":6,"navigation":550,"icon":551,"path":552},"Protected dashboard","content:docs:4.recipes:1.protected-dashboard.md","4\u002F1",{"icon":551},"i-lucide-layout-dashboard","\u002Fdocs\u002Frecipes\u002Fprotected-dashboard",{"title":554,"id":555,"canonicalKey":556,"locale":8,"draft":6,"navigation":557,"icon":558,"path":559},"Real-time feed","content:docs:4.recipes:2.realtime-feed.md","4\u002F2",{"icon":558},"i-lucide-messages-square","\u002Fdocs\u002Frecipes\u002Frealtime-feed",{"title":561,"id":562,"canonicalKey":563,"locale":8,"draft":6,"navigation":564,"icon":565,"path":566},"Optimistic todo list","content:docs:4.recipes:3.optimistic-todo-list.md","4\u002F3",{"icon":565},"i-lucide-list-todo","\u002Fdocs\u002Frecipes\u002Foptimistic-todo-list",{"title":568,"id":569,"canonicalKey":570,"locale":8,"draft":6,"navigation":571,"icon":572,"path":573},"Infinite scroll","content:docs:4.recipes:4.infinite-scroll.md","4\u002F4",{"icon":572},"i-lucide-mouse","\u002Fdocs\u002Frecipes\u002Finfinite-scroll",{"title":575,"id":576,"canonicalKey":577,"locale":8,"draft":6,"navigation":578,"icon":579,"path":580},"File upload form","content:docs:4.recipes:5.file-upload-form.md","4\u002F5",{"icon":579},"i-lucide-file-up","\u002Fdocs\u002Frecipes\u002Ffile-upload-form",{"title":582,"id":583,"canonicalKey":584,"locale":8,"draft":6,"navigation":585,"icon":319,"path":586},"Organization permissions","content:docs:4.recipes:6.organization-permissions.md","4\u002F6",{"icon":319},"\u002Fdocs\u002Frecipes\u002Forganization-permissions",{"title":588,"id":589,"canonicalKey":590,"locale":8,"draft":6,"navigation":591,"icon":330,"path":592},"Authenticated server route","content:docs:4.recipes:7.authenticated-server-route.md","4\u002F7",{"icon":330},"\u002Fdocs\u002Frecipes\u002Fauthenticated-server-route",{"title":594,"id":595,"canonicalKey":596,"locale":8,"draft":6,"navigation":597,"icon":108,"path":598},"Public and private data","content:docs:4.recipes:8.public-and-private-data.md","4\u002F8",{"icon":108},"\u002Fdocs\u002Frecipes\u002Fpublic-and-private-data",{"title":600,"id":601,"canonicalKey":602,"locale":8,"draft":6,"navigation":603,"icon":519,"path":604},"Test signed-in screens","content:docs:4.recipes:9.component-testing.md","4\u002F9",{"icon":519},"\u002Fdocs\u002Frecipes\u002Fcomponent-testing",{"title":606,"id":607,"canonicalKey":608,"locale":8,"draft":6,"navigation":609,"icon":610,"path":611},"Time-based data","content:docs:4.recipes:10.time-based-data.md","4\u002F10",{"icon":610},"i-lucide-clock","\u002Fdocs\u002Frecipes\u002Ftime-based-data",{"title":613,"id":614,"canonicalKey":615,"locale":8,"draft":6,"navigation":616,"icon":617,"path":618},"A list of queries","content:docs:4.recipes:11.dynamic-query-list.md","4\u002F11",{"icon":617},"i-lucide-list-tree","\u002Fdocs\u002Frecipes\u002Fdynamic-query-list",{"title":620,"id":621,"canonicalKey":622,"locale":8,"draft":6,"navigation":623,"icon":624,"path":625},"Error messages","content:docs:4.recipes:12.error-messages.md","4\u002F12",{"icon":624},"i-lucide-message-circle-warning","\u002Fdocs\u002Frecipes\u002Ferror-messages",{"title":627,"id":628,"canonicalKey":629,"locale":8,"draft":6,"navigation":630,"icon":631,"path":632},"Several file uploads","content:docs:4.recipes:13.multiple-file-uploads.md","4\u002F13",{"icon":631},"i-lucide-files","\u002Fdocs\u002Frecipes\u002Fmultiple-file-uploads",{"title":634,"id":635,"canonicalKey":636,"locale":8,"draft":6,"path":637},"Guest users","content:docs:4.recipes:15.guest-users.md","4\u002F15","\u002Fdocs\u002Frecipes\u002Fguest-users",{"title":639,"id":640,"canonicalKey":641,"locale":8,"draft":6,"path":642},"Sign-in link","content:docs:4.recipes:16.sign-in-link.md","4\u002F16","\u002Fdocs\u002Frecipes\u002Fsign-in-link",{"title":644,"page":6,"canonicalKey":645,"locale":8,"id":646,"draft":6,"icon":647,"children":648},"Concepts","5","content:docs:5.concepts:.navigation.yml","i-lucide-brain",[649,655,661,668,674,681,687,694,701],{"title":650,"id":651,"canonicalKey":652,"locale":8,"draft":6,"navigation":653,"icon":647,"path":654},"Mental model","content:docs:5.concepts:1.mental-model.md","5\u002F1",{"icon":647},"\u002Fdocs\u002Fconcepts\u002Fmental-model",{"title":656,"id":657,"canonicalKey":658,"locale":8,"draft":6,"navigation":659,"icon":235,"path":660},"Request lifecycle","content:docs:5.concepts:2.request-lifecycle.md","5\u002F2",{"icon":235},"\u002Fdocs\u002Fconcepts\u002Frequest-lifecycle",{"title":662,"id":663,"canonicalKey":664,"locale":8,"draft":6,"navigation":665,"icon":666,"path":667},"SSR, hydration, and real-time","content:docs:5.concepts:3.ssr-hydration-realtime.md","5\u002F3",{"icon":666},"i-lucide-refresh-cw","\u002Fdocs\u002Fconcepts\u002Fssr-hydration-realtime",{"title":669,"id":670,"canonicalKey":671,"locale":8,"draft":6,"navigation":672,"icon":124,"path":673},"Query state and caching","content:docs:5.concepts:4.query-ownership-and-caching.md","5\u002F4",{"icon":124},"\u002Fdocs\u002Fconcepts\u002Fquery-ownership-and-caching",{"title":675,"id":676,"canonicalKey":677,"locale":8,"draft":6,"navigation":678,"icon":679,"path":680},"Authentication and identity","content:docs:5.concepts:5.authentication-and-identity.md","5\u002F5",{"icon":679},"i-lucide-fingerprint","\u002Fdocs\u002Fconcepts\u002Fauthentication-and-identity",{"title":682,"id":683,"canonicalKey":684,"locale":8,"draft":6,"navigation":685,"icon":108,"path":686},"Server and client boundaries","content:docs:5.concepts:6.server-and-client-boundaries.md","5\u002F6",{"icon":108},"\u002Fdocs\u002Fconcepts\u002Fserver-and-client-boundaries",{"title":688,"id":689,"canonicalKey":690,"locale":8,"draft":6,"navigation":691,"icon":692,"path":693},"Errors and failures","content:docs:5.concepts:7.errors-and-failures.md","5\u002F7",{"icon":692},"i-lucide-circle-x","\u002Fdocs\u002Fconcepts\u002Ferrors-and-failures",{"title":695,"id":696,"canonicalKey":697,"locale":8,"draft":6,"navigation":698,"icon":699,"path":700},"Design decisions","content:docs:5.concepts:8.design-decisions.md","5\u002F8",{"icon":699},"i-lucide-git-branch","\u002Fdocs\u002Fconcepts\u002Fdesign-decisions",{"title":702,"id":703,"canonicalKey":704,"locale":8,"draft":6,"navigation":705,"icon":706,"path":707},"Glossary","content:docs:5.concepts:9.glossary.md","5\u002F9",{"icon":706},"i-lucide-book-a","\u002Fdocs\u002Fconcepts\u002Fglossary",{"title":709,"page":6,"canonicalKey":710,"locale":8,"id":711,"draft":6,"icon":215,"children":712},"Operations","6","content:docs:6.operations:.navigation.yml",[713,719,726,733,739,746,752,759,765],{"title":714,"id":715,"canonicalKey":716,"locale":8,"draft":6,"navigation":717,"icon":45,"path":718},"Deployment","content:docs:6.operations:1.deployment.md","6\u002F1",{"icon":45},"\u002Fdocs\u002Foperations\u002Fdeployment",{"title":720,"id":721,"canonicalKey":722,"locale":8,"draft":6,"navigation":723,"icon":724,"path":725},"Environment variables","content:docs:6.operations:2.environment-variables.md","6\u002F2",{"icon":724},"i-lucide-variable","\u002Fdocs\u002Foperations\u002Fenvironment-variables",{"title":727,"id":728,"canonicalKey":729,"locale":8,"draft":6,"navigation":730,"icon":731,"path":732},"Deploy to Vercel","content:docs:6.operations:3.deploy-to-vercel.md","6\u002F3",{"icon":731},"i-lucide-triangle","\u002Fdocs\u002Foperations\u002Fdeploy-to-vercel",{"title":734,"id":735,"canonicalKey":736,"locale":8,"draft":6,"navigation":737,"icon":415,"path":738},"Troubleshooting","content:docs:6.operations:4.troubleshooting.md","6\u002F4",{"icon":415},"\u002Fdocs\u002Foperations\u002Ftroubleshooting",{"title":740,"id":741,"canonicalKey":742,"locale":8,"draft":6,"navigation":743,"icon":744,"path":745},"Release compatibility","content:docs:6.operations:5.release-compatibility.md","6\u002F5",{"icon":744},"i-lucide-badge-check","\u002Fdocs\u002Foperations\u002Frelease-compatibility",{"title":747,"id":748,"canonicalKey":749,"locale":8,"draft":6,"navigation":750,"icon":87,"path":751},"Security model","content:docs:6.operations:6.security-model.md","6\u002F6",{"icon":87},"\u002Fdocs\u002Foperations\u002Fsecurity-model",{"title":753,"id":754,"canonicalKey":755,"locale":8,"draft":6,"navigation":756,"icon":757,"path":758},"Upgrade to 1.0","content:docs:6.operations:7.upgrade-to-1-0.md","6\u002F7",{"icon":757},"i-lucide-arrow-up-circle","\u002Fdocs\u002Foperations\u002Fupgrade-to-1-0",{"title":760,"id":761,"canonicalKey":762,"locale":8,"draft":6,"navigation":763,"icon":45,"path":764},"Before your app goes live","content:docs:6.operations:8.before-launch.md","6\u002F8",{"icon":45},"\u002Fdocs\u002Foperations\u002Fbefore-launch",{"title":766,"id":767,"canonicalKey":768,"locale":8,"draft":6,"navigation":769,"icon":770,"path":771},"Log streams and PostHog","content:docs:6.operations:9.log-streams.md","6\u002F9",{"icon":770},"i-lucide-activity","\u002Fdocs\u002Foperations\u002Flog-streams",{"title":773,"page":6,"canonicalKey":774,"locale":8,"id":775,"draft":6,"icon":776,"children":777},"Reference","7","content:docs:7.reference:.navigation.yml","i-lucide-braces",[778,784,790,796,803,810,817,823,830],{"title":779,"id":780,"canonicalKey":781,"locale":8,"draft":6,"navigation":782,"icon":776,"path":783},"Composables","content:docs:7.reference:1.composables.md","7\u002F1",{"icon":776},"\u002Fdocs\u002Freference\u002Fcomposables",{"title":785,"id":786,"canonicalKey":787,"locale":8,"draft":6,"navigation":788,"icon":330,"path":789},"Server API","content:docs:7.reference:3.server-api.md","7\u002F3",{"icon":330},"\u002Fdocs\u002Freference\u002Fserver-api",{"title":791,"id":792,"canonicalKey":793,"locale":8,"draft":6,"navigation":794,"icon":692,"path":795},"Error types","content:docs:7.reference:4.error-types.md","7\u002F4",{"icon":692},"\u002Fdocs\u002Freference\u002Ferror-types",{"title":797,"id":798,"canonicalKey":799,"locale":8,"draft":6,"navigation":800,"icon":801,"path":802},"Module configuration","content:docs:7.reference:5.module-configuration.md","7\u002F5",{"icon":801},"i-lucide-settings","\u002Fdocs\u002Freference\u002Fmodule-configuration",{"title":804,"id":805,"canonicalKey":806,"locale":8,"draft":6,"navigation":807,"icon":808,"path":809},"Package exports","content:docs:7.reference:6.package-exports.md","7\u002F6",{"icon":808},"i-lucide-package-open","\u002Fdocs\u002Freference\u002Fpackage-exports",{"title":811,"id":812,"canonicalKey":813,"locale":8,"draft":6,"navigation":814,"icon":815,"path":816},"API reference","content:docs:7.reference:7.api-surface.md","7\u002F7",{"icon":815},"i-lucide-list","\u002Fdocs\u002Freference\u002Fapi-surface",{"title":818,"id":819,"canonicalKey":820,"locale":8,"draft":6,"navigation":821,"icon":519,"path":822},"Experimental APIs","content:docs:7.reference:8.experimental.md","7\u002F8",{"icon":519},"\u002Fdocs\u002Freference\u002Fexperimental",{"title":824,"id":825,"canonicalKey":826,"locale":8,"draft":6,"navigation":827,"icon":828,"path":829},"Command line","content:docs:7.reference:9.cli.md","7\u002F9",{"icon":828},"i-lucide-terminal","\u002Fdocs\u002Freference\u002Fcli",{"title":831,"id":832,"canonicalKey":833,"locale":8,"draft":6,"navigation":834,"icon":835,"path":836},"Operation error codes","content:docs:7.reference:10.operation-error-codes.md","7\u002F10",{"icon":835},"i-lucide-octagon-alert","\u002Fdocs\u002Freference\u002Foperation-error-codes",{"title":838,"id":839,"canonicalKey":840,"locale":8,"draft":6,"path":841},"Better Convex documentation","content:docs:index.md","\u002F","\u002Fdocs",{"title":69,"description":843,"navigation":844,"body":845,"type":3903,"id":70,"canonicalKey":71,"draft":6,"partial":6,"locale":8,"collection":3904,"navigationFile":6,"file":3905,"route":3911,"resolution":3913},"Add mutations that mark a todo done and delete it, and call them from the list.",{"icon":73},{"type":846,"children":847,"toc":3895},"root",[848,856,863,890,2237,2254,2260,2265,3803,3828,3834,3860,3877],{"type":849,"tag":850,"props":851,"children":852},"element","p",{},[853],{"type":854,"value":855},"text","Add two mutations: one marks a todo as done or not done, the other deletes it. The list from the previous page updates by itself after each one.",{"type":849,"tag":857,"props":858,"children":860},"h2",{"id":859},"add-the-mutations",[861],{"type":854,"value":862},"Add the mutations",{"type":849,"tag":850,"props":864,"children":865},{},[866,868,874,876,881,883,888],{"type":854,"value":867},"Replace ",{"type":849,"tag":869,"props":870,"children":871},"code",{},[872],{"type":854,"value":873},"convex\u002Ftodos.ts",{"type":854,"value":875},". ",{"type":849,"tag":869,"props":877,"children":878},{},[879],{"type":854,"value":880},"list",{"type":854,"value":882}," and ",{"type":849,"tag":869,"props":884,"children":885},{},[886],{"type":854,"value":887},"create",{"type":854,"value":889}," stay the same:",{"type":849,"tag":891,"props":892,"children":895},"pre",{"language":893,"filename":873,"class":894},"ts","shiki shiki-themes light-plus dark-plus dark:dark-plus",[896],{"type":849,"tag":869,"props":897,"children":899},{"class":898},"language-ts",[900,950,952,955,956,994,995,998,999,1008,1009,1017,1018,1053,1054,1067,1068,1111,1112,1201,1202,1210,1211,1219,1220,1223,1224,1252,1253,1288,1289,1333,1334,1377,1378,1428,1429,1451,1452,1470,1471,1488,1489,1497,1498,1506,1507,1575,1576,1583,1584,1591,1592,1595,1596,1624,1625,1667,1668,1711,1712,1775,1776,1842,1843,1919,1920,1927,1928,1935,1936,1939,1940,1968,1969,2008,2009,2052,2053,2112,2113,2172,2173,2221,2222,2229,2230],{"type":849,"tag":901,"props":902,"children":905},"span",{"class":903,"style":904},"line","display: inline",[906,912,918,924,929,934,939,944],{"type":849,"tag":901,"props":907,"children":909},{"style":908},"color:#AF00DB;--shiki-dark:#C586C0",[910],{"type":854,"value":911},"import",{"type":849,"tag":901,"props":913,"children":915},{"style":914},"color:#000000;--shiki-dark:#D4D4D4",[916],{"type":854,"value":917}," { ",{"type":849,"tag":901,"props":919,"children":921},{"style":920},"color:#001080;--shiki-dark:#9CDCFE",[922],{"type":854,"value":923},"ConvexError",{"type":849,"tag":901,"props":925,"children":926},{"style":914},[927],{"type":854,"value":928},", ",{"type":849,"tag":901,"props":930,"children":931},{"style":920},[932],{"type":854,"value":933},"v",{"type":849,"tag":901,"props":935,"children":936},{"style":914},[937],{"type":854,"value":938}," } ",{"type":849,"tag":901,"props":940,"children":941},{"style":908},[942],{"type":854,"value":943},"from",{"type":849,"tag":901,"props":945,"children":947},{"style":946},"color:#A31515;--shiki-dark:#CE9178",[948],{"type":854,"value":949}," 'convex\u002Fvalues'",{"type":854,"value":951},"\n",{"type":849,"tag":901,"props":953,"children":954},{"class":903,"style":904},[],{"type":854,"value":951},{"type":849,"tag":901,"props":957,"children":958},{"class":903,"style":904},[959,963,967,972,976,981,985,989],{"type":849,"tag":901,"props":960,"children":961},{"style":908},[962],{"type":854,"value":911},{"type":849,"tag":901,"props":964,"children":965},{"style":914},[966],{"type":854,"value":917},{"type":849,"tag":901,"props":968,"children":969},{"style":920},[970],{"type":854,"value":971},"mutation",{"type":849,"tag":901,"props":973,"children":974},{"style":914},[975],{"type":854,"value":928},{"type":849,"tag":901,"props":977,"children":978},{"style":920},[979],{"type":854,"value":980},"query",{"type":849,"tag":901,"props":982,"children":983},{"style":914},[984],{"type":854,"value":938},{"type":849,"tag":901,"props":986,"children":987},{"style":908},[988],{"type":854,"value":943},{"type":849,"tag":901,"props":990,"children":991},{"style":946},[992],{"type":854,"value":993}," '.\u002F_generated\u002Fserver'",{"type":854,"value":951},{"type":849,"tag":901,"props":996,"children":997},{"class":903,"style":904},[],{"type":854,"value":951},{"type":849,"tag":901,"props":1000,"children":1001},{"class":903,"style":904},[1002],{"type":849,"tag":901,"props":1003,"children":1005},{"style":1004},"color:#008000;--shiki-dark:#6A9955",[1006],{"type":854,"value":1007},"\u002F\u002F Public on purpose in this step: anyone can call these functions.",{"type":854,"value":951},{"type":849,"tag":901,"props":1010,"children":1011},{"class":903,"style":904},[1012],{"type":849,"tag":901,"props":1013,"children":1014},{"style":1004},[1015],{"type":854,"value":1016},"\u002F\u002F \"Protect data\" adds an owner to each todo and checks the user.",{"type":854,"value":951},{"type":849,"tag":901,"props":1019,"children":1020},{"class":903,"style":904},[1021,1026,1032,1038,1043,1048],{"type":849,"tag":901,"props":1022,"children":1023},{"style":908},[1024],{"type":854,"value":1025},"export",{"type":849,"tag":901,"props":1027,"children":1029},{"style":1028},"color:#0000FF;--shiki-dark:#569CD6",[1030],{"type":854,"value":1031}," const",{"type":849,"tag":901,"props":1033,"children":1035},{"style":1034},"color:#0070C1;--shiki-dark:#4FC1FF",[1036],{"type":854,"value":1037}," list",{"type":849,"tag":901,"props":1039,"children":1040},{"style":914},[1041],{"type":854,"value":1042}," = ",{"type":849,"tag":901,"props":1044,"children":1046},{"style":1045},"color:#795E26;--shiki-dark:#DCDCAA",[1047],{"type":854,"value":980},{"type":849,"tag":901,"props":1049,"children":1050},{"style":914},[1051],{"type":854,"value":1052},"({",{"type":854,"value":951},{"type":849,"tag":901,"props":1055,"children":1056},{"class":903,"style":904},[1057,1062],{"type":849,"tag":901,"props":1058,"children":1059},{"style":920},[1060],{"type":854,"value":1061},"  args:",{"type":849,"tag":901,"props":1063,"children":1064},{"style":914},[1065],{"type":854,"value":1066}," {},",{"type":854,"value":951},{"type":849,"tag":901,"props":1069,"children":1070},{"class":903,"style":904},[1071,1076,1081,1086,1091,1096,1101,1106],{"type":849,"tag":901,"props":1072,"children":1073},{"style":1045},[1074],{"type":854,"value":1075},"  handler",{"type":849,"tag":901,"props":1077,"children":1078},{"style":920},[1079],{"type":854,"value":1080},":",{"type":849,"tag":901,"props":1082,"children":1083},{"style":1028},[1084],{"type":854,"value":1085}," async",{"type":849,"tag":901,"props":1087,"children":1088},{"style":914},[1089],{"type":854,"value":1090}," (",{"type":849,"tag":901,"props":1092,"children":1093},{"style":920},[1094],{"type":854,"value":1095},"ctx",{"type":849,"tag":901,"props":1097,"children":1098},{"style":914},[1099],{"type":854,"value":1100},") ",{"type":849,"tag":901,"props":1102,"children":1103},{"style":1028},[1104],{"type":854,"value":1105},"=>",{"type":849,"tag":901,"props":1107,"children":1108},{"style":914},[1109],{"type":854,"value":1110}," {",{"type":854,"value":951},{"type":849,"tag":901,"props":1113,"children":1114},{"class":903,"style":904},[1115,1120,1125,1130,1135,1140,1144,1148,1153,1158,1163,1168,1172,1177,1181,1186,1190,1196],{"type":849,"tag":901,"props":1116,"children":1117},{"style":908},[1118],{"type":854,"value":1119},"    return",{"type":849,"tag":901,"props":1121,"children":1122},{"style":908},[1123],{"type":854,"value":1124}," await",{"type":849,"tag":901,"props":1126,"children":1127},{"style":920},[1128],{"type":854,"value":1129}," ctx",{"type":849,"tag":901,"props":1131,"children":1132},{"style":914},[1133],{"type":854,"value":1134},".",{"type":849,"tag":901,"props":1136,"children":1137},{"style":920},[1138],{"type":854,"value":1139},"db",{"type":849,"tag":901,"props":1141,"children":1142},{"style":914},[1143],{"type":854,"value":1134},{"type":849,"tag":901,"props":1145,"children":1146},{"style":1045},[1147],{"type":854,"value":980},{"type":849,"tag":901,"props":1149,"children":1150},{"style":914},[1151],{"type":854,"value":1152},"(",{"type":849,"tag":901,"props":1154,"children":1155},{"style":946},[1156],{"type":854,"value":1157},"'todos'",{"type":849,"tag":901,"props":1159,"children":1160},{"style":914},[1161],{"type":854,"value":1162},").",{"type":849,"tag":901,"props":1164,"children":1165},{"style":1045},[1166],{"type":854,"value":1167},"order",{"type":849,"tag":901,"props":1169,"children":1170},{"style":914},[1171],{"type":854,"value":1152},{"type":849,"tag":901,"props":1173,"children":1174},{"style":946},[1175],{"type":854,"value":1176},"'desc'",{"type":849,"tag":901,"props":1178,"children":1179},{"style":914},[1180],{"type":854,"value":1162},{"type":849,"tag":901,"props":1182,"children":1183},{"style":1045},[1184],{"type":854,"value":1185},"take",{"type":849,"tag":901,"props":1187,"children":1188},{"style":914},[1189],{"type":854,"value":1152},{"type":849,"tag":901,"props":1191,"children":1193},{"style":1192},"color:#098658;--shiki-dark:#B5CEA8",[1194],{"type":854,"value":1195},"50",{"type":849,"tag":901,"props":1197,"children":1198},{"style":914},[1199],{"type":854,"value":1200},")",{"type":854,"value":951},{"type":849,"tag":901,"props":1203,"children":1204},{"class":903,"style":904},[1205],{"type":849,"tag":901,"props":1206,"children":1207},{"style":914},[1208],{"type":854,"value":1209},"  },",{"type":854,"value":951},{"type":849,"tag":901,"props":1212,"children":1213},{"class":903,"style":904},[1214],{"type":849,"tag":901,"props":1215,"children":1216},{"style":914},[1217],{"type":854,"value":1218},"})",{"type":854,"value":951},{"type":849,"tag":901,"props":1221,"children":1222},{"class":903,"style":904},[],{"type":854,"value":951},{"type":849,"tag":901,"props":1225,"children":1226},{"class":903,"style":904},[1227,1231,1235,1240,1244,1248],{"type":849,"tag":901,"props":1228,"children":1229},{"style":908},[1230],{"type":854,"value":1025},{"type":849,"tag":901,"props":1232,"children":1233},{"style":1028},[1234],{"type":854,"value":1031},{"type":849,"tag":901,"props":1236,"children":1237},{"style":1034},[1238],{"type":854,"value":1239}," create",{"type":849,"tag":901,"props":1241,"children":1242},{"style":914},[1243],{"type":854,"value":1042},{"type":849,"tag":901,"props":1245,"children":1246},{"style":1045},[1247],{"type":854,"value":971},{"type":849,"tag":901,"props":1249,"children":1250},{"style":914},[1251],{"type":854,"value":1052},{"type":854,"value":951},{"type":849,"tag":901,"props":1254,"children":1255},{"class":903,"style":904},[1256,1260,1264,1269,1274,1278,1283],{"type":849,"tag":901,"props":1257,"children":1258},{"style":920},[1259],{"type":854,"value":1061},{"type":849,"tag":901,"props":1261,"children":1262},{"style":914},[1263],{"type":854,"value":917},{"type":849,"tag":901,"props":1265,"children":1266},{"style":920},[1267],{"type":854,"value":1268},"text:",{"type":849,"tag":901,"props":1270,"children":1271},{"style":920},[1272],{"type":854,"value":1273}," v",{"type":849,"tag":901,"props":1275,"children":1276},{"style":914},[1277],{"type":854,"value":1134},{"type":849,"tag":901,"props":1279,"children":1280},{"style":1045},[1281],{"type":854,"value":1282},"string",{"type":849,"tag":901,"props":1284,"children":1285},{"style":914},[1286],{"type":854,"value":1287},"() },",{"type":854,"value":951},{"type":849,"tag":901,"props":1290,"children":1291},{"class":903,"style":904},[1292,1296,1300,1304,1308,1312,1316,1321,1325,1329],{"type":849,"tag":901,"props":1293,"children":1294},{"style":1045},[1295],{"type":854,"value":1075},{"type":849,"tag":901,"props":1297,"children":1298},{"style":920},[1299],{"type":854,"value":1080},{"type":849,"tag":901,"props":1301,"children":1302},{"style":1028},[1303],{"type":854,"value":1085},{"type":849,"tag":901,"props":1305,"children":1306},{"style":914},[1307],{"type":854,"value":1090},{"type":849,"tag":901,"props":1309,"children":1310},{"style":920},[1311],{"type":854,"value":1095},{"type":849,"tag":901,"props":1313,"children":1314},{"style":914},[1315],{"type":854,"value":928},{"type":849,"tag":901,"props":1317,"children":1318},{"style":920},[1319],{"type":854,"value":1320},"args",{"type":849,"tag":901,"props":1322,"children":1323},{"style":914},[1324],{"type":854,"value":1100},{"type":849,"tag":901,"props":1326,"children":1327},{"style":1028},[1328],{"type":854,"value":1105},{"type":849,"tag":901,"props":1330,"children":1331},{"style":914},[1332],{"type":854,"value":1110},{"type":854,"value":951},{"type":849,"tag":901,"props":1335,"children":1336},{"class":903,"style":904},[1337,1342,1347,1351,1355,1359,1363,1367,1372],{"type":849,"tag":901,"props":1338,"children":1339},{"style":1028},[1340],{"type":854,"value":1341},"    const",{"type":849,"tag":901,"props":1343,"children":1344},{"style":1034},[1345],{"type":854,"value":1346}," text",{"type":849,"tag":901,"props":1348,"children":1349},{"style":914},[1350],{"type":854,"value":1042},{"type":849,"tag":901,"props":1352,"children":1353},{"style":920},[1354],{"type":854,"value":1320},{"type":849,"tag":901,"props":1356,"children":1357},{"style":914},[1358],{"type":854,"value":1134},{"type":849,"tag":901,"props":1360,"children":1361},{"style":920},[1362],{"type":854,"value":854},{"type":849,"tag":901,"props":1364,"children":1365},{"style":914},[1366],{"type":854,"value":1134},{"type":849,"tag":901,"props":1368,"children":1369},{"style":1045},[1370],{"type":854,"value":1371},"trim",{"type":849,"tag":901,"props":1373,"children":1374},{"style":914},[1375],{"type":854,"value":1376},"()",{"type":854,"value":951},{"type":849,"tag":901,"props":1379,"children":1380},{"class":903,"style":904},[1381,1386,1391,1395,1400,1404,1408,1413,1418,1423],{"type":849,"tag":901,"props":1382,"children":1383},{"style":908},[1384],{"type":854,"value":1385},"    if",{"type":849,"tag":901,"props":1387,"children":1388},{"style":914},[1389],{"type":854,"value":1390}," (!",{"type":849,"tag":901,"props":1392,"children":1393},{"style":920},[1394],{"type":854,"value":854},{"type":849,"tag":901,"props":1396,"children":1397},{"style":914},[1398],{"type":854,"value":1399}," || ",{"type":849,"tag":901,"props":1401,"children":1402},{"style":920},[1403],{"type":854,"value":854},{"type":849,"tag":901,"props":1405,"children":1406},{"style":914},[1407],{"type":854,"value":1134},{"type":849,"tag":901,"props":1409,"children":1410},{"style":920},[1411],{"type":854,"value":1412},"length",{"type":849,"tag":901,"props":1414,"children":1415},{"style":914},[1416],{"type":854,"value":1417}," > ",{"type":849,"tag":901,"props":1419,"children":1420},{"style":1192},[1421],{"type":854,"value":1422},"200",{"type":849,"tag":901,"props":1424,"children":1425},{"style":914},[1426],{"type":854,"value":1427},") {",{"type":854,"value":951},{"type":849,"tag":901,"props":1430,"children":1431},{"class":903,"style":904},[1432,1437,1442,1447],{"type":849,"tag":901,"props":1433,"children":1434},{"style":908},[1435],{"type":854,"value":1436},"      throw",{"type":849,"tag":901,"props":1438,"children":1439},{"style":1028},[1440],{"type":854,"value":1441}," new",{"type":849,"tag":901,"props":1443,"children":1444},{"style":1045},[1445],{"type":854,"value":1446}," ConvexError",{"type":849,"tag":901,"props":1448,"children":1449},{"style":914},[1450],{"type":854,"value":1052},{"type":854,"value":951},{"type":849,"tag":901,"props":1453,"children":1454},{"class":903,"style":904},[1455,1460,1465],{"type":849,"tag":901,"props":1456,"children":1457},{"style":920},[1458],{"type":854,"value":1459},"        code:",{"type":849,"tag":901,"props":1461,"children":1462},{"style":946},[1463],{"type":854,"value":1464}," 'INVALID_TODO_TEXT'",{"type":849,"tag":901,"props":1466,"children":1467},{"style":914},[1468],{"type":854,"value":1469},",",{"type":854,"value":951},{"type":849,"tag":901,"props":1472,"children":1473},{"class":903,"style":904},[1474,1479,1484],{"type":849,"tag":901,"props":1475,"children":1476},{"style":920},[1477],{"type":854,"value":1478},"        message:",{"type":849,"tag":901,"props":1480,"children":1481},{"style":946},[1482],{"type":854,"value":1483}," 'Todo text must contain 1 to 200 characters'",{"type":849,"tag":901,"props":1485,"children":1486},{"style":914},[1487],{"type":854,"value":1469},{"type":854,"value":951},{"type":849,"tag":901,"props":1490,"children":1491},{"class":903,"style":904},[1492],{"type":849,"tag":901,"props":1493,"children":1494},{"style":914},[1495],{"type":854,"value":1496},"      })",{"type":854,"value":951},{"type":849,"tag":901,"props":1499,"children":1500},{"class":903,"style":904},[1501],{"type":849,"tag":901,"props":1502,"children":1503},{"style":914},[1504],{"type":854,"value":1505},"    }",{"type":854,"value":951},{"type":849,"tag":901,"props":1508,"children":1509},{"class":903,"style":904},[1510,1514,1518,1522,1526,1530,1534,1539,1543,1547,1552,1556,1560,1565,1570],{"type":849,"tag":901,"props":1511,"children":1512},{"style":908},[1513],{"type":854,"value":1119},{"type":849,"tag":901,"props":1515,"children":1516},{"style":908},[1517],{"type":854,"value":1124},{"type":849,"tag":901,"props":1519,"children":1520},{"style":920},[1521],{"type":854,"value":1129},{"type":849,"tag":901,"props":1523,"children":1524},{"style":914},[1525],{"type":854,"value":1134},{"type":849,"tag":901,"props":1527,"children":1528},{"style":920},[1529],{"type":854,"value":1139},{"type":849,"tag":901,"props":1531,"children":1532},{"style":914},[1533],{"type":854,"value":1134},{"type":849,"tag":901,"props":1535,"children":1536},{"style":1045},[1537],{"type":854,"value":1538},"insert",{"type":849,"tag":901,"props":1540,"children":1541},{"style":914},[1542],{"type":854,"value":1152},{"type":849,"tag":901,"props":1544,"children":1545},{"style":946},[1546],{"type":854,"value":1157},{"type":849,"tag":901,"props":1548,"children":1549},{"style":914},[1550],{"type":854,"value":1551},", { ",{"type":849,"tag":901,"props":1553,"children":1554},{"style":920},[1555],{"type":854,"value":854},{"type":849,"tag":901,"props":1557,"children":1558},{"style":914},[1559],{"type":854,"value":928},{"type":849,"tag":901,"props":1561,"children":1562},{"style":920},[1563],{"type":854,"value":1564},"completed:",{"type":849,"tag":901,"props":1566,"children":1567},{"style":1028},[1568],{"type":854,"value":1569}," false",{"type":849,"tag":901,"props":1571,"children":1572},{"style":914},[1573],{"type":854,"value":1574}," })",{"type":854,"value":951},{"type":849,"tag":901,"props":1577,"children":1578},{"class":903,"style":904},[1579],{"type":849,"tag":901,"props":1580,"children":1581},{"style":914},[1582],{"type":854,"value":1209},{"type":854,"value":951},{"type":849,"tag":901,"props":1585,"children":1586},{"class":903,"style":904},[1587],{"type":849,"tag":901,"props":1588,"children":1589},{"style":914},[1590],{"type":854,"value":1218},{"type":854,"value":951},{"type":849,"tag":901,"props":1593,"children":1594},{"class":903,"style":904},[],{"type":854,"value":951},{"type":849,"tag":901,"props":1597,"children":1598},{"class":903,"style":904},[1599,1603,1607,1612,1616,1620],{"type":849,"tag":901,"props":1600,"children":1601},{"style":908},[1602],{"type":854,"value":1025},{"type":849,"tag":901,"props":1604,"children":1605},{"style":1028},[1606],{"type":854,"value":1031},{"type":849,"tag":901,"props":1608,"children":1609},{"style":1034},[1610],{"type":854,"value":1611}," toggle",{"type":849,"tag":901,"props":1613,"children":1614},{"style":914},[1615],{"type":854,"value":1042},{"type":849,"tag":901,"props":1617,"children":1618},{"style":1045},[1619],{"type":854,"value":971},{"type":849,"tag":901,"props":1621,"children":1622},{"style":914},[1623],{"type":854,"value":1052},{"type":854,"value":951},{"type":849,"tag":901,"props":1626,"children":1627},{"class":903,"style":904},[1628,1632,1636,1641,1645,1649,1654,1658,1662],{"type":849,"tag":901,"props":1629,"children":1630},{"style":920},[1631],{"type":854,"value":1061},{"type":849,"tag":901,"props":1633,"children":1634},{"style":914},[1635],{"type":854,"value":917},{"type":849,"tag":901,"props":1637,"children":1638},{"style":920},[1639],{"type":854,"value":1640},"todoId:",{"type":849,"tag":901,"props":1642,"children":1643},{"style":920},[1644],{"type":854,"value":1273},{"type":849,"tag":901,"props":1646,"children":1647},{"style":914},[1648],{"type":854,"value":1134},{"type":849,"tag":901,"props":1650,"children":1651},{"style":1045},[1652],{"type":854,"value":1653},"id",{"type":849,"tag":901,"props":1655,"children":1656},{"style":914},[1657],{"type":854,"value":1152},{"type":849,"tag":901,"props":1659,"children":1660},{"style":946},[1661],{"type":854,"value":1157},{"type":849,"tag":901,"props":1663,"children":1664},{"style":914},[1665],{"type":854,"value":1666},") },",{"type":854,"value":951},{"type":849,"tag":901,"props":1669,"children":1670},{"class":903,"style":904},[1671,1675,1679,1683,1687,1691,1695,1699,1703,1707],{"type":849,"tag":901,"props":1672,"children":1673},{"style":1045},[1674],{"type":854,"value":1075},{"type":849,"tag":901,"props":1676,"children":1677},{"style":920},[1678],{"type":854,"value":1080},{"type":849,"tag":901,"props":1680,"children":1681},{"style":1028},[1682],{"type":854,"value":1085},{"type":849,"tag":901,"props":1684,"children":1685},{"style":914},[1686],{"type":854,"value":1090},{"type":849,"tag":901,"props":1688,"children":1689},{"style":920},[1690],{"type":854,"value":1095},{"type":849,"tag":901,"props":1692,"children":1693},{"style":914},[1694],{"type":854,"value":928},{"type":849,"tag":901,"props":1696,"children":1697},{"style":920},[1698],{"type":854,"value":1320},{"type":849,"tag":901,"props":1700,"children":1701},{"style":914},[1702],{"type":854,"value":1100},{"type":849,"tag":901,"props":1704,"children":1705},{"style":1028},[1706],{"type":854,"value":1105},{"type":849,"tag":901,"props":1708,"children":1709},{"style":914},[1710],{"type":854,"value":1110},{"type":854,"value":951},{"type":849,"tag":901,"props":1713,"children":1714},{"class":903,"style":904},[1715,1719,1724,1728,1733,1737,1741,1745,1749,1754,1758,1762,1766,1771],{"type":849,"tag":901,"props":1716,"children":1717},{"style":1028},[1718],{"type":854,"value":1341},{"type":849,"tag":901,"props":1720,"children":1721},{"style":1034},[1722],{"type":854,"value":1723}," todo",{"type":849,"tag":901,"props":1725,"children":1726},{"style":914},[1727],{"type":854,"value":1042},{"type":849,"tag":901,"props":1729,"children":1730},{"style":908},[1731],{"type":854,"value":1732},"await",{"type":849,"tag":901,"props":1734,"children":1735},{"style":920},[1736],{"type":854,"value":1129},{"type":849,"tag":901,"props":1738,"children":1739},{"style":914},[1740],{"type":854,"value":1134},{"type":849,"tag":901,"props":1742,"children":1743},{"style":920},[1744],{"type":854,"value":1139},{"type":849,"tag":901,"props":1746,"children":1747},{"style":914},[1748],{"type":854,"value":1134},{"type":849,"tag":901,"props":1750,"children":1751},{"style":1045},[1752],{"type":854,"value":1753},"get",{"type":849,"tag":901,"props":1755,"children":1756},{"style":914},[1757],{"type":854,"value":1152},{"type":849,"tag":901,"props":1759,"children":1760},{"style":920},[1761],{"type":854,"value":1320},{"type":849,"tag":901,"props":1763,"children":1764},{"style":914},[1765],{"type":854,"value":1134},{"type":849,"tag":901,"props":1767,"children":1768},{"style":920},[1769],{"type":854,"value":1770},"todoId",{"type":849,"tag":901,"props":1772,"children":1773},{"style":914},[1774],{"type":854,"value":1200},{"type":854,"value":951},{"type":849,"tag":901,"props":1777,"children":1778},{"class":903,"style":904},[1779,1783,1787,1792,1796,1801,1805,1809,1814,1819,1824,1828,1833,1838],{"type":849,"tag":901,"props":1780,"children":1781},{"style":908},[1782],{"type":854,"value":1385},{"type":849,"tag":901,"props":1784,"children":1785},{"style":914},[1786],{"type":854,"value":1390},{"type":849,"tag":901,"props":1788,"children":1789},{"style":920},[1790],{"type":854,"value":1791},"todo",{"type":849,"tag":901,"props":1793,"children":1794},{"style":914},[1795],{"type":854,"value":1100},{"type":849,"tag":901,"props":1797,"children":1798},{"style":908},[1799],{"type":854,"value":1800},"throw",{"type":849,"tag":901,"props":1802,"children":1803},{"style":1028},[1804],{"type":854,"value":1441},{"type":849,"tag":901,"props":1806,"children":1807},{"style":1045},[1808],{"type":854,"value":1446},{"type":849,"tag":901,"props":1810,"children":1811},{"style":914},[1812],{"type":854,"value":1813},"({ ",{"type":849,"tag":901,"props":1815,"children":1816},{"style":920},[1817],{"type":854,"value":1818},"code:",{"type":849,"tag":901,"props":1820,"children":1821},{"style":946},[1822],{"type":854,"value":1823}," 'TODO_NOT_FOUND'",{"type":849,"tag":901,"props":1825,"children":1826},{"style":914},[1827],{"type":854,"value":928},{"type":849,"tag":901,"props":1829,"children":1830},{"style":920},[1831],{"type":854,"value":1832},"message:",{"type":849,"tag":901,"props":1834,"children":1835},{"style":946},[1836],{"type":854,"value":1837}," 'Todo not found'",{"type":849,"tag":901,"props":1839,"children":1840},{"style":914},[1841],{"type":854,"value":1574},{"type":854,"value":951},{"type":849,"tag":901,"props":1844,"children":1845},{"class":903,"style":904},[1846,1851,1855,1859,1863,1867,1872,1876,1880,1884,1889,1893,1897,1902,1906,1910,1915],{"type":849,"tag":901,"props":1847,"children":1848},{"style":908},[1849],{"type":854,"value":1850},"    await",{"type":849,"tag":901,"props":1852,"children":1853},{"style":920},[1854],{"type":854,"value":1129},{"type":849,"tag":901,"props":1856,"children":1857},{"style":914},[1858],{"type":854,"value":1134},{"type":849,"tag":901,"props":1860,"children":1861},{"style":920},[1862],{"type":854,"value":1139},{"type":849,"tag":901,"props":1864,"children":1865},{"style":914},[1866],{"type":854,"value":1134},{"type":849,"tag":901,"props":1868,"children":1869},{"style":1045},[1870],{"type":854,"value":1871},"patch",{"type":849,"tag":901,"props":1873,"children":1874},{"style":914},[1875],{"type":854,"value":1152},{"type":849,"tag":901,"props":1877,"children":1878},{"style":920},[1879],{"type":854,"value":1791},{"type":849,"tag":901,"props":1881,"children":1882},{"style":914},[1883],{"type":854,"value":1134},{"type":849,"tag":901,"props":1885,"children":1886},{"style":920},[1887],{"type":854,"value":1888},"_id",{"type":849,"tag":901,"props":1890,"children":1891},{"style":914},[1892],{"type":854,"value":1551},{"type":849,"tag":901,"props":1894,"children":1895},{"style":920},[1896],{"type":854,"value":1564},{"type":849,"tag":901,"props":1898,"children":1899},{"style":914},[1900],{"type":854,"value":1901}," !",{"type":849,"tag":901,"props":1903,"children":1904},{"style":920},[1905],{"type":854,"value":1791},{"type":849,"tag":901,"props":1907,"children":1908},{"style":914},[1909],{"type":854,"value":1134},{"type":849,"tag":901,"props":1911,"children":1912},{"style":920},[1913],{"type":854,"value":1914},"completed",{"type":849,"tag":901,"props":1916,"children":1917},{"style":914},[1918],{"type":854,"value":1574},{"type":854,"value":951},{"type":849,"tag":901,"props":1921,"children":1922},{"class":903,"style":904},[1923],{"type":849,"tag":901,"props":1924,"children":1925},{"style":914},[1926],{"type":854,"value":1209},{"type":854,"value":951},{"type":849,"tag":901,"props":1929,"children":1930},{"class":903,"style":904},[1931],{"type":849,"tag":901,"props":1932,"children":1933},{"style":914},[1934],{"type":854,"value":1218},{"type":854,"value":951},{"type":849,"tag":901,"props":1937,"children":1938},{"class":903,"style":904},[],{"type":854,"value":951},{"type":849,"tag":901,"props":1941,"children":1942},{"class":903,"style":904},[1943,1947,1951,1956,1960,1964],{"type":849,"tag":901,"props":1944,"children":1945},{"style":908},[1946],{"type":854,"value":1025},{"type":849,"tag":901,"props":1948,"children":1949},{"style":1028},[1950],{"type":854,"value":1031},{"type":849,"tag":901,"props":1952,"children":1953},{"style":1034},[1954],{"type":854,"value":1955}," remove",{"type":849,"tag":901,"props":1957,"children":1958},{"style":914},[1959],{"type":854,"value":1042},{"type":849,"tag":901,"props":1961,"children":1962},{"style":1045},[1963],{"type":854,"value":971},{"type":849,"tag":901,"props":1965,"children":1966},{"style":914},[1967],{"type":854,"value":1052},{"type":854,"value":951},{"type":849,"tag":901,"props":1970,"children":1971},{"class":903,"style":904},[1972,1976,1980,1984,1988,1992,1996,2000,2004],{"type":849,"tag":901,"props":1973,"children":1974},{"style":920},[1975],{"type":854,"value":1061},{"type":849,"tag":901,"props":1977,"children":1978},{"style":914},[1979],{"type":854,"value":917},{"type":849,"tag":901,"props":1981,"children":1982},{"style":920},[1983],{"type":854,"value":1640},{"type":849,"tag":901,"props":1985,"children":1986},{"style":920},[1987],{"type":854,"value":1273},{"type":849,"tag":901,"props":1989,"children":1990},{"style":914},[1991],{"type":854,"value":1134},{"type":849,"tag":901,"props":1993,"children":1994},{"style":1045},[1995],{"type":854,"value":1653},{"type":849,"tag":901,"props":1997,"children":1998},{"style":914},[1999],{"type":854,"value":1152},{"type":849,"tag":901,"props":2001,"children":2002},{"style":946},[2003],{"type":854,"value":1157},{"type":849,"tag":901,"props":2005,"children":2006},{"style":914},[2007],{"type":854,"value":1666},{"type":854,"value":951},{"type":849,"tag":901,"props":2010,"children":2011},{"class":903,"style":904},[2012,2016,2020,2024,2028,2032,2036,2040,2044,2048],{"type":849,"tag":901,"props":2013,"children":2014},{"style":1045},[2015],{"type":854,"value":1075},{"type":849,"tag":901,"props":2017,"children":2018},{"style":920},[2019],{"type":854,"value":1080},{"type":849,"tag":901,"props":2021,"children":2022},{"style":1028},[2023],{"type":854,"value":1085},{"type":849,"tag":901,"props":2025,"children":2026},{"style":914},[2027],{"type":854,"value":1090},{"type":849,"tag":901,"props":2029,"children":2030},{"style":920},[2031],{"type":854,"value":1095},{"type":849,"tag":901,"props":2033,"children":2034},{"style":914},[2035],{"type":854,"value":928},{"type":849,"tag":901,"props":2037,"children":2038},{"style":920},[2039],{"type":854,"value":1320},{"type":849,"tag":901,"props":2041,"children":2042},{"style":914},[2043],{"type":854,"value":1100},{"type":849,"tag":901,"props":2045,"children":2046},{"style":1028},[2047],{"type":854,"value":1105},{"type":849,"tag":901,"props":2049,"children":2050},{"style":914},[2051],{"type":854,"value":1110},{"type":854,"value":951},{"type":849,"tag":901,"props":2054,"children":2055},{"class":903,"style":904},[2056,2060,2064,2068,2072,2076,2080,2084,2088,2092,2096,2100,2104,2108],{"type":849,"tag":901,"props":2057,"children":2058},{"style":1028},[2059],{"type":854,"value":1341},{"type":849,"tag":901,"props":2061,"children":2062},{"style":1034},[2063],{"type":854,"value":1723},{"type":849,"tag":901,"props":2065,"children":2066},{"style":914},[2067],{"type":854,"value":1042},{"type":849,"tag":901,"props":2069,"children":2070},{"style":908},[2071],{"type":854,"value":1732},{"type":849,"tag":901,"props":2073,"children":2074},{"style":920},[2075],{"type":854,"value":1129},{"type":849,"tag":901,"props":2077,"children":2078},{"style":914},[2079],{"type":854,"value":1134},{"type":849,"tag":901,"props":2081,"children":2082},{"style":920},[2083],{"type":854,"value":1139},{"type":849,"tag":901,"props":2085,"children":2086},{"style":914},[2087],{"type":854,"value":1134},{"type":849,"tag":901,"props":2089,"children":2090},{"style":1045},[2091],{"type":854,"value":1753},{"type":849,"tag":901,"props":2093,"children":2094},{"style":914},[2095],{"type":854,"value":1152},{"type":849,"tag":901,"props":2097,"children":2098},{"style":920},[2099],{"type":854,"value":1320},{"type":849,"tag":901,"props":2101,"children":2102},{"style":914},[2103],{"type":854,"value":1134},{"type":849,"tag":901,"props":2105,"children":2106},{"style":920},[2107],{"type":854,"value":1770},{"type":849,"tag":901,"props":2109,"children":2110},{"style":914},[2111],{"type":854,"value":1200},{"type":854,"value":951},{"type":849,"tag":901,"props":2114,"children":2115},{"class":903,"style":904},[2116,2120,2124,2128,2132,2136,2140,2144,2148,2152,2156,2160,2164,2168],{"type":849,"tag":901,"props":2117,"children":2118},{"style":908},[2119],{"type":854,"value":1385},{"type":849,"tag":901,"props":2121,"children":2122},{"style":914},[2123],{"type":854,"value":1390},{"type":849,"tag":901,"props":2125,"children":2126},{"style":920},[2127],{"type":854,"value":1791},{"type":849,"tag":901,"props":2129,"children":2130},{"style":914},[2131],{"type":854,"value":1100},{"type":849,"tag":901,"props":2133,"children":2134},{"style":908},[2135],{"type":854,"value":1800},{"type":849,"tag":901,"props":2137,"children":2138},{"style":1028},[2139],{"type":854,"value":1441},{"type":849,"tag":901,"props":2141,"children":2142},{"style":1045},[2143],{"type":854,"value":1446},{"type":849,"tag":901,"props":2145,"children":2146},{"style":914},[2147],{"type":854,"value":1813},{"type":849,"tag":901,"props":2149,"children":2150},{"style":920},[2151],{"type":854,"value":1818},{"type":849,"tag":901,"props":2153,"children":2154},{"style":946},[2155],{"type":854,"value":1823},{"type":849,"tag":901,"props":2157,"children":2158},{"style":914},[2159],{"type":854,"value":928},{"type":849,"tag":901,"props":2161,"children":2162},{"style":920},[2163],{"type":854,"value":1832},{"type":849,"tag":901,"props":2165,"children":2166},{"style":946},[2167],{"type":854,"value":1837},{"type":849,"tag":901,"props":2169,"children":2170},{"style":914},[2171],{"type":854,"value":1574},{"type":854,"value":951},{"type":849,"tag":901,"props":2174,"children":2175},{"class":903,"style":904},[2176,2180,2184,2188,2192,2196,2201,2205,2209,2213,2217],{"type":849,"tag":901,"props":2177,"children":2178},{"style":908},[2179],{"type":854,"value":1850},{"type":849,"tag":901,"props":2181,"children":2182},{"style":920},[2183],{"type":854,"value":1129},{"type":849,"tag":901,"props":2185,"children":2186},{"style":914},[2187],{"type":854,"value":1134},{"type":849,"tag":901,"props":2189,"children":2190},{"style":920},[2191],{"type":854,"value":1139},{"type":849,"tag":901,"props":2193,"children":2194},{"style":914},[2195],{"type":854,"value":1134},{"type":849,"tag":901,"props":2197,"children":2198},{"style":1045},[2199],{"type":854,"value":2200},"delete",{"type":849,"tag":901,"props":2202,"children":2203},{"style":914},[2204],{"type":854,"value":1152},{"type":849,"tag":901,"props":2206,"children":2207},{"style":920},[2208],{"type":854,"value":1791},{"type":849,"tag":901,"props":2210,"children":2211},{"style":914},[2212],{"type":854,"value":1134},{"type":849,"tag":901,"props":2214,"children":2215},{"style":920},[2216],{"type":854,"value":1888},{"type":849,"tag":901,"props":2218,"children":2219},{"style":914},[2220],{"type":854,"value":1200},{"type":854,"value":951},{"type":849,"tag":901,"props":2223,"children":2224},{"class":903,"style":904},[2225],{"type":849,"tag":901,"props":2226,"children":2227},{"style":914},[2228],{"type":854,"value":1209},{"type":854,"value":951},{"type":849,"tag":901,"props":2231,"children":2232},{"class":903,"style":904},[2233],{"type":849,"tag":901,"props":2234,"children":2235},{"style":914},[2236],{"type":854,"value":1218},{"type":849,"tag":850,"props":2238,"children":2239},{},[2240,2245,2247,2252],{"type":849,"tag":869,"props":2241,"children":2242},{},[2243],{"type":854,"value":2244},"v.id('todos')",{"type":854,"value":2246}," accepts only the ID of a document in the ",{"type":849,"tag":869,"props":2248,"children":2249},{},[2250],{"type":854,"value":2251},"todos",{"type":854,"value":2253}," table. Convex rejects any other value before the handler runs.",{"type":849,"tag":857,"props":2255,"children":2257},{"id":2256},"call-them-from-the-list",[2258],{"type":854,"value":2259},"Call them from the list",{"type":849,"tag":850,"props":2261,"children":2262},{},[2263],{"type":854,"value":2264},"Replace the page:",{"type":849,"tag":891,"props":2266,"children":2269},{"language":2267,"filename":2268,"class":894},"vue","app\u002Fpages\u002Findex.vue",[2270],{"type":849,"tag":869,"props":2271,"children":2273},{"class":2272},"language-vue",[2274,2316,2317,2346,2347,2350,2351,2385,2386,2467,2468,2479,2480,2501,2502,2523,2524,2545,2546,2587,2588,2667,2668,2746,2747,2828,2829,2832,2833,2856,2857,2869,2870,2906,2907,2931,2932,2949,2950,2958,2959,2967,2968,2976,2977,2993,2994,2997,2998,3014,3015,3032,3033,3067,3068,3071,3072,3102,3103,3177,3178,3225,3226,3242,3243,3303,3304,3307,3308,3366,3367,3424,3425,3482,3483,3504,3505,3549,3550,3562,3563,3580,3581,3598,3599,3616,3617,3634,3635,3643,3644,3690,3691,3737,3738,3754,3755,3770,3771,3787,3788],{"type":849,"tag":901,"props":2275,"children":2276},{"class":903,"style":904},[2277,2283,2289,2295,2300,2305,2311],{"type":849,"tag":901,"props":2278,"children":2280},{"style":2279},"color:#800000;--shiki-dark:#808080",[2281],{"type":854,"value":2282},"\u003C",{"type":849,"tag":901,"props":2284,"children":2286},{"style":2285},"color:#800000;--shiki-dark:#569CD6",[2287],{"type":854,"value":2288},"script",{"type":849,"tag":901,"props":2290,"children":2292},{"style":2291},"color:#E50000;--shiki-dark:#9CDCFE",[2293],{"type":854,"value":2294}," setup",{"type":849,"tag":901,"props":2296,"children":2297},{"style":2291},[2298],{"type":854,"value":2299}," lang",{"type":849,"tag":901,"props":2301,"children":2302},{"style":914},[2303],{"type":854,"value":2304},"=",{"type":849,"tag":901,"props":2306,"children":2308},{"style":2307},"color:#0000FF;--shiki-dark:#CE9178",[2309],{"type":854,"value":2310},"\"ts\"",{"type":849,"tag":901,"props":2312,"children":2313},{"style":2279},[2314],{"type":854,"value":2315},">",{"type":854,"value":951},{"type":849,"tag":901,"props":2318,"children":2319},{"class":903,"style":904},[2320,2324,2328,2333,2337,2341],{"type":849,"tag":901,"props":2321,"children":2322},{"style":908},[2323],{"type":854,"value":911},{"type":849,"tag":901,"props":2325,"children":2326},{"style":914},[2327],{"type":854,"value":917},{"type":849,"tag":901,"props":2329,"children":2330},{"style":920},[2331],{"type":854,"value":2332},"api",{"type":849,"tag":901,"props":2334,"children":2335},{"style":914},[2336],{"type":854,"value":938},{"type":849,"tag":901,"props":2338,"children":2339},{"style":908},[2340],{"type":854,"value":943},{"type":849,"tag":901,"props":2342,"children":2343},{"style":946},[2344],{"type":854,"value":2345}," '#convex\u002Fapi'",{"type":854,"value":951},{"type":849,"tag":901,"props":2348,"children":2349},{"class":903,"style":904},[],{"type":854,"value":951},{"type":849,"tag":901,"props":2352,"children":2353},{"class":903,"style":904},[2354,2359,2363,2367,2372,2376,2381],{"type":849,"tag":901,"props":2355,"children":2356},{"style":1028},[2357],{"type":854,"value":2358},"const",{"type":849,"tag":901,"props":2360,"children":2361},{"style":1034},[2362],{"type":854,"value":1346},{"type":849,"tag":901,"props":2364,"children":2365},{"style":914},[2366],{"type":854,"value":1042},{"type":849,"tag":901,"props":2368,"children":2369},{"style":1045},[2370],{"type":854,"value":2371},"ref",{"type":849,"tag":901,"props":2373,"children":2374},{"style":914},[2375],{"type":854,"value":1152},{"type":849,"tag":901,"props":2377,"children":2378},{"style":946},[2379],{"type":854,"value":2380},"''",{"type":849,"tag":901,"props":2382,"children":2383},{"style":914},[2384],{"type":854,"value":1200},{"type":854,"value":951},{"type":849,"tag":901,"props":2387,"children":2388},{"class":903,"style":904},[2389,2393,2397,2402,2407,2411,2415,2420,2424,2429,2434,2439,2443,2447,2451,2455,2459,2463],{"type":849,"tag":901,"props":2390,"children":2391},{"style":1028},[2392],{"type":854,"value":2358},{"type":849,"tag":901,"props":2394,"children":2395},{"style":914},[2396],{"type":854,"value":917},{"type":849,"tag":901,"props":2398,"children":2399},{"style":920},[2400],{"type":854,"value":2401},"data",{"type":849,"tag":901,"props":2403,"children":2404},{"style":914},[2405],{"type":854,"value":2406},": ",{"type":849,"tag":901,"props":2408,"children":2409},{"style":1034},[2410],{"type":854,"value":2251},{"type":849,"tag":901,"props":2412,"children":2413},{"style":914},[2414],{"type":854,"value":928},{"type":849,"tag":901,"props":2416,"children":2417},{"style":1034},[2418],{"type":854,"value":2419},"status",{"type":849,"tag":901,"props":2421,"children":2422},{"style":914},[2423],{"type":854,"value":928},{"type":849,"tag":901,"props":2425,"children":2426},{"style":1034},[2427],{"type":854,"value":2428},"error",{"type":849,"tag":901,"props":2430,"children":2431},{"style":914},[2432],{"type":854,"value":2433}," } = ",{"type":849,"tag":901,"props":2435,"children":2436},{"style":1045},[2437],{"type":854,"value":2438},"useConvexQuery",{"type":849,"tag":901,"props":2440,"children":2441},{"style":914},[2442],{"type":854,"value":1152},{"type":849,"tag":901,"props":2444,"children":2445},{"style":920},[2446],{"type":854,"value":2332},{"type":849,"tag":901,"props":2448,"children":2449},{"style":914},[2450],{"type":854,"value":1134},{"type":849,"tag":901,"props":2452,"children":2453},{"style":920},[2454],{"type":854,"value":2251},{"type":849,"tag":901,"props":2456,"children":2457},{"style":914},[2458],{"type":854,"value":1134},{"type":849,"tag":901,"props":2460,"children":2461},{"style":920},[2462],{"type":854,"value":880},{"type":849,"tag":901,"props":2464,"children":2465},{"style":914},[2466],{"type":854,"value":1200},{"type":854,"value":951},{"type":849,"tag":901,"props":2469,"children":2470},{"class":903,"style":904},[2471,2475],{"type":849,"tag":901,"props":2472,"children":2473},{"style":1028},[2474],{"type":854,"value":2358},{"type":849,"tag":901,"props":2476,"children":2477},{"style":914},[2478],{"type":854,"value":1110},{"type":854,"value":951},{"type":849,"tag":901,"props":2481,"children":2482},{"class":903,"style":904},[2483,2488,2492,2497],{"type":849,"tag":901,"props":2484,"children":2485},{"style":920},[2486],{"type":854,"value":2487},"  mutate",{"type":849,"tag":901,"props":2489,"children":2490},{"style":914},[2491],{"type":854,"value":2406},{"type":849,"tag":901,"props":2493,"children":2494},{"style":1034},[2495],{"type":854,"value":2496},"createTodo",{"type":849,"tag":901,"props":2498,"children":2499},{"style":914},[2500],{"type":854,"value":1469},{"type":854,"value":951},{"type":849,"tag":901,"props":2503,"children":2504},{"class":903,"style":904},[2505,2510,2514,2519],{"type":849,"tag":901,"props":2506,"children":2507},{"style":920},[2508],{"type":854,"value":2509},"  pending",{"type":849,"tag":901,"props":2511,"children":2512},{"style":914},[2513],{"type":854,"value":2406},{"type":849,"tag":901,"props":2515,"children":2516},{"style":1034},[2517],{"type":854,"value":2518},"creating",{"type":849,"tag":901,"props":2520,"children":2521},{"style":914},[2522],{"type":854,"value":1469},{"type":854,"value":951},{"type":849,"tag":901,"props":2525,"children":2526},{"class":903,"style":904},[2527,2532,2536,2541],{"type":849,"tag":901,"props":2528,"children":2529},{"style":920},[2530],{"type":854,"value":2531},"  error",{"type":849,"tag":901,"props":2533,"children":2534},{"style":914},[2535],{"type":854,"value":2406},{"type":849,"tag":901,"props":2537,"children":2538},{"style":1034},[2539],{"type":854,"value":2540},"createError",{"type":849,"tag":901,"props":2542,"children":2543},{"style":914},[2544],{"type":854,"value":1469},{"type":854,"value":951},{"type":849,"tag":901,"props":2547,"children":2548},{"class":903,"style":904},[2549,2554,2559,2563,2567,2571,2575,2579,2583],{"type":849,"tag":901,"props":2550,"children":2551},{"style":914},[2552],{"type":854,"value":2553},"} = ",{"type":849,"tag":901,"props":2555,"children":2556},{"style":1045},[2557],{"type":854,"value":2558},"useConvexMutation",{"type":849,"tag":901,"props":2560,"children":2561},{"style":914},[2562],{"type":854,"value":1152},{"type":849,"tag":901,"props":2564,"children":2565},{"style":920},[2566],{"type":854,"value":2332},{"type":849,"tag":901,"props":2568,"children":2569},{"style":914},[2570],{"type":854,"value":1134},{"type":849,"tag":901,"props":2572,"children":2573},{"style":920},[2574],{"type":854,"value":2251},{"type":849,"tag":901,"props":2576,"children":2577},{"style":914},[2578],{"type":854,"value":1134},{"type":849,"tag":901,"props":2580,"children":2581},{"style":920},[2582],{"type":854,"value":887},{"type":849,"tag":901,"props":2584,"children":2585},{"style":914},[2586],{"type":854,"value":1200},{"type":854,"value":951},{"type":849,"tag":901,"props":2589,"children":2590},{"class":903,"style":904},[2591,2595,2599,2604,2608,2613,2617,2621,2625,2630,2634,2638,2642,2646,2650,2654,2658,2663],{"type":849,"tag":901,"props":2592,"children":2593},{"style":1028},[2594],{"type":854,"value":2358},{"type":849,"tag":901,"props":2596,"children":2597},{"style":914},[2598],{"type":854,"value":917},{"type":849,"tag":901,"props":2600,"children":2601},{"style":920},[2602],{"type":854,"value":2603},"mutate",{"type":849,"tag":901,"props":2605,"children":2606},{"style":914},[2607],{"type":854,"value":2406},{"type":849,"tag":901,"props":2609,"children":2610},{"style":1034},[2611],{"type":854,"value":2612},"toggleTodo",{"type":849,"tag":901,"props":2614,"children":2615},{"style":914},[2616],{"type":854,"value":928},{"type":849,"tag":901,"props":2618,"children":2619},{"style":920},[2620],{"type":854,"value":2428},{"type":849,"tag":901,"props":2622,"children":2623},{"style":914},[2624],{"type":854,"value":2406},{"type":849,"tag":901,"props":2626,"children":2627},{"style":1034},[2628],{"type":854,"value":2629},"toggleError",{"type":849,"tag":901,"props":2631,"children":2632},{"style":914},[2633],{"type":854,"value":2433},{"type":849,"tag":901,"props":2635,"children":2636},{"style":1045},[2637],{"type":854,"value":2558},{"type":849,"tag":901,"props":2639,"children":2640},{"style":914},[2641],{"type":854,"value":1152},{"type":849,"tag":901,"props":2643,"children":2644},{"style":920},[2645],{"type":854,"value":2332},{"type":849,"tag":901,"props":2647,"children":2648},{"style":914},[2649],{"type":854,"value":1134},{"type":849,"tag":901,"props":2651,"children":2652},{"style":920},[2653],{"type":854,"value":2251},{"type":849,"tag":901,"props":2655,"children":2656},{"style":914},[2657],{"type":854,"value":1134},{"type":849,"tag":901,"props":2659,"children":2660},{"style":920},[2661],{"type":854,"value":2662},"toggle",{"type":849,"tag":901,"props":2664,"children":2665},{"style":914},[2666],{"type":854,"value":1200},{"type":854,"value":951},{"type":849,"tag":901,"props":2669,"children":2670},{"class":903,"style":904},[2671,2675,2679,2683,2687,2692,2696,2700,2704,2709,2713,2717,2721,2725,2729,2733,2737,2742],{"type":849,"tag":901,"props":2672,"children":2673},{"style":1028},[2674],{"type":854,"value":2358},{"type":849,"tag":901,"props":2676,"children":2677},{"style":914},[2678],{"type":854,"value":917},{"type":849,"tag":901,"props":2680,"children":2681},{"style":920},[2682],{"type":854,"value":2603},{"type":849,"tag":901,"props":2684,"children":2685},{"style":914},[2686],{"type":854,"value":2406},{"type":849,"tag":901,"props":2688,"children":2689},{"style":1034},[2690],{"type":854,"value":2691},"removeTodo",{"type":849,"tag":901,"props":2693,"children":2694},{"style":914},[2695],{"type":854,"value":928},{"type":849,"tag":901,"props":2697,"children":2698},{"style":920},[2699],{"type":854,"value":2428},{"type":849,"tag":901,"props":2701,"children":2702},{"style":914},[2703],{"type":854,"value":2406},{"type":849,"tag":901,"props":2705,"children":2706},{"style":1034},[2707],{"type":854,"value":2708},"removeError",{"type":849,"tag":901,"props":2710,"children":2711},{"style":914},[2712],{"type":854,"value":2433},{"type":849,"tag":901,"props":2714,"children":2715},{"style":1045},[2716],{"type":854,"value":2558},{"type":849,"tag":901,"props":2718,"children":2719},{"style":914},[2720],{"type":854,"value":1152},{"type":849,"tag":901,"props":2722,"children":2723},{"style":920},[2724],{"type":854,"value":2332},{"type":849,"tag":901,"props":2726,"children":2727},{"style":914},[2728],{"type":854,"value":1134},{"type":849,"tag":901,"props":2730,"children":2731},{"style":920},[2732],{"type":854,"value":2251},{"type":849,"tag":901,"props":2734,"children":2735},{"style":914},[2736],{"type":854,"value":1134},{"type":849,"tag":901,"props":2738,"children":2739},{"style":920},[2740],{"type":854,"value":2741},"remove",{"type":849,"tag":901,"props":2743,"children":2744},{"style":914},[2745],{"type":854,"value":1200},{"type":854,"value":951},{"type":849,"tag":901,"props":2748,"children":2749},{"class":903,"style":904},[2750,2754,2759,2763,2768,2773,2777,2782,2786,2791,2796,2800,2804,2808,2812,2816,2820,2824],{"type":849,"tag":901,"props":2751,"children":2752},{"style":1028},[2753],{"type":854,"value":2358},{"type":849,"tag":901,"props":2755,"children":2756},{"style":1034},[2757],{"type":854,"value":2758}," callError",{"type":849,"tag":901,"props":2760,"children":2761},{"style":914},[2762],{"type":854,"value":1042},{"type":849,"tag":901,"props":2764,"children":2765},{"style":1045},[2766],{"type":854,"value":2767},"computed",{"type":849,"tag":901,"props":2769,"children":2770},{"style":914},[2771],{"type":854,"value":2772},"(() ",{"type":849,"tag":901,"props":2774,"children":2775},{"style":1028},[2776],{"type":854,"value":1105},{"type":849,"tag":901,"props":2778,"children":2779},{"style":920},[2780],{"type":854,"value":2781}," createError",{"type":849,"tag":901,"props":2783,"children":2784},{"style":914},[2785],{"type":854,"value":1134},{"type":849,"tag":901,"props":2787,"children":2788},{"style":920},[2789],{"type":854,"value":2790},"value",{"type":849,"tag":901,"props":2792,"children":2793},{"style":914},[2794],{"type":854,"value":2795}," ?? ",{"type":849,"tag":901,"props":2797,"children":2798},{"style":920},[2799],{"type":854,"value":2629},{"type":849,"tag":901,"props":2801,"children":2802},{"style":914},[2803],{"type":854,"value":1134},{"type":849,"tag":901,"props":2805,"children":2806},{"style":920},[2807],{"type":854,"value":2790},{"type":849,"tag":901,"props":2809,"children":2810},{"style":914},[2811],{"type":854,"value":2795},{"type":849,"tag":901,"props":2813,"children":2814},{"style":920},[2815],{"type":854,"value":2708},{"type":849,"tag":901,"props":2817,"children":2818},{"style":914},[2819],{"type":854,"value":1134},{"type":849,"tag":901,"props":2821,"children":2822},{"style":920},[2823],{"type":854,"value":2790},{"type":849,"tag":901,"props":2825,"children":2826},{"style":914},[2827],{"type":854,"value":1200},{"type":854,"value":951},{"type":849,"tag":901,"props":2830,"children":2831},{"class":903,"style":904},[],{"type":854,"value":951},{"type":849,"tag":901,"props":2834,"children":2835},{"class":903,"style":904},[2836,2841,2846,2851],{"type":849,"tag":901,"props":2837,"children":2838},{"style":1028},[2839],{"type":854,"value":2840},"async",{"type":849,"tag":901,"props":2842,"children":2843},{"style":1028},[2844],{"type":854,"value":2845}," function",{"type":849,"tag":901,"props":2847,"children":2848},{"style":1045},[2849],{"type":854,"value":2850}," add",{"type":849,"tag":901,"props":2852,"children":2853},{"style":914},[2854],{"type":854,"value":2855},"() {",{"type":854,"value":951},{"type":849,"tag":901,"props":2858,"children":2859},{"class":903,"style":904},[2860,2865],{"type":849,"tag":901,"props":2861,"children":2862},{"style":908},[2863],{"type":854,"value":2864},"  try",{"type":849,"tag":901,"props":2866,"children":2867},{"style":914},[2868],{"type":854,"value":1110},{"type":854,"value":951},{"type":849,"tag":901,"props":2871,"children":2872},{"class":903,"style":904},[2873,2877,2882,2886,2890,2894,2898,2902],{"type":849,"tag":901,"props":2874,"children":2875},{"style":908},[2876],{"type":854,"value":1850},{"type":849,"tag":901,"props":2878,"children":2879},{"style":1045},[2880],{"type":854,"value":2881}," createTodo",{"type":849,"tag":901,"props":2883,"children":2884},{"style":914},[2885],{"type":854,"value":1813},{"type":849,"tag":901,"props":2887,"children":2888},{"style":920},[2889],{"type":854,"value":1268},{"type":849,"tag":901,"props":2891,"children":2892},{"style":920},[2893],{"type":854,"value":1346},{"type":849,"tag":901,"props":2895,"children":2896},{"style":914},[2897],{"type":854,"value":1134},{"type":849,"tag":901,"props":2899,"children":2900},{"style":920},[2901],{"type":854,"value":2790},{"type":849,"tag":901,"props":2903,"children":2904},{"style":914},[2905],{"type":854,"value":1574},{"type":854,"value":951},{"type":849,"tag":901,"props":2908,"children":2909},{"class":903,"style":904},[2910,2915,2919,2923,2927],{"type":849,"tag":901,"props":2911,"children":2912},{"style":920},[2913],{"type":854,"value":2914},"    text",{"type":849,"tag":901,"props":2916,"children":2917},{"style":914},[2918],{"type":854,"value":1134},{"type":849,"tag":901,"props":2920,"children":2921},{"style":920},[2922],{"type":854,"value":2790},{"type":849,"tag":901,"props":2924,"children":2925},{"style":914},[2926],{"type":854,"value":1042},{"type":849,"tag":901,"props":2928,"children":2929},{"style":946},[2930],{"type":854,"value":2380},{"type":854,"value":951},{"type":849,"tag":901,"props":2933,"children":2934},{"class":903,"style":904},[2935,2940,2945],{"type":849,"tag":901,"props":2936,"children":2937},{"style":914},[2938],{"type":854,"value":2939},"  } ",{"type":849,"tag":901,"props":2941,"children":2942},{"style":908},[2943],{"type":854,"value":2944},"catch",{"type":849,"tag":901,"props":2946,"children":2947},{"style":914},[2948],{"type":854,"value":1110},{"type":854,"value":951},{"type":849,"tag":901,"props":2951,"children":2952},{"class":903,"style":904},[2953],{"type":849,"tag":901,"props":2954,"children":2955},{"style":1004},[2956],{"type":854,"value":2957},"    \u002F\u002F createError holds the error. The template shows it.",{"type":854,"value":951},{"type":849,"tag":901,"props":2960,"children":2961},{"class":903,"style":904},[2962],{"type":849,"tag":901,"props":2963,"children":2964},{"style":914},[2965],{"type":854,"value":2966},"  }",{"type":854,"value":951},{"type":849,"tag":901,"props":2969,"children":2970},{"class":903,"style":904},[2971],{"type":849,"tag":901,"props":2972,"children":2973},{"style":914},[2974],{"type":854,"value":2975},"}",{"type":854,"value":951},{"type":849,"tag":901,"props":2978,"children":2979},{"class":903,"style":904},[2980,2985,2989],{"type":849,"tag":901,"props":2981,"children":2982},{"style":2279},[2983],{"type":854,"value":2984},"\u003C\u002F",{"type":849,"tag":901,"props":2986,"children":2987},{"style":2285},[2988],{"type":854,"value":2288},{"type":849,"tag":901,"props":2990,"children":2991},{"style":2279},[2992],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":2995,"children":2996},{"class":903,"style":904},[],{"type":854,"value":951},{"type":849,"tag":901,"props":2999,"children":3000},{"class":903,"style":904},[3001,3005,3010],{"type":849,"tag":901,"props":3002,"children":3003},{"style":2279},[3004],{"type":854,"value":2282},{"type":849,"tag":901,"props":3006,"children":3007},{"style":2285},[3008],{"type":854,"value":3009},"template",{"type":849,"tag":901,"props":3011,"children":3012},{"style":2279},[3013],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3016,"children":3017},{"class":903,"style":904},[3018,3023,3028],{"type":849,"tag":901,"props":3019,"children":3020},{"style":2279},[3021],{"type":854,"value":3022},"  \u003C",{"type":849,"tag":901,"props":3024,"children":3025},{"style":2285},[3026],{"type":854,"value":3027},"main",{"type":849,"tag":901,"props":3029,"children":3030},{"style":2279},[3031],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3034,"children":3035},{"class":903,"style":904},[3036,3041,3046,3050,3055,3059,3063],{"type":849,"tag":901,"props":3037,"children":3038},{"style":2279},[3039],{"type":854,"value":3040},"    \u003C",{"type":849,"tag":901,"props":3042,"children":3043},{"style":2285},[3044],{"type":854,"value":3045},"h1",{"type":849,"tag":901,"props":3047,"children":3048},{"style":2279},[3049],{"type":854,"value":2315},{"type":849,"tag":901,"props":3051,"children":3052},{"style":914},[3053],{"type":854,"value":3054},"Todos",{"type":849,"tag":901,"props":3056,"children":3057},{"style":2279},[3058],{"type":854,"value":2984},{"type":849,"tag":901,"props":3060,"children":3061},{"style":2285},[3062],{"type":854,"value":3045},{"type":849,"tag":901,"props":3064,"children":3065},{"style":2279},[3066],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3069,"children":3070},{"class":903,"style":904},[],{"type":854,"value":951},{"type":849,"tag":901,"props":3073,"children":3074},{"class":903,"style":904},[3075,3079,3084,3089,3093,3098],{"type":849,"tag":901,"props":3076,"children":3077},{"style":2279},[3078],{"type":854,"value":3040},{"type":849,"tag":901,"props":3080,"children":3081},{"style":2285},[3082],{"type":854,"value":3083},"form",{"type":849,"tag":901,"props":3085,"children":3086},{"style":2291},[3087],{"type":854,"value":3088}," @submit.prevent",{"type":849,"tag":901,"props":3090,"children":3091},{"style":914},[3092],{"type":854,"value":2304},{"type":849,"tag":901,"props":3094,"children":3095},{"style":2307},[3096],{"type":854,"value":3097},"\"add\"",{"type":849,"tag":901,"props":3099,"children":3100},{"style":2279},[3101],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3104,"children":3105},{"class":903,"style":904},[3106,3111,3116,3121,3125,3130,3135,3139,3144,3149,3153,3158,3163,3167,3172],{"type":849,"tag":901,"props":3107,"children":3108},{"style":2279},[3109],{"type":854,"value":3110},"      \u003C",{"type":849,"tag":901,"props":3112,"children":3113},{"style":2285},[3114],{"type":854,"value":3115},"input",{"type":849,"tag":901,"props":3117,"children":3118},{"style":2291},[3119],{"type":854,"value":3120}," v-model",{"type":849,"tag":901,"props":3122,"children":3123},{"style":914},[3124],{"type":854,"value":2304},{"type":849,"tag":901,"props":3126,"children":3127},{"style":2307},[3128],{"type":854,"value":3129},"\"text\"",{"type":849,"tag":901,"props":3131,"children":3132},{"style":2291},[3133],{"type":854,"value":3134}," maxlength",{"type":849,"tag":901,"props":3136,"children":3137},{"style":914},[3138],{"type":854,"value":2304},{"type":849,"tag":901,"props":3140,"children":3141},{"style":2307},[3142],{"type":854,"value":3143},"\"200\"",{"type":849,"tag":901,"props":3145,"children":3146},{"style":2291},[3147],{"type":854,"value":3148}," placeholder",{"type":849,"tag":901,"props":3150,"children":3151},{"style":914},[3152],{"type":854,"value":2304},{"type":849,"tag":901,"props":3154,"children":3155},{"style":2307},[3156],{"type":854,"value":3157},"\"What needs doing?\"",{"type":849,"tag":901,"props":3159,"children":3160},{"style":2291},[3161],{"type":854,"value":3162}," aria-label",{"type":849,"tag":901,"props":3164,"children":3165},{"style":914},[3166],{"type":854,"value":2304},{"type":849,"tag":901,"props":3168,"children":3169},{"style":2307},[3170],{"type":854,"value":3171},"\"Todo\"",{"type":849,"tag":901,"props":3173,"children":3174},{"style":2279},[3175],{"type":854,"value":3176}," \u002F>",{"type":854,"value":951},{"type":849,"tag":901,"props":3179,"children":3180},{"class":903,"style":904},[3181,3185,3190,3195,3199,3204,3208,3213,3217,3221],{"type":849,"tag":901,"props":3182,"children":3183},{"style":2279},[3184],{"type":854,"value":3110},{"type":849,"tag":901,"props":3186,"children":3187},{"style":2285},[3188],{"type":854,"value":3189},"button",{"type":849,"tag":901,"props":3191,"children":3192},{"style":2291},[3193],{"type":854,"value":3194}," :disabled",{"type":849,"tag":901,"props":3196,"children":3197},{"style":914},[3198],{"type":854,"value":2304},{"type":849,"tag":901,"props":3200,"children":3201},{"style":2307},[3202],{"type":854,"value":3203},"\"creating || !text.trim()\"",{"type":849,"tag":901,"props":3205,"children":3206},{"style":2279},[3207],{"type":854,"value":2315},{"type":849,"tag":901,"props":3209,"children":3210},{"style":914},[3211],{"type":854,"value":3212},"Add",{"type":849,"tag":901,"props":3214,"children":3215},{"style":2279},[3216],{"type":854,"value":2984},{"type":849,"tag":901,"props":3218,"children":3219},{"style":2285},[3220],{"type":854,"value":3189},{"type":849,"tag":901,"props":3222,"children":3223},{"style":2279},[3224],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3227,"children":3228},{"class":903,"style":904},[3229,3234,3238],{"type":849,"tag":901,"props":3230,"children":3231},{"style":2279},[3232],{"type":854,"value":3233},"    \u003C\u002F",{"type":849,"tag":901,"props":3235,"children":3236},{"style":2285},[3237],{"type":854,"value":3083},{"type":849,"tag":901,"props":3239,"children":3240},{"style":2279},[3241],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3244,"children":3245},{"class":903,"style":904},[3246,3250,3254,3259,3263,3268,3273,3277,3282,3286,3291,3295,3299],{"type":849,"tag":901,"props":3247,"children":3248},{"style":2279},[3249],{"type":854,"value":3040},{"type":849,"tag":901,"props":3251,"children":3252},{"style":2285},[3253],{"type":854,"value":850},{"type":849,"tag":901,"props":3255,"children":3256},{"style":2291},[3257],{"type":854,"value":3258}," v-if",{"type":849,"tag":901,"props":3260,"children":3261},{"style":914},[3262],{"type":854,"value":2304},{"type":849,"tag":901,"props":3264,"children":3265},{"style":2307},[3266],{"type":854,"value":3267},"\"callError\"",{"type":849,"tag":901,"props":3269,"children":3270},{"style":2291},[3271],{"type":854,"value":3272}," class",{"type":849,"tag":901,"props":3274,"children":3275},{"style":914},[3276],{"type":854,"value":2304},{"type":849,"tag":901,"props":3278,"children":3279},{"style":2307},[3280],{"type":854,"value":3281},"\"error\"",{"type":849,"tag":901,"props":3283,"children":3284},{"style":2279},[3285],{"type":854,"value":2315},{"type":849,"tag":901,"props":3287,"children":3288},{"style":914},[3289],{"type":854,"value":3290},"{{ callError.message }}",{"type":849,"tag":901,"props":3292,"children":3293},{"style":2279},[3294],{"type":854,"value":2984},{"type":849,"tag":901,"props":3296,"children":3297},{"style":2285},[3298],{"type":854,"value":850},{"type":849,"tag":901,"props":3300,"children":3301},{"style":2279},[3302],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3305,"children":3306},{"class":903,"style":904},[],{"type":854,"value":951},{"type":849,"tag":901,"props":3309,"children":3310},{"class":903,"style":904},[3311,3315,3319,3323,3327,3332,3336,3340,3345,3349,3354,3358,3362],{"type":849,"tag":901,"props":3312,"children":3313},{"style":2279},[3314],{"type":854,"value":3040},{"type":849,"tag":901,"props":3316,"children":3317},{"style":2285},[3318],{"type":854,"value":850},{"type":849,"tag":901,"props":3320,"children":3321},{"style":2291},[3322],{"type":854,"value":3258},{"type":849,"tag":901,"props":3324,"children":3325},{"style":914},[3326],{"type":854,"value":2304},{"type":849,"tag":901,"props":3328,"children":3329},{"style":2307},[3330],{"type":854,"value":3331},"\"status === 'pending'\"",{"type":849,"tag":901,"props":3333,"children":3334},{"style":2291},[3335],{"type":854,"value":3272},{"type":849,"tag":901,"props":3337,"children":3338},{"style":914},[3339],{"type":854,"value":2304},{"type":849,"tag":901,"props":3341,"children":3342},{"style":2307},[3343],{"type":854,"value":3344},"\"muted\"",{"type":849,"tag":901,"props":3346,"children":3347},{"style":2279},[3348],{"type":854,"value":2315},{"type":849,"tag":901,"props":3350,"children":3351},{"style":914},[3352],{"type":854,"value":3353},"Loading todos…",{"type":849,"tag":901,"props":3355,"children":3356},{"style":2279},[3357],{"type":854,"value":2984},{"type":849,"tag":901,"props":3359,"children":3360},{"style":2285},[3361],{"type":854,"value":850},{"type":849,"tag":901,"props":3363,"children":3364},{"style":2279},[3365],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3368,"children":3369},{"class":903,"style":904},[3370,3374,3378,3383,3387,3391,3395,3399,3403,3407,3412,3416,3420],{"type":849,"tag":901,"props":3371,"children":3372},{"style":2279},[3373],{"type":854,"value":3040},{"type":849,"tag":901,"props":3375,"children":3376},{"style":2285},[3377],{"type":854,"value":850},{"type":849,"tag":901,"props":3379,"children":3380},{"style":2291},[3381],{"type":854,"value":3382}," v-else-if",{"type":849,"tag":901,"props":3384,"children":3385},{"style":914},[3386],{"type":854,"value":2304},{"type":849,"tag":901,"props":3388,"children":3389},{"style":2307},[3390],{"type":854,"value":3281},{"type":849,"tag":901,"props":3392,"children":3393},{"style":2291},[3394],{"type":854,"value":3272},{"type":849,"tag":901,"props":3396,"children":3397},{"style":914},[3398],{"type":854,"value":2304},{"type":849,"tag":901,"props":3400,"children":3401},{"style":2307},[3402],{"type":854,"value":3281},{"type":849,"tag":901,"props":3404,"children":3405},{"style":2279},[3406],{"type":854,"value":2315},{"type":849,"tag":901,"props":3408,"children":3409},{"style":914},[3410],{"type":854,"value":3411},"Could not load the todos.",{"type":849,"tag":901,"props":3413,"children":3414},{"style":2279},[3415],{"type":854,"value":2984},{"type":849,"tag":901,"props":3417,"children":3418},{"style":2285},[3419],{"type":854,"value":850},{"type":849,"tag":901,"props":3421,"children":3422},{"style":2279},[3423],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3426,"children":3427},{"class":903,"style":904},[3428,3432,3436,3440,3444,3449,3453,3457,3461,3465,3470,3474,3478],{"type":849,"tag":901,"props":3429,"children":3430},{"style":2279},[3431],{"type":854,"value":3040},{"type":849,"tag":901,"props":3433,"children":3434},{"style":2285},[3435],{"type":854,"value":850},{"type":849,"tag":901,"props":3437,"children":3438},{"style":2291},[3439],{"type":854,"value":3382},{"type":849,"tag":901,"props":3441,"children":3442},{"style":914},[3443],{"type":854,"value":2304},{"type":849,"tag":901,"props":3445,"children":3446},{"style":2307},[3447],{"type":854,"value":3448},"\"todos?.length === 0\"",{"type":849,"tag":901,"props":3450,"children":3451},{"style":2291},[3452],{"type":854,"value":3272},{"type":849,"tag":901,"props":3454,"children":3455},{"style":914},[3456],{"type":854,"value":2304},{"type":849,"tag":901,"props":3458,"children":3459},{"style":2307},[3460],{"type":854,"value":3344},{"type":849,"tag":901,"props":3462,"children":3463},{"style":2279},[3464],{"type":854,"value":2315},{"type":849,"tag":901,"props":3466,"children":3467},{"style":914},[3468],{"type":854,"value":3469},"No todos yet. Add the first one.",{"type":849,"tag":901,"props":3471,"children":3472},{"style":2279},[3473],{"type":854,"value":2984},{"type":849,"tag":901,"props":3475,"children":3476},{"style":2285},[3477],{"type":854,"value":850},{"type":849,"tag":901,"props":3479,"children":3480},{"style":2279},[3481],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3484,"children":3485},{"class":903,"style":904},[3486,3490,3495,3500],{"type":849,"tag":901,"props":3487,"children":3488},{"style":2279},[3489],{"type":854,"value":3040},{"type":849,"tag":901,"props":3491,"children":3492},{"style":2285},[3493],{"type":854,"value":3494},"ul",{"type":849,"tag":901,"props":3496,"children":3497},{"style":2291},[3498],{"type":854,"value":3499}," v-else",{"type":849,"tag":901,"props":3501,"children":3502},{"style":2279},[3503],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3506,"children":3507},{"class":903,"style":904},[3508,3512,3517,3522,3526,3531,3536,3540,3545],{"type":849,"tag":901,"props":3509,"children":3510},{"style":2279},[3511],{"type":854,"value":3110},{"type":849,"tag":901,"props":3513,"children":3514},{"style":2285},[3515],{"type":854,"value":3516},"li",{"type":849,"tag":901,"props":3518,"children":3519},{"style":2291},[3520],{"type":854,"value":3521}," v-for",{"type":849,"tag":901,"props":3523,"children":3524},{"style":914},[3525],{"type":854,"value":2304},{"type":849,"tag":901,"props":3527,"children":3528},{"style":2307},[3529],{"type":854,"value":3530},"\"todo in todos\"",{"type":849,"tag":901,"props":3532,"children":3533},{"style":2291},[3534],{"type":854,"value":3535}," :key",{"type":849,"tag":901,"props":3537,"children":3538},{"style":914},[3539],{"type":854,"value":2304},{"type":849,"tag":901,"props":3541,"children":3542},{"style":2307},[3543],{"type":854,"value":3544},"\"todo._id\"",{"type":849,"tag":901,"props":3546,"children":3547},{"style":2279},[3548],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3551,"children":3552},{"class":903,"style":904},[3553,3558],{"type":849,"tag":901,"props":3554,"children":3555},{"style":2279},[3556],{"type":854,"value":3557},"        \u003C",{"type":849,"tag":901,"props":3559,"children":3560},{"style":2285},[3561],{"type":854,"value":3115},{"type":854,"value":951},{"type":849,"tag":901,"props":3564,"children":3565},{"class":903,"style":904},[3566,3571,3575],{"type":849,"tag":901,"props":3567,"children":3568},{"style":2291},[3569],{"type":854,"value":3570},"          type",{"type":849,"tag":901,"props":3572,"children":3573},{"style":914},[3574],{"type":854,"value":2304},{"type":849,"tag":901,"props":3576,"children":3577},{"style":2307},[3578],{"type":854,"value":3579},"\"checkbox\"",{"type":854,"value":951},{"type":849,"tag":901,"props":3582,"children":3583},{"class":903,"style":904},[3584,3589,3593],{"type":849,"tag":901,"props":3585,"children":3586},{"style":2291},[3587],{"type":854,"value":3588},"          :checked",{"type":849,"tag":901,"props":3590,"children":3591},{"style":914},[3592],{"type":854,"value":2304},{"type":849,"tag":901,"props":3594,"children":3595},{"style":2307},[3596],{"type":854,"value":3597},"\"todo.completed\"",{"type":854,"value":951},{"type":849,"tag":901,"props":3600,"children":3601},{"class":903,"style":904},[3602,3607,3611],{"type":849,"tag":901,"props":3603,"children":3604},{"style":2291},[3605],{"type":854,"value":3606},"          :aria-label",{"type":849,"tag":901,"props":3608,"children":3609},{"style":914},[3610],{"type":854,"value":2304},{"type":849,"tag":901,"props":3612,"children":3613},{"style":2307},[3614],{"type":854,"value":3615},"\"`Done: ${todo.text}`\"",{"type":854,"value":951},{"type":849,"tag":901,"props":3618,"children":3619},{"class":903,"style":904},[3620,3625,3629],{"type":849,"tag":901,"props":3621,"children":3622},{"style":2291},[3623],{"type":854,"value":3624},"          @change",{"type":849,"tag":901,"props":3626,"children":3627},{"style":914},[3628],{"type":854,"value":2304},{"type":849,"tag":901,"props":3630,"children":3631},{"style":2307},[3632],{"type":854,"value":3633},"\"toggleTodo({ todoId: todo._id }).catch(() => {})\"",{"type":854,"value":951},{"type":849,"tag":901,"props":3636,"children":3637},{"class":903,"style":904},[3638],{"type":849,"tag":901,"props":3639,"children":3640},{"style":2279},[3641],{"type":854,"value":3642},"        \u002F>",{"type":854,"value":951},{"type":849,"tag":901,"props":3645,"children":3646},{"class":903,"style":904},[3647,3651,3655,3660,3664,3669,3673,3678,3682,3686],{"type":849,"tag":901,"props":3648,"children":3649},{"style":2279},[3650],{"type":854,"value":3557},{"type":849,"tag":901,"props":3652,"children":3653},{"style":2285},[3654],{"type":854,"value":901},{"type":849,"tag":901,"props":3656,"children":3657},{"style":2291},[3658],{"type":854,"value":3659}," :class",{"type":849,"tag":901,"props":3661,"children":3662},{"style":914},[3663],{"type":854,"value":2304},{"type":849,"tag":901,"props":3665,"children":3666},{"style":2307},[3667],{"type":854,"value":3668},"\"{ done: todo.completed }\"",{"type":849,"tag":901,"props":3670,"children":3671},{"style":2279},[3672],{"type":854,"value":2315},{"type":849,"tag":901,"props":3674,"children":3675},{"style":914},[3676],{"type":854,"value":3677},"{{ todo.text }}",{"type":849,"tag":901,"props":3679,"children":3680},{"style":2279},[3681],{"type":854,"value":2984},{"type":849,"tag":901,"props":3683,"children":3684},{"style":2285},[3685],{"type":854,"value":901},{"type":849,"tag":901,"props":3687,"children":3688},{"style":2279},[3689],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3692,"children":3693},{"class":903,"style":904},[3694,3698,3702,3707,3711,3716,3720,3725,3729,3733],{"type":849,"tag":901,"props":3695,"children":3696},{"style":2279},[3697],{"type":854,"value":3557},{"type":849,"tag":901,"props":3699,"children":3700},{"style":2285},[3701],{"type":854,"value":3189},{"type":849,"tag":901,"props":3703,"children":3704},{"style":2291},[3705],{"type":854,"value":3706}," @click",{"type":849,"tag":901,"props":3708,"children":3709},{"style":914},[3710],{"type":854,"value":2304},{"type":849,"tag":901,"props":3712,"children":3713},{"style":2307},[3714],{"type":854,"value":3715},"\"removeTodo({ todoId: todo._id }).catch(() => {})\"",{"type":849,"tag":901,"props":3717,"children":3718},{"style":2279},[3719],{"type":854,"value":2315},{"type":849,"tag":901,"props":3721,"children":3722},{"style":914},[3723],{"type":854,"value":3724},"Delete",{"type":849,"tag":901,"props":3726,"children":3727},{"style":2279},[3728],{"type":854,"value":2984},{"type":849,"tag":901,"props":3730,"children":3731},{"style":2285},[3732],{"type":854,"value":3189},{"type":849,"tag":901,"props":3734,"children":3735},{"style":2279},[3736],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3739,"children":3740},{"class":903,"style":904},[3741,3746,3750],{"type":849,"tag":901,"props":3742,"children":3743},{"style":2279},[3744],{"type":854,"value":3745},"      \u003C\u002F",{"type":849,"tag":901,"props":3747,"children":3748},{"style":2285},[3749],{"type":854,"value":3516},{"type":849,"tag":901,"props":3751,"children":3752},{"style":2279},[3753],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3756,"children":3757},{"class":903,"style":904},[3758,3762,3766],{"type":849,"tag":901,"props":3759,"children":3760},{"style":2279},[3761],{"type":854,"value":3233},{"type":849,"tag":901,"props":3763,"children":3764},{"style":2285},[3765],{"type":854,"value":3494},{"type":849,"tag":901,"props":3767,"children":3768},{"style":2279},[3769],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3772,"children":3773},{"class":903,"style":904},[3774,3779,3783],{"type":849,"tag":901,"props":3775,"children":3776},{"style":2279},[3777],{"type":854,"value":3778},"  \u003C\u002F",{"type":849,"tag":901,"props":3780,"children":3781},{"style":2285},[3782],{"type":854,"value":3027},{"type":849,"tag":901,"props":3784,"children":3785},{"style":2279},[3786],{"type":854,"value":2315},{"type":854,"value":951},{"type":849,"tag":901,"props":3789,"children":3790},{"class":903,"style":904},[3791,3795,3799],{"type":849,"tag":901,"props":3792,"children":3793},{"style":2279},[3794],{"type":854,"value":2984},{"type":849,"tag":901,"props":3796,"children":3797},{"style":2285},[3798],{"type":854,"value":3009},{"type":849,"tag":901,"props":3800,"children":3801},{"style":2279},[3802],{"type":854,"value":2315},{"type":849,"tag":850,"props":3804,"children":3805},{},[3806,3808,3812,3814,3819,3821,3826],{"type":854,"value":3807},"Each mutation keeps the error of its latest call in its ",{"type":849,"tag":869,"props":3809,"children":3810},{},[3811],{"type":854,"value":2428},{"type":854,"value":3813}," ref, and ",{"type":849,"tag":869,"props":3815,"children":3816},{},[3817],{"type":854,"value":3818},"callError",{"type":854,"value":3820}," shows one of them. So the template only adds ",{"type":849,"tag":869,"props":3822,"children":3823},{},[3824],{"type":854,"value":3825},".catch(() => {})",{"type":854,"value":3827},", which stops the rejected call from being reported as an unhandled error.",{"type":849,"tag":857,"props":3829,"children":3831},{"id":3830},"try-it",[3832],{"type":854,"value":3833},"Try it",{"type":849,"tag":3835,"props":3836,"children":3837},"ol",{},[3838,3843,3855],{"type":849,"tag":3516,"props":3839,"children":3840},{},[3841],{"type":854,"value":3842},"Tick a todo. Its text is crossed out.",{"type":849,"tag":3516,"props":3844,"children":3845},{},[3846,3848,3853],{"type":854,"value":3847},"Click ",{"type":849,"tag":3849,"props":3850,"children":3851},"strong",{},[3852],{"type":854,"value":3724},{"type":854,"value":3854}," on a todo. It disappears.",{"type":849,"tag":3516,"props":3856,"children":3857},{},[3858],{"type":854,"value":3859},"Do the same in a second tab. Both tabs show every change.",{"type":849,"tag":850,"props":3861,"children":3862},{},[3863,3865,3869,3871,3875],{"type":854,"value":3864},"The page never updates the list itself. Each mutation changes the ",{"type":849,"tag":869,"props":3866,"children":3867},{},[3868],{"type":854,"value":2251},{"type":854,"value":3870}," table, and Convex sends the new ",{"type":849,"tag":869,"props":3872,"children":3873},{},[3874],{"type":854,"value":880},{"type":854,"value":3876}," result to every open page.",{"type":849,"tag":850,"props":3878,"children":3879},{},[3880,3882,3887,3889,3894],{"type":854,"value":3881},"Your app now reads and writes live data. If it needs sign-in, continue with ",{"type":849,"tag":3883,"props":3884,"children":3885},"a",{"href":81},[3886],{"type":854,"value":76},{"type":854,"value":3888},". Otherwise, go to ",{"type":849,"tag":3883,"props":3890,"children":3891},{"href":102},[3892],{"type":854,"value":3893},"next steps",{"type":854,"value":1134},{"title":3896,"searchDepth":3897,"depth":3897,"links":3898},"",4,[3899,3901,3902],{"id":859,"depth":3900,"text":862},2,{"id":2256,"depth":3900,"text":2259},{"id":3830,"depth":3900,"text":3833},"markdown","docs",{"source":3906,"path":3907,"stem":3908,"dir":3909,"extension":3910},"content","docs\u002F2.get-started\u002F4.complete-and-delete.md","docs\u002F2.get-started\u002F4.complete-and-delete","get-started","md",{"requestedPath":74,"resolvedPath":74,"alternates":3912},[],{"requested":3914,"resolved":3915,"usedFallback":6},{},{"locale":8},{"previous":3917,"next":3919},{"title":62,"id":63,"canonicalKey":64,"locale":8,"draft":6,"navigation":3918,"icon":66,"path":67},{"icon":66},{"title":76,"id":77,"canonicalKey":78,"locale":8,"draft":6,"navigation":3920,"icon":80,"path":81},{"icon":80},{"left":3922,"top":3922,"width":3923,"height":3923,"rotate":3922,"vFlip":6,"hFlip":6,"body":3924},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":3922,"top":3922,"width":3923,"height":3926,"rotate":3922,"vFlip":6,"hFlip":6,"body":3927},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":3922,"top":3922,"width":3929,"height":3929,"rotate":3922,"vFlip":6,"hFlip":6,"body":3930},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>",1794905468118]