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