[{"data":1,"prerenderedAt":3527},["ShallowReactive",2],{"docs-navigation:en":3,"content-page:docs:J0kmJN4nxcZxv9pY_KLQwKLdp73T3249lQPqJizbFyY":842,"content-page-surround:docs:J0kmJN4nxcZxv9pY_KLQwKLdp73T3249lQPqJizbFyY":3513,"i-logos:typescript-icon":3517,"i-logos:vue":3521,"i-lucide:clipboard":3524},[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":627,"description":843,"navigation":844,"body":845,"type":3500,"id":628,"canonicalKey":629,"draft":6,"partial":6,"locale":8,"collection":3501,"navigationFile":6,"file":3502,"route":3508,"resolution":3510},"Upload several files, or several versions of one file, and attach them to a record in one operation.",{"icon":631},{"type":846,"children":847,"toc":3490},"root",[848,857,863,897,903,2104,2134,2140,3362,3378,3384,3448,3454,3466],{"type":849,"tag":850,"props":851,"children":853},"element","h2",{"id":852},"result",[854],{"type":855,"value":856},"text","Result",{"type":849,"tag":858,"props":859,"children":860},"p",{},[861],{"type":855,"value":862},"A user picks an image. The browser uploads the original and a small preview at the same time and attaches both to the record. If the user signs out or cancels, the steps that have not run yet are not sent.",{"type":849,"tag":858,"props":864,"children":865},{},[866,868,874,876,882,884,889,891,895],{"type":855,"value":867},"This recipe uses ",{"type":849,"tag":869,"props":870,"children":871},"code",{},[872],{"type":855,"value":873},"useConvexOperation",{"type":855,"value":875},", an ",{"type":849,"tag":877,"props":878,"children":879},"a",{"href":822},[880],{"type":855,"value":881},"experimental API",{"type":855,"value":883},". For one file per call, ",{"type":849,"tag":869,"props":885,"children":886},{},[887],{"type":855,"value":888},"useConvexFileUpload",{"type":855,"value":890}," is simpler; see ",{"type":849,"tag":877,"props":892,"children":893},{"href":363},[894],{"type":855,"value":358},{"type":855,"value":896},".",{"type":849,"tag":850,"props":898,"children":900},{"id":899},"backend",[901],{"type":855,"value":902},"Backend",{"type":849,"tag":904,"props":905,"children":909},"pre",{"language":906,"filename":907,"class":908},"ts","convex\u002Fentries.ts","shiki shiki-themes light-plus dark-plus dark:dark-plus",[910],{"type":849,"tag":869,"props":911,"children":913},{"class":912},"language-ts",[914,964,966,1000,1001,1044,1045,1074,1075,1104,1105,1108,1109,1182,1183,1234,1235,1290,1291,1300,1301,1361,1362,1400,1401,1409,1410,1439,1440,1448,1449,1452,1453,1484,1485,1528,1529,1580,1581,1613,1614,1654,1655,1663,1664,1672,1673,1676,1677,1705,1706,1805,1806,1867,1868,1925,1926,1974,1975,2022,2023,2088,2089,2096,2097],{"type":849,"tag":915,"props":916,"children":919},"span",{"class":917,"style":918},"line","display: inline",[920,926,932,938,943,948,953,958],{"type":849,"tag":915,"props":921,"children":923},{"style":922},"color:#AF00DB;--shiki-dark:#C586C0",[924],{"type":855,"value":925},"import",{"type":849,"tag":915,"props":927,"children":929},{"style":928},"color:#000000;--shiki-dark:#D4D4D4",[930],{"type":855,"value":931}," { ",{"type":849,"tag":915,"props":933,"children":935},{"style":934},"color:#001080;--shiki-dark:#9CDCFE",[936],{"type":855,"value":937},"ConvexError",{"type":849,"tag":915,"props":939,"children":940},{"style":928},[941],{"type":855,"value":942},", ",{"type":849,"tag":915,"props":944,"children":945},{"style":934},[946],{"type":855,"value":947},"v",{"type":849,"tag":915,"props":949,"children":950},{"style":928},[951],{"type":855,"value":952}," } ",{"type":849,"tag":915,"props":954,"children":955},{"style":922},[956],{"type":855,"value":957},"from",{"type":849,"tag":915,"props":959,"children":961},{"style":960},"color:#A31515;--shiki-dark:#CE9178",[962],{"type":855,"value":963}," 'convex\u002Fvalues'",{"type":855,"value":965},"\n",{"type":849,"tag":915,"props":967,"children":968},{"class":917,"style":918},[969,973,978,982,987,991,995],{"type":849,"tag":915,"props":970,"children":971},{"style":922},[972],{"type":855,"value":925},{"type":849,"tag":915,"props":974,"children":975},{"style":922},[976],{"type":855,"value":977}," type",{"type":849,"tag":915,"props":979,"children":980},{"style":928},[981],{"type":855,"value":931},{"type":849,"tag":915,"props":983,"children":984},{"style":934},[985],{"type":855,"value":986},"Id",{"type":849,"tag":915,"props":988,"children":989},{"style":928},[990],{"type":855,"value":952},{"type":849,"tag":915,"props":992,"children":993},{"style":922},[994],{"type":855,"value":957},{"type":849,"tag":915,"props":996,"children":997},{"style":960},[998],{"type":855,"value":999}," '.\u002F_generated\u002FdataModel'",{"type":855,"value":965},{"type":849,"tag":915,"props":1002,"children":1003},{"class":917,"style":918},[1004,1008,1012,1017,1021,1026,1031,1035,1039],{"type":849,"tag":915,"props":1005,"children":1006},{"style":922},[1007],{"type":855,"value":925},{"type":849,"tag":915,"props":1009,"children":1010},{"style":928},[1011],{"type":855,"value":931},{"type":849,"tag":915,"props":1013,"children":1014},{"style":934},[1015],{"type":855,"value":1016},"mutation",{"type":849,"tag":915,"props":1018,"children":1019},{"style":928},[1020],{"type":855,"value":942},{"type":849,"tag":915,"props":1022,"children":1023},{"style":922},[1024],{"type":855,"value":1025},"type",{"type":849,"tag":915,"props":1027,"children":1028},{"style":934},[1029],{"type":855,"value":1030}," MutationCtx",{"type":849,"tag":915,"props":1032,"children":1033},{"style":928},[1034],{"type":855,"value":952},{"type":849,"tag":915,"props":1036,"children":1037},{"style":922},[1038],{"type":855,"value":957},{"type":849,"tag":915,"props":1040,"children":1041},{"style":960},[1042],{"type":855,"value":1043}," '.\u002F_generated\u002Fserver'",{"type":855,"value":965},{"type":849,"tag":915,"props":1046,"children":1047},{"class":917,"style":918},[1048,1052,1056,1061,1065,1069],{"type":849,"tag":915,"props":1049,"children":1050},{"style":922},[1051],{"type":855,"value":925},{"type":849,"tag":915,"props":1053,"children":1054},{"style":928},[1055],{"type":855,"value":931},{"type":849,"tag":915,"props":1057,"children":1058},{"style":934},[1059],{"type":855,"value":1060},"auth",{"type":849,"tag":915,"props":1062,"children":1063},{"style":928},[1064],{"type":855,"value":952},{"type":849,"tag":915,"props":1066,"children":1067},{"style":922},[1068],{"type":855,"value":957},{"type":849,"tag":915,"props":1070,"children":1071},{"style":960},[1072],{"type":855,"value":1073}," '.\u002Fauth'",{"type":855,"value":965},{"type":849,"tag":915,"props":1076,"children":1077},{"class":917,"style":918},[1078,1082,1086,1091,1095,1099],{"type":849,"tag":915,"props":1079,"children":1080},{"style":922},[1081],{"type":855,"value":925},{"type":849,"tag":915,"props":1083,"children":1084},{"style":928},[1085],{"type":855,"value":931},{"type":849,"tag":915,"props":1087,"children":1088},{"style":934},[1089],{"type":855,"value":1090},"claimUpload",{"type":849,"tag":915,"props":1092,"children":1093},{"style":928},[1094],{"type":855,"value":952},{"type":849,"tag":915,"props":1096,"children":1097},{"style":922},[1098],{"type":855,"value":957},{"type":849,"tag":915,"props":1100,"children":1101},{"style":960},[1102],{"type":855,"value":1103}," '.\u002Fuploads'",{"type":855,"value":965},{"type":849,"tag":915,"props":1106,"children":1107},{"class":917,"style":918},[],{"type":855,"value":965},{"type":849,"tag":915,"props":1110,"children":1111},{"class":917,"style":918},[1112,1118,1123,1129,1134,1139,1144,1150,1154,1159,1163,1167,1172,1177],{"type":849,"tag":915,"props":1113,"children":1115},{"style":1114},"color:#0000FF;--shiki-dark:#569CD6",[1116],{"type":855,"value":1117},"async",{"type":849,"tag":915,"props":1119,"children":1120},{"style":1114},[1121],{"type":855,"value":1122}," function",{"type":849,"tag":915,"props":1124,"children":1126},{"style":1125},"color:#795E26;--shiki-dark:#DCDCAA",[1127],{"type":855,"value":1128}," requireOwnEntry",{"type":849,"tag":915,"props":1130,"children":1131},{"style":928},[1132],{"type":855,"value":1133},"(",{"type":849,"tag":915,"props":1135,"children":1136},{"style":934},[1137],{"type":855,"value":1138},"ctx",{"type":849,"tag":915,"props":1140,"children":1141},{"style":928},[1142],{"type":855,"value":1143},": ",{"type":849,"tag":915,"props":1145,"children":1147},{"style":1146},"color:#267F99;--shiki-dark:#4EC9B0",[1148],{"type":855,"value":1149},"MutationCtx",{"type":849,"tag":915,"props":1151,"children":1152},{"style":928},[1153],{"type":855,"value":942},{"type":849,"tag":915,"props":1155,"children":1156},{"style":934},[1157],{"type":855,"value":1158},"entryId",{"type":849,"tag":915,"props":1160,"children":1161},{"style":928},[1162],{"type":855,"value":1143},{"type":849,"tag":915,"props":1164,"children":1165},{"style":1146},[1166],{"type":855,"value":986},{"type":849,"tag":915,"props":1168,"children":1169},{"style":928},[1170],{"type":855,"value":1171},"\u003C",{"type":849,"tag":915,"props":1173,"children":1174},{"style":960},[1175],{"type":855,"value":1176},"'entries'",{"type":849,"tag":915,"props":1178,"children":1179},{"style":928},[1180],{"type":855,"value":1181},">) {",{"type":855,"value":965},{"type":849,"tag":915,"props":1184,"children":1185},{"class":917,"style":918},[1186,1191,1197,1202,1207,1212,1216,1221,1225,1229],{"type":849,"tag":915,"props":1187,"children":1188},{"style":1114},[1189],{"type":855,"value":1190},"  const",{"type":849,"tag":915,"props":1192,"children":1194},{"style":1193},"color:#0070C1;--shiki-dark:#4FC1FF",[1195],{"type":855,"value":1196}," user",{"type":849,"tag":915,"props":1198,"children":1199},{"style":928},[1200],{"type":855,"value":1201}," = ",{"type":849,"tag":915,"props":1203,"children":1204},{"style":922},[1205],{"type":855,"value":1206},"await",{"type":849,"tag":915,"props":1208,"children":1209},{"style":934},[1210],{"type":855,"value":1211}," auth",{"type":849,"tag":915,"props":1213,"children":1214},{"style":928},[1215],{"type":855,"value":896},{"type":849,"tag":915,"props":1217,"children":1218},{"style":1125},[1219],{"type":855,"value":1220},"requireUser",{"type":849,"tag":915,"props":1222,"children":1223},{"style":928},[1224],{"type":855,"value":1133},{"type":849,"tag":915,"props":1226,"children":1227},{"style":934},[1228],{"type":855,"value":1138},{"type":849,"tag":915,"props":1230,"children":1231},{"style":928},[1232],{"type":855,"value":1233},")",{"type":855,"value":965},{"type":849,"tag":915,"props":1236,"children":1237},{"class":917,"style":918},[1238,1242,1247,1251,1255,1260,1264,1269,1273,1278,1282,1286],{"type":849,"tag":915,"props":1239,"children":1240},{"style":1114},[1241],{"type":855,"value":1190},{"type":849,"tag":915,"props":1243,"children":1244},{"style":1193},[1245],{"type":855,"value":1246}," entry",{"type":849,"tag":915,"props":1248,"children":1249},{"style":928},[1250],{"type":855,"value":1201},{"type":849,"tag":915,"props":1252,"children":1253},{"style":922},[1254],{"type":855,"value":1206},{"type":849,"tag":915,"props":1256,"children":1257},{"style":934},[1258],{"type":855,"value":1259}," ctx",{"type":849,"tag":915,"props":1261,"children":1262},{"style":928},[1263],{"type":855,"value":896},{"type":849,"tag":915,"props":1265,"children":1266},{"style":934},[1267],{"type":855,"value":1268},"db",{"type":849,"tag":915,"props":1270,"children":1271},{"style":928},[1272],{"type":855,"value":896},{"type":849,"tag":915,"props":1274,"children":1275},{"style":1125},[1276],{"type":855,"value":1277},"get",{"type":849,"tag":915,"props":1279,"children":1280},{"style":928},[1281],{"type":855,"value":1133},{"type":849,"tag":915,"props":1283,"children":1284},{"style":934},[1285],{"type":855,"value":1158},{"type":849,"tag":915,"props":1287,"children":1288},{"style":928},[1289],{"type":855,"value":1233},{"type":855,"value":965},{"type":849,"tag":915,"props":1292,"children":1293},{"class":917,"style":918},[1294],{"type":849,"tag":915,"props":1295,"children":1297},{"style":1296},"color:#008000;--shiki-dark:#6A9955",[1298],{"type":855,"value":1299},"  \u002F\u002F The same error for a missing entry and for an entry of another user.",{"type":855,"value":965},{"type":849,"tag":915,"props":1302,"children":1303},{"class":917,"style":918},[1304,1309,1314,1319,1324,1328,1332,1337,1342,1347,1351,1356],{"type":849,"tag":915,"props":1305,"children":1306},{"style":922},[1307],{"type":855,"value":1308},"  if",{"type":849,"tag":915,"props":1310,"children":1311},{"style":928},[1312],{"type":855,"value":1313}," (!",{"type":849,"tag":915,"props":1315,"children":1316},{"style":934},[1317],{"type":855,"value":1318},"entry",{"type":849,"tag":915,"props":1320,"children":1321},{"style":928},[1322],{"type":855,"value":1323}," || ",{"type":849,"tag":915,"props":1325,"children":1326},{"style":934},[1327],{"type":855,"value":1318},{"type":849,"tag":915,"props":1329,"children":1330},{"style":928},[1331],{"type":855,"value":896},{"type":849,"tag":915,"props":1333,"children":1334},{"style":934},[1335],{"type":855,"value":1336},"ownerId",{"type":849,"tag":915,"props":1338,"children":1339},{"style":928},[1340],{"type":855,"value":1341}," !== ",{"type":849,"tag":915,"props":1343,"children":1344},{"style":934},[1345],{"type":855,"value":1346},"user",{"type":849,"tag":915,"props":1348,"children":1349},{"style":928},[1350],{"type":855,"value":896},{"type":849,"tag":915,"props":1352,"children":1353},{"style":934},[1354],{"type":855,"value":1355},"id",{"type":849,"tag":915,"props":1357,"children":1358},{"style":928},[1359],{"type":855,"value":1360},") {",{"type":855,"value":965},{"type":849,"tag":915,"props":1363,"children":1364},{"class":917,"style":918},[1365,1370,1375,1380,1385,1390,1395],{"type":849,"tag":915,"props":1366,"children":1367},{"style":922},[1368],{"type":855,"value":1369},"    throw",{"type":849,"tag":915,"props":1371,"children":1372},{"style":1114},[1373],{"type":855,"value":1374}," new",{"type":849,"tag":915,"props":1376,"children":1377},{"style":1125},[1378],{"type":855,"value":1379}," ConvexError",{"type":849,"tag":915,"props":1381,"children":1382},{"style":928},[1383],{"type":855,"value":1384},"({ ",{"type":849,"tag":915,"props":1386,"children":1387},{"style":934},[1388],{"type":855,"value":1389},"code:",{"type":849,"tag":915,"props":1391,"children":1392},{"style":960},[1393],{"type":855,"value":1394}," 'ENTRY_NOT_FOUND'",{"type":849,"tag":915,"props":1396,"children":1397},{"style":928},[1398],{"type":855,"value":1399}," })",{"type":855,"value":965},{"type":849,"tag":915,"props":1402,"children":1403},{"class":917,"style":918},[1404],{"type":849,"tag":915,"props":1405,"children":1406},{"style":928},[1407],{"type":855,"value":1408},"  }",{"type":855,"value":965},{"type":849,"tag":915,"props":1411,"children":1412},{"class":917,"style":918},[1413,1418,1422,1426,1430,1434],{"type":849,"tag":915,"props":1414,"children":1415},{"style":922},[1416],{"type":855,"value":1417},"  return",{"type":849,"tag":915,"props":1419,"children":1420},{"style":928},[1421],{"type":855,"value":931},{"type":849,"tag":915,"props":1423,"children":1424},{"style":934},[1425],{"type":855,"value":1346},{"type":849,"tag":915,"props":1427,"children":1428},{"style":928},[1429],{"type":855,"value":942},{"type":849,"tag":915,"props":1431,"children":1432},{"style":934},[1433],{"type":855,"value":1318},{"type":849,"tag":915,"props":1435,"children":1436},{"style":928},[1437],{"type":855,"value":1438}," }",{"type":855,"value":965},{"type":849,"tag":915,"props":1441,"children":1442},{"class":917,"style":918},[1443],{"type":849,"tag":915,"props":1444,"children":1445},{"style":928},[1446],{"type":855,"value":1447},"}",{"type":855,"value":965},{"type":849,"tag":915,"props":1450,"children":1451},{"class":917,"style":918},[],{"type":855,"value":965},{"type":849,"tag":915,"props":1454,"children":1455},{"class":917,"style":918},[1456,1461,1466,1471,1475,1479],{"type":849,"tag":915,"props":1457,"children":1458},{"style":922},[1459],{"type":855,"value":1460},"export",{"type":849,"tag":915,"props":1462,"children":1463},{"style":1114},[1464],{"type":855,"value":1465}," const",{"type":849,"tag":915,"props":1467,"children":1468},{"style":1193},[1469],{"type":855,"value":1470}," generateUploadUrl",{"type":849,"tag":915,"props":1472,"children":1473},{"style":928},[1474],{"type":855,"value":1201},{"type":849,"tag":915,"props":1476,"children":1477},{"style":1125},[1478],{"type":855,"value":1016},{"type":849,"tag":915,"props":1480,"children":1481},{"style":928},[1482],{"type":855,"value":1483},"({",{"type":855,"value":965},{"type":849,"tag":915,"props":1486,"children":1487},{"class":917,"style":918},[1488,1493,1497,1502,1507,1511,1515,1519,1523],{"type":849,"tag":915,"props":1489,"children":1490},{"style":934},[1491],{"type":855,"value":1492},"  args:",{"type":849,"tag":915,"props":1494,"children":1495},{"style":928},[1496],{"type":855,"value":931},{"type":849,"tag":915,"props":1498,"children":1499},{"style":934},[1500],{"type":855,"value":1501},"entryId:",{"type":849,"tag":915,"props":1503,"children":1504},{"style":934},[1505],{"type":855,"value":1506}," v",{"type":849,"tag":915,"props":1508,"children":1509},{"style":928},[1510],{"type":855,"value":896},{"type":849,"tag":915,"props":1512,"children":1513},{"style":1125},[1514],{"type":855,"value":1355},{"type":849,"tag":915,"props":1516,"children":1517},{"style":928},[1518],{"type":855,"value":1133},{"type":849,"tag":915,"props":1520,"children":1521},{"style":960},[1522],{"type":855,"value":1176},{"type":849,"tag":915,"props":1524,"children":1525},{"style":928},[1526],{"type":855,"value":1527},") },",{"type":855,"value":965},{"type":849,"tag":915,"props":1530,"children":1531},{"class":917,"style":918},[1532,1537,1542,1547,1552,1556,1561,1565,1570,1575],{"type":849,"tag":915,"props":1533,"children":1534},{"style":1125},[1535],{"type":855,"value":1536},"  handler",{"type":849,"tag":915,"props":1538,"children":1539},{"style":934},[1540],{"type":855,"value":1541},":",{"type":849,"tag":915,"props":1543,"children":1544},{"style":1114},[1545],{"type":855,"value":1546}," async",{"type":849,"tag":915,"props":1548,"children":1549},{"style":928},[1550],{"type":855,"value":1551}," (",{"type":849,"tag":915,"props":1553,"children":1554},{"style":934},[1555],{"type":855,"value":1138},{"type":849,"tag":915,"props":1557,"children":1558},{"style":928},[1559],{"type":855,"value":1560},", { ",{"type":849,"tag":915,"props":1562,"children":1563},{"style":934},[1564],{"type":855,"value":1158},{"type":849,"tag":915,"props":1566,"children":1567},{"style":928},[1568],{"type":855,"value":1569}," }) ",{"type":849,"tag":915,"props":1571,"children":1572},{"style":1114},[1573],{"type":855,"value":1574},"=>",{"type":849,"tag":915,"props":1576,"children":1577},{"style":928},[1578],{"type":855,"value":1579}," {",{"type":855,"value":965},{"type":849,"tag":915,"props":1582,"children":1583},{"class":917,"style":918},[1584,1589,1593,1597,1601,1605,1609],{"type":849,"tag":915,"props":1585,"children":1586},{"style":922},[1587],{"type":855,"value":1588},"    await",{"type":849,"tag":915,"props":1590,"children":1591},{"style":1125},[1592],{"type":855,"value":1128},{"type":849,"tag":915,"props":1594,"children":1595},{"style":928},[1596],{"type":855,"value":1133},{"type":849,"tag":915,"props":1598,"children":1599},{"style":934},[1600],{"type":855,"value":1138},{"type":849,"tag":915,"props":1602,"children":1603},{"style":928},[1604],{"type":855,"value":942},{"type":849,"tag":915,"props":1606,"children":1607},{"style":934},[1608],{"type":855,"value":1158},{"type":849,"tag":915,"props":1610,"children":1611},{"style":928},[1612],{"type":855,"value":1233},{"type":855,"value":965},{"type":849,"tag":915,"props":1615,"children":1616},{"class":917,"style":918},[1617,1622,1627,1631,1635,1640,1644,1649],{"type":849,"tag":915,"props":1618,"children":1619},{"style":922},[1620],{"type":855,"value":1621},"    return",{"type":849,"tag":915,"props":1623,"children":1624},{"style":922},[1625],{"type":855,"value":1626}," await",{"type":849,"tag":915,"props":1628,"children":1629},{"style":934},[1630],{"type":855,"value":1259},{"type":849,"tag":915,"props":1632,"children":1633},{"style":928},[1634],{"type":855,"value":896},{"type":849,"tag":915,"props":1636,"children":1637},{"style":934},[1638],{"type":855,"value":1639},"storage",{"type":849,"tag":915,"props":1641,"children":1642},{"style":928},[1643],{"type":855,"value":896},{"type":849,"tag":915,"props":1645,"children":1646},{"style":1125},[1647],{"type":855,"value":1648},"generateUploadUrl",{"type":849,"tag":915,"props":1650,"children":1651},{"style":928},[1652],{"type":855,"value":1653},"()",{"type":855,"value":965},{"type":849,"tag":915,"props":1656,"children":1657},{"class":917,"style":918},[1658],{"type":849,"tag":915,"props":1659,"children":1660},{"style":928},[1661],{"type":855,"value":1662},"  },",{"type":855,"value":965},{"type":849,"tag":915,"props":1665,"children":1666},{"class":917,"style":918},[1667],{"type":849,"tag":915,"props":1668,"children":1669},{"style":928},[1670],{"type":855,"value":1671},"})",{"type":855,"value":965},{"type":849,"tag":915,"props":1674,"children":1675},{"class":917,"style":918},[],{"type":855,"value":965},{"type":849,"tag":915,"props":1678,"children":1679},{"class":917,"style":918},[1680,1684,1688,1693,1697,1701],{"type":849,"tag":915,"props":1681,"children":1682},{"style":922},[1683],{"type":855,"value":1460},{"type":849,"tag":915,"props":1685,"children":1686},{"style":1114},[1687],{"type":855,"value":1465},{"type":849,"tag":915,"props":1689,"children":1690},{"style":1193},[1691],{"type":855,"value":1692}," attachImages",{"type":849,"tag":915,"props":1694,"children":1695},{"style":928},[1696],{"type":855,"value":1201},{"type":849,"tag":915,"props":1698,"children":1699},{"style":1125},[1700],{"type":855,"value":1016},{"type":849,"tag":915,"props":1702,"children":1703},{"style":928},[1704],{"type":855,"value":1483},{"type":855,"value":965},{"type":849,"tag":915,"props":1707,"children":1708},{"class":917,"style":918},[1709,1713,1717,1721,1725,1729,1733,1737,1741,1746,1751,1755,1759,1763,1767,1772,1776,1781,1785,1789,1793,1797,1801],{"type":849,"tag":915,"props":1710,"children":1711},{"style":934},[1712],{"type":855,"value":1492},{"type":849,"tag":915,"props":1714,"children":1715},{"style":928},[1716],{"type":855,"value":931},{"type":849,"tag":915,"props":1718,"children":1719},{"style":934},[1720],{"type":855,"value":1501},{"type":849,"tag":915,"props":1722,"children":1723},{"style":934},[1724],{"type":855,"value":1506},{"type":849,"tag":915,"props":1726,"children":1727},{"style":928},[1728],{"type":855,"value":896},{"type":849,"tag":915,"props":1730,"children":1731},{"style":1125},[1732],{"type":855,"value":1355},{"type":849,"tag":915,"props":1734,"children":1735},{"style":928},[1736],{"type":855,"value":1133},{"type":849,"tag":915,"props":1738,"children":1739},{"style":960},[1740],{"type":855,"value":1176},{"type":849,"tag":915,"props":1742,"children":1743},{"style":928},[1744],{"type":855,"value":1745},"), ",{"type":849,"tag":915,"props":1747,"children":1748},{"style":934},[1749],{"type":855,"value":1750},"originalId:",{"type":849,"tag":915,"props":1752,"children":1753},{"style":934},[1754],{"type":855,"value":1506},{"type":849,"tag":915,"props":1756,"children":1757},{"style":928},[1758],{"type":855,"value":896},{"type":849,"tag":915,"props":1760,"children":1761},{"style":1125},[1762],{"type":855,"value":1355},{"type":849,"tag":915,"props":1764,"children":1765},{"style":928},[1766],{"type":855,"value":1133},{"type":849,"tag":915,"props":1768,"children":1769},{"style":960},[1770],{"type":855,"value":1771},"'_storage'",{"type":849,"tag":915,"props":1773,"children":1774},{"style":928},[1775],{"type":855,"value":1745},{"type":849,"tag":915,"props":1777,"children":1778},{"style":934},[1779],{"type":855,"value":1780},"previewId:",{"type":849,"tag":915,"props":1782,"children":1783},{"style":934},[1784],{"type":855,"value":1506},{"type":849,"tag":915,"props":1786,"children":1787},{"style":928},[1788],{"type":855,"value":896},{"type":849,"tag":915,"props":1790,"children":1791},{"style":1125},[1792],{"type":855,"value":1355},{"type":849,"tag":915,"props":1794,"children":1795},{"style":928},[1796],{"type":855,"value":1133},{"type":849,"tag":915,"props":1798,"children":1799},{"style":960},[1800],{"type":855,"value":1771},{"type":849,"tag":915,"props":1802,"children":1803},{"style":928},[1804],{"type":855,"value":1527},{"type":855,"value":965},{"type":849,"tag":915,"props":1807,"children":1808},{"class":917,"style":918},[1809,1813,1817,1821,1825,1829,1833,1837,1841,1846,1850,1855,1859,1863],{"type":849,"tag":915,"props":1810,"children":1811},{"style":1125},[1812],{"type":855,"value":1536},{"type":849,"tag":915,"props":1814,"children":1815},{"style":934},[1816],{"type":855,"value":1541},{"type":849,"tag":915,"props":1818,"children":1819},{"style":1114},[1820],{"type":855,"value":1546},{"type":849,"tag":915,"props":1822,"children":1823},{"style":928},[1824],{"type":855,"value":1551},{"type":849,"tag":915,"props":1826,"children":1827},{"style":934},[1828],{"type":855,"value":1138},{"type":849,"tag":915,"props":1830,"children":1831},{"style":928},[1832],{"type":855,"value":1560},{"type":849,"tag":915,"props":1834,"children":1835},{"style":934},[1836],{"type":855,"value":1158},{"type":849,"tag":915,"props":1838,"children":1839},{"style":928},[1840],{"type":855,"value":942},{"type":849,"tag":915,"props":1842,"children":1843},{"style":934},[1844],{"type":855,"value":1845},"originalId",{"type":849,"tag":915,"props":1847,"children":1848},{"style":928},[1849],{"type":855,"value":942},{"type":849,"tag":915,"props":1851,"children":1852},{"style":934},[1853],{"type":855,"value":1854},"previewId",{"type":849,"tag":915,"props":1856,"children":1857},{"style":928},[1858],{"type":855,"value":1569},{"type":849,"tag":915,"props":1860,"children":1861},{"style":1114},[1862],{"type":855,"value":1574},{"type":849,"tag":915,"props":1864,"children":1865},{"style":928},[1866],{"type":855,"value":1579},{"type":855,"value":965},{"type":849,"tag":915,"props":1869,"children":1870},{"class":917,"style":918},[1871,1876,1880,1884,1888,1892,1897,1901,1905,1909,1913,1917,1921],{"type":849,"tag":915,"props":1872,"children":1873},{"style":1114},[1874],{"type":855,"value":1875},"    const",{"type":849,"tag":915,"props":1877,"children":1878},{"style":928},[1879],{"type":855,"value":931},{"type":849,"tag":915,"props":1881,"children":1882},{"style":1193},[1883],{"type":855,"value":1346},{"type":849,"tag":915,"props":1885,"children":1886},{"style":928},[1887],{"type":855,"value":942},{"type":849,"tag":915,"props":1889,"children":1890},{"style":1193},[1891],{"type":855,"value":1318},{"type":849,"tag":915,"props":1893,"children":1894},{"style":928},[1895],{"type":855,"value":1896}," } = ",{"type":849,"tag":915,"props":1898,"children":1899},{"style":922},[1900],{"type":855,"value":1206},{"type":849,"tag":915,"props":1902,"children":1903},{"style":1125},[1904],{"type":855,"value":1128},{"type":849,"tag":915,"props":1906,"children":1907},{"style":928},[1908],{"type":855,"value":1133},{"type":849,"tag":915,"props":1910,"children":1911},{"style":934},[1912],{"type":855,"value":1138},{"type":849,"tag":915,"props":1914,"children":1915},{"style":928},[1916],{"type":855,"value":942},{"type":849,"tag":915,"props":1918,"children":1919},{"style":934},[1920],{"type":855,"value":1158},{"type":849,"tag":915,"props":1922,"children":1923},{"style":928},[1924],{"type":855,"value":1233},{"type":855,"value":965},{"type":849,"tag":915,"props":1927,"children":1928},{"class":917,"style":918},[1929,1933,1938,1942,1946,1950,1954,1958,1962,1966,1970],{"type":849,"tag":915,"props":1930,"children":1931},{"style":922},[1932],{"type":855,"value":1588},{"type":849,"tag":915,"props":1934,"children":1935},{"style":1125},[1936],{"type":855,"value":1937}," claimUpload",{"type":849,"tag":915,"props":1939,"children":1940},{"style":928},[1941],{"type":855,"value":1133},{"type":849,"tag":915,"props":1943,"children":1944},{"style":934},[1945],{"type":855,"value":1138},{"type":849,"tag":915,"props":1947,"children":1948},{"style":928},[1949],{"type":855,"value":942},{"type":849,"tag":915,"props":1951,"children":1952},{"style":934},[1953],{"type":855,"value":1346},{"type":849,"tag":915,"props":1955,"children":1956},{"style":928},[1957],{"type":855,"value":896},{"type":849,"tag":915,"props":1959,"children":1960},{"style":934},[1961],{"type":855,"value":1355},{"type":849,"tag":915,"props":1963,"children":1964},{"style":928},[1965],{"type":855,"value":942},{"type":849,"tag":915,"props":1967,"children":1968},{"style":934},[1969],{"type":855,"value":1845},{"type":849,"tag":915,"props":1971,"children":1972},{"style":928},[1973],{"type":855,"value":1233},{"type":855,"value":965},{"type":849,"tag":915,"props":1976,"children":1977},{"class":917,"style":918},[1978,1982,1986,1990,1994,1998,2002,2006,2010,2014,2018],{"type":849,"tag":915,"props":1979,"children":1980},{"style":922},[1981],{"type":855,"value":1588},{"type":849,"tag":915,"props":1983,"children":1984},{"style":1125},[1985],{"type":855,"value":1937},{"type":849,"tag":915,"props":1987,"children":1988},{"style":928},[1989],{"type":855,"value":1133},{"type":849,"tag":915,"props":1991,"children":1992},{"style":934},[1993],{"type":855,"value":1138},{"type":849,"tag":915,"props":1995,"children":1996},{"style":928},[1997],{"type":855,"value":942},{"type":849,"tag":915,"props":1999,"children":2000},{"style":934},[2001],{"type":855,"value":1346},{"type":849,"tag":915,"props":2003,"children":2004},{"style":928},[2005],{"type":855,"value":896},{"type":849,"tag":915,"props":2007,"children":2008},{"style":934},[2009],{"type":855,"value":1355},{"type":849,"tag":915,"props":2011,"children":2012},{"style":928},[2013],{"type":855,"value":942},{"type":849,"tag":915,"props":2015,"children":2016},{"style":934},[2017],{"type":855,"value":1854},{"type":849,"tag":915,"props":2019,"children":2020},{"style":928},[2021],{"type":855,"value":1233},{"type":855,"value":965},{"type":849,"tag":915,"props":2024,"children":2025},{"class":917,"style":918},[2026,2030,2034,2038,2042,2046,2051,2055,2059,2063,2068,2072,2076,2080,2084],{"type":849,"tag":915,"props":2027,"children":2028},{"style":922},[2029],{"type":855,"value":1588},{"type":849,"tag":915,"props":2031,"children":2032},{"style":934},[2033],{"type":855,"value":1259},{"type":849,"tag":915,"props":2035,"children":2036},{"style":928},[2037],{"type":855,"value":896},{"type":849,"tag":915,"props":2039,"children":2040},{"style":934},[2041],{"type":855,"value":1268},{"type":849,"tag":915,"props":2043,"children":2044},{"style":928},[2045],{"type":855,"value":896},{"type":849,"tag":915,"props":2047,"children":2048},{"style":1125},[2049],{"type":855,"value":2050},"patch",{"type":849,"tag":915,"props":2052,"children":2053},{"style":928},[2054],{"type":855,"value":1133},{"type":849,"tag":915,"props":2056,"children":2057},{"style":934},[2058],{"type":855,"value":1318},{"type":849,"tag":915,"props":2060,"children":2061},{"style":928},[2062],{"type":855,"value":896},{"type":849,"tag":915,"props":2064,"children":2065},{"style":934},[2066],{"type":855,"value":2067},"_id",{"type":849,"tag":915,"props":2069,"children":2070},{"style":928},[2071],{"type":855,"value":1560},{"type":849,"tag":915,"props":2073,"children":2074},{"style":934},[2075],{"type":855,"value":1845},{"type":849,"tag":915,"props":2077,"children":2078},{"style":928},[2079],{"type":855,"value":942},{"type":849,"tag":915,"props":2081,"children":2082},{"style":934},[2083],{"type":855,"value":1854},{"type":849,"tag":915,"props":2085,"children":2086},{"style":928},[2087],{"type":855,"value":1399},{"type":855,"value":965},{"type":849,"tag":915,"props":2090,"children":2091},{"class":917,"style":918},[2092],{"type":849,"tag":915,"props":2093,"children":2094},{"style":928},[2095],{"type":855,"value":1662},{"type":855,"value":965},{"type":849,"tag":915,"props":2098,"children":2099},{"class":917,"style":918},[2100],{"type":849,"tag":915,"props":2101,"children":2102},{"style":928},[2103],{"type":855,"value":1671},{"type":849,"tag":858,"props":2105,"children":2106},{},[2107,2109,2114,2116,2120,2122,2126,2128,2133],{"type":855,"value":2108},"Both functions check the user and the entry. ",{"type":849,"tag":869,"props":2110,"children":2111},{},[2112],{"type":855,"value":2113},"attachImages",{"type":855,"value":2115}," also claims the two storage IDs with ",{"type":849,"tag":869,"props":2117,"children":2118},{},[2119],{"type":855,"value":1090},{"type":855,"value":2121},". It rejects a file that does not exist, is too large, or is already attached to another record. Without this check, a user could attach the private file of another user to their own entry. ",{"type":849,"tag":869,"props":2123,"children":2124},{},[2125],{"type":855,"value":1090},{"type":855,"value":2127}," is defined in ",{"type":849,"tag":877,"props":2129,"children":2131},{"href":2130},"\u002Fdocs\u002Fbuild\u002Ffiles\u002Fupload-files#attach-the-file-safely",[2132],{"type":855,"value":358},{"type":855,"value":896},{"type":849,"tag":850,"props":2135,"children":2137},{"id":2136},"page",[2138],{"type":855,"value":2139},"Page",{"type":849,"tag":904,"props":2141,"children":2144},{"language":2142,"filename":2143,"class":908},"vue","app\u002Fcomponents\u002FEntryImageUpload.vue",[2145],{"type":849,"tag":869,"props":2146,"children":2148},{"class":2147},"language-vue",[2149,2190,2191,2219,2220,2249,2250,2282,2283,2286,2287,2339,2340,2343,2344,2399,2400,2473,2474,2512,2513,2560,2561,2632,2633,2694,2695,2703,2704,2712,2713,2761,2762,2775,2776,2803,2804,2828,2829,2837,2838,2845,2846,2853,2854,2857,2858,2896,2897,2960,2961,2985,2986,3028,3029,3105,3106,3113,3114,3130,3131,3134,3135,3151,3152,3225,3226,3286,3287,3346,3347],{"type":849,"tag":915,"props":2150,"children":2151},{"class":917,"style":918},[2152,2157,2163,2169,2174,2179,2185],{"type":849,"tag":915,"props":2153,"children":2155},{"style":2154},"color:#800000;--shiki-dark:#808080",[2156],{"type":855,"value":1171},{"type":849,"tag":915,"props":2158,"children":2160},{"style":2159},"color:#800000;--shiki-dark:#569CD6",[2161],{"type":855,"value":2162},"script",{"type":849,"tag":915,"props":2164,"children":2166},{"style":2165},"color:#E50000;--shiki-dark:#9CDCFE",[2167],{"type":855,"value":2168}," setup",{"type":849,"tag":915,"props":2170,"children":2171},{"style":2165},[2172],{"type":855,"value":2173}," lang",{"type":849,"tag":915,"props":2175,"children":2176},{"style":928},[2177],{"type":855,"value":2178},"=",{"type":849,"tag":915,"props":2180,"children":2182},{"style":2181},"color:#0000FF;--shiki-dark:#CE9178",[2183],{"type":855,"value":2184},"\"ts\"",{"type":849,"tag":915,"props":2186,"children":2187},{"style":2154},[2188],{"type":855,"value":2189},">",{"type":855,"value":965},{"type":849,"tag":915,"props":2192,"children":2193},{"class":917,"style":918},[2194,2198,2202,2206,2210,2214],{"type":849,"tag":915,"props":2195,"children":2196},{"style":922},[2197],{"type":855,"value":925},{"type":849,"tag":915,"props":2199,"children":2200},{"style":928},[2201],{"type":855,"value":931},{"type":849,"tag":915,"props":2203,"children":2204},{"style":934},[2205],{"type":855,"value":873},{"type":849,"tag":915,"props":2207,"children":2208},{"style":928},[2209],{"type":855,"value":952},{"type":849,"tag":915,"props":2211,"children":2212},{"style":922},[2213],{"type":855,"value":957},{"type":849,"tag":915,"props":2215,"children":2216},{"style":960},[2217],{"type":855,"value":2218}," '@lupinum\u002Fbetter-convex-nuxt\u002Fexperimental'",{"type":855,"value":965},{"type":849,"tag":915,"props":2221,"children":2222},{"class":917,"style":918},[2223,2227,2231,2236,2240,2244],{"type":849,"tag":915,"props":2224,"children":2225},{"style":922},[2226],{"type":855,"value":925},{"type":849,"tag":915,"props":2228,"children":2229},{"style":928},[2230],{"type":855,"value":931},{"type":849,"tag":915,"props":2232,"children":2233},{"style":934},[2234],{"type":855,"value":2235},"api",{"type":849,"tag":915,"props":2237,"children":2238},{"style":928},[2239],{"type":855,"value":952},{"type":849,"tag":915,"props":2241,"children":2242},{"style":922},[2243],{"type":855,"value":957},{"type":849,"tag":915,"props":2245,"children":2246},{"style":960},[2247],{"type":855,"value":2248}," '#convex\u002Fapi'",{"type":855,"value":965},{"type":849,"tag":915,"props":2251,"children":2252},{"class":917,"style":918},[2253,2257,2261,2265,2269,2273,2277],{"type":849,"tag":915,"props":2254,"children":2255},{"style":922},[2256],{"type":855,"value":925},{"type":849,"tag":915,"props":2258,"children":2259},{"style":922},[2260],{"type":855,"value":977},{"type":849,"tag":915,"props":2262,"children":2263},{"style":928},[2264],{"type":855,"value":931},{"type":849,"tag":915,"props":2266,"children":2267},{"style":934},[2268],{"type":855,"value":986},{"type":849,"tag":915,"props":2270,"children":2271},{"style":928},[2272],{"type":855,"value":952},{"type":849,"tag":915,"props":2274,"children":2275},{"style":922},[2276],{"type":855,"value":957},{"type":849,"tag":915,"props":2278,"children":2279},{"style":960},[2280],{"type":855,"value":2281}," '#convex\u002FdataModel'",{"type":855,"value":965},{"type":849,"tag":915,"props":2284,"children":2285},{"class":917,"style":918},[],{"type":855,"value":965},{"type":849,"tag":915,"props":2288,"children":2289},{"class":917,"style":918},[2290,2295,2300,2304,2309,2314,2318,2322,2326,2330,2334],{"type":849,"tag":915,"props":2291,"children":2292},{"style":1114},[2293],{"type":855,"value":2294},"const",{"type":849,"tag":915,"props":2296,"children":2297},{"style":1193},[2298],{"type":855,"value":2299}," props",{"type":849,"tag":915,"props":2301,"children":2302},{"style":928},[2303],{"type":855,"value":1201},{"type":849,"tag":915,"props":2305,"children":2306},{"style":1125},[2307],{"type":855,"value":2308},"defineProps",{"type":849,"tag":915,"props":2310,"children":2311},{"style":928},[2312],{"type":855,"value":2313},"\u003C{ ",{"type":849,"tag":915,"props":2315,"children":2316},{"style":934},[2317],{"type":855,"value":1158},{"type":849,"tag":915,"props":2319,"children":2320},{"style":928},[2321],{"type":855,"value":1143},{"type":849,"tag":915,"props":2323,"children":2324},{"style":1146},[2325],{"type":855,"value":986},{"type":849,"tag":915,"props":2327,"children":2328},{"style":928},[2329],{"type":855,"value":1171},{"type":849,"tag":915,"props":2331,"children":2332},{"style":960},[2333],{"type":855,"value":1176},{"type":849,"tag":915,"props":2335,"children":2336},{"style":928},[2337],{"type":855,"value":2338},"> }>()",{"type":855,"value":965},{"type":849,"tag":915,"props":2341,"children":2342},{"class":917,"style":918},[],{"type":855,"value":965},{"type":849,"tag":915,"props":2345,"children":2346},{"class":917,"style":918},[2347,2351,2355,2360,2364,2369,2373,2378,2382,2387,2391,2395],{"type":849,"tag":915,"props":2348,"children":2349},{"style":1114},[2350],{"type":855,"value":2294},{"type":849,"tag":915,"props":2352,"children":2353},{"style":928},[2354],{"type":855,"value":931},{"type":849,"tag":915,"props":2356,"children":2357},{"style":1193},[2358],{"type":855,"value":2359},"run",{"type":849,"tag":915,"props":2361,"children":2362},{"style":928},[2363],{"type":855,"value":942},{"type":849,"tag":915,"props":2365,"children":2366},{"style":1193},[2367],{"type":855,"value":2368},"pending",{"type":849,"tag":915,"props":2370,"children":2371},{"style":928},[2372],{"type":855,"value":942},{"type":849,"tag":915,"props":2374,"children":2375},{"style":1193},[2376],{"type":855,"value":2377},"error",{"type":849,"tag":915,"props":2379,"children":2380},{"style":928},[2381],{"type":855,"value":942},{"type":849,"tag":915,"props":2383,"children":2384},{"style":1193},[2385],{"type":855,"value":2386},"reset",{"type":849,"tag":915,"props":2388,"children":2389},{"style":928},[2390],{"type":855,"value":1896},{"type":849,"tag":915,"props":2392,"children":2393},{"style":1125},[2394],{"type":855,"value":873},{"type":849,"tag":915,"props":2396,"children":2397},{"style":928},[2398],{"type":855,"value":1133},{"type":855,"value":965},{"type":849,"tag":915,"props":2401,"children":2402},{"class":917,"style":918},[2403,2408,2412,2417,2421,2425,2429,2433,2437,2441,2446,2451,2455,2460,2465,2469],{"type":849,"tag":915,"props":2404,"children":2405},{"style":1114},[2406],{"type":855,"value":2407},"  async",{"type":849,"tag":915,"props":2409,"children":2410},{"style":928},[2411],{"type":855,"value":1551},{"type":849,"tag":915,"props":2413,"children":2414},{"style":934},[2415],{"type":855,"value":2416},"op",{"type":849,"tag":915,"props":2418,"children":2419},{"style":928},[2420],{"type":855,"value":942},{"type":849,"tag":915,"props":2422,"children":2423},{"style":934},[2424],{"type":855,"value":1158},{"type":849,"tag":915,"props":2426,"children":2427},{"style":928},[2428],{"type":855,"value":1143},{"type":849,"tag":915,"props":2430,"children":2431},{"style":1146},[2432],{"type":855,"value":986},{"type":849,"tag":915,"props":2434,"children":2435},{"style":928},[2436],{"type":855,"value":1171},{"type":849,"tag":915,"props":2438,"children":2439},{"style":960},[2440],{"type":855,"value":1176},{"type":849,"tag":915,"props":2442,"children":2443},{"style":928},[2444],{"type":855,"value":2445},">, ",{"type":849,"tag":915,"props":2447,"children":2448},{"style":934},[2449],{"type":855,"value":2450},"files",{"type":849,"tag":915,"props":2452,"children":2453},{"style":928},[2454],{"type":855,"value":1143},{"type":849,"tag":915,"props":2456,"children":2457},{"style":1146},[2458],{"type":855,"value":2459},"Blob",{"type":849,"tag":915,"props":2461,"children":2462},{"style":928},[2463],{"type":855,"value":2464},"[]) ",{"type":849,"tag":915,"props":2466,"children":2467},{"style":1114},[2468],{"type":855,"value":1574},{"type":849,"tag":915,"props":2470,"children":2471},{"style":928},[2472],{"type":855,"value":1579},{"type":855,"value":965},{"type":849,"tag":915,"props":2475,"children":2476},{"class":917,"style":918},[2477,2481,2486,2490,2494,2499,2503,2508],{"type":849,"tag":915,"props":2478,"children":2479},{"style":1114},[2480],{"type":855,"value":1875},{"type":849,"tag":915,"props":2482,"children":2483},{"style":1193},[2484],{"type":855,"value":2485}," storageIds",{"type":849,"tag":915,"props":2487,"children":2488},{"style":928},[2489],{"type":855,"value":1201},{"type":849,"tag":915,"props":2491,"children":2492},{"style":922},[2493],{"type":855,"value":1206},{"type":849,"tag":915,"props":2495,"children":2496},{"style":1146},[2497],{"type":855,"value":2498}," Promise",{"type":849,"tag":915,"props":2500,"children":2501},{"style":928},[2502],{"type":855,"value":896},{"type":849,"tag":915,"props":2504,"children":2505},{"style":1125},[2506],{"type":855,"value":2507},"all",{"type":849,"tag":915,"props":2509,"children":2510},{"style":928},[2511],{"type":855,"value":1133},{"type":855,"value":965},{"type":849,"tag":915,"props":2514,"children":2515},{"class":917,"style":918},[2516,2521,2525,2530,2534,2538,2542,2547,2552,2556],{"type":849,"tag":915,"props":2517,"children":2518},{"style":934},[2519],{"type":855,"value":2520},"      files",{"type":849,"tag":915,"props":2522,"children":2523},{"style":928},[2524],{"type":855,"value":896},{"type":849,"tag":915,"props":2526,"children":2527},{"style":1125},[2528],{"type":855,"value":2529},"map",{"type":849,"tag":915,"props":2531,"children":2532},{"style":928},[2533],{"type":855,"value":1133},{"type":849,"tag":915,"props":2535,"children":2536},{"style":1114},[2537],{"type":855,"value":1117},{"type":849,"tag":915,"props":2539,"children":2540},{"style":928},[2541],{"type":855,"value":1551},{"type":849,"tag":915,"props":2543,"children":2544},{"style":934},[2545],{"type":855,"value":2546},"file",{"type":849,"tag":915,"props":2548,"children":2549},{"style":928},[2550],{"type":855,"value":2551},") ",{"type":849,"tag":915,"props":2553,"children":2554},{"style":1114},[2555],{"type":855,"value":1574},{"type":849,"tag":915,"props":2557,"children":2558},{"style":928},[2559],{"type":855,"value":1579},{"type":855,"value":965},{"type":849,"tag":915,"props":2562,"children":2563},{"class":917,"style":918},[2564,2569,2574,2578,2582,2587,2591,2595,2599,2603,2607,2612,2616,2620,2624,2628],{"type":849,"tag":915,"props":2565,"children":2566},{"style":1114},[2567],{"type":855,"value":2568},"        const",{"type":849,"tag":915,"props":2570,"children":2571},{"style":1193},[2572],{"type":855,"value":2573}," url",{"type":849,"tag":915,"props":2575,"children":2576},{"style":928},[2577],{"type":855,"value":1201},{"type":849,"tag":915,"props":2579,"children":2580},{"style":922},[2581],{"type":855,"value":1206},{"type":849,"tag":915,"props":2583,"children":2584},{"style":934},[2585],{"type":855,"value":2586}," op",{"type":849,"tag":915,"props":2588,"children":2589},{"style":928},[2590],{"type":855,"value":896},{"type":849,"tag":915,"props":2592,"children":2593},{"style":1125},[2594],{"type":855,"value":1016},{"type":849,"tag":915,"props":2596,"children":2597},{"style":928},[2598],{"type":855,"value":1133},{"type":849,"tag":915,"props":2600,"children":2601},{"style":934},[2602],{"type":855,"value":2235},{"type":849,"tag":915,"props":2604,"children":2605},{"style":928},[2606],{"type":855,"value":896},{"type":849,"tag":915,"props":2608,"children":2609},{"style":934},[2610],{"type":855,"value":2611},"entries",{"type":849,"tag":915,"props":2613,"children":2614},{"style":928},[2615],{"type":855,"value":896},{"type":849,"tag":915,"props":2617,"children":2618},{"style":934},[2619],{"type":855,"value":1648},{"type":849,"tag":915,"props":2621,"children":2622},{"style":928},[2623],{"type":855,"value":1560},{"type":849,"tag":915,"props":2625,"children":2626},{"style":934},[2627],{"type":855,"value":1158},{"type":849,"tag":915,"props":2629,"children":2630},{"style":928},[2631],{"type":855,"value":1399},{"type":855,"value":965},{"type":849,"tag":915,"props":2634,"children":2635},{"class":917,"style":918},[2636,2641,2645,2649,2653,2658,2662,2667,2671,2675,2679,2684,2690],{"type":849,"tag":915,"props":2637,"children":2638},{"style":922},[2639],{"type":855,"value":2640},"        return",{"type":849,"tag":915,"props":2642,"children":2643},{"style":922},[2644],{"type":855,"value":1626},{"type":849,"tag":915,"props":2646,"children":2647},{"style":934},[2648],{"type":855,"value":2586},{"type":849,"tag":915,"props":2650,"children":2651},{"style":928},[2652],{"type":855,"value":896},{"type":849,"tag":915,"props":2654,"children":2655},{"style":1125},[2656],{"type":855,"value":2657},"upload",{"type":849,"tag":915,"props":2659,"children":2660},{"style":928},[2661],{"type":855,"value":1133},{"type":849,"tag":915,"props":2663,"children":2664},{"style":934},[2665],{"type":855,"value":2666},"url",{"type":849,"tag":915,"props":2668,"children":2669},{"style":928},[2670],{"type":855,"value":942},{"type":849,"tag":915,"props":2672,"children":2673},{"style":934},[2674],{"type":855,"value":2546},{"type":849,"tag":915,"props":2676,"children":2677},{"style":928},[2678],{"type":855,"value":1560},{"type":849,"tag":915,"props":2680,"children":2681},{"style":934},[2682],{"type":855,"value":2683},"maxSize:",{"type":849,"tag":915,"props":2685,"children":2687},{"style":2686},"color:#098658;--shiki-dark:#B5CEA8",[2688],{"type":855,"value":2689}," 10_000_000",{"type":849,"tag":915,"props":2691,"children":2692},{"style":928},[2693],{"type":855,"value":1399},{"type":855,"value":965},{"type":849,"tag":915,"props":2696,"children":2697},{"class":917,"style":918},[2698],{"type":849,"tag":915,"props":2699,"children":2700},{"style":928},[2701],{"type":855,"value":2702},"      }),",{"type":855,"value":965},{"type":849,"tag":915,"props":2705,"children":2706},{"class":917,"style":918},[2707],{"type":849,"tag":915,"props":2708,"children":2709},{"style":928},[2710],{"type":855,"value":2711},"    )",{"type":855,"value":965},{"type":849,"tag":915,"props":2714,"children":2715},{"class":917,"style":918},[2716,2720,2724,2728,2732,2736,2740,2744,2748,2752,2756],{"type":849,"tag":915,"props":2717,"children":2718},{"style":922},[2719],{"type":855,"value":1588},{"type":849,"tag":915,"props":2721,"children":2722},{"style":934},[2723],{"type":855,"value":2586},{"type":849,"tag":915,"props":2725,"children":2726},{"style":928},[2727],{"type":855,"value":896},{"type":849,"tag":915,"props":2729,"children":2730},{"style":1125},[2731],{"type":855,"value":1016},{"type":849,"tag":915,"props":2733,"children":2734},{"style":928},[2735],{"type":855,"value":1133},{"type":849,"tag":915,"props":2737,"children":2738},{"style":934},[2739],{"type":855,"value":2235},{"type":849,"tag":915,"props":2741,"children":2742},{"style":928},[2743],{"type":855,"value":896},{"type":849,"tag":915,"props":2745,"children":2746},{"style":934},[2747],{"type":855,"value":2611},{"type":849,"tag":915,"props":2749,"children":2750},{"style":928},[2751],{"type":855,"value":896},{"type":849,"tag":915,"props":2753,"children":2754},{"style":934},[2755],{"type":855,"value":2113},{"type":849,"tag":915,"props":2757,"children":2758},{"style":928},[2759],{"type":855,"value":2760},", {",{"type":855,"value":965},{"type":849,"tag":915,"props":2763,"children":2764},{"class":917,"style":918},[2765,2770],{"type":849,"tag":915,"props":2766,"children":2767},{"style":934},[2768],{"type":855,"value":2769},"      entryId",{"type":849,"tag":915,"props":2771,"children":2772},{"style":928},[2773],{"type":855,"value":2774},",",{"type":855,"value":965},{"type":849,"tag":915,"props":2777,"children":2778},{"class":917,"style":918},[2779,2784,2788,2793,2798],{"type":849,"tag":915,"props":2780,"children":2781},{"style":934},[2782],{"type":855,"value":2783},"      originalId:",{"type":849,"tag":915,"props":2785,"children":2786},{"style":934},[2787],{"type":855,"value":2485},{"type":849,"tag":915,"props":2789,"children":2790},{"style":928},[2791],{"type":855,"value":2792},"[",{"type":849,"tag":915,"props":2794,"children":2795},{"style":2686},[2796],{"type":855,"value":2797},"0",{"type":849,"tag":915,"props":2799,"children":2800},{"style":928},[2801],{"type":855,"value":2802},"]!,",{"type":855,"value":965},{"type":849,"tag":915,"props":2805,"children":2806},{"class":917,"style":918},[2807,2812,2816,2820,2824],{"type":849,"tag":915,"props":2808,"children":2809},{"style":934},[2810],{"type":855,"value":2811},"      previewId:",{"type":849,"tag":915,"props":2813,"children":2814},{"style":934},[2815],{"type":855,"value":2485},{"type":849,"tag":915,"props":2817,"children":2818},{"style":928},[2819],{"type":855,"value":2792},{"type":849,"tag":915,"props":2821,"children":2822},{"style":2686},[2823],{"type":855,"value":7},{"type":849,"tag":915,"props":2825,"children":2826},{"style":928},[2827],{"type":855,"value":2802},{"type":855,"value":965},{"type":849,"tag":915,"props":2830,"children":2831},{"class":917,"style":918},[2832],{"type":849,"tag":915,"props":2833,"children":2834},{"style":928},[2835],{"type":855,"value":2836},"    })",{"type":855,"value":965},{"type":849,"tag":915,"props":2839,"children":2840},{"class":917,"style":918},[2841],{"type":849,"tag":915,"props":2842,"children":2843},{"style":928},[2844],{"type":855,"value":1662},{"type":855,"value":965},{"type":849,"tag":915,"props":2847,"children":2848},{"class":917,"style":918},[2849],{"type":849,"tag":915,"props":2850,"children":2851},{"style":928},[2852],{"type":855,"value":1233},{"type":855,"value":965},{"type":849,"tag":915,"props":2855,"children":2856},{"class":917,"style":918},[],{"type":855,"value":965},{"type":849,"tag":915,"props":2859,"children":2860},{"class":917,"style":918},[2861,2865,2869,2874,2878,2883,2887,2892],{"type":849,"tag":915,"props":2862,"children":2863},{"style":1114},[2864],{"type":855,"value":1117},{"type":849,"tag":915,"props":2866,"children":2867},{"style":1114},[2868],{"type":855,"value":1122},{"type":849,"tag":915,"props":2870,"children":2871},{"style":1125},[2872],{"type":855,"value":2873}," onPick",{"type":849,"tag":915,"props":2875,"children":2876},{"style":928},[2877],{"type":855,"value":1133},{"type":849,"tag":915,"props":2879,"children":2880},{"style":934},[2881],{"type":855,"value":2882},"event",{"type":849,"tag":915,"props":2884,"children":2885},{"style":928},[2886],{"type":855,"value":1143},{"type":849,"tag":915,"props":2888,"children":2889},{"style":1146},[2890],{"type":855,"value":2891},"Event",{"type":849,"tag":915,"props":2893,"children":2894},{"style":928},[2895],{"type":855,"value":1360},{"type":855,"value":965},{"type":849,"tag":915,"props":2898,"children":2899},{"class":917,"style":918},[2900,2904,2909,2914,2918,2922,2927,2932,2937,2942,2946,2951,2955],{"type":849,"tag":915,"props":2901,"children":2902},{"style":1114},[2903],{"type":855,"value":1190},{"type":849,"tag":915,"props":2905,"children":2906},{"style":1193},[2907],{"type":855,"value":2908}," file",{"type":849,"tag":915,"props":2910,"children":2911},{"style":928},[2912],{"type":855,"value":2913}," = (",{"type":849,"tag":915,"props":2915,"children":2916},{"style":934},[2917],{"type":855,"value":2882},{"type":849,"tag":915,"props":2919,"children":2920},{"style":928},[2921],{"type":855,"value":896},{"type":849,"tag":915,"props":2923,"children":2924},{"style":934},[2925],{"type":855,"value":2926},"target",{"type":849,"tag":915,"props":2928,"children":2929},{"style":922},[2930],{"type":855,"value":2931}," as",{"type":849,"tag":915,"props":2933,"children":2934},{"style":1146},[2935],{"type":855,"value":2936}," HTMLInputElement",{"type":849,"tag":915,"props":2938,"children":2939},{"style":928},[2940],{"type":855,"value":2941},").",{"type":849,"tag":915,"props":2943,"children":2944},{"style":934},[2945],{"type":855,"value":2450},{"type":849,"tag":915,"props":2947,"children":2948},{"style":928},[2949],{"type":855,"value":2950},"?.[",{"type":849,"tag":915,"props":2952,"children":2953},{"style":2686},[2954],{"type":855,"value":2797},{"type":849,"tag":915,"props":2956,"children":2957},{"style":928},[2958],{"type":855,"value":2959},"]",{"type":855,"value":965},{"type":849,"tag":915,"props":2962,"children":2963},{"class":917,"style":918},[2964,2968,2972,2976,2980],{"type":849,"tag":915,"props":2965,"children":2966},{"style":922},[2967],{"type":855,"value":1308},{"type":849,"tag":915,"props":2969,"children":2970},{"style":928},[2971],{"type":855,"value":1313},{"type":849,"tag":915,"props":2973,"children":2974},{"style":934},[2975],{"type":855,"value":2546},{"type":849,"tag":915,"props":2977,"children":2978},{"style":928},[2979],{"type":855,"value":2551},{"type":849,"tag":915,"props":2981,"children":2982},{"style":922},[2983],{"type":855,"value":2984},"return",{"type":855,"value":965},{"type":849,"tag":915,"props":2987,"children":2988},{"class":917,"style":918},[2989,2993,2998,3002,3006,3011,3015,3019,3023],{"type":849,"tag":915,"props":2990,"children":2991},{"style":1114},[2992],{"type":855,"value":1190},{"type":849,"tag":915,"props":2994,"children":2995},{"style":1193},[2996],{"type":855,"value":2997}," preview",{"type":849,"tag":915,"props":2999,"children":3000},{"style":928},[3001],{"type":855,"value":1201},{"type":849,"tag":915,"props":3003,"children":3004},{"style":922},[3005],{"type":855,"value":1206},{"type":849,"tag":915,"props":3007,"children":3008},{"style":1125},[3009],{"type":855,"value":3010}," makePreview",{"type":849,"tag":915,"props":3012,"children":3013},{"style":928},[3014],{"type":855,"value":1133},{"type":849,"tag":915,"props":3016,"children":3017},{"style":934},[3018],{"type":855,"value":2546},{"type":849,"tag":915,"props":3020,"children":3021},{"style":928},[3022],{"type":855,"value":2551},{"type":849,"tag":915,"props":3024,"children":3025},{"style":1296},[3026],{"type":855,"value":3027},"\u002F\u002F your own resize step",{"type":855,"value":965},{"type":849,"tag":915,"props":3030,"children":3031},{"class":917,"style":918},[3032,3037,3042,3046,3051,3055,3059,3064,3068,3072,3077,3082,3087,3092,3096,3101],{"type":849,"tag":915,"props":3033,"children":3034},{"style":922},[3035],{"type":855,"value":3036},"  await",{"type":849,"tag":915,"props":3038,"children":3039},{"style":1125},[3040],{"type":855,"value":3041}," run",{"type":849,"tag":915,"props":3043,"children":3044},{"style":928},[3045],{"type":855,"value":1133},{"type":849,"tag":915,"props":3047,"children":3048},{"style":934},[3049],{"type":855,"value":3050},"props",{"type":849,"tag":915,"props":3052,"children":3053},{"style":928},[3054],{"type":855,"value":896},{"type":849,"tag":915,"props":3056,"children":3057},{"style":934},[3058],{"type":855,"value":1158},{"type":849,"tag":915,"props":3060,"children":3061},{"style":928},[3062],{"type":855,"value":3063},", [",{"type":849,"tag":915,"props":3065,"children":3066},{"style":934},[3067],{"type":855,"value":2546},{"type":849,"tag":915,"props":3069,"children":3070},{"style":928},[3071],{"type":855,"value":942},{"type":849,"tag":915,"props":3073,"children":3074},{"style":934},[3075],{"type":855,"value":3076},"preview",{"type":849,"tag":915,"props":3078,"children":3079},{"style":928},[3080],{"type":855,"value":3081},"]).",{"type":849,"tag":915,"props":3083,"children":3084},{"style":1125},[3085],{"type":855,"value":3086},"catch",{"type":849,"tag":915,"props":3088,"children":3089},{"style":928},[3090],{"type":855,"value":3091},"(() ",{"type":849,"tag":915,"props":3093,"children":3094},{"style":1114},[3095],{"type":855,"value":1574},{"type":849,"tag":915,"props":3097,"children":3098},{"style":1114},[3099],{"type":855,"value":3100}," undefined",{"type":849,"tag":915,"props":3102,"children":3103},{"style":928},[3104],{"type":855,"value":1233},{"type":855,"value":965},{"type":849,"tag":915,"props":3107,"children":3108},{"class":917,"style":918},[3109],{"type":849,"tag":915,"props":3110,"children":3111},{"style":928},[3112],{"type":855,"value":1447},{"type":855,"value":965},{"type":849,"tag":915,"props":3115,"children":3116},{"class":917,"style":918},[3117,3122,3126],{"type":849,"tag":915,"props":3118,"children":3119},{"style":2154},[3120],{"type":855,"value":3121},"\u003C\u002F",{"type":849,"tag":915,"props":3123,"children":3124},{"style":2159},[3125],{"type":855,"value":2162},{"type":849,"tag":915,"props":3127,"children":3128},{"style":2154},[3129],{"type":855,"value":2189},{"type":855,"value":965},{"type":849,"tag":915,"props":3132,"children":3133},{"class":917,"style":918},[],{"type":855,"value":965},{"type":849,"tag":915,"props":3136,"children":3137},{"class":917,"style":918},[3138,3142,3147],{"type":849,"tag":915,"props":3139,"children":3140},{"style":2154},[3141],{"type":855,"value":1171},{"type":849,"tag":915,"props":3143,"children":3144},{"style":2159},[3145],{"type":855,"value":3146},"template",{"type":849,"tag":915,"props":3148,"children":3149},{"style":2154},[3150],{"type":855,"value":2189},{"type":855,"value":965},{"type":849,"tag":915,"props":3153,"children":3154},{"class":917,"style":918},[3155,3160,3165,3169,3173,3178,3183,3187,3192,3197,3201,3206,3211,3215,3220],{"type":849,"tag":915,"props":3156,"children":3157},{"style":2154},[3158],{"type":855,"value":3159},"  \u003C",{"type":849,"tag":915,"props":3161,"children":3162},{"style":2159},[3163],{"type":855,"value":3164},"input",{"type":849,"tag":915,"props":3166,"children":3167},{"style":2165},[3168],{"type":855,"value":977},{"type":849,"tag":915,"props":3170,"children":3171},{"style":928},[3172],{"type":855,"value":2178},{"type":849,"tag":915,"props":3174,"children":3175},{"style":2181},[3176],{"type":855,"value":3177},"\"file\"",{"type":849,"tag":915,"props":3179,"children":3180},{"style":2165},[3181],{"type":855,"value":3182}," accept",{"type":849,"tag":915,"props":3184,"children":3185},{"style":928},[3186],{"type":855,"value":2178},{"type":849,"tag":915,"props":3188,"children":3189},{"style":2181},[3190],{"type":855,"value":3191},"\"image\u002F*\"",{"type":849,"tag":915,"props":3193,"children":3194},{"style":2165},[3195],{"type":855,"value":3196}," :disabled",{"type":849,"tag":915,"props":3198,"children":3199},{"style":928},[3200],{"type":855,"value":2178},{"type":849,"tag":915,"props":3202,"children":3203},{"style":2181},[3204],{"type":855,"value":3205},"\"pending\"",{"type":849,"tag":915,"props":3207,"children":3208},{"style":2165},[3209],{"type":855,"value":3210}," @change",{"type":849,"tag":915,"props":3212,"children":3213},{"style":928},[3214],{"type":855,"value":2178},{"type":849,"tag":915,"props":3216,"children":3217},{"style":2181},[3218],{"type":855,"value":3219},"\"onPick\"",{"type":849,"tag":915,"props":3221,"children":3222},{"style":2154},[3223],{"type":855,"value":3224}," \u002F>",{"type":855,"value":965},{"type":849,"tag":915,"props":3227,"children":3228},{"class":917,"style":918},[3229,3233,3238,3243,3247,3251,3256,3260,3265,3269,3274,3278,3282],{"type":849,"tag":915,"props":3230,"children":3231},{"style":2154},[3232],{"type":855,"value":3159},{"type":849,"tag":915,"props":3234,"children":3235},{"style":2159},[3236],{"type":855,"value":3237},"button",{"type":849,"tag":915,"props":3239,"children":3240},{"style":2165},[3241],{"type":855,"value":3242}," v-if",{"type":849,"tag":915,"props":3244,"children":3245},{"style":928},[3246],{"type":855,"value":2178},{"type":849,"tag":915,"props":3248,"children":3249},{"style":2181},[3250],{"type":855,"value":3205},{"type":849,"tag":915,"props":3252,"children":3253},{"style":2165},[3254],{"type":855,"value":3255}," @click",{"type":849,"tag":915,"props":3257,"children":3258},{"style":928},[3259],{"type":855,"value":2178},{"type":849,"tag":915,"props":3261,"children":3262},{"style":2181},[3263],{"type":855,"value":3264},"\"reset()\"",{"type":849,"tag":915,"props":3266,"children":3267},{"style":2154},[3268],{"type":855,"value":2189},{"type":849,"tag":915,"props":3270,"children":3271},{"style":928},[3272],{"type":855,"value":3273},"Cancel",{"type":849,"tag":915,"props":3275,"children":3276},{"style":2154},[3277],{"type":855,"value":3121},{"type":849,"tag":915,"props":3279,"children":3280},{"style":2159},[3281],{"type":855,"value":3237},{"type":849,"tag":915,"props":3283,"children":3284},{"style":2154},[3285],{"type":855,"value":2189},{"type":855,"value":965},{"type":849,"tag":915,"props":3288,"children":3289},{"class":917,"style":918},[3290,3294,3298,3302,3306,3311,3316,3320,3325,3329,3334,3338,3342],{"type":849,"tag":915,"props":3291,"children":3292},{"style":2154},[3293],{"type":855,"value":3159},{"type":849,"tag":915,"props":3295,"children":3296},{"style":2159},[3297],{"type":855,"value":858},{"type":849,"tag":915,"props":3299,"children":3300},{"style":2165},[3301],{"type":855,"value":3242},{"type":849,"tag":915,"props":3303,"children":3304},{"style":928},[3305],{"type":855,"value":2178},{"type":849,"tag":915,"props":3307,"children":3308},{"style":2181},[3309],{"type":855,"value":3310},"\"error\"",{"type":849,"tag":915,"props":3312,"children":3313},{"style":2165},[3314],{"type":855,"value":3315}," role",{"type":849,"tag":915,"props":3317,"children":3318},{"style":928},[3319],{"type":855,"value":2178},{"type":849,"tag":915,"props":3321,"children":3322},{"style":2181},[3323],{"type":855,"value":3324},"\"alert\"",{"type":849,"tag":915,"props":3326,"children":3327},{"style":2154},[3328],{"type":855,"value":2189},{"type":849,"tag":915,"props":3330,"children":3331},{"style":928},[3332],{"type":855,"value":3333},"The image could not be uploaded.",{"type":849,"tag":915,"props":3335,"children":3336},{"style":2154},[3337],{"type":855,"value":3121},{"type":849,"tag":915,"props":3339,"children":3340},{"style":2159},[3341],{"type":855,"value":858},{"type":849,"tag":915,"props":3343,"children":3344},{"style":2154},[3345],{"type":855,"value":2189},{"type":855,"value":965},{"type":849,"tag":915,"props":3348,"children":3349},{"class":917,"style":918},[3350,3354,3358],{"type":849,"tag":915,"props":3351,"children":3352},{"style":2154},[3353],{"type":855,"value":3121},{"type":849,"tag":915,"props":3355,"children":3356},{"style":2159},[3357],{"type":855,"value":3146},{"type":849,"tag":915,"props":3359,"children":3360},{"style":2154},[3361],{"type":855,"value":2189},{"type":849,"tag":858,"props":3363,"children":3364},{},[3365,3370,3372,3376],{"type":849,"tag":869,"props":3366,"children":3367},{},[3368],{"type":855,"value":3369},"run()",{"type":855,"value":3371}," reads ",{"type":849,"tag":869,"props":3373,"children":3374},{},[3375],{"type":855,"value":1158},{"type":855,"value":3377}," and the files when you call it. A later change of the selection does not change the target.",{"type":849,"tag":850,"props":3379,"children":3381},{"id":3380},"what-the-operation-does-for-you",[3382],{"type":855,"value":3383},"What the operation does for you",{"type":849,"tag":3385,"props":3386,"children":3387},"ul",{},[3388,3408,3424],{"type":849,"tag":3389,"props":3390,"children":3391},"li",{},[3392,3394,3399,3401,3406],{"type":855,"value":3393},"Every ",{"type":849,"tag":869,"props":3395,"children":3396},{},[3397],{"type":855,"value":3398},"op.*",{"type":855,"value":3400}," step runs for the user who started the operation. When that user signs out or another user signs in, later steps reject with ",{"type":849,"tag":869,"props":3402,"children":3403},{},[3404],{"type":855,"value":3405},"IDENTITY_CHANGED",{"type":855,"value":3407}," and are not sent.",{"type":849,"tag":3389,"props":3409,"children":3410},{},[3411,3416,3418,3423],{"type":849,"tag":869,"props":3412,"children":3413},{},[3414],{"type":855,"value":3415},"reset()",{"type":855,"value":3417}," cancels the operation. A running upload is aborted, and later steps reject with ",{"type":849,"tag":869,"props":3419,"children":3420},{},[3421],{"type":855,"value":3422},"CANCELLED",{"type":855,"value":896},{"type":849,"tag":3389,"props":3425,"children":3426},{},[3427,3432,3434,3439,3441,3446],{"type":849,"tag":869,"props":3428,"children":3429},{},[3430],{"type":855,"value":3431},"op.upload()",{"type":855,"value":3433}," checks ",{"type":849,"tag":869,"props":3435,"children":3436},{},[3437],{"type":855,"value":3438},"maxSize",{"type":855,"value":3440}," and ",{"type":849,"tag":869,"props":3442,"children":3443},{},[3444],{"type":855,"value":3445},"allowedTypes",{"type":855,"value":3447}," before it sends the file.",{"type":849,"tag":850,"props":3449,"children":3451},{"id":3450},"partial-failures",[3452],{"type":855,"value":3453},"Partial failures",{"type":849,"tag":858,"props":3455,"children":3456},{},[3457,3459,3464],{"type":855,"value":3458},"If one upload fails, ",{"type":849,"tag":869,"props":3460,"children":3461},{},[3462],{"type":855,"value":3463},"Promise.all",{"type":855,"value":3465}," rejects and the attach step does not run. The other file may already be stored. Clean up unattached files with a scheduled Convex function, or call a mutation that deletes them. The library does not know which stored files your application still needs.",{"type":849,"tag":858,"props":3467,"children":3468},{},[3469,3471,3476,3478,3483,3485,3489],{"type":855,"value":3470},"Progress per file and a list of \"3 of 5 uploaded\" stay in your component. Keep one ",{"type":849,"tag":869,"props":3472,"children":3473},{},[3474],{"type":855,"value":3475},"ref",{"type":855,"value":3477}," per file and update it from the ",{"type":849,"tag":869,"props":3479,"children":3480},{},[3481],{"type":855,"value":3482},"onProgress",{"type":855,"value":3484}," option of ",{"type":849,"tag":869,"props":3486,"children":3487},{},[3488],{"type":855,"value":3431},{"type":855,"value":896},{"title":3491,"searchDepth":3492,"depth":3492,"links":3493},"",4,[3494,3496,3497,3498,3499],{"id":852,"depth":3495,"text":856},2,{"id":899,"depth":3495,"text":902},{"id":2136,"depth":3495,"text":2139},{"id":3380,"depth":3495,"text":3383},{"id":3450,"depth":3495,"text":3453},"markdown","docs",{"source":3503,"path":3504,"stem":3505,"dir":3506,"extension":3507},"content","docs\u002F4.recipes\u002F13.multiple-file-uploads.md","docs\u002F4.recipes\u002F13.multiple-file-uploads","recipes","md",{"requestedPath":632,"resolvedPath":632,"alternates":3509},[],{"requested":3511,"resolved":3512,"usedFallback":6},{},{"locale":8},{"previous":3514,"next":3516},{"title":620,"id":621,"canonicalKey":622,"locale":8,"draft":6,"navigation":3515,"icon":624,"path":625},{"icon":624},{"title":634,"id":635,"canonicalKey":636,"locale":8,"draft":6,"path":637},{"left":3518,"top":3518,"width":3519,"height":3519,"rotate":3518,"vFlip":6,"hFlip":6,"body":3520},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":3518,"top":3518,"width":3519,"height":3522,"rotate":3518,"vFlip":6,"hFlip":6,"body":3523},221,"\u003Cpath fill=\"#41b883\" d=\"M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0z\"\u002F>\u003Cpath fill=\"#41b883\" d=\"m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0z\"\u002F>\u003Cpath fill=\"#35495e\" d=\"M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0z\"\u002F>",{"left":3518,"top":3518,"width":3525,"height":3525,"rotate":3518,"vFlip":6,"hFlip":6,"body":3526},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>",1794905514610]