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