[{"data":1,"prerenderedAt":4416},["ShallowReactive",2],{"docs-navigation:en":3,"content-page:docs:uoo2b8Fesq1zZHAzQxqHY0GcFlOBOuZ9vj-ECR8akEw":651,"content-page-surround:docs:uoo2b8Fesq1zZHAzQxqHY0GcFlOBOuZ9vj-ECR8akEw":4404,"i-logos:typescript-icon":4409,"i-lucide:clipboard":4413},[4,41,110,418,485,550,601,646],{"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},"Add a mutation","content:docs:2.get-started:4.add-a-mutation.md","2\u002F4",{"icon":73},"i-lucide-square-pen","\u002Fdocs\u002Fget-started\u002Fadd-a-mutation",{"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,199,292,324,349,388],{"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,164,171,178,185,192],{"title":159,"id":160,"canonicalKey":161,"locale":8,"draft":6,"navigation":162,"icon":73,"path":163},"Mutations","content:docs:3.build:2.write-data:1.mutations.md","3\u002F2\u002F1",{"icon":73},"\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Fmutations",{"title":165,"id":166,"canonicalKey":167,"locale":8,"draft":6,"navigation":168,"icon":169,"path":170},"Actions","content:docs:3.build:2.write-data:2.actions.md","3\u002F2\u002F2",{"icon":169},"i-lucide-zap","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Factions",{"title":172,"id":173,"canonicalKey":174,"locale":8,"draft":6,"navigation":175,"icon":176,"path":177},"Optimistic updates","content:docs:3.build:2.write-data:3.optimistic-updates.md","3\u002F2\u002F3",{"icon":176},"i-lucide-gauge","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Foptimistic-updates",{"title":179,"id":180,"canonicalKey":181,"locale":8,"draft":6,"navigation":182,"icon":183,"path":184},"Concurrent operations","content:docs:3.build:2.write-data:4.concurrent-operations.md","3\u002F2\u002F4",{"icon":183},"i-lucide-git-fork","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Fconcurrent-operations",{"title":186,"id":187,"canonicalKey":188,"locale":8,"draft":6,"navigation":189,"icon":190,"path":191},"Form submissions","content:docs:3.build:2.write-data:5.forms.md","3\u002F2\u002F5",{"icon":190},"i-lucide-list-checks","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Fforms",{"title":193,"id":194,"canonicalKey":195,"locale":8,"draft":6,"navigation":196,"icon":197,"path":198},"Multi-step operations","content:docs:3.build:2.write-data:6.multi-step-operations.md","3\u002F2\u002F6",{"icon":197},"i-lucide-list-ordered","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Fmulti-step-operations",{"title":200,"page":6,"canonicalKey":201,"locale":8,"children":202},"Authentication","3\u002F3",[203,209,216,223,229,236,243,250,257,264,271,278,285],{"title":200,"id":204,"canonicalKey":205,"locale":8,"draft":6,"navigation":206,"icon":207,"path":208},"content:docs:3.build:3.authentication:1.overview.md","3\u002F3\u002F1",{"icon":207},"i-lucide-shield","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Foverview",{"title":210,"id":211,"canonicalKey":212,"locale":8,"draft":6,"navigation":213,"icon":214,"path":215},"Better Auth setup","content:docs:3.build:3.authentication:2.better-auth-setup.md","3\u002F3\u002F2",{"icon":214},"i-lucide-settings-2","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fbetter-auth-setup",{"title":217,"id":218,"canonicalKey":219,"locale":8,"draft":6,"navigation":220,"icon":221,"path":222},"Auth state and user data","content:docs:3.build:3.authentication:3.auth-state-and-user.md","3\u002F3\u002F3",{"icon":221},"i-lucide-user-round","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fauth-state-and-user",{"title":224,"id":225,"canonicalKey":226,"locale":8,"draft":6,"navigation":227,"icon":80,"path":228},"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":230,"id":231,"canonicalKey":232,"locale":8,"draft":6,"navigation":233,"icon":234,"path":235},"Route protection","content:docs:3.build:3.authentication:5.route-protection.md","3\u002F3\u002F5",{"icon":234},"i-lucide-route","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Froute-protection",{"title":237,"id":238,"canonicalKey":239,"locale":8,"draft":6,"navigation":240,"icon":241,"path":242},"Backend authorization","content:docs:3.build:3.authentication:6.backend-authorization.md","3\u002F3\u002F6",{"icon":241},"i-lucide-lock-keyhole","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fbackend-authorization",{"title":244,"id":245,"canonicalKey":246,"locale":8,"draft":6,"navigation":247,"icon":248,"path":249},"Better Auth plugins","content:docs:3.build:3.authentication:7.better-auth-plugins.md","3\u002F3\u002F7",{"icon":248},"i-lucide-plug","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fbetter-auth-plugins",{"title":251,"id":252,"canonicalKey":253,"locale":8,"draft":6,"navigation":254,"icon":255,"path":256},"Custom user fields","content:docs:3.build:3.authentication:8.custom-user-fields.md","3\u002F3\u002F8",{"icon":255},"i-lucide-user-cog","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fcustom-user-fields",{"title":258,"id":259,"canonicalKey":260,"locale":8,"draft":6,"navigation":261,"icon":262,"path":263},"User synchronization","content:docs:3.build:3.authentication:9.user-synchronization.md","3\u002F3\u002F9",{"icon":262},"i-lucide-refresh-ccw","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fuser-synchronization",{"title":265,"id":266,"canonicalKey":267,"locale":8,"draft":6,"navigation":268,"icon":269,"path":270},"Delegated OAuth and MCP","content:docs:3.build:3.authentication:10.delegated-oauth-and-mcp.md","3\u002F3\u002F10",{"icon":269},"i-lucide-bot","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fdelegated-oauth-and-mcp",{"title":272,"id":273,"canonicalKey":274,"locale":8,"draft":6,"navigation":275,"icon":276,"path":277},"Transactional auth email","content:docs:3.build:3.authentication:11.transactional-email.md","3\u002F3\u002F11",{"icon":276},"i-lucide-mail","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Ftransactional-email",{"title":279,"id":280,"canonicalKey":281,"locale":8,"draft":6,"navigation":282,"icon":283,"path":284},"Social sign-in","content:docs:3.build:3.authentication:12.social-sign-in.md","3\u002F3\u002F12",{"icon":283},"i-lucide-github","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fsocial-sign-in",{"title":286,"id":287,"canonicalKey":288,"locale":8,"draft":6,"navigation":289,"icon":290,"path":291},"Better Auth plugin support","content:docs:3.build:3.authentication:13.better-auth-plugin-support.md","3\u002F3\u002F13",{"icon":290},"i-lucide-puzzle","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fbetter-auth-plugin-support",{"title":293,"page":6,"canonicalKey":294,"locale":8,"children":295},"Server","3\u002F4",[296,303,310,317],{"title":297,"id":298,"canonicalKey":299,"locale":8,"draft":6,"navigation":300,"icon":301,"path":302},"serverConvex","content:docs:3.build:4.server:1.server-convex.md","3\u002F4\u002F1",{"icon":301},"i-lucide-server","\u002Fdocs\u002Fbuild\u002Fserver\u002Fserver-convex",{"title":304,"id":305,"canonicalKey":306,"locale":8,"draft":6,"navigation":307,"icon":308,"path":309},"Server routes","content:docs:3.build:4.server:2.server-routes.md","3\u002F4\u002F2",{"icon":308},"i-lucide-waypoints","\u002Fdocs\u002Fbuild\u002Fserver\u002Fserver-routes",{"title":311,"id":312,"canonicalKey":313,"locale":8,"draft":6,"navigation":314,"icon":315,"path":316},"Webhooks and jobs","content:docs:3.build:4.server:3.webhooks-and-jobs.md","3\u002F4\u002F3",{"icon":315},"i-lucide-webhook","\u002Fdocs\u002Fbuild\u002Fserver\u002Fwebhooks-and-jobs",{"title":318,"id":319,"canonicalKey":320,"locale":8,"draft":6,"navigation":321,"icon":322,"path":323},"Credentials and server security","content:docs:3.build:4.server:4.credentials-and-security.md","3\u002F4\u002F4",{"icon":322},"i-lucide-key-round","\u002Fdocs\u002Fbuild\u002Fserver\u002Fcredentials-and-security",{"title":325,"page":6,"canonicalKey":326,"locale":8,"children":327},"Files","3\u002F5",[328,335,342],{"title":329,"id":330,"canonicalKey":331,"locale":8,"draft":6,"navigation":332,"icon":333,"path":334},"Upload files","content:docs:3.build:5.files:1.upload-files.md","3\u002F5\u002F1",{"icon":333},"i-lucide-upload","\u002Fdocs\u002Fbuild\u002Ffiles\u002Fupload-files",{"title":336,"id":337,"canonicalKey":338,"locale":8,"draft":6,"navigation":339,"icon":340,"path":341},"Storage URLs","content:docs:3.build:5.files:3.storage-urls.md","3\u002F5\u002F3",{"icon":340},"i-lucide-link","\u002Fdocs\u002Fbuild\u002Ffiles\u002Fstorage-urls",{"title":343,"id":344,"canonicalKey":345,"locale":8,"draft":6,"navigation":346,"icon":347,"path":348},"File validation and deletion","content:docs:3.build:5.files:4.validation-and-deletion.md","3\u002F5\u002F4",{"icon":347},"i-lucide-file-x","\u002Fdocs\u002Fbuild\u002Ffiles\u002Fvalidation-and-deletion",{"title":350,"page":6,"canonicalKey":351,"locale":8,"children":352},"Application Behavior","3\u002F6",[353,360,367,374,381],{"title":354,"id":355,"canonicalKey":356,"locale":8,"draft":6,"navigation":357,"icon":358,"path":359},"Connection state","content:docs:3.build:6.application-behavior:1.connection-state.md","3\u002F6\u002F1",{"icon":358},"i-lucide-wifi","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Fconnection-state",{"title":361,"id":362,"canonicalKey":363,"locale":8,"draft":6,"navigation":364,"icon":365,"path":366},"Error handling","content:docs:3.build:6.application-behavior:2.error-handling.md","3\u002F6\u002F2",{"icon":365},"i-lucide-circle-alert","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Ferror-handling",{"title":368,"id":369,"canonicalKey":370,"locale":8,"draft":6,"navigation":371,"icon":372,"path":373},"Logging","content:docs:3.build:6.application-behavior:3.logging.md","3\u002F6\u002F3",{"icon":372},"i-lucide-scroll-text","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Flogging",{"title":375,"id":376,"canonicalKey":377,"locale":8,"draft":6,"navigation":378,"icon":379,"path":380},"DevTools","content:docs:3.build:6.application-behavior:4.devtools.md","3\u002F6\u002F4",{"icon":379},"i-lucide-wrench","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Fdevtools",{"title":382,"id":383,"canonicalKey":384,"locale":8,"draft":6,"navigation":385,"icon":386,"path":387},"Performance","content:docs:3.build:6.application-behavior:5.performance.md","3\u002F6\u002F5",{"icon":386},"i-lucide-chart-no-axes-combined","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Fperformance",{"title":389,"page":6,"canonicalKey":390,"locale":8,"id":391,"draft":6,"icon":269,"children":392},"Agents and MCP","3\u002F7","content:docs:3.build:7.agents:.navigation.yml",[393,400,406,412],{"title":394,"id":395,"canonicalKey":396,"locale":8,"draft":6,"navigation":397,"icon":398,"path":399},"MCP on Convex","content:docs:3.build:7.agents:1.mcp.md","3\u002F7\u002F1",{"icon":398},"i-lucide-plug-zap","\u002Fdocs\u002Fbuild\u002Fagents\u002Fmcp",{"title":401,"id":402,"canonicalKey":403,"locale":8,"draft":6,"navigation":404,"icon":248,"path":405},"Add MCP to your application","content:docs:3.build:7.agents:2.mcp-application.md","3\u002F7\u002F2",{"icon":248},"\u002Fdocs\u002Fbuild\u002Fagents\u002Fmcp-application",{"title":407,"id":408,"canonicalKey":409,"locale":8,"draft":6,"navigation":410,"icon":340,"path":411},"Connect ChatGPT and Claude","content:docs:3.build:7.agents:3.connect-chatgpt-and-claude.md","3\u002F7\u002F3",{"icon":340},"\u002Fdocs\u002Fbuild\u002Fagents\u002Fconnect-chatgpt-and-claude",{"title":413,"id":414,"canonicalKey":415,"locale":8,"draft":6,"navigation":416,"icon":108,"path":417},"MCP Apps","content:docs:3.build:7.agents:4.mcp-apps.md","3\u002F7\u002F4",{"icon":108},"\u002Fdocs\u002Fbuild\u002Fagents\u002Fmcp-apps",{"title":419,"page":6,"canonicalKey":420,"locale":8,"id":421,"draft":6,"icon":422,"children":423},"Recipes","4","content:docs:4.recipes:.navigation.yml","i-lucide-cooking-pot",[424,431,438,445,452,459,466,472,478],{"title":425,"id":426,"canonicalKey":427,"locale":8,"draft":6,"navigation":428,"icon":429,"path":430},"Protected dashboard","content:docs:4.recipes:1.protected-dashboard.md","4\u002F1",{"icon":429},"i-lucide-layout-dashboard","\u002Fdocs\u002Frecipes\u002Fprotected-dashboard",{"title":432,"id":433,"canonicalKey":434,"locale":8,"draft":6,"navigation":435,"icon":436,"path":437},"Real-time feed","content:docs:4.recipes:2.realtime-feed.md","4\u002F2",{"icon":436},"i-lucide-messages-square","\u002Fdocs\u002Frecipes\u002Frealtime-feed",{"title":439,"id":440,"canonicalKey":441,"locale":8,"draft":6,"navigation":442,"icon":443,"path":444},"Optimistic todo list","content:docs:4.recipes:3.optimistic-todo-list.md","4\u002F3",{"icon":443},"i-lucide-list-todo","\u002Fdocs\u002Frecipes\u002Foptimistic-todo-list",{"title":446,"id":447,"canonicalKey":448,"locale":8,"draft":6,"navigation":449,"icon":450,"path":451},"Infinite scroll","content:docs:4.recipes:4.infinite-scroll.md","4\u002F4",{"icon":450},"i-lucide-mouse","\u002Fdocs\u002Frecipes\u002Finfinite-scroll",{"title":453,"id":454,"canonicalKey":455,"locale":8,"draft":6,"navigation":456,"icon":457,"path":458},"File upload form","content:docs:4.recipes:5.file-upload-form.md","4\u002F5",{"icon":457},"i-lucide-file-up","\u002Fdocs\u002Frecipes\u002Ffile-upload-form",{"title":460,"id":461,"canonicalKey":462,"locale":8,"draft":6,"navigation":463,"icon":464,"path":465},"Organization permissions","content:docs:4.recipes:6.organization-permissions.md","4\u002F6",{"icon":464},"i-lucide-building-2","\u002Fdocs\u002Frecipes\u002Forganization-permissions",{"title":467,"id":468,"canonicalKey":469,"locale":8,"draft":6,"navigation":470,"icon":301,"path":471},"Authenticated server route","content:docs:4.recipes:7.authenticated-server-route.md","4\u002F7",{"icon":301},"\u002Fdocs\u002Frecipes\u002Fauthenticated-server-route",{"title":473,"id":474,"canonicalKey":475,"locale":8,"draft":6,"navigation":476,"icon":108,"path":477},"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":479,"id":480,"canonicalKey":481,"locale":8,"draft":6,"navigation":482,"icon":483,"path":484},"Test signed-in screens","content:docs:4.recipes:9.component-testing.md","4\u002F9",{"icon":483},"i-lucide-flask-conical","\u002Fdocs\u002Frecipes\u002Fcomponent-testing",{"title":486,"page":6,"canonicalKey":487,"locale":8,"id":488,"draft":6,"icon":489,"children":490},"Concepts","5","content:docs:5.concepts:.navigation.yml","i-lucide-brain",[491,497,503,510,516,523,529,536,543],{"title":492,"id":493,"canonicalKey":494,"locale":8,"draft":6,"navigation":495,"icon":489,"path":496},"Mental model","content:docs:5.concepts:1.mental-model.md","5\u002F1",{"icon":489},"\u002Fdocs\u002Fconcepts\u002Fmental-model",{"title":498,"id":499,"canonicalKey":500,"locale":8,"draft":6,"navigation":501,"icon":234,"path":502},"Request lifecycle","content:docs:5.concepts:2.request-lifecycle.md","5\u002F2",{"icon":234},"\u002Fdocs\u002Fconcepts\u002Frequest-lifecycle",{"title":504,"id":505,"canonicalKey":506,"locale":8,"draft":6,"navigation":507,"icon":508,"path":509},"SSR, hydration, and real-time","content:docs:5.concepts:3.ssr-hydration-realtime.md","5\u002F3",{"icon":508},"i-lucide-refresh-cw","\u002Fdocs\u002Fconcepts\u002Fssr-hydration-realtime",{"title":511,"id":512,"canonicalKey":513,"locale":8,"draft":6,"navigation":514,"icon":124,"path":515},"Query ownership and caching","content:docs:5.concepts:4.query-ownership-and-caching.md","5\u002F4",{"icon":124},"\u002Fdocs\u002Fconcepts\u002Fquery-ownership-and-caching",{"title":517,"id":518,"canonicalKey":519,"locale":8,"draft":6,"navigation":520,"icon":521,"path":522},"Authentication and identity","content:docs:5.concepts:5.authentication-and-identity.md","5\u002F5",{"icon":521},"i-lucide-fingerprint","\u002Fdocs\u002Fconcepts\u002Fauthentication-and-identity",{"title":524,"id":525,"canonicalKey":526,"locale":8,"draft":6,"navigation":527,"icon":108,"path":528},"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":530,"id":531,"canonicalKey":532,"locale":8,"draft":6,"navigation":533,"icon":534,"path":535},"Errors and failures","content:docs:5.concepts:7.errors-and-failures.md","5\u002F7",{"icon":534},"i-lucide-circle-x","\u002Fdocs\u002Fconcepts\u002Ferrors-and-failures",{"title":537,"id":538,"canonicalKey":539,"locale":8,"draft":6,"navigation":540,"icon":541,"path":542},"Design decisions","content:docs:5.concepts:8.design-decisions.md","5\u002F8",{"icon":541},"i-lucide-git-branch","\u002Fdocs\u002Fconcepts\u002Fdesign-decisions",{"title":544,"id":545,"canonicalKey":546,"locale":8,"draft":6,"navigation":547,"icon":548,"path":549},"Glossary","content:docs:5.concepts:9.glossary.md","5\u002F9",{"icon":548},"i-lucide-book-a","\u002Fdocs\u002Fconcepts\u002Fglossary",{"title":551,"page":6,"canonicalKey":552,"locale":8,"id":553,"draft":6,"icon":214,"children":554},"Operations","6","content:docs:6.operations:.navigation.yml",[555,561,568,575,581,588,594],{"title":556,"id":557,"canonicalKey":558,"locale":8,"draft":6,"navigation":559,"icon":45,"path":560},"Deployment","content:docs:6.operations:1.deployment.md","6\u002F1",{"icon":45},"\u002Fdocs\u002Foperations\u002Fdeployment",{"title":562,"id":563,"canonicalKey":564,"locale":8,"draft":6,"navigation":565,"icon":566,"path":567},"Environment variables","content:docs:6.operations:2.environment-variables.md","6\u002F2",{"icon":566},"i-lucide-variable","\u002Fdocs\u002Foperations\u002Fenvironment-variables",{"title":569,"id":570,"canonicalKey":571,"locale":8,"draft":6,"navigation":572,"icon":573,"path":574},"Deploy to Vercel","content:docs:6.operations:3.deploy-to-vercel.md","6\u002F3",{"icon":573},"i-lucide-triangle","\u002Fdocs\u002Foperations\u002Fdeploy-to-vercel",{"title":576,"id":577,"canonicalKey":578,"locale":8,"draft":6,"navigation":579,"icon":379,"path":580},"Troubleshooting","content:docs:6.operations:4.troubleshooting.md","6\u002F4",{"icon":379},"\u002Fdocs\u002Foperations\u002Ftroubleshooting",{"title":582,"id":583,"canonicalKey":584,"locale":8,"draft":6,"navigation":585,"icon":586,"path":587},"Release compatibility","content:docs:6.operations:5.release-compatibility.md","6\u002F5",{"icon":586},"i-lucide-badge-check","\u002Fdocs\u002Foperations\u002Frelease-compatibility",{"title":589,"id":590,"canonicalKey":591,"locale":8,"draft":6,"navigation":592,"icon":87,"path":593},"Security model","content:docs:6.operations:6.security-model.md","6\u002F6",{"icon":87},"\u002Fdocs\u002Foperations\u002Fsecurity-model",{"title":595,"id":596,"canonicalKey":597,"locale":8,"draft":6,"navigation":598,"icon":599,"path":600},"Upgrade to 1.0","content:docs:6.operations:7.upgrade-to-1-0.md","6\u002F7",{"icon":599},"i-lucide-arrow-up-circle","\u002Fdocs\u002Foperations\u002Fupgrade-to-1-0",{"title":602,"page":6,"canonicalKey":603,"locale":8,"id":604,"draft":6,"icon":605,"children":606},"Reference","7","content:docs:7.reference:.navigation.yml","i-lucide-braces",[607,613,619,625,632,639],{"title":608,"id":609,"canonicalKey":610,"locale":8,"draft":6,"navigation":611,"icon":605,"path":612},"Composables","content:docs:7.reference:1.composables.md","7\u002F1",{"icon":605},"\u002Fdocs\u002Freference\u002Fcomposables",{"title":614,"id":615,"canonicalKey":616,"locale":8,"draft":6,"navigation":617,"icon":301,"path":618},"Server API","content:docs:7.reference:3.server-api.md","7\u002F3",{"icon":301},"\u002Fdocs\u002Freference\u002Fserver-api",{"title":620,"id":621,"canonicalKey":622,"locale":8,"draft":6,"navigation":623,"icon":534,"path":624},"Error types","content:docs:7.reference:4.error-types.md","7\u002F4",{"icon":534},"\u002Fdocs\u002Freference\u002Ferror-types",{"title":626,"id":627,"canonicalKey":628,"locale":8,"draft":6,"navigation":629,"icon":630,"path":631},"Module configuration","content:docs:7.reference:5.module-configuration.md","7\u002F5",{"icon":630},"i-lucide-settings","\u002Fdocs\u002Freference\u002Fmodule-configuration",{"title":633,"id":634,"canonicalKey":635,"locale":8,"draft":6,"navigation":636,"icon":637,"path":638},"Package exports","content:docs:7.reference:6.package-exports.md","7\u002F6",{"icon":637},"i-lucide-package-open","\u002Fdocs\u002Freference\u002Fpackage-exports",{"title":640,"id":641,"canonicalKey":642,"locale":8,"draft":6,"navigation":643,"icon":644,"path":645},"API surface","content:docs:7.reference:7.api-surface.md","7\u002F7",{"icon":644},"i-lucide-list","\u002Fdocs\u002Freference\u002Fapi-surface",{"title":647,"id":648,"canonicalKey":649,"locale":8,"draft":6,"path":650},"Better Convex documentation","content:docs:index.md","\u002F","\u002Fdocs",{"title":479,"description":652,"navigation":653,"body":654,"type":4391,"id":480,"canonicalKey":481,"draft":6,"partial":6,"locale":8,"collection":4392,"navigationFile":6,"file":4393,"route":4399,"resolution":4401},"Test Better Convex components with the real composables against an in-memory Convex connection.",{"icon":483},{"type":655,"children":656,"toc":4381},"root",[657,671,683,690,729,2079,2152,2164,2170,2189,2372,2383,2389,2394,2711,2728,2776,3143,3148,3287,3317,3336,3342,3347,3715,3720,4022,4033,4308,4314,4319,4349,4354,4376],{"type":658,"tag":659,"props":660,"children":661},"element","p",{},[662,669],{"type":658,"tag":663,"props":664,"children":665},"code",{},[666],{"type":667,"value":668},"text","setupBetterConvexTest()",{"type":667,"value":670}," creates a test runtime for component tests. Your component runs the real composables: queries, pagination, mutations, actions, forms, uploads, and operations. Only the Convex deployment is replaced. The test answers each request by its generated function reference.",{"type":658,"tag":659,"props":672,"children":673},{},[674,676,681],{"type":667,"value":675},"The runtime does not run your Convex functions. Test validators, authorization, and indexes with ",{"type":658,"tag":663,"props":677,"children":678},{},[679],{"type":667,"value":680},"convex-test",{"type":667,"value":682},".",{"type":658,"tag":684,"props":685,"children":687},"h2",{"id":686},"nuxt",[688],{"type":667,"value":689},"Nuxt",{"type":658,"tag":659,"props":691,"children":692},{},[693,695,700,702,707,709,714,716,721,723,727],{"type":667,"value":694},"Install the runtime's ",{"type":658,"tag":663,"props":696,"children":697},{},[698],{"type":667,"value":699},"plugin",{"type":667,"value":701}," in ",{"type":658,"tag":663,"props":703,"children":704},{},[705],{"type":667,"value":706},"mountSuspended",{"type":667,"value":708},". Bind only ",{"type":658,"tag":663,"props":710,"children":711},{},[712],{"type":667,"value":713},"useConvexAuth",{"type":667,"value":715}," with ",{"type":658,"tag":663,"props":717,"children":718},{},[719],{"type":667,"value":720},"mockNuxtImport",{"type":667,"value":722},". ",{"type":658,"tag":663,"props":724,"children":725},{},[726],{"type":667,"value":720},{"type":667,"value":728}," is a compile-time macro, so keep the runtime in a hoisted holder and create a new one before each test:",{"type":658,"tag":730,"props":731,"children":735},"pre",{"language":732,"filename":733,"class":734},"ts","tests\u002Fcomponent\u002Fclient-screen.test.ts","shiki shiki-themes light-plus dark-plus dark:dark-plus",[736],{"type":658,"tag":663,"props":737,"children":739},{"class":738},"language-ts",[740,788,790,802,803,816,817,834,835,852,853,918,919,922,923,952,953,975,976,979,980,1064,1065,1068,1069,1132,1133,1136,1137,1156,1157,1202,1203,1211,1212,1215,1216,1244,1245,1280,1281,1288,1289,1292,1293,1329,1330,1365,1366,1453,1454,1516,1517,1520,1521,1561,1562,1601,1602,1610,1611,1635,1636,1684,1685,1688,1689,1742,1743,1776,1777,1810,1811,1819,1820,1843,1844,1888,1889,1892,1893,1944,1945,1968,1969,2071,2072],{"type":658,"tag":741,"props":742,"children":745},"span",{"class":743,"style":744},"line","display: inline",[746,752,758,763,768,772,777,782],{"type":658,"tag":741,"props":747,"children":749},{"style":748},"color:#AF00DB;--shiki-dark:#C586C0",[750],{"type":667,"value":751},"import",{"type":658,"tag":741,"props":753,"children":755},{"style":754},"color:#000000;--shiki-dark:#D4D4D4",[756],{"type":667,"value":757}," { ",{"type":658,"tag":741,"props":759,"children":761},{"style":760},"color:#001080;--shiki-dark:#9CDCFE",[762],{"type":667,"value":720},{"type":658,"tag":741,"props":764,"children":765},{"style":754},[766],{"type":667,"value":767},", ",{"type":658,"tag":741,"props":769,"children":770},{"style":760},[771],{"type":667,"value":706},{"type":658,"tag":741,"props":773,"children":774},{"style":754},[775],{"type":667,"value":776}," } ",{"type":658,"tag":741,"props":778,"children":779},{"style":748},[780],{"type":667,"value":781},"from",{"type":658,"tag":741,"props":783,"children":785},{"style":784},"color:#A31515;--shiki-dark:#CE9178",[786],{"type":667,"value":787}," '@nuxt\u002Ftest-utils\u002Fruntime'",{"type":667,"value":789},"\n",{"type":658,"tag":741,"props":791,"children":792},{"class":743,"style":744},[793,797],{"type":658,"tag":741,"props":794,"children":795},{"style":748},[796],{"type":667,"value":751},{"type":658,"tag":741,"props":798,"children":799},{"style":754},[800],{"type":667,"value":801}," {",{"type":667,"value":789},{"type":658,"tag":741,"props":804,"children":805},{"class":743,"style":744},[806,811],{"type":658,"tag":741,"props":807,"children":808},{"style":760},[809],{"type":667,"value":810},"  setupBetterConvexTest",{"type":658,"tag":741,"props":812,"children":813},{"style":754},[814],{"type":667,"value":815},",",{"type":667,"value":789},{"type":658,"tag":741,"props":818,"children":819},{"class":743,"style":744},[820,825,830],{"type":658,"tag":741,"props":821,"children":822},{"style":748},[823],{"type":667,"value":824},"  type",{"type":658,"tag":741,"props":826,"children":827},{"style":760},[828],{"type":667,"value":829}," BetterConvexTestRuntime",{"type":658,"tag":741,"props":831,"children":832},{"style":754},[833],{"type":667,"value":815},{"type":667,"value":789},{"type":658,"tag":741,"props":836,"children":837},{"class":743,"style":744},[838,843,847],{"type":658,"tag":741,"props":839,"children":840},{"style":754},[841],{"type":667,"value":842},"} ",{"type":658,"tag":741,"props":844,"children":845},{"style":748},[846],{"type":667,"value":781},{"type":658,"tag":741,"props":848,"children":849},{"style":784},[850],{"type":667,"value":851}," '@lupinum\u002Fbetter-convex-nuxt\u002Ftest'",{"type":667,"value":789},{"type":658,"tag":741,"props":854,"children":855},{"class":743,"style":744},[856,860,864,869,873,878,882,887,891,896,900,905,909,913],{"type":658,"tag":741,"props":857,"children":858},{"style":748},[859],{"type":667,"value":751},{"type":658,"tag":741,"props":861,"children":862},{"style":754},[863],{"type":667,"value":757},{"type":658,"tag":741,"props":865,"children":866},{"style":760},[867],{"type":667,"value":868},"afterEach",{"type":658,"tag":741,"props":870,"children":871},{"style":754},[872],{"type":667,"value":767},{"type":658,"tag":741,"props":874,"children":875},{"style":760},[876],{"type":667,"value":877},"beforeEach",{"type":658,"tag":741,"props":879,"children":880},{"style":754},[881],{"type":667,"value":767},{"type":658,"tag":741,"props":883,"children":884},{"style":760},[885],{"type":667,"value":886},"expect",{"type":658,"tag":741,"props":888,"children":889},{"style":754},[890],{"type":667,"value":767},{"type":658,"tag":741,"props":892,"children":893},{"style":760},[894],{"type":667,"value":895},"it",{"type":658,"tag":741,"props":897,"children":898},{"style":754},[899],{"type":667,"value":767},{"type":658,"tag":741,"props":901,"children":902},{"style":760},[903],{"type":667,"value":904},"vi",{"type":658,"tag":741,"props":906,"children":907},{"style":754},[908],{"type":667,"value":776},{"type":658,"tag":741,"props":910,"children":911},{"style":748},[912],{"type":667,"value":781},{"type":658,"tag":741,"props":914,"children":915},{"style":784},[916],{"type":667,"value":917}," 'vitest'",{"type":667,"value":789},{"type":658,"tag":741,"props":920,"children":921},{"class":743,"style":744},[],{"type":667,"value":789},{"type":658,"tag":741,"props":924,"children":925},{"class":743,"style":744},[926,930,934,939,943,947],{"type":658,"tag":741,"props":927,"children":928},{"style":748},[929],{"type":667,"value":751},{"type":658,"tag":741,"props":931,"children":932},{"style":754},[933],{"type":667,"value":757},{"type":658,"tag":741,"props":935,"children":936},{"style":760},[937],{"type":667,"value":938},"api",{"type":658,"tag":741,"props":940,"children":941},{"style":754},[942],{"type":667,"value":776},{"type":658,"tag":741,"props":944,"children":945},{"style":748},[946],{"type":667,"value":781},{"type":658,"tag":741,"props":948,"children":949},{"style":784},[950],{"type":667,"value":951}," '#convex\u002Fapi'",{"type":667,"value":789},{"type":658,"tag":741,"props":954,"children":955},{"class":743,"style":744},[956,960,965,970],{"type":658,"tag":741,"props":957,"children":958},{"style":748},[959],{"type":667,"value":751},{"type":658,"tag":741,"props":961,"children":962},{"style":760},[963],{"type":667,"value":964}," ClientScreen",{"type":658,"tag":741,"props":966,"children":967},{"style":748},[968],{"type":667,"value":969}," from",{"type":658,"tag":741,"props":971,"children":972},{"style":784},[973],{"type":667,"value":974}," '~\u002Ffeatures\u002Fclients\u002FClientScreen.vue'",{"type":667,"value":789},{"type":658,"tag":741,"props":977,"children":978},{"class":743,"style":744},[],{"type":667,"value":789},{"type":658,"tag":741,"props":981,"children":982},{"class":743,"style":744},[983,989,995,1000,1004,1008,1014,1019,1024,1029,1034,1039,1044,1049,1054,1059],{"type":658,"tag":741,"props":984,"children":986},{"style":985},"color:#0000FF;--shiki-dark:#569CD6",[987],{"type":667,"value":988},"const",{"type":658,"tag":741,"props":990,"children":992},{"style":991},"color:#0070C1;--shiki-dark:#4FC1FF",[993],{"type":667,"value":994}," testState",{"type":658,"tag":741,"props":996,"children":997},{"style":754},[998],{"type":667,"value":999}," = ",{"type":658,"tag":741,"props":1001,"children":1002},{"style":760},[1003],{"type":667,"value":904},{"type":658,"tag":741,"props":1005,"children":1006},{"style":754},[1007],{"type":667,"value":682},{"type":658,"tag":741,"props":1009,"children":1011},{"style":1010},"color:#795E26;--shiki-dark:#DCDCAA",[1012],{"type":667,"value":1013},"hoisted",{"type":658,"tag":741,"props":1015,"children":1016},{"style":754},[1017],{"type":667,"value":1018},"(() ",{"type":658,"tag":741,"props":1020,"children":1021},{"style":985},[1022],{"type":667,"value":1023},"=>",{"type":658,"tag":741,"props":1025,"children":1026},{"style":754},[1027],{"type":667,"value":1028}," ({ ",{"type":658,"tag":741,"props":1030,"children":1031},{"style":760},[1032],{"type":667,"value":1033},"convex:",{"type":658,"tag":741,"props":1035,"children":1036},{"style":985},[1037],{"type":667,"value":1038}," null",{"type":658,"tag":741,"props":1040,"children":1041},{"style":748},[1042],{"type":667,"value":1043}," as",{"type":658,"tag":741,"props":1045,"children":1047},{"style":1046},"color:#267F99;--shiki-dark:#4EC9B0",[1048],{"type":667,"value":829},{"type":658,"tag":741,"props":1050,"children":1051},{"style":754},[1052],{"type":667,"value":1053}," | ",{"type":658,"tag":741,"props":1055,"children":1056},{"style":1046},[1057],{"type":667,"value":1058},"null",{"type":658,"tag":741,"props":1060,"children":1061},{"style":754},[1062],{"type":667,"value":1063}," }))",{"type":667,"value":789},{"type":658,"tag":741,"props":1066,"children":1067},{"class":743,"style":744},[],{"type":667,"value":789},{"type":658,"tag":741,"props":1070,"children":1071},{"class":743,"style":744},[1072,1076,1081,1086,1091,1095,1100,1104,1108,1112,1117,1122,1127],{"type":658,"tag":741,"props":1073,"children":1074},{"style":1010},[1075],{"type":667,"value":720},{"type":658,"tag":741,"props":1077,"children":1078},{"style":754},[1079],{"type":667,"value":1080},"(",{"type":658,"tag":741,"props":1082,"children":1083},{"style":784},[1084],{"type":667,"value":1085},"'useConvexAuth'",{"type":658,"tag":741,"props":1087,"children":1088},{"style":754},[1089],{"type":667,"value":1090},", () ",{"type":658,"tag":741,"props":1092,"children":1093},{"style":985},[1094],{"type":667,"value":1023},{"type":658,"tag":741,"props":1096,"children":1097},{"style":754},[1098],{"type":667,"value":1099}," () ",{"type":658,"tag":741,"props":1101,"children":1102},{"style":985},[1103],{"type":667,"value":1023},{"type":658,"tag":741,"props":1105,"children":1106},{"style":760},[1107],{"type":667,"value":994},{"type":658,"tag":741,"props":1109,"children":1110},{"style":754},[1111],{"type":667,"value":682},{"type":658,"tag":741,"props":1113,"children":1114},{"style":760},[1115],{"type":667,"value":1116},"convex",{"type":658,"tag":741,"props":1118,"children":1119},{"style":754},[1120],{"type":667,"value":1121},"!.",{"type":658,"tag":741,"props":1123,"children":1124},{"style":760},[1125],{"type":667,"value":1126},"auth",{"type":658,"tag":741,"props":1128,"children":1129},{"style":754},[1130],{"type":667,"value":1131},")",{"type":667,"value":789},{"type":658,"tag":741,"props":1134,"children":1135},{"class":743,"style":744},[],{"type":667,"value":789},{"type":658,"tag":741,"props":1138,"children":1139},{"class":743,"style":744},[1140,1144,1148,1152],{"type":658,"tag":741,"props":1141,"children":1142},{"style":1010},[1143],{"type":667,"value":877},{"type":658,"tag":741,"props":1145,"children":1146},{"style":754},[1147],{"type":667,"value":1018},{"type":658,"tag":741,"props":1149,"children":1150},{"style":985},[1151],{"type":667,"value":1023},{"type":658,"tag":741,"props":1153,"children":1154},{"style":754},[1155],{"type":667,"value":801},{"type":667,"value":789},{"type":658,"tag":741,"props":1158,"children":1159},{"class":743,"style":744},[1160,1165,1169,1173,1177,1182,1187,1192,1197],{"type":658,"tag":741,"props":1161,"children":1162},{"style":760},[1163],{"type":667,"value":1164},"  testState",{"type":658,"tag":741,"props":1166,"children":1167},{"style":754},[1168],{"type":667,"value":682},{"type":658,"tag":741,"props":1170,"children":1171},{"style":760},[1172],{"type":667,"value":1116},{"type":658,"tag":741,"props":1174,"children":1175},{"style":754},[1176],{"type":667,"value":999},{"type":658,"tag":741,"props":1178,"children":1179},{"style":1010},[1180],{"type":667,"value":1181},"setupBetterConvexTest",{"type":658,"tag":741,"props":1183,"children":1184},{"style":754},[1185],{"type":667,"value":1186},"({ ",{"type":658,"tag":741,"props":1188,"children":1189},{"style":760},[1190],{"type":667,"value":1191},"auth:",{"type":658,"tag":741,"props":1193,"children":1194},{"style":784},[1195],{"type":667,"value":1196}," 'authenticated'",{"type":658,"tag":741,"props":1198,"children":1199},{"style":754},[1200],{"type":667,"value":1201}," })",{"type":667,"value":789},{"type":658,"tag":741,"props":1204,"children":1205},{"class":743,"style":744},[1206],{"type":658,"tag":741,"props":1207,"children":1208},{"style":754},[1209],{"type":667,"value":1210},"})",{"type":667,"value":789},{"type":658,"tag":741,"props":1213,"children":1214},{"class":743,"style":744},[],{"type":667,"value":789},{"type":658,"tag":741,"props":1217,"children":1218},{"class":743,"style":744},[1219,1223,1227,1232,1236,1240],{"type":658,"tag":741,"props":1220,"children":1221},{"style":1010},[1222],{"type":667,"value":868},{"type":658,"tag":741,"props":1224,"children":1225},{"style":754},[1226],{"type":667,"value":1080},{"type":658,"tag":741,"props":1228,"children":1229},{"style":985},[1230],{"type":667,"value":1231},"async",{"type":658,"tag":741,"props":1233,"children":1234},{"style":754},[1235],{"type":667,"value":1099},{"type":658,"tag":741,"props":1237,"children":1238},{"style":985},[1239],{"type":667,"value":1023},{"type":658,"tag":741,"props":1241,"children":1242},{"style":754},[1243],{"type":667,"value":801},{"type":667,"value":789},{"type":658,"tag":741,"props":1246,"children":1247},{"class":743,"style":744},[1248,1253,1257,1261,1265,1270,1275],{"type":658,"tag":741,"props":1249,"children":1250},{"style":748},[1251],{"type":667,"value":1252},"  await",{"type":658,"tag":741,"props":1254,"children":1255},{"style":760},[1256],{"type":667,"value":994},{"type":658,"tag":741,"props":1258,"children":1259},{"style":754},[1260],{"type":667,"value":682},{"type":658,"tag":741,"props":1262,"children":1263},{"style":760},[1264],{"type":667,"value":1116},{"type":658,"tag":741,"props":1266,"children":1267},{"style":754},[1268],{"type":667,"value":1269},"?.",{"type":658,"tag":741,"props":1271,"children":1272},{"style":1010},[1273],{"type":667,"value":1274},"dispose",{"type":658,"tag":741,"props":1276,"children":1277},{"style":754},[1278],{"type":667,"value":1279},"()",{"type":667,"value":789},{"type":658,"tag":741,"props":1282,"children":1283},{"class":743,"style":744},[1284],{"type":658,"tag":741,"props":1285,"children":1286},{"style":754},[1287],{"type":667,"value":1210},{"type":667,"value":789},{"type":658,"tag":741,"props":1290,"children":1291},{"class":743,"style":744},[],{"type":667,"value":789},{"type":658,"tag":741,"props":1294,"children":1295},{"class":743,"style":744},[1296,1300,1304,1309,1313,1317,1321,1325],{"type":658,"tag":741,"props":1297,"children":1298},{"style":1010},[1299],{"type":667,"value":895},{"type":658,"tag":741,"props":1301,"children":1302},{"style":754},[1303],{"type":667,"value":1080},{"type":658,"tag":741,"props":1305,"children":1306},{"style":784},[1307],{"type":667,"value":1308},"'renders a realtime update and creates a client'",{"type":658,"tag":741,"props":1310,"children":1311},{"style":754},[1312],{"type":667,"value":767},{"type":658,"tag":741,"props":1314,"children":1315},{"style":985},[1316],{"type":667,"value":1231},{"type":658,"tag":741,"props":1318,"children":1319},{"style":754},[1320],{"type":667,"value":1099},{"type":658,"tag":741,"props":1322,"children":1323},{"style":985},[1324],{"type":667,"value":1023},{"type":658,"tag":741,"props":1326,"children":1327},{"style":754},[1328],{"type":667,"value":801},{"type":667,"value":789},{"type":658,"tag":741,"props":1331,"children":1332},{"class":743,"style":744},[1333,1338,1343,1347,1352,1356,1360],{"type":658,"tag":741,"props":1334,"children":1335},{"style":985},[1336],{"type":667,"value":1337},"  const",{"type":658,"tag":741,"props":1339,"children":1340},{"style":991},[1341],{"type":667,"value":1342}," convex",{"type":658,"tag":741,"props":1344,"children":1345},{"style":754},[1346],{"type":667,"value":999},{"type":658,"tag":741,"props":1348,"children":1349},{"style":760},[1350],{"type":667,"value":1351},"testState",{"type":658,"tag":741,"props":1353,"children":1354},{"style":754},[1355],{"type":667,"value":682},{"type":658,"tag":741,"props":1357,"children":1358},{"style":760},[1359],{"type":667,"value":1116},{"type":658,"tag":741,"props":1361,"children":1362},{"style":754},[1363],{"type":667,"value":1364},"!",{"type":667,"value":789},{"type":658,"tag":741,"props":1367,"children":1368},{"class":743,"style":744},[1369,1374,1378,1383,1387,1391,1395,1400,1404,1409,1414,1419,1424,1429,1434,1438,1443,1448],{"type":658,"tag":741,"props":1370,"children":1371},{"style":760},[1372],{"type":667,"value":1373},"  convex",{"type":658,"tag":741,"props":1375,"children":1376},{"style":754},[1377],{"type":667,"value":682},{"type":658,"tag":741,"props":1379,"children":1380},{"style":1010},[1381],{"type":667,"value":1382},"query",{"type":658,"tag":741,"props":1384,"children":1385},{"style":754},[1386],{"type":667,"value":1080},{"type":658,"tag":741,"props":1388,"children":1389},{"style":760},[1390],{"type":667,"value":938},{"type":658,"tag":741,"props":1392,"children":1393},{"style":754},[1394],{"type":667,"value":682},{"type":658,"tag":741,"props":1396,"children":1397},{"style":760},[1398],{"type":667,"value":1399},"clients",{"type":658,"tag":741,"props":1401,"children":1402},{"style":754},[1403],{"type":667,"value":682},{"type":658,"tag":741,"props":1405,"children":1406},{"style":760},[1407],{"type":667,"value":1408},"list",{"type":658,"tag":741,"props":1410,"children":1411},{"style":754},[1412],{"type":667,"value":1413},").",{"type":658,"tag":741,"props":1415,"children":1416},{"style":1010},[1417],{"type":667,"value":1418},"resolve",{"type":658,"tag":741,"props":1420,"children":1421},{"style":754},[1422],{"type":667,"value":1423},"([{ ",{"type":658,"tag":741,"props":1425,"children":1426},{"style":760},[1427],{"type":667,"value":1428},"id:",{"type":658,"tag":741,"props":1430,"children":1431},{"style":784},[1432],{"type":667,"value":1433}," 'one'",{"type":658,"tag":741,"props":1435,"children":1436},{"style":754},[1437],{"type":667,"value":767},{"type":658,"tag":741,"props":1439,"children":1440},{"style":760},[1441],{"type":667,"value":1442},"name:",{"type":658,"tag":741,"props":1444,"children":1445},{"style":784},[1446],{"type":667,"value":1447}," 'First'",{"type":658,"tag":741,"props":1449,"children":1450},{"style":754},[1451],{"type":667,"value":1452}," }])",{"type":667,"value":789},{"type":658,"tag":741,"props":1455,"children":1456},{"class":743,"style":744},[1457,1461,1465,1470,1474,1478,1482,1486,1490,1495,1499,1503,1507,1512],{"type":658,"tag":741,"props":1458,"children":1459},{"style":760},[1460],{"type":667,"value":1373},{"type":658,"tag":741,"props":1462,"children":1463},{"style":754},[1464],{"type":667,"value":682},{"type":658,"tag":741,"props":1466,"children":1467},{"style":1010},[1468],{"type":667,"value":1469},"mutation",{"type":658,"tag":741,"props":1471,"children":1472},{"style":754},[1473],{"type":667,"value":1080},{"type":658,"tag":741,"props":1475,"children":1476},{"style":760},[1477],{"type":667,"value":938},{"type":658,"tag":741,"props":1479,"children":1480},{"style":754},[1481],{"type":667,"value":682},{"type":658,"tag":741,"props":1483,"children":1484},{"style":760},[1485],{"type":667,"value":1399},{"type":658,"tag":741,"props":1487,"children":1488},{"style":754},[1489],{"type":667,"value":682},{"type":658,"tag":741,"props":1491,"children":1492},{"style":760},[1493],{"type":667,"value":1494},"create",{"type":658,"tag":741,"props":1496,"children":1497},{"style":754},[1498],{"type":667,"value":1413},{"type":658,"tag":741,"props":1500,"children":1501},{"style":1010},[1502],{"type":667,"value":1418},{"type":658,"tag":741,"props":1504,"children":1505},{"style":754},[1506],{"type":667,"value":1080},{"type":658,"tag":741,"props":1508,"children":1509},{"style":784},[1510],{"type":667,"value":1511},"'client-two'",{"type":658,"tag":741,"props":1513,"children":1514},{"style":754},[1515],{"type":667,"value":1131},{"type":667,"value":789},{"type":658,"tag":741,"props":1518,"children":1519},{"class":743,"style":744},[],{"type":667,"value":789},{"type":658,"tag":741,"props":1522,"children":1523},{"class":743,"style":744},[1524,1528,1533,1537,1542,1547,1551,1556],{"type":658,"tag":741,"props":1525,"children":1526},{"style":985},[1527],{"type":667,"value":1337},{"type":658,"tag":741,"props":1529,"children":1530},{"style":991},[1531],{"type":667,"value":1532}," wrapper",{"type":658,"tag":741,"props":1534,"children":1535},{"style":754},[1536],{"type":667,"value":999},{"type":658,"tag":741,"props":1538,"children":1539},{"style":748},[1540],{"type":667,"value":1541},"await",{"type":658,"tag":741,"props":1543,"children":1544},{"style":1010},[1545],{"type":667,"value":1546}," mountSuspended",{"type":658,"tag":741,"props":1548,"children":1549},{"style":754},[1550],{"type":667,"value":1080},{"type":658,"tag":741,"props":1552,"children":1553},{"style":760},[1554],{"type":667,"value":1555},"ClientScreen",{"type":658,"tag":741,"props":1557,"children":1558},{"style":754},[1559],{"type":667,"value":1560},", {",{"type":667,"value":789},{"type":658,"tag":741,"props":1563,"children":1564},{"class":743,"style":744},[1565,1570,1574,1579,1584,1588,1592,1596],{"type":658,"tag":741,"props":1566,"children":1567},{"style":760},[1568],{"type":667,"value":1569},"    global:",{"type":658,"tag":741,"props":1571,"children":1572},{"style":754},[1573],{"type":667,"value":757},{"type":658,"tag":741,"props":1575,"children":1576},{"style":760},[1577],{"type":667,"value":1578},"plugins:",{"type":658,"tag":741,"props":1580,"children":1581},{"style":754},[1582],{"type":667,"value":1583}," [",{"type":658,"tag":741,"props":1585,"children":1586},{"style":760},[1587],{"type":667,"value":1116},{"type":658,"tag":741,"props":1589,"children":1590},{"style":754},[1591],{"type":667,"value":682},{"type":658,"tag":741,"props":1593,"children":1594},{"style":760},[1595],{"type":667,"value":699},{"type":658,"tag":741,"props":1597,"children":1598},{"style":754},[1599],{"type":667,"value":1600},"] },",{"type":667,"value":789},{"type":658,"tag":741,"props":1603,"children":1604},{"class":743,"style":744},[1605],{"type":658,"tag":741,"props":1606,"children":1607},{"style":754},[1608],{"type":667,"value":1609},"  })",{"type":667,"value":789},{"type":658,"tag":741,"props":1612,"children":1613},{"class":743,"style":744},[1614,1618,1622,1626,1631],{"type":658,"tag":741,"props":1615,"children":1616},{"style":748},[1617],{"type":667,"value":1252},{"type":658,"tag":741,"props":1619,"children":1620},{"style":760},[1621],{"type":667,"value":1342},{"type":658,"tag":741,"props":1623,"children":1624},{"style":754},[1625],{"type":667,"value":682},{"type":658,"tag":741,"props":1627,"children":1628},{"style":1010},[1629],{"type":667,"value":1630},"flush",{"type":658,"tag":741,"props":1632,"children":1633},{"style":754},[1634],{"type":667,"value":1279},{"type":667,"value":789},{"type":658,"tag":741,"props":1637,"children":1638},{"class":743,"style":744},[1639,1644,1648,1653,1657,1661,1666,1671,1675,1680],{"type":658,"tag":741,"props":1640,"children":1641},{"style":1010},[1642],{"type":667,"value":1643},"  expect",{"type":658,"tag":741,"props":1645,"children":1646},{"style":754},[1647],{"type":667,"value":1080},{"type":658,"tag":741,"props":1649,"children":1650},{"style":760},[1651],{"type":667,"value":1652},"wrapper",{"type":658,"tag":741,"props":1654,"children":1655},{"style":754},[1656],{"type":667,"value":682},{"type":658,"tag":741,"props":1658,"children":1659},{"style":1010},[1660],{"type":667,"value":667},{"type":658,"tag":741,"props":1662,"children":1663},{"style":754},[1664],{"type":667,"value":1665},"()).",{"type":658,"tag":741,"props":1667,"children":1668},{"style":1010},[1669],{"type":667,"value":1670},"toContain",{"type":658,"tag":741,"props":1672,"children":1673},{"style":754},[1674],{"type":667,"value":1080},{"type":658,"tag":741,"props":1676,"children":1677},{"style":784},[1678],{"type":667,"value":1679},"'First'",{"type":658,"tag":741,"props":1681,"children":1682},{"style":754},[1683],{"type":667,"value":1131},{"type":667,"value":789},{"type":658,"tag":741,"props":1686,"children":1687},{"class":743,"style":744},[],{"type":667,"value":789},{"type":658,"tag":741,"props":1690,"children":1691},{"class":743,"style":744},[1692,1696,1700,1704,1708,1712,1716,1720,1724,1728,1732,1737],{"type":658,"tag":741,"props":1693,"children":1694},{"style":760},[1695],{"type":667,"value":1373},{"type":658,"tag":741,"props":1697,"children":1698},{"style":754},[1699],{"type":667,"value":682},{"type":658,"tag":741,"props":1701,"children":1702},{"style":1010},[1703],{"type":667,"value":1382},{"type":658,"tag":741,"props":1705,"children":1706},{"style":754},[1707],{"type":667,"value":1080},{"type":658,"tag":741,"props":1709,"children":1710},{"style":760},[1711],{"type":667,"value":938},{"type":658,"tag":741,"props":1713,"children":1714},{"style":754},[1715],{"type":667,"value":682},{"type":658,"tag":741,"props":1717,"children":1718},{"style":760},[1719],{"type":667,"value":1399},{"type":658,"tag":741,"props":1721,"children":1722},{"style":754},[1723],{"type":667,"value":682},{"type":658,"tag":741,"props":1725,"children":1726},{"style":760},[1727],{"type":667,"value":1408},{"type":658,"tag":741,"props":1729,"children":1730},{"style":754},[1731],{"type":667,"value":1413},{"type":658,"tag":741,"props":1733,"children":1734},{"style":1010},[1735],{"type":667,"value":1736},"push",{"type":658,"tag":741,"props":1738,"children":1739},{"style":754},[1740],{"type":667,"value":1741},"([",{"type":667,"value":789},{"type":658,"tag":741,"props":1744,"children":1745},{"class":743,"style":744},[1746,1751,1755,1759,1763,1767,1771],{"type":658,"tag":741,"props":1747,"children":1748},{"style":754},[1749],{"type":667,"value":1750},"    { ",{"type":658,"tag":741,"props":1752,"children":1753},{"style":760},[1754],{"type":667,"value":1428},{"type":658,"tag":741,"props":1756,"children":1757},{"style":784},[1758],{"type":667,"value":1433},{"type":658,"tag":741,"props":1760,"children":1761},{"style":754},[1762],{"type":667,"value":767},{"type":658,"tag":741,"props":1764,"children":1765},{"style":760},[1766],{"type":667,"value":1442},{"type":658,"tag":741,"props":1768,"children":1769},{"style":784},[1770],{"type":667,"value":1447},{"type":658,"tag":741,"props":1772,"children":1773},{"style":754},[1774],{"type":667,"value":1775}," },",{"type":667,"value":789},{"type":658,"tag":741,"props":1778,"children":1779},{"class":743,"style":744},[1780,1784,1788,1793,1797,1801,1806],{"type":658,"tag":741,"props":1781,"children":1782},{"style":754},[1783],{"type":667,"value":1750},{"type":658,"tag":741,"props":1785,"children":1786},{"style":760},[1787],{"type":667,"value":1428},{"type":658,"tag":741,"props":1789,"children":1790},{"style":784},[1791],{"type":667,"value":1792}," 'two'",{"type":658,"tag":741,"props":1794,"children":1795},{"style":754},[1796],{"type":667,"value":767},{"type":658,"tag":741,"props":1798,"children":1799},{"style":760},[1800],{"type":667,"value":1442},{"type":658,"tag":741,"props":1802,"children":1803},{"style":784},[1804],{"type":667,"value":1805}," 'Second'",{"type":658,"tag":741,"props":1807,"children":1808},{"style":754},[1809],{"type":667,"value":1775},{"type":667,"value":789},{"type":658,"tag":741,"props":1812,"children":1813},{"class":743,"style":744},[1814],{"type":658,"tag":741,"props":1815,"children":1816},{"style":754},[1817],{"type":667,"value":1818},"  ])",{"type":667,"value":789},{"type":658,"tag":741,"props":1821,"children":1822},{"class":743,"style":744},[1823,1827,1831,1835,1839],{"type":658,"tag":741,"props":1824,"children":1825},{"style":748},[1826],{"type":667,"value":1252},{"type":658,"tag":741,"props":1828,"children":1829},{"style":760},[1830],{"type":667,"value":1342},{"type":658,"tag":741,"props":1832,"children":1833},{"style":754},[1834],{"type":667,"value":682},{"type":658,"tag":741,"props":1836,"children":1837},{"style":1010},[1838],{"type":667,"value":1630},{"type":658,"tag":741,"props":1840,"children":1841},{"style":754},[1842],{"type":667,"value":1279},{"type":667,"value":789},{"type":658,"tag":741,"props":1845,"children":1846},{"class":743,"style":744},[1847,1851,1855,1859,1863,1867,1871,1875,1879,1884],{"type":658,"tag":741,"props":1848,"children":1849},{"style":1010},[1850],{"type":667,"value":1643},{"type":658,"tag":741,"props":1852,"children":1853},{"style":754},[1854],{"type":667,"value":1080},{"type":658,"tag":741,"props":1856,"children":1857},{"style":760},[1858],{"type":667,"value":1652},{"type":658,"tag":741,"props":1860,"children":1861},{"style":754},[1862],{"type":667,"value":682},{"type":658,"tag":741,"props":1864,"children":1865},{"style":1010},[1866],{"type":667,"value":667},{"type":658,"tag":741,"props":1868,"children":1869},{"style":754},[1870],{"type":667,"value":1665},{"type":658,"tag":741,"props":1872,"children":1873},{"style":1010},[1874],{"type":667,"value":1670},{"type":658,"tag":741,"props":1876,"children":1877},{"style":754},[1878],{"type":667,"value":1080},{"type":658,"tag":741,"props":1880,"children":1881},{"style":784},[1882],{"type":667,"value":1883},"'Second'",{"type":658,"tag":741,"props":1885,"children":1886},{"style":754},[1887],{"type":667,"value":1131},{"type":667,"value":789},{"type":658,"tag":741,"props":1890,"children":1891},{"class":743,"style":744},[],{"type":667,"value":789},{"type":658,"tag":741,"props":1894,"children":1895},{"class":743,"style":744},[1896,1900,1904,1908,1913,1917,1922,1926,1931,1935,1940],{"type":658,"tag":741,"props":1897,"children":1898},{"style":748},[1899],{"type":667,"value":1252},{"type":658,"tag":741,"props":1901,"children":1902},{"style":760},[1903],{"type":667,"value":1532},{"type":658,"tag":741,"props":1905,"children":1906},{"style":754},[1907],{"type":667,"value":682},{"type":658,"tag":741,"props":1909,"children":1910},{"style":1010},[1911],{"type":667,"value":1912},"get",{"type":658,"tag":741,"props":1914,"children":1915},{"style":754},[1916],{"type":667,"value":1080},{"type":658,"tag":741,"props":1918,"children":1919},{"style":784},[1920],{"type":667,"value":1921},"'form'",{"type":658,"tag":741,"props":1923,"children":1924},{"style":754},[1925],{"type":667,"value":1413},{"type":658,"tag":741,"props":1927,"children":1928},{"style":1010},[1929],{"type":667,"value":1930},"trigger",{"type":658,"tag":741,"props":1932,"children":1933},{"style":754},[1934],{"type":667,"value":1080},{"type":658,"tag":741,"props":1936,"children":1937},{"style":784},[1938],{"type":667,"value":1939},"'submit'",{"type":658,"tag":741,"props":1941,"children":1942},{"style":754},[1943],{"type":667,"value":1131},{"type":667,"value":789},{"type":658,"tag":741,"props":1946,"children":1947},{"class":743,"style":744},[1948,1952,1956,1960,1964],{"type":658,"tag":741,"props":1949,"children":1950},{"style":748},[1951],{"type":667,"value":1252},{"type":658,"tag":741,"props":1953,"children":1954},{"style":760},[1955],{"type":667,"value":1342},{"type":658,"tag":741,"props":1957,"children":1958},{"style":754},[1959],{"type":667,"value":682},{"type":658,"tag":741,"props":1961,"children":1962},{"style":1010},[1963],{"type":667,"value":1630},{"type":658,"tag":741,"props":1965,"children":1966},{"style":754},[1967],{"type":667,"value":1279},{"type":667,"value":789},{"type":658,"tag":741,"props":1970,"children":1971},{"class":743,"style":744},[1972,1976,1980,1984,1988,1992,1996,2000,2004,2008,2012,2016,2020,2025,2030,2036,2041,2046,2050,2055,2059,2063,2067],{"type":658,"tag":741,"props":1973,"children":1974},{"style":1010},[1975],{"type":667,"value":1643},{"type":658,"tag":741,"props":1977,"children":1978},{"style":754},[1979],{"type":667,"value":1080},{"type":658,"tag":741,"props":1981,"children":1982},{"style":760},[1983],{"type":667,"value":1116},{"type":658,"tag":741,"props":1985,"children":1986},{"style":754},[1987],{"type":667,"value":682},{"type":658,"tag":741,"props":1989,"children":1990},{"style":1010},[1991],{"type":667,"value":1469},{"type":658,"tag":741,"props":1993,"children":1994},{"style":754},[1995],{"type":667,"value":1080},{"type":658,"tag":741,"props":1997,"children":1998},{"style":760},[1999],{"type":667,"value":938},{"type":658,"tag":741,"props":2001,"children":2002},{"style":754},[2003],{"type":667,"value":682},{"type":658,"tag":741,"props":2005,"children":2006},{"style":760},[2007],{"type":667,"value":1399},{"type":658,"tag":741,"props":2009,"children":2010},{"style":754},[2011],{"type":667,"value":682},{"type":658,"tag":741,"props":2013,"children":2014},{"style":760},[2015],{"type":667,"value":1494},{"type":658,"tag":741,"props":2017,"children":2018},{"style":754},[2019],{"type":667,"value":1413},{"type":658,"tag":741,"props":2021,"children":2022},{"style":760},[2023],{"type":667,"value":2024},"calls",{"type":658,"tag":741,"props":2026,"children":2027},{"style":754},[2028],{"type":667,"value":2029},"[",{"type":658,"tag":741,"props":2031,"children":2033},{"style":2032},"color:#098658;--shiki-dark:#B5CEA8",[2034],{"type":667,"value":2035},"0",{"type":658,"tag":741,"props":2037,"children":2038},{"style":754},[2039],{"type":667,"value":2040},"]?.",{"type":658,"tag":741,"props":2042,"children":2043},{"style":760},[2044],{"type":667,"value":2045},"args",{"type":658,"tag":741,"props":2047,"children":2048},{"style":754},[2049],{"type":667,"value":1413},{"type":658,"tag":741,"props":2051,"children":2052},{"style":1010},[2053],{"type":667,"value":2054},"toEqual",{"type":658,"tag":741,"props":2056,"children":2057},{"style":754},[2058],{"type":667,"value":1186},{"type":658,"tag":741,"props":2060,"children":2061},{"style":760},[2062],{"type":667,"value":1442},{"type":658,"tag":741,"props":2064,"children":2065},{"style":784},[2066],{"type":667,"value":1805},{"type":658,"tag":741,"props":2068,"children":2069},{"style":754},[2070],{"type":667,"value":1201},{"type":667,"value":789},{"type":658,"tag":741,"props":2073,"children":2074},{"class":743,"style":744},[2075],{"type":658,"tag":741,"props":2076,"children":2077},{"style":754},[2078],{"type":667,"value":1210},{"type":658,"tag":659,"props":2080,"children":2081},{},[2082,2087,2089,2094,2096,2101,2102,2107,2108,2113,2114,2119,2120,2125,2127,2132,2133,2138,2139,2144,2146,2151],{"type":658,"tag":663,"props":2083,"children":2084},{},[2085],{"type":667,"value":2086},"convex.auth",{"type":667,"value":2088}," is a ",{"type":658,"tag":663,"props":2090,"children":2091},{},[2092],{"type":667,"value":2093},"useConvexAuth()",{"type":667,"value":2095}," double: ",{"type":658,"tag":663,"props":2097,"children":2098},{},[2099],{"type":667,"value":2100},"status",{"type":667,"value":767},{"type":658,"tag":663,"props":2103,"children":2104},{},[2105],{"type":667,"value":2106},"pending",{"type":667,"value":767},{"type":658,"tag":663,"props":2109,"children":2110},{},[2111],{"type":667,"value":2112},"user",{"type":667,"value":767},{"type":658,"tag":663,"props":2115,"children":2116},{},[2117],{"type":667,"value":2118},"error",{"type":667,"value":767},{"type":658,"tag":663,"props":2121,"children":2122},{},[2123],{"type":667,"value":2124},"ready()",{"type":667,"value":2126},", and ",{"type":658,"tag":663,"props":2128,"children":2129},{},[2130],{"type":667,"value":2131},"client.signIn.email()",{"type":667,"value":767},{"type":658,"tag":663,"props":2134,"children":2135},{},[2136],{"type":667,"value":2137},"client.signUp.email()",{"type":667,"value":2126},{"type":658,"tag":663,"props":2140,"children":2141},{},[2142],{"type":667,"value":2143},"client.signOut()",{"type":667,"value":2145},". It moves the same identity as ",{"type":658,"tag":663,"props":2147,"children":2148},{},[2149],{"type":667,"value":2150},"convex.auth.signIn()",{"type":667,"value":682},{"type":658,"tag":659,"props":2153,"children":2154},{},[2155,2157,2162],{"type":667,"value":2156},"Use ",{"type":658,"tag":663,"props":2158,"children":2159},{},[2160],{"type":667,"value":2161},"await convex.flush()",{"type":667,"value":2163}," after you change the identity or answer a request. It lets promises and Vue watchers finish without timers, so it also works with fake timers.",{"type":658,"tag":684,"props":2165,"children":2167},{"id":2166},"plain-vue",[2168],{"type":667,"value":2169},"Plain Vue",{"type":658,"tag":659,"props":2171,"children":2172},{},[2173,2175,2180,2182,2187],{"type":667,"value":2174},"Import the runtime from ",{"type":658,"tag":663,"props":2176,"children":2177},{},[2178],{"type":667,"value":2179},"@lupinum\u002Fbetter-convex-vue\u002Ftest",{"type":667,"value":2181}," and install its plugin instead of ",{"type":658,"tag":663,"props":2183,"children":2184},{},[2185],{"type":667,"value":2186},"createBetterConvex()",{"type":667,"value":2188},":",{"type":658,"tag":730,"props":2190,"children":2192},{"language":732,"filename":2191,"class":734},"src\u002Fcomponents\u002FClientScreen.test.ts",[2193],{"type":658,"tag":663,"props":2194,"children":2195},{"class":738},[2196,2224,2225,2254,2255,2258,2259,2305,2306],{"type":658,"tag":741,"props":2197,"children":2198},{"class":743,"style":744},[2199,2203,2207,2211,2215,2219],{"type":658,"tag":741,"props":2200,"children":2201},{"style":748},[2202],{"type":667,"value":751},{"type":658,"tag":741,"props":2204,"children":2205},{"style":754},[2206],{"type":667,"value":757},{"type":658,"tag":741,"props":2208,"children":2209},{"style":760},[2210],{"type":667,"value":1181},{"type":658,"tag":741,"props":2212,"children":2213},{"style":754},[2214],{"type":667,"value":776},{"type":658,"tag":741,"props":2216,"children":2217},{"style":748},[2218],{"type":667,"value":781},{"type":658,"tag":741,"props":2220,"children":2221},{"style":784},[2222],{"type":667,"value":2223}," '@lupinum\u002Fbetter-convex-vue\u002Ftest'",{"type":667,"value":789},{"type":658,"tag":741,"props":2226,"children":2227},{"class":743,"style":744},[2228,2232,2236,2241,2245,2249],{"type":658,"tag":741,"props":2229,"children":2230},{"style":748},[2231],{"type":667,"value":751},{"type":658,"tag":741,"props":2233,"children":2234},{"style":754},[2235],{"type":667,"value":757},{"type":658,"tag":741,"props":2237,"children":2238},{"style":760},[2239],{"type":667,"value":2240},"mount",{"type":658,"tag":741,"props":2242,"children":2243},{"style":754},[2244],{"type":667,"value":776},{"type":658,"tag":741,"props":2246,"children":2247},{"style":748},[2248],{"type":667,"value":781},{"type":658,"tag":741,"props":2250,"children":2251},{"style":784},[2252],{"type":667,"value":2253}," '@vue\u002Ftest-utils'",{"type":667,"value":789},{"type":658,"tag":741,"props":2256,"children":2257},{"class":743,"style":744},[],{"type":667,"value":789},{"type":658,"tag":741,"props":2260,"children":2261},{"class":743,"style":744},[2262,2266,2270,2274,2278,2282,2286,2290,2295,2300],{"type":658,"tag":741,"props":2263,"children":2264},{"style":985},[2265],{"type":667,"value":988},{"type":658,"tag":741,"props":2267,"children":2268},{"style":991},[2269],{"type":667,"value":1342},{"type":658,"tag":741,"props":2271,"children":2272},{"style":754},[2273],{"type":667,"value":999},{"type":658,"tag":741,"props":2275,"children":2276},{"style":1010},[2277],{"type":667,"value":1181},{"type":658,"tag":741,"props":2279,"children":2280},{"style":754},[2281],{"type":667,"value":1186},{"type":658,"tag":741,"props":2283,"children":2284},{"style":760},[2285],{"type":667,"value":1191},{"type":658,"tag":741,"props":2287,"children":2288},{"style":754},[2289],{"type":667,"value":757},{"type":658,"tag":741,"props":2291,"children":2292},{"style":760},[2293],{"type":667,"value":2294},"subject:",{"type":658,"tag":741,"props":2296,"children":2297},{"style":784},[2298],{"type":667,"value":2299}," 'alice'",{"type":658,"tag":741,"props":2301,"children":2302},{"style":754},[2303],{"type":667,"value":2304}," } })",{"type":667,"value":789},{"type":658,"tag":741,"props":2307,"children":2308},{"class":743,"style":744},[2309,2313,2317,2321,2325,2329,2333,2338,2343,2347,2351,2355,2359,2363,2367],{"type":658,"tag":741,"props":2310,"children":2311},{"style":985},[2312],{"type":667,"value":988},{"type":658,"tag":741,"props":2314,"children":2315},{"style":991},[2316],{"type":667,"value":1532},{"type":658,"tag":741,"props":2318,"children":2319},{"style":754},[2320],{"type":667,"value":999},{"type":658,"tag":741,"props":2322,"children":2323},{"style":1010},[2324],{"type":667,"value":2240},{"type":658,"tag":741,"props":2326,"children":2327},{"style":754},[2328],{"type":667,"value":1080},{"type":658,"tag":741,"props":2330,"children":2331},{"style":760},[2332],{"type":667,"value":1555},{"type":658,"tag":741,"props":2334,"children":2335},{"style":754},[2336],{"type":667,"value":2337},", { ",{"type":658,"tag":741,"props":2339,"children":2340},{"style":760},[2341],{"type":667,"value":2342},"global:",{"type":658,"tag":741,"props":2344,"children":2345},{"style":754},[2346],{"type":667,"value":757},{"type":658,"tag":741,"props":2348,"children":2349},{"style":760},[2350],{"type":667,"value":1578},{"type":658,"tag":741,"props":2352,"children":2353},{"style":754},[2354],{"type":667,"value":1583},{"type":658,"tag":741,"props":2356,"children":2357},{"style":760},[2358],{"type":667,"value":1116},{"type":658,"tag":741,"props":2360,"children":2361},{"style":754},[2362],{"type":667,"value":682},{"type":658,"tag":741,"props":2364,"children":2365},{"style":760},[2366],{"type":667,"value":699},{"type":658,"tag":741,"props":2368,"children":2369},{"style":754},[2370],{"type":667,"value":2371},"] } })",{"type":658,"tag":659,"props":2373,"children":2374},{},[2375,2377,2382],{"type":667,"value":2376},"For an embedded application, pass the runtime's attachment: ",{"type":658,"tag":663,"props":2378,"children":2379},{},[2380],{"type":667,"value":2381},"createBetterConvex({ attachment: convex.attachment })",{"type":667,"value":682},{"type":658,"tag":684,"props":2384,"children":2386},{"id":2385},"answer-requests",[2387],{"type":667,"value":2388},"Answer requests",{"type":658,"tag":659,"props":2390,"children":2391},{},[2392],{"type":667,"value":2393},"Every request stays pending until the test answers it. Use this to assert loading states.",{"type":658,"tag":2395,"props":2396,"children":2397},"table",{},[2398,2417],{"type":658,"tag":2399,"props":2400,"children":2401},"thead",{},[2402],{"type":658,"tag":2403,"props":2404,"children":2405},"tr",{},[2406,2412],{"type":658,"tag":2407,"props":2408,"children":2409},"th",{},[2410],{"type":667,"value":2411},"Control",{"type":658,"tag":2407,"props":2413,"children":2414},{},[2415],{"type":667,"value":2416},"Answers",{"type":658,"tag":2418,"props":2419,"children":2420},"tbody",{},[2421,2477,2502,2554,2601,2638,2688],{"type":658,"tag":2403,"props":2422,"children":2423},{},[2424,2433],{"type":658,"tag":2425,"props":2426,"children":2427},"td",{},[2428],{"type":658,"tag":663,"props":2429,"children":2430},{},[2431],{"type":667,"value":2432},"convex.query(ref, args?)",{"type":658,"tag":2425,"props":2434,"children":2435},{},[2436,2441,2442,2447,2449,2454,2455,2460,2461,2465,2466,2471,2472],{"type":658,"tag":663,"props":2437,"children":2438},{},[2439],{"type":667,"value":2440},"resolve(value)",{"type":667,"value":767},{"type":658,"tag":663,"props":2443,"children":2444},{},[2445],{"type":667,"value":2446},"push(value)",{"type":667,"value":2448}," for a live update, ",{"type":658,"tag":663,"props":2450,"children":2451},{},[2452],{"type":667,"value":2453},"reject(error)",{"type":667,"value":767},{"type":658,"tag":663,"props":2456,"children":2457},{},[2458],{"type":667,"value":2459},"reset()",{"type":667,"value":767},{"type":658,"tag":663,"props":2462,"children":2463},{},[2464],{"type":667,"value":2024},{"type":667,"value":767},{"type":658,"tag":663,"props":2467,"children":2468},{},[2469],{"type":667,"value":2470},"activeSubscriptions()",{"type":667,"value":767},{"type":658,"tag":663,"props":2473,"children":2474},{},[2475],{"type":667,"value":2476},"nextCall()",{"type":658,"tag":2403,"props":2478,"children":2479},{},[2480,2488],{"type":658,"tag":2425,"props":2481,"children":2482},{},[2483],{"type":658,"tag":663,"props":2484,"children":2485},{},[2486],{"type":667,"value":2487},"convex.paginatedQuery(ref, listArgs?)",{"type":658,"tag":2425,"props":2489,"children":2490},{},[2491,2496,2498],{"type":658,"tag":663,"props":2492,"children":2493},{},[2494],{"type":667,"value":2495},"page(cursor)",{"type":667,"value":2497}," returns a query control for one page; the first page has cursor ",{"type":658,"tag":663,"props":2499,"children":2500},{},[2501],{"type":667,"value":1058},{"type":658,"tag":2403,"props":2503,"children":2504},{},[2505,2519],{"type":658,"tag":2425,"props":2506,"children":2507},{},[2508,2513,2514],{"type":658,"tag":663,"props":2509,"children":2510},{},[2511],{"type":667,"value":2512},"convex.mutation(ref)",{"type":667,"value":767},{"type":658,"tag":663,"props":2515,"children":2516},{},[2517],{"type":667,"value":2518},"convex.action(ref)",{"type":658,"tag":2425,"props":2520,"children":2521},{},[2522,2526,2527,2531,2533,2538,2540,2544,2545,2549,2550],{"type":658,"tag":663,"props":2523,"children":2524},{},[2525],{"type":667,"value":2440},{"type":667,"value":767},{"type":658,"tag":663,"props":2528,"children":2529},{},[2530],{"type":667,"value":2453},{"type":667,"value":2532},", or ",{"type":658,"tag":663,"props":2534,"children":2535},{},[2536],{"type":667,"value":2537},"respond((args) => value)",{"type":667,"value":2539}," for every pending and later request; ",{"type":658,"tag":663,"props":2541,"children":2542},{},[2543],{"type":667,"value":2024},{"type":667,"value":767},{"type":658,"tag":663,"props":2546,"children":2547},{},[2548],{"type":667,"value":2476},{"type":667,"value":767},{"type":658,"tag":663,"props":2551,"children":2552},{},[2553],{"type":667,"value":2459},{"type":658,"tag":2403,"props":2555,"children":2556},{},[2557,2565],{"type":658,"tag":2425,"props":2558,"children":2559},{},[2560],{"type":658,"tag":663,"props":2561,"children":2562},{},[2563],{"type":667,"value":2564},"convex.upload(ref, { prepared? })",{"type":658,"tag":2425,"props":2566,"children":2567},{},[2568,2573,2574,2579,2580,2585,2586,2590,2592,2596,2597],{"type":658,"tag":663,"props":2569,"children":2570},{},[2571],{"type":667,"value":2572},"progress(loaded, total?)",{"type":667,"value":767},{"type":658,"tag":663,"props":2575,"children":2576},{},[2577],{"type":667,"value":2578},"resolve(storageId)",{"type":667,"value":767},{"type":658,"tag":663,"props":2581,"children":2582},{},[2583],{"type":667,"value":2584},"fail(status)",{"type":667,"value":767},{"type":658,"tag":663,"props":2587,"children":2588},{},[2589],{"type":667,"value":2453},{"type":667,"value":2591}," for the upload-URL mutation, ",{"type":658,"tag":663,"props":2593,"children":2594},{},[2595],{"type":667,"value":2024},{"type":667,"value":767},{"type":658,"tag":663,"props":2598,"children":2599},{},[2600],{"type":667,"value":2476},{"type":658,"tag":2403,"props":2602,"children":2603},{},[2604,2612],{"type":658,"tag":2425,"props":2605,"children":2606},{},[2607],{"type":658,"tag":663,"props":2608,"children":2609},{},[2610],{"type":667,"value":2611},"convex.storage",{"type":658,"tag":2425,"props":2613,"children":2614},{},[2615,2620,2622,2626,2627,2632,2633],{"type":658,"tag":663,"props":2616,"children":2617},{},[2618],{"type":667,"value":2619},"url()",{"type":667,"value":2621}," returns a test upload URL; answer its POSTs with ",{"type":658,"tag":663,"props":2623,"children":2624},{},[2625],{"type":667,"value":1418},{"type":667,"value":767},{"type":658,"tag":663,"props":2628,"children":2629},{},[2630],{"type":667,"value":2631},"fail",{"type":667,"value":2126},{"type":658,"tag":663,"props":2634,"children":2635},{},[2636],{"type":667,"value":2637},"progress",{"type":658,"tag":2403,"props":2639,"children":2640},{},[2641,2648],{"type":658,"tag":2425,"props":2642,"children":2643},{},[2644],{"type":658,"tag":663,"props":2645,"children":2646},{},[2647],{"type":667,"value":2086},{"type":658,"tag":2425,"props":2649,"children":2650},{},[2651,2656,2658,2663,2665,2670,2671,2676,2677,2682,2683],{"type":658,"tag":663,"props":2652,"children":2653},{},[2654],{"type":667,"value":2655},"signIn(user)",{"type":667,"value":2657}," in Nuxt or ",{"type":658,"tag":663,"props":2659,"children":2660},{},[2661],{"type":667,"value":2662},"signIn(subject)",{"type":667,"value":2664}," in Vue, ",{"type":658,"tag":663,"props":2666,"children":2667},{},[2668],{"type":667,"value":2669},"signOut()",{"type":667,"value":767},{"type":658,"tag":663,"props":2672,"children":2673},{},[2674],{"type":667,"value":2675},"renewSession()",{"type":667,"value":767},{"type":658,"tag":663,"props":2678,"children":2679},{},[2680],{"type":667,"value":2681},"setLoading()",{"type":667,"value":767},{"type":658,"tag":663,"props":2684,"children":2685},{},[2686],{"type":667,"value":2687},"fail(error)",{"type":658,"tag":2403,"props":2689,"children":2690},{},[2691,2699],{"type":658,"tag":2425,"props":2692,"children":2693},{},[2694],{"type":658,"tag":663,"props":2695,"children":2696},{},[2697],{"type":667,"value":2698},"convex.setConnectionState(update)",{"type":658,"tag":2425,"props":2700,"children":2701},{},[2702,2704,2709],{"type":667,"value":2703},"Changes what ",{"type":658,"tag":663,"props":2705,"children":2706},{},[2707],{"type":667,"value":2708},"useConvexConnectionState",{"type":667,"value":2710}," reports",{"type":658,"tag":659,"props":2712,"children":2713},{},[2714,2716,2720,2722,2726],{"type":667,"value":2715},"A query control without ",{"type":658,"tag":663,"props":2717,"children":2718},{},[2719],{"type":667,"value":2045},{"type":667,"value":2721}," answers every argument variant of that function. A control with ",{"type":658,"tag":663,"props":2723,"children":2724},{},[2725],{"type":667,"value":2045},{"type":667,"value":2727}," answers only that variant and wins over the default.",{"type":658,"tag":659,"props":2729,"children":2730},{},[2731,2733,2737,2739,2743,2745,2750,2752,2757,2759,2763,2765,2769,2770,2774],{"type":667,"value":2732},"Each entry of ",{"type":658,"tag":663,"props":2734,"children":2735},{},[2736],{"type":667,"value":2024},{"type":667,"value":2738}," for a mutation or action has ",{"type":658,"tag":663,"props":2740,"children":2741},{},[2742],{"type":667,"value":2045},{"type":667,"value":2744},", the ",{"type":658,"tag":663,"props":2746,"children":2747},{},[2748],{"type":667,"value":2749},"identity",{"type":667,"value":2751}," of the user who sent it, its ",{"type":658,"tag":663,"props":2753,"children":2754},{},[2755],{"type":667,"value":2756},"state",{"type":667,"value":2758},", and its own ",{"type":658,"tag":663,"props":2760,"children":2761},{},[2762],{"type":667,"value":2440},{"type":667,"value":2764}," and ",{"type":658,"tag":663,"props":2766,"children":2767},{},[2768],{"type":667,"value":2453},{"type":667,"value":722},{"type":658,"tag":663,"props":2771,"children":2772},{},[2773],{"type":667,"value":2476},{"type":667,"value":2775}," waits for the next request:",{"type":658,"tag":730,"props":2777,"children":2778},{"language":732,"class":734},[2779],{"type":658,"tag":663,"props":2780,"children":2781},{"class":738},[2782,2838,2839,2886,2887,2924,2925,2989,2990,2993,2994,3057,3058,3081,3082],{"type":658,"tag":741,"props":2783,"children":2784},{"class":743,"style":744},[2785,2789,2794,2798,2802,2806,2810,2814,2818,2822,2826,2830,2834],{"type":658,"tag":741,"props":2786,"children":2787},{"style":985},[2788],{"type":667,"value":988},{"type":658,"tag":741,"props":2790,"children":2791},{"style":991},[2792],{"type":667,"value":2793}," create",{"type":658,"tag":741,"props":2795,"children":2796},{"style":754},[2797],{"type":667,"value":999},{"type":658,"tag":741,"props":2799,"children":2800},{"style":760},[2801],{"type":667,"value":1116},{"type":658,"tag":741,"props":2803,"children":2804},{"style":754},[2805],{"type":667,"value":682},{"type":658,"tag":741,"props":2807,"children":2808},{"style":1010},[2809],{"type":667,"value":1469},{"type":658,"tag":741,"props":2811,"children":2812},{"style":754},[2813],{"type":667,"value":1080},{"type":658,"tag":741,"props":2815,"children":2816},{"style":760},[2817],{"type":667,"value":938},{"type":658,"tag":741,"props":2819,"children":2820},{"style":754},[2821],{"type":667,"value":682},{"type":658,"tag":741,"props":2823,"children":2824},{"style":760},[2825],{"type":667,"value":1399},{"type":658,"tag":741,"props":2827,"children":2828},{"style":754},[2829],{"type":667,"value":682},{"type":658,"tag":741,"props":2831,"children":2832},{"style":760},[2833],{"type":667,"value":1494},{"type":658,"tag":741,"props":2835,"children":2836},{"style":754},[2837],{"type":667,"value":1131},{"type":667,"value":789},{"type":658,"tag":741,"props":2840,"children":2841},{"class":743,"style":744},[2842,2846,2850,2854,2858,2862,2866,2870,2874,2878,2882],{"type":658,"tag":741,"props":2843,"children":2844},{"style":748},[2845],{"type":667,"value":1541},{"type":658,"tag":741,"props":2847,"children":2848},{"style":760},[2849],{"type":667,"value":1532},{"type":658,"tag":741,"props":2851,"children":2852},{"style":754},[2853],{"type":667,"value":682},{"type":658,"tag":741,"props":2855,"children":2856},{"style":1010},[2857],{"type":667,"value":1912},{"type":658,"tag":741,"props":2859,"children":2860},{"style":754},[2861],{"type":667,"value":1080},{"type":658,"tag":741,"props":2863,"children":2864},{"style":784},[2865],{"type":667,"value":1921},{"type":658,"tag":741,"props":2867,"children":2868},{"style":754},[2869],{"type":667,"value":1413},{"type":658,"tag":741,"props":2871,"children":2872},{"style":1010},[2873],{"type":667,"value":1930},{"type":658,"tag":741,"props":2875,"children":2876},{"style":754},[2877],{"type":667,"value":1080},{"type":658,"tag":741,"props":2879,"children":2880},{"style":784},[2881],{"type":667,"value":1939},{"type":658,"tag":741,"props":2883,"children":2884},{"style":754},[2885],{"type":667,"value":1131},{"type":667,"value":789},{"type":658,"tag":741,"props":2888,"children":2889},{"class":743,"style":744},[2890,2894,2899,2903,2907,2911,2915,2920],{"type":658,"tag":741,"props":2891,"children":2892},{"style":985},[2893],{"type":667,"value":988},{"type":658,"tag":741,"props":2895,"children":2896},{"style":991},[2897],{"type":667,"value":2898}," request",{"type":658,"tag":741,"props":2900,"children":2901},{"style":754},[2902],{"type":667,"value":999},{"type":658,"tag":741,"props":2904,"children":2905},{"style":748},[2906],{"type":667,"value":1541},{"type":658,"tag":741,"props":2908,"children":2909},{"style":760},[2910],{"type":667,"value":2793},{"type":658,"tag":741,"props":2912,"children":2913},{"style":754},[2914],{"type":667,"value":682},{"type":658,"tag":741,"props":2916,"children":2917},{"style":1010},[2918],{"type":667,"value":2919},"nextCall",{"type":658,"tag":741,"props":2921,"children":2922},{"style":754},[2923],{"type":667,"value":1279},{"type":667,"value":789},{"type":658,"tag":741,"props":2926,"children":2927},{"class":743,"style":744},[2928,2932,2936,2940,2944,2948,2952,2957,2961,2966,2970,2975,2980,2985],{"type":658,"tag":741,"props":2929,"children":2930},{"style":1010},[2931],{"type":667,"value":886},{"type":658,"tag":741,"props":2933,"children":2934},{"style":754},[2935],{"type":667,"value":1080},{"type":658,"tag":741,"props":2937,"children":2938},{"style":760},[2939],{"type":667,"value":1652},{"type":658,"tag":741,"props":2941,"children":2942},{"style":754},[2943],{"type":667,"value":682},{"type":658,"tag":741,"props":2945,"children":2946},{"style":1010},[2947],{"type":667,"value":1912},{"type":658,"tag":741,"props":2949,"children":2950},{"style":754},[2951],{"type":667,"value":1080},{"type":658,"tag":741,"props":2953,"children":2954},{"style":784},[2955],{"type":667,"value":2956},"'button'",{"type":658,"tag":741,"props":2958,"children":2959},{"style":754},[2960],{"type":667,"value":1413},{"type":658,"tag":741,"props":2962,"children":2963},{"style":1010},[2964],{"type":667,"value":2965},"attributes",{"type":658,"tag":741,"props":2967,"children":2968},{"style":754},[2969],{"type":667,"value":1080},{"type":658,"tag":741,"props":2971,"children":2972},{"style":784},[2973],{"type":667,"value":2974},"'disabled'",{"type":658,"tag":741,"props":2976,"children":2977},{"style":754},[2978],{"type":667,"value":2979},")).",{"type":658,"tag":741,"props":2981,"children":2982},{"style":1010},[2983],{"type":667,"value":2984},"toBeDefined",{"type":658,"tag":741,"props":2986,"children":2987},{"style":754},[2988],{"type":667,"value":1279},{"type":667,"value":789},{"type":658,"tag":741,"props":2991,"children":2992},{"class":743,"style":744},[],{"type":667,"value":789},{"type":658,"tag":741,"props":2995,"children":2996},{"class":743,"style":744},[2997,3002,3006,3011,3015,3020,3025,3029,3034,3039,3043,3048,3053],{"type":658,"tag":741,"props":2998,"children":2999},{"style":760},[3000],{"type":667,"value":3001},"request",{"type":658,"tag":741,"props":3003,"children":3004},{"style":754},[3005],{"type":667,"value":682},{"type":658,"tag":741,"props":3007,"children":3008},{"style":1010},[3009],{"type":667,"value":3010},"reject",{"type":658,"tag":741,"props":3012,"children":3013},{"style":754},[3014],{"type":667,"value":1080},{"type":658,"tag":741,"props":3016,"children":3017},{"style":985},[3018],{"type":667,"value":3019},"new",{"type":658,"tag":741,"props":3021,"children":3022},{"style":1010},[3023],{"type":667,"value":3024}," ConvexError",{"type":658,"tag":741,"props":3026,"children":3027},{"style":754},[3028],{"type":667,"value":1186},{"type":658,"tag":741,"props":3030,"children":3031},{"style":760},[3032],{"type":667,"value":3033},"code:",{"type":658,"tag":741,"props":3035,"children":3036},{"style":784},[3037],{"type":667,"value":3038}," 'CLIENT_EXISTS'",{"type":658,"tag":741,"props":3040,"children":3041},{"style":754},[3042],{"type":667,"value":767},{"type":658,"tag":741,"props":3044,"children":3045},{"style":760},[3046],{"type":667,"value":3047},"message:",{"type":658,"tag":741,"props":3049,"children":3050},{"style":784},[3051],{"type":667,"value":3052}," 'This client already exists'",{"type":658,"tag":741,"props":3054,"children":3055},{"style":754},[3056],{"type":667,"value":1063},{"type":667,"value":789},{"type":658,"tag":741,"props":3059,"children":3060},{"class":743,"style":744},[3061,3065,3069,3073,3077],{"type":658,"tag":741,"props":3062,"children":3063},{"style":748},[3064],{"type":667,"value":1541},{"type":658,"tag":741,"props":3066,"children":3067},{"style":760},[3068],{"type":667,"value":1342},{"type":658,"tag":741,"props":3070,"children":3071},{"style":754},[3072],{"type":667,"value":682},{"type":658,"tag":741,"props":3074,"children":3075},{"style":1010},[3076],{"type":667,"value":1630},{"type":658,"tag":741,"props":3078,"children":3079},{"style":754},[3080],{"type":667,"value":1279},{"type":667,"value":789},{"type":658,"tag":741,"props":3083,"children":3084},{"class":743,"style":744},[3085,3089,3093,3097,3101,3105,3109,3114,3118,3122,3126,3130,3134,3139],{"type":658,"tag":741,"props":3086,"children":3087},{"style":1010},[3088],{"type":667,"value":886},{"type":658,"tag":741,"props":3090,"children":3091},{"style":754},[3092],{"type":667,"value":1080},{"type":658,"tag":741,"props":3094,"children":3095},{"style":760},[3096],{"type":667,"value":1652},{"type":658,"tag":741,"props":3098,"children":3099},{"style":754},[3100],{"type":667,"value":682},{"type":658,"tag":741,"props":3102,"children":3103},{"style":1010},[3104],{"type":667,"value":1912},{"type":658,"tag":741,"props":3106,"children":3107},{"style":754},[3108],{"type":667,"value":1080},{"type":658,"tag":741,"props":3110,"children":3111},{"style":784},[3112],{"type":667,"value":3113},"'[role=\"alert\"]'",{"type":658,"tag":741,"props":3115,"children":3116},{"style":754},[3117],{"type":667,"value":1413},{"type":658,"tag":741,"props":3119,"children":3120},{"style":1010},[3121],{"type":667,"value":667},{"type":658,"tag":741,"props":3123,"children":3124},{"style":754},[3125],{"type":667,"value":1665},{"type":658,"tag":741,"props":3127,"children":3128},{"style":1010},[3129],{"type":667,"value":1670},{"type":658,"tag":741,"props":3131,"children":3132},{"style":754},[3133],{"type":667,"value":1080},{"type":658,"tag":741,"props":3135,"children":3136},{"style":784},[3137],{"type":667,"value":3138},"'already exists'",{"type":658,"tag":741,"props":3140,"children":3141},{"style":754},[3142],{"type":667,"value":1131},{"type":658,"tag":659,"props":3144,"children":3145},{},[3146],{"type":667,"value":3147},"For an upload-URL mutation that returns an object, build the result around a test URL:",{"type":658,"tag":730,"props":3149,"children":3150},{"language":732,"class":734},[3151],{"type":658,"tag":663,"props":3152,"children":3153},{"class":738},[3154,3200,3201,3279,3280],{"type":658,"tag":741,"props":3155,"children":3156},{"class":743,"style":744},[3157,3161,3165,3170,3174,3178,3182,3187,3191,3196],{"type":658,"tag":741,"props":3158,"children":3159},{"style":760},[3160],{"type":667,"value":1116},{"type":658,"tag":741,"props":3162,"children":3163},{"style":754},[3164],{"type":667,"value":682},{"type":658,"tag":741,"props":3166,"children":3167},{"style":1010},[3168],{"type":667,"value":3169},"upload",{"type":658,"tag":741,"props":3171,"children":3172},{"style":754},[3173],{"type":667,"value":1080},{"type":658,"tag":741,"props":3175,"children":3176},{"style":760},[3177],{"type":667,"value":938},{"type":658,"tag":741,"props":3179,"children":3180},{"style":754},[3181],{"type":667,"value":682},{"type":658,"tag":741,"props":3183,"children":3184},{"style":760},[3185],{"type":667,"value":3186},"assets",{"type":658,"tag":741,"props":3188,"children":3189},{"style":754},[3190],{"type":667,"value":682},{"type":658,"tag":741,"props":3192,"children":3193},{"style":760},[3194],{"type":667,"value":3195},"createUploadSession",{"type":658,"tag":741,"props":3197,"children":3198},{"style":754},[3199],{"type":667,"value":1560},{"type":667,"value":789},{"type":658,"tag":741,"props":3202,"children":3203},{"class":743,"style":744},[3204,3209,3213,3218,3223,3228,3232,3236,3241,3246,3250,3255,3260,3264,3269,3274],{"type":658,"tag":741,"props":3205,"children":3206},{"style":1010},[3207],{"type":667,"value":3208},"  prepared",{"type":658,"tag":741,"props":3210,"children":3211},{"style":760},[3212],{"type":667,"value":2188},{"type":658,"tag":741,"props":3214,"children":3215},{"style":754},[3216],{"type":667,"value":3217}," (",{"type":658,"tag":741,"props":3219,"children":3220},{"style":760},[3221],{"type":667,"value":3222},"url",{"type":658,"tag":741,"props":3224,"children":3225},{"style":754},[3226],{"type":667,"value":3227},") ",{"type":658,"tag":741,"props":3229,"children":3230},{"style":985},[3231],{"type":667,"value":1023},{"type":658,"tag":741,"props":3233,"children":3234},{"style":754},[3235],{"type":667,"value":1028},{"type":658,"tag":741,"props":3237,"children":3238},{"style":760},[3239],{"type":667,"value":3240},"uploadUrl:",{"type":658,"tag":741,"props":3242,"children":3243},{"style":760},[3244],{"type":667,"value":3245}," url",{"type":658,"tag":741,"props":3247,"children":3248},{"style":754},[3249],{"type":667,"value":767},{"type":658,"tag":741,"props":3251,"children":3252},{"style":760},[3253],{"type":667,"value":3254},"sessionId:",{"type":658,"tag":741,"props":3256,"children":3257},{"style":784},[3258],{"type":667,"value":3259}," 'session-1'",{"type":658,"tag":741,"props":3261,"children":3262},{"style":754},[3263],{"type":667,"value":767},{"type":658,"tag":741,"props":3265,"children":3266},{"style":760},[3267],{"type":667,"value":3268},"token:",{"type":658,"tag":741,"props":3270,"children":3271},{"style":784},[3272],{"type":667,"value":3273}," 'token-1'",{"type":658,"tag":741,"props":3275,"children":3276},{"style":754},[3277],{"type":667,"value":3278}," }),",{"type":667,"value":789},{"type":658,"tag":741,"props":3281,"children":3282},{"class":743,"style":744},[3283],{"type":658,"tag":741,"props":3284,"children":3285},{"style":754},[3286],{"type":667,"value":1210},{"type":658,"tag":659,"props":3288,"children":3289},{},[3290,3292,3297,3299,3304,3306,3310,3312,3316],{"type":667,"value":3291},"A ",{"type":658,"tag":663,"props":3293,"children":3294},{},[3295],{"type":667,"value":3296},"complete",{"type":667,"value":3298}," step of ",{"type":658,"tag":663,"props":3300,"children":3301},{},[3302],{"type":667,"value":3303},"useConvexFileUpload",{"type":667,"value":3305}," is an ordinary mutation or action. Answer it with ",{"type":658,"tag":663,"props":3307,"children":3308},{},[3309],{"type":667,"value":2512},{"type":667,"value":3311}," or ",{"type":658,"tag":663,"props":3313,"children":3314},{},[3315],{"type":667,"value":2518},{"type":667,"value":682},{"type":658,"tag":659,"props":3318,"children":3319},{},[3320,3322,3327,3329,3334],{"type":667,"value":3321},"Uploads run the real storage request code. The runtime replaces ",{"type":658,"tag":663,"props":3323,"children":3324},{},[3325],{"type":667,"value":3326},"XMLHttpRequest",{"type":667,"value":3328}," only for its own test URLs. ",{"type":658,"tag":663,"props":3330,"children":3331},{},[3332],{"type":667,"value":3333},"dispose()",{"type":667,"value":3335}," restores it.",{"type":658,"tag":684,"props":3337,"children":3339},{"id":3338},"test-hard-sequences",[3340],{"type":667,"value":3341},"Test hard sequences",{"type":658,"tag":659,"props":3343,"children":3344},{},[3345],{"type":667,"value":3346},"Switch the user while the upload URL is on its way. The upload stops, and no file is sent:",{"type":658,"tag":730,"props":3348,"children":3349},{"language":732,"class":734},[3350],{"type":658,"tag":663,"props":3351,"children":3352},{"class":738},[3353,3411,3412,3445,3446,3449,3450,3485,3486,3540,3541,3586,3587,3590,3591,3646,3647,3670,3671],{"type":658,"tag":741,"props":3354,"children":3355},{"class":743,"style":744},[3356,3360,3365,3369,3373,3377,3381,3385,3389,3393,3398,3402,3407],{"type":658,"tag":741,"props":3357,"children":3358},{"style":985},[3359],{"type":667,"value":988},{"type":658,"tag":741,"props":3361,"children":3362},{"style":991},[3363],{"type":667,"value":3364}," prepare",{"type":658,"tag":741,"props":3366,"children":3367},{"style":754},[3368],{"type":667,"value":999},{"type":658,"tag":741,"props":3370,"children":3371},{"style":760},[3372],{"type":667,"value":1116},{"type":658,"tag":741,"props":3374,"children":3375},{"style":754},[3376],{"type":667,"value":682},{"type":658,"tag":741,"props":3378,"children":3379},{"style":1010},[3380],{"type":667,"value":1469},{"type":658,"tag":741,"props":3382,"children":3383},{"style":754},[3384],{"type":667,"value":1080},{"type":658,"tag":741,"props":3386,"children":3387},{"style":760},[3388],{"type":667,"value":938},{"type":658,"tag":741,"props":3390,"children":3391},{"style":754},[3392],{"type":667,"value":682},{"type":658,"tag":741,"props":3394,"children":3395},{"style":760},[3396],{"type":667,"value":3397},"files",{"type":658,"tag":741,"props":3399,"children":3400},{"style":754},[3401],{"type":667,"value":682},{"type":658,"tag":741,"props":3403,"children":3404},{"style":760},[3405],{"type":667,"value":3406},"generateUploadUrl",{"type":658,"tag":741,"props":3408,"children":3409},{"style":754},[3410],{"type":667,"value":1131},{"type":667,"value":789},{"type":658,"tag":741,"props":3413,"children":3414},{"class":743,"style":744},[3415,3419,3424,3428,3432,3436,3441],{"type":658,"tag":741,"props":3416,"children":3417},{"style":985},[3418],{"type":667,"value":988},{"type":658,"tag":741,"props":3420,"children":3421},{"style":991},[3422],{"type":667,"value":3423}," pending",{"type":658,"tag":741,"props":3425,"children":3426},{"style":754},[3427],{"type":667,"value":999},{"type":658,"tag":741,"props":3429,"children":3430},{"style":1010},[3431],{"type":667,"value":3169},{"type":658,"tag":741,"props":3433,"children":3434},{"style":754},[3435],{"type":667,"value":1080},{"type":658,"tag":741,"props":3437,"children":3438},{"style":760},[3439],{"type":667,"value":3440},"file",{"type":658,"tag":741,"props":3442,"children":3443},{"style":754},[3444],{"type":667,"value":1131},{"type":667,"value":789},{"type":658,"tag":741,"props":3447,"children":3448},{"class":743,"style":744},[],{"type":667,"value":789},{"type":658,"tag":741,"props":3451,"children":3452},{"class":743,"style":744},[3453,3457,3461,3465,3469,3473,3477,3481],{"type":658,"tag":741,"props":3454,"children":3455},{"style":985},[3456],{"type":667,"value":988},{"type":658,"tag":741,"props":3458,"children":3459},{"style":991},[3460],{"type":667,"value":2898},{"type":658,"tag":741,"props":3462,"children":3463},{"style":754},[3464],{"type":667,"value":999},{"type":658,"tag":741,"props":3466,"children":3467},{"style":748},[3468],{"type":667,"value":1541},{"type":658,"tag":741,"props":3470,"children":3471},{"style":760},[3472],{"type":667,"value":3364},{"type":658,"tag":741,"props":3474,"children":3475},{"style":754},[3476],{"type":667,"value":682},{"type":658,"tag":741,"props":3478,"children":3479},{"style":1010},[3480],{"type":667,"value":2919},{"type":658,"tag":741,"props":3482,"children":3483},{"style":754},[3484],{"type":667,"value":1279},{"type":667,"value":789},{"type":658,"tag":741,"props":3487,"children":3488},{"class":743,"style":744},[3489,3493,3497,3501,3505,3510,3514,3518,3523,3527,3531,3536],{"type":658,"tag":741,"props":3490,"children":3491},{"style":760},[3492],{"type":667,"value":1116},{"type":658,"tag":741,"props":3494,"children":3495},{"style":754},[3496],{"type":667,"value":682},{"type":658,"tag":741,"props":3498,"children":3499},{"style":760},[3500],{"type":667,"value":1126},{"type":658,"tag":741,"props":3502,"children":3503},{"style":754},[3504],{"type":667,"value":682},{"type":658,"tag":741,"props":3506,"children":3507},{"style":1010},[3508],{"type":667,"value":3509},"signIn",{"type":658,"tag":741,"props":3511,"children":3512},{"style":754},[3513],{"type":667,"value":1186},{"type":658,"tag":741,"props":3515,"children":3516},{"style":760},[3517],{"type":667,"value":1428},{"type":658,"tag":741,"props":3519,"children":3520},{"style":784},[3521],{"type":667,"value":3522}," 'bob'",{"type":658,"tag":741,"props":3524,"children":3525},{"style":754},[3526],{"type":667,"value":767},{"type":658,"tag":741,"props":3528,"children":3529},{"style":760},[3530],{"type":667,"value":1442},{"type":658,"tag":741,"props":3532,"children":3533},{"style":784},[3534],{"type":667,"value":3535}," 'Bob'",{"type":658,"tag":741,"props":3537,"children":3538},{"style":754},[3539],{"type":667,"value":1201},{"type":667,"value":789},{"type":658,"tag":741,"props":3542,"children":3543},{"class":743,"style":744},[3544,3548,3552,3556,3560,3564,3568,3573,3577,3581],{"type":658,"tag":741,"props":3545,"children":3546},{"style":760},[3547],{"type":667,"value":3001},{"type":658,"tag":741,"props":3549,"children":3550},{"style":754},[3551],{"type":667,"value":682},{"type":658,"tag":741,"props":3553,"children":3554},{"style":1010},[3555],{"type":667,"value":1418},{"type":658,"tag":741,"props":3557,"children":3558},{"style":754},[3559],{"type":667,"value":1080},{"type":658,"tag":741,"props":3561,"children":3562},{"style":760},[3563],{"type":667,"value":1116},{"type":658,"tag":741,"props":3565,"children":3566},{"style":754},[3567],{"type":667,"value":682},{"type":658,"tag":741,"props":3569,"children":3570},{"style":760},[3571],{"type":667,"value":3572},"storage",{"type":658,"tag":741,"props":3574,"children":3575},{"style":754},[3576],{"type":667,"value":682},{"type":658,"tag":741,"props":3578,"children":3579},{"style":1010},[3580],{"type":667,"value":3222},{"type":658,"tag":741,"props":3582,"children":3583},{"style":754},[3584],{"type":667,"value":3585},"())",{"type":667,"value":789},{"type":658,"tag":741,"props":3588,"children":3589},{"class":743,"style":744},[],{"type":667,"value":789},{"type":658,"tag":741,"props":3592,"children":3593},{"class":743,"style":744},[3594,3598,3603,3607,3611,3615,3620,3624,3629,3633,3637,3642],{"type":658,"tag":741,"props":3595,"children":3596},{"style":748},[3597],{"type":667,"value":1541},{"type":658,"tag":741,"props":3599,"children":3600},{"style":1010},[3601],{"type":667,"value":3602}," expect",{"type":658,"tag":741,"props":3604,"children":3605},{"style":754},[3606],{"type":667,"value":1080},{"type":658,"tag":741,"props":3608,"children":3609},{"style":760},[3610],{"type":667,"value":2106},{"type":658,"tag":741,"props":3612,"children":3613},{"style":754},[3614],{"type":667,"value":1413},{"type":658,"tag":741,"props":3616,"children":3617},{"style":760},[3618],{"type":667,"value":3619},"rejects",{"type":658,"tag":741,"props":3621,"children":3622},{"style":754},[3623],{"type":667,"value":682},{"type":658,"tag":741,"props":3625,"children":3626},{"style":1010},[3627],{"type":667,"value":3628},"toMatchObject",{"type":658,"tag":741,"props":3630,"children":3631},{"style":754},[3632],{"type":667,"value":1186},{"type":658,"tag":741,"props":3634,"children":3635},{"style":760},[3636],{"type":667,"value":3033},{"type":658,"tag":741,"props":3638,"children":3639},{"style":784},[3640],{"type":667,"value":3641}," 'IDENTITY_CHANGED'",{"type":658,"tag":741,"props":3643,"children":3644},{"style":754},[3645],{"type":667,"value":1201},{"type":667,"value":789},{"type":658,"tag":741,"props":3648,"children":3649},{"class":743,"style":744},[3650,3654,3658,3662,3666],{"type":658,"tag":741,"props":3651,"children":3652},{"style":748},[3653],{"type":667,"value":1541},{"type":658,"tag":741,"props":3655,"children":3656},{"style":760},[3657],{"type":667,"value":1342},{"type":658,"tag":741,"props":3659,"children":3660},{"style":754},[3661],{"type":667,"value":682},{"type":658,"tag":741,"props":3663,"children":3664},{"style":1010},[3665],{"type":667,"value":1630},{"type":658,"tag":741,"props":3667,"children":3668},{"style":754},[3669],{"type":667,"value":1279},{"type":667,"value":789},{"type":658,"tag":741,"props":3672,"children":3673},{"class":743,"style":744},[3674,3678,3682,3686,3690,3694,3698,3702,3706,3710],{"type":658,"tag":741,"props":3675,"children":3676},{"style":1010},[3677],{"type":667,"value":886},{"type":658,"tag":741,"props":3679,"children":3680},{"style":754},[3681],{"type":667,"value":1080},{"type":658,"tag":741,"props":3683,"children":3684},{"style":760},[3685],{"type":667,"value":1116},{"type":658,"tag":741,"props":3687,"children":3688},{"style":754},[3689],{"type":667,"value":682},{"type":658,"tag":741,"props":3691,"children":3692},{"style":760},[3693],{"type":667,"value":3572},{"type":658,"tag":741,"props":3695,"children":3696},{"style":754},[3697],{"type":667,"value":682},{"type":658,"tag":741,"props":3699,"children":3700},{"style":760},[3701],{"type":667,"value":2024},{"type":658,"tag":741,"props":3703,"children":3704},{"style":754},[3705],{"type":667,"value":1413},{"type":658,"tag":741,"props":3707,"children":3708},{"style":1010},[3709],{"type":667,"value":2054},{"type":658,"tag":741,"props":3711,"children":3712},{"style":754},[3713],{"type":667,"value":3714},"([])",{"type":658,"tag":659,"props":3716,"children":3717},{},[3718],{"type":667,"value":3719},"Reject a later page with an invalid cursor. The list starts again from the first page:",{"type":658,"tag":730,"props":3721,"children":3722},{"language":732,"class":734},[3723],{"type":658,"tag":663,"props":3724,"children":3725},{"class":738},[3726,3754,3755,3758,3759,3817,3818,3889,3890,3899,3900,3944,3945,3968,3969],{"type":658,"tag":741,"props":3727,"children":3728},{"class":743,"style":744},[3729,3733,3737,3742,3746,3750],{"type":658,"tag":741,"props":3730,"children":3731},{"style":748},[3732],{"type":667,"value":751},{"type":658,"tag":741,"props":3734,"children":3735},{"style":754},[3736],{"type":667,"value":757},{"type":658,"tag":741,"props":3738,"children":3739},{"style":760},[3740],{"type":667,"value":3741},"invalidCursorError",{"type":658,"tag":741,"props":3743,"children":3744},{"style":754},[3745],{"type":667,"value":776},{"type":658,"tag":741,"props":3747,"children":3748},{"style":748},[3749],{"type":667,"value":781},{"type":658,"tag":741,"props":3751,"children":3752},{"style":784},[3753],{"type":667,"value":851},{"type":667,"value":789},{"type":658,"tag":741,"props":3756,"children":3757},{"class":743,"style":744},[],{"type":667,"value":789},{"type":658,"tag":741,"props":3760,"children":3761},{"class":743,"style":744},[3762,3766,3771,3775,3779,3783,3788,3792,3796,3800,3804,3808,3813],{"type":658,"tag":741,"props":3763,"children":3764},{"style":985},[3765],{"type":667,"value":988},{"type":658,"tag":741,"props":3767,"children":3768},{"style":991},[3769],{"type":667,"value":3770}," list",{"type":658,"tag":741,"props":3772,"children":3773},{"style":754},[3774],{"type":667,"value":999},{"type":658,"tag":741,"props":3776,"children":3777},{"style":760},[3778],{"type":667,"value":1116},{"type":658,"tag":741,"props":3780,"children":3781},{"style":754},[3782],{"type":667,"value":682},{"type":658,"tag":741,"props":3784,"children":3785},{"style":1010},[3786],{"type":667,"value":3787},"paginatedQuery",{"type":658,"tag":741,"props":3789,"children":3790},{"style":754},[3791],{"type":667,"value":1080},{"type":658,"tag":741,"props":3793,"children":3794},{"style":760},[3795],{"type":667,"value":938},{"type":658,"tag":741,"props":3797,"children":3798},{"style":754},[3799],{"type":667,"value":682},{"type":658,"tag":741,"props":3801,"children":3802},{"style":760},[3803],{"type":667,"value":1399},{"type":658,"tag":741,"props":3805,"children":3806},{"style":754},[3807],{"type":667,"value":682},{"type":658,"tag":741,"props":3809,"children":3810},{"style":760},[3811],{"type":667,"value":3812},"listPaginated",{"type":658,"tag":741,"props":3814,"children":3815},{"style":754},[3816],{"type":667,"value":1131},{"type":667,"value":789},{"type":658,"tag":741,"props":3819,"children":3820},{"class":743,"style":744},[3821,3825,3829,3834,3839,3843,3847,3852,3857,3861,3866,3871,3875,3880,3885],{"type":658,"tag":741,"props":3822,"children":3823},{"style":760},[3824],{"type":667,"value":1408},{"type":658,"tag":741,"props":3826,"children":3827},{"style":754},[3828],{"type":667,"value":682},{"type":658,"tag":741,"props":3830,"children":3831},{"style":1010},[3832],{"type":667,"value":3833},"page",{"type":658,"tag":741,"props":3835,"children":3836},{"style":754},[3837],{"type":667,"value":3838},"().",{"type":658,"tag":741,"props":3840,"children":3841},{"style":1010},[3842],{"type":667,"value":1418},{"type":658,"tag":741,"props":3844,"children":3845},{"style":754},[3846],{"type":667,"value":1186},{"type":658,"tag":741,"props":3848,"children":3849},{"style":760},[3850],{"type":667,"value":3851},"page:",{"type":658,"tag":741,"props":3853,"children":3854},{"style":760},[3855],{"type":667,"value":3856}," firstPage",{"type":658,"tag":741,"props":3858,"children":3859},{"style":754},[3860],{"type":667,"value":767},{"type":658,"tag":741,"props":3862,"children":3863},{"style":760},[3864],{"type":667,"value":3865},"isDone:",{"type":658,"tag":741,"props":3867,"children":3868},{"style":985},[3869],{"type":667,"value":3870}," false",{"type":658,"tag":741,"props":3872,"children":3873},{"style":754},[3874],{"type":667,"value":767},{"type":658,"tag":741,"props":3876,"children":3877},{"style":760},[3878],{"type":667,"value":3879},"continueCursor:",{"type":658,"tag":741,"props":3881,"children":3882},{"style":784},[3883],{"type":667,"value":3884}," 'c1'",{"type":658,"tag":741,"props":3886,"children":3887},{"style":754},[3888],{"type":667,"value":1201},{"type":667,"value":789},{"type":658,"tag":741,"props":3891,"children":3892},{"class":743,"style":744},[3893],{"type":658,"tag":741,"props":3894,"children":3896},{"style":3895},"color:#008000;--shiki-dark:#6A9955",[3897],{"type":667,"value":3898},"\u002F\u002F Mount the screen, then press \"Load more\".",{"type":667,"value":789},{"type":658,"tag":741,"props":3901,"children":3902},{"class":743,"style":744},[3903,3907,3911,3915,3919,3924,3928,3932,3936,3940],{"type":658,"tag":741,"props":3904,"children":3905},{"style":760},[3906],{"type":667,"value":1408},{"type":658,"tag":741,"props":3908,"children":3909},{"style":754},[3910],{"type":667,"value":682},{"type":658,"tag":741,"props":3912,"children":3913},{"style":1010},[3914],{"type":667,"value":3833},{"type":658,"tag":741,"props":3916,"children":3917},{"style":754},[3918],{"type":667,"value":1080},{"type":658,"tag":741,"props":3920,"children":3921},{"style":784},[3922],{"type":667,"value":3923},"'c1'",{"type":658,"tag":741,"props":3925,"children":3926},{"style":754},[3927],{"type":667,"value":1413},{"type":658,"tag":741,"props":3929,"children":3930},{"style":1010},[3931],{"type":667,"value":3010},{"type":658,"tag":741,"props":3933,"children":3934},{"style":754},[3935],{"type":667,"value":1080},{"type":658,"tag":741,"props":3937,"children":3938},{"style":1010},[3939],{"type":667,"value":3741},{"type":658,"tag":741,"props":3941,"children":3942},{"style":754},[3943],{"type":667,"value":3585},{"type":667,"value":789},{"type":658,"tag":741,"props":3946,"children":3947},{"class":743,"style":744},[3948,3952,3956,3960,3964],{"type":658,"tag":741,"props":3949,"children":3950},{"style":748},[3951],{"type":667,"value":1541},{"type":658,"tag":741,"props":3953,"children":3954},{"style":760},[3955],{"type":667,"value":1342},{"type":658,"tag":741,"props":3957,"children":3958},{"style":754},[3959],{"type":667,"value":682},{"type":658,"tag":741,"props":3961,"children":3962},{"style":1010},[3963],{"type":667,"value":1630},{"type":658,"tag":741,"props":3965,"children":3966},{"style":754},[3967],{"type":667,"value":1279},{"type":667,"value":789},{"type":658,"tag":741,"props":3970,"children":3971},{"class":743,"style":744},[3972,3976,3980,3984,3988,3992,3996,4001,4005,4010,4014,4018],{"type":658,"tag":741,"props":3973,"children":3974},{"style":1010},[3975],{"type":667,"value":886},{"type":658,"tag":741,"props":3977,"children":3978},{"style":754},[3979],{"type":667,"value":1080},{"type":658,"tag":741,"props":3981,"children":3982},{"style":760},[3983],{"type":667,"value":1408},{"type":658,"tag":741,"props":3985,"children":3986},{"style":754},[3987],{"type":667,"value":682},{"type":658,"tag":741,"props":3989,"children":3990},{"style":1010},[3991],{"type":667,"value":3833},{"type":658,"tag":741,"props":3993,"children":3994},{"style":754},[3995],{"type":667,"value":3838},{"type":658,"tag":741,"props":3997,"children":3998},{"style":1010},[3999],{"type":667,"value":4000},"activeSubscriptions",{"type":658,"tag":741,"props":4002,"children":4003},{"style":754},[4004],{"type":667,"value":1665},{"type":658,"tag":741,"props":4006,"children":4007},{"style":1010},[4008],{"type":667,"value":4009},"toBe",{"type":658,"tag":741,"props":4011,"children":4012},{"style":754},[4013],{"type":667,"value":1080},{"type":658,"tag":741,"props":4015,"children":4016},{"style":2032},[4017],{"type":667,"value":7},{"type":658,"tag":741,"props":4019,"children":4020},{"style":754},[4021],{"type":667,"value":1131},{"type":658,"tag":659,"props":4023,"children":4024},{},[4025,4027,4032],{"type":667,"value":4026},"Reset a mutation while it runs, then answer it. Only the original promise receives the result, and the state stays ",{"type":658,"tag":663,"props":4028,"children":4029},{},[4030],{"type":667,"value":4031},"idle",{"type":667,"value":2188},{"type":658,"tag":730,"props":4034,"children":4035},{"language":732,"class":734},[4036],{"type":658,"tag":663,"props":4037,"children":4038},{"class":738},[4039,4094,4095,4131,4132,4167,4168,4180,4181,4209,4210,4213,4214,4262,4263],{"type":658,"tag":741,"props":4040,"children":4041},{"class":743,"style":744},[4042,4046,4050,4054,4058,4062,4066,4070,4074,4078,4082,4086,4090],{"type":658,"tag":741,"props":4043,"children":4044},{"style":985},[4045],{"type":667,"value":988},{"type":658,"tag":741,"props":4047,"children":4048},{"style":991},[4049],{"type":667,"value":2793},{"type":658,"tag":741,"props":4051,"children":4052},{"style":754},[4053],{"type":667,"value":999},{"type":658,"tag":741,"props":4055,"children":4056},{"style":760},[4057],{"type":667,"value":1116},{"type":658,"tag":741,"props":4059,"children":4060},{"style":754},[4061],{"type":667,"value":682},{"type":658,"tag":741,"props":4063,"children":4064},{"style":1010},[4065],{"type":667,"value":1469},{"type":658,"tag":741,"props":4067,"children":4068},{"style":754},[4069],{"type":667,"value":1080},{"type":658,"tag":741,"props":4071,"children":4072},{"style":760},[4073],{"type":667,"value":938},{"type":658,"tag":741,"props":4075,"children":4076},{"style":754},[4077],{"type":667,"value":682},{"type":658,"tag":741,"props":4079,"children":4080},{"style":760},[4081],{"type":667,"value":1399},{"type":658,"tag":741,"props":4083,"children":4084},{"style":754},[4085],{"type":667,"value":682},{"type":658,"tag":741,"props":4087,"children":4088},{"style":760},[4089],{"type":667,"value":1494},{"type":658,"tag":741,"props":4091,"children":4092},{"style":754},[4093],{"type":667,"value":1131},{"type":667,"value":789},{"type":658,"tag":741,"props":4096,"children":4097},{"class":743,"style":744},[4098,4102,4106,4110,4115,4119,4123,4127],{"type":658,"tag":741,"props":4099,"children":4100},{"style":985},[4101],{"type":667,"value":988},{"type":658,"tag":741,"props":4103,"children":4104},{"style":991},[4105],{"type":667,"value":3423},{"type":658,"tag":741,"props":4107,"children":4108},{"style":754},[4109],{"type":667,"value":999},{"type":658,"tag":741,"props":4111,"children":4112},{"style":1010},[4113],{"type":667,"value":4114},"mutate",{"type":658,"tag":741,"props":4116,"children":4117},{"style":754},[4118],{"type":667,"value":1186},{"type":658,"tag":741,"props":4120,"children":4121},{"style":760},[4122],{"type":667,"value":1442},{"type":658,"tag":741,"props":4124,"children":4125},{"style":784},[4126],{"type":667,"value":1447},{"type":658,"tag":741,"props":4128,"children":4129},{"style":754},[4130],{"type":667,"value":1201},{"type":667,"value":789},{"type":658,"tag":741,"props":4133,"children":4134},{"class":743,"style":744},[4135,4139,4143,4147,4151,4155,4159,4163],{"type":658,"tag":741,"props":4136,"children":4137},{"style":985},[4138],{"type":667,"value":988},{"type":658,"tag":741,"props":4140,"children":4141},{"style":991},[4142],{"type":667,"value":2898},{"type":658,"tag":741,"props":4144,"children":4145},{"style":754},[4146],{"type":667,"value":999},{"type":658,"tag":741,"props":4148,"children":4149},{"style":748},[4150],{"type":667,"value":1541},{"type":658,"tag":741,"props":4152,"children":4153},{"style":760},[4154],{"type":667,"value":2793},{"type":658,"tag":741,"props":4156,"children":4157},{"style":754},[4158],{"type":667,"value":682},{"type":658,"tag":741,"props":4160,"children":4161},{"style":1010},[4162],{"type":667,"value":2919},{"type":658,"tag":741,"props":4164,"children":4165},{"style":754},[4166],{"type":667,"value":1279},{"type":667,"value":789},{"type":658,"tag":741,"props":4169,"children":4170},{"class":743,"style":744},[4171,4176],{"type":658,"tag":741,"props":4172,"children":4173},{"style":1010},[4174],{"type":667,"value":4175},"reset",{"type":658,"tag":741,"props":4177,"children":4178},{"style":754},[4179],{"type":667,"value":1279},{"type":667,"value":789},{"type":658,"tag":741,"props":4182,"children":4183},{"class":743,"style":744},[4184,4188,4192,4196,4200,4205],{"type":658,"tag":741,"props":4185,"children":4186},{"style":760},[4187],{"type":667,"value":3001},{"type":658,"tag":741,"props":4189,"children":4190},{"style":754},[4191],{"type":667,"value":682},{"type":658,"tag":741,"props":4193,"children":4194},{"style":1010},[4195],{"type":667,"value":1418},{"type":658,"tag":741,"props":4197,"children":4198},{"style":754},[4199],{"type":667,"value":1080},{"type":658,"tag":741,"props":4201,"children":4202},{"style":784},[4203],{"type":667,"value":4204},"'client-one'",{"type":658,"tag":741,"props":4206,"children":4207},{"style":754},[4208],{"type":667,"value":1131},{"type":667,"value":789},{"type":658,"tag":741,"props":4211,"children":4212},{"class":743,"style":744},[],{"type":667,"value":789},{"type":658,"tag":741,"props":4215,"children":4216},{"class":743,"style":744},[4217,4221,4225,4229,4233,4237,4242,4246,4250,4254,4258],{"type":658,"tag":741,"props":4218,"children":4219},{"style":748},[4220],{"type":667,"value":1541},{"type":658,"tag":741,"props":4222,"children":4223},{"style":1010},[4224],{"type":667,"value":3602},{"type":658,"tag":741,"props":4226,"children":4227},{"style":754},[4228],{"type":667,"value":1080},{"type":658,"tag":741,"props":4230,"children":4231},{"style":760},[4232],{"type":667,"value":2106},{"type":658,"tag":741,"props":4234,"children":4235},{"style":754},[4236],{"type":667,"value":1413},{"type":658,"tag":741,"props":4238,"children":4239},{"style":760},[4240],{"type":667,"value":4241},"resolves",{"type":658,"tag":741,"props":4243,"children":4244},{"style":754},[4245],{"type":667,"value":682},{"type":658,"tag":741,"props":4247,"children":4248},{"style":1010},[4249],{"type":667,"value":4009},{"type":658,"tag":741,"props":4251,"children":4252},{"style":754},[4253],{"type":667,"value":1080},{"type":658,"tag":741,"props":4255,"children":4256},{"style":784},[4257],{"type":667,"value":4204},{"type":658,"tag":741,"props":4259,"children":4260},{"style":754},[4261],{"type":667,"value":1131},{"type":667,"value":789},{"type":658,"tag":741,"props":4264,"children":4265},{"class":743,"style":744},[4266,4270,4274,4278,4282,4287,4291,4295,4299,4304],{"type":658,"tag":741,"props":4267,"children":4268},{"style":1010},[4269],{"type":667,"value":886},{"type":658,"tag":741,"props":4271,"children":4272},{"style":754},[4273],{"type":667,"value":1080},{"type":658,"tag":741,"props":4275,"children":4276},{"style":760},[4277],{"type":667,"value":2100},{"type":658,"tag":741,"props":4279,"children":4280},{"style":754},[4281],{"type":667,"value":682},{"type":658,"tag":741,"props":4283,"children":4284},{"style":760},[4285],{"type":667,"value":4286},"value",{"type":658,"tag":741,"props":4288,"children":4289},{"style":754},[4290],{"type":667,"value":1413},{"type":658,"tag":741,"props":4292,"children":4293},{"style":1010},[4294],{"type":667,"value":4009},{"type":658,"tag":741,"props":4296,"children":4297},{"style":754},[4298],{"type":667,"value":1080},{"type":658,"tag":741,"props":4300,"children":4301},{"style":784},[4302],{"type":667,"value":4303},"'idle'",{"type":658,"tag":741,"props":4305,"children":4306},{"style":754},[4307],{"type":667,"value":1131},{"type":658,"tag":684,"props":4309,"children":4311},{"id":4310},"what-this-proves",[4312],{"type":667,"value":4313},"What this proves",{"type":658,"tag":659,"props":4315,"children":4316},{},[4317],{"type":667,"value":4318},"Use the test runtime for what the screen does:",{"type":658,"tag":4320,"props":4321,"children":4322},"ul",{},[4323,4329,4334,4339,4344],{"type":658,"tag":4324,"props":4325,"children":4326},"li",{},[4327],{"type":667,"value":4328},"loading, success, error, and realtime states;",{"type":658,"tag":4324,"props":4330,"children":4331},{},[4332],{"type":667,"value":4333},"typed mutation and action arguments and results;",{"type":658,"tag":4324,"props":4335,"children":4336},{},[4337],{"type":667,"value":4338},"upload progress, cancellation, and failures;",{"type":658,"tag":4324,"props":4340,"children":4341},{},[4342],{"type":667,"value":4343},"signed-in, anonymous, loading, and changing users;",{"type":658,"tag":4324,"props":4345,"children":4346},{},[4347],{"type":667,"value":4348},"subscriptions that stop when a component or user changes.",{"type":658,"tag":659,"props":4350,"children":4351},{},[4352],{"type":667,"value":4353},"Test other layers separately:",{"type":658,"tag":4320,"props":4355,"children":4356},{},[4357,4366,4371],{"type":658,"tag":4324,"props":4358,"children":4359},{},[4360,4364],{"type":658,"tag":663,"props":4361,"children":4362},{},[4363],{"type":667,"value":680},{"type":667,"value":4365}," for validators, authorization, indexes, and transactions;",{"type":658,"tag":4324,"props":4367,"children":4368},{},[4369],{"type":667,"value":4370},"a Nuxt server-rendering fixture for server fetch, payload serialization, and hydration;",{"type":658,"tag":4324,"props":4372,"children":4373},{},[4374],{"type":667,"value":4375},"a real browser for routing, focus, forms, and the deployed auth origin.",{"type":658,"tag":659,"props":4377,"children":4378},{},[4379],{"type":667,"value":4380},"The runtime does not emulate optimistic updates or server-rendered payloads.",{"title":4382,"searchDepth":4383,"depth":4383,"links":4384},"",4,[4385,4387,4388,4389,4390],{"id":686,"depth":4386,"text":689},2,{"id":2166,"depth":4386,"text":2169},{"id":2385,"depth":4386,"text":2388},{"id":3338,"depth":4386,"text":3341},{"id":4310,"depth":4386,"text":4313},"markdown","docs",{"source":4394,"path":4395,"stem":4396,"dir":4397,"extension":4398},"content","docs\u002F4.recipes\u002F9.component-testing.md","docs\u002F4.recipes\u002F9.component-testing","recipes","md",{"requestedPath":484,"resolvedPath":484,"alternates":4400},[],{"requested":4402,"resolved":4403,"usedFallback":6},{},{"locale":8},{"previous":4405,"next":4407},{"title":473,"id":474,"canonicalKey":475,"locale":8,"draft":6,"navigation":4406,"icon":108,"path":477},{"icon":108},{"title":492,"id":493,"canonicalKey":494,"locale":8,"draft":6,"navigation":4408,"icon":489,"path":496},{"icon":489},{"left":4410,"top":4410,"width":4411,"height":4411,"rotate":4410,"vFlip":6,"hFlip":6,"body":4412},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":4410,"top":4410,"width":4414,"height":4414,"rotate":4410,"vFlip":6,"hFlip":6,"body":4415},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>",1790591517260]