[{"data":1,"prerenderedAt":5683},["ShallowReactive",2],{"docs-navigation:en":3,"content-page:docs:g6bM6ab8NQNF9oN9Cd-9wKpIPD-8cZFnQpY1tYCwb80":842,"content-page-surround:docs:g6bM6ab8NQNF9oN9Cd-9wKpIPD-8cZFnQpY1tYCwb80":5671,"i-logos:typescript-icon":5676,"i-lucide:clipboard":5680},[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":508,"description":843,"navigation":844,"body":845,"type":5659,"id":509,"canonicalKey":510,"draft":6,"partial":6,"locale":8,"collection":5660,"navigationFile":6,"file":5661,"route":5666,"resolution":5668},"Run follow-up work as the same caller, call an outside service from an action, start outside work from the browser, and run jobs from a cron.",{"icon":512},{"type":846,"children":847,"toc":5648},"root",[848,885,1469,2836,2856,2863,2891,2918,2930,2935,2957,2969,2995,3000,3017,3025,3048,3054,3073,3110,3206,3217,3906,3911,4059,4065,4070,4083,4088,4094,4112,4139,4163,5289,5527,5532,5537,5578,5583,5613,5618],{"type":849,"tag":850,"props":851,"children":852},"element","p",{},[853,856,862,864,869,871,876,878,883],{"type":854,"value":855},"text","An operation often starts more work: it schedules an action that calls an\noutside service, and that action reads and writes again. Build those\nfunctions with ",{"type":849,"tag":857,"props":858,"children":859},"code",{},[860],{"type":854,"value":861},"internalQuery",{"type":854,"value":863},", ",{"type":849,"tag":857,"props":865,"children":866},{},[867],{"type":854,"value":868},"internalMutation",{"type":854,"value":870}," and ",{"type":849,"tag":857,"props":872,"children":873},{},[874],{"type":854,"value":875},"internalAction",{"type":854,"value":877}," from\n",{"type":849,"tag":857,"props":879,"children":880},{},[881],{"type":854,"value":882},"convex\u002Ffunctions.ts",{"type":854,"value":884},". The caller travels with every call, and each internal\noperation checks it again.",{"type":849,"tag":886,"props":887,"children":891},"pre",{"language":888,"filename":889,"class":890},"ts","convex\u002Fsummaries.ts","shiki shiki-themes light-plus dark-plus dark:dark-plus",[892],{"type":849,"tag":857,"props":893,"children":895},{"class":894},"language-ts",[896,936,938,967,968,971,972,1001,1002,1031,1032,1035,1036,1045,1046,1081,1082,1100,1101,1148,1149,1175,1176,1229,1230,1288,1289,1357,1358,1437,1438,1451,1452,1460,1461],{"type":849,"tag":897,"props":898,"children":901},"span",{"class":899,"style":900},"line","display: inline",[902,908,914,920,925,930],{"type":849,"tag":897,"props":903,"children":905},{"style":904},"color:#AF00DB;--shiki-dark:#C586C0",[906],{"type":854,"value":907},"import",{"type":849,"tag":897,"props":909,"children":911},{"style":910},"color:#000000;--shiki-dark:#D4D4D4",[912],{"type":854,"value":913}," { ",{"type":849,"tag":897,"props":915,"children":917},{"style":916},"color:#001080;--shiki-dark:#9CDCFE",[918],{"type":854,"value":919},"fail",{"type":849,"tag":897,"props":921,"children":922},{"style":910},[923],{"type":854,"value":924}," } ",{"type":849,"tag":897,"props":926,"children":927},{"style":904},[928],{"type":854,"value":929},"from",{"type":849,"tag":897,"props":931,"children":933},{"style":932},"color:#A31515;--shiki-dark:#CE9178",[934],{"type":854,"value":935}," '@lupinum\u002Fbetter-convex-functions'",{"type":854,"value":937},"\n",{"type":849,"tag":897,"props":939,"children":940},{"class":899,"style":900},[941,945,949,954,958,962],{"type":849,"tag":897,"props":942,"children":943},{"style":904},[944],{"type":854,"value":907},{"type":849,"tag":897,"props":946,"children":947},{"style":910},[948],{"type":854,"value":913},{"type":849,"tag":897,"props":950,"children":951},{"style":916},[952],{"type":854,"value":953},"v",{"type":849,"tag":897,"props":955,"children":956},{"style":910},[957],{"type":854,"value":924},{"type":849,"tag":897,"props":959,"children":960},{"style":904},[961],{"type":854,"value":929},{"type":849,"tag":897,"props":963,"children":964},{"style":932},[965],{"type":854,"value":966}," 'convex\u002Fvalues'",{"type":854,"value":937},{"type":849,"tag":897,"props":969,"children":970},{"class":899,"style":900},[],{"type":854,"value":937},{"type":849,"tag":897,"props":973,"children":974},{"class":899,"style":900},[975,979,983,988,992,996],{"type":849,"tag":897,"props":976,"children":977},{"style":904},[978],{"type":854,"value":907},{"type":849,"tag":897,"props":980,"children":981},{"style":910},[982],{"type":854,"value":913},{"type":849,"tag":897,"props":984,"children":985},{"style":916},[986],{"type":854,"value":987},"internal",{"type":849,"tag":897,"props":989,"children":990},{"style":910},[991],{"type":854,"value":924},{"type":849,"tag":897,"props":993,"children":994},{"style":904},[995],{"type":854,"value":929},{"type":849,"tag":897,"props":997,"children":998},{"style":932},[999],{"type":854,"value":1000}," '.\u002F_generated\u002Fapi'",{"type":854,"value":937},{"type":849,"tag":897,"props":1003,"children":1004},{"class":899,"style":900},[1005,1009,1013,1018,1022,1026],{"type":849,"tag":897,"props":1006,"children":1007},{"style":904},[1008],{"type":854,"value":907},{"type":849,"tag":897,"props":1010,"children":1011},{"style":910},[1012],{"type":854,"value":913},{"type":849,"tag":897,"props":1014,"children":1015},{"style":916},[1016],{"type":854,"value":1017},"mutation",{"type":849,"tag":897,"props":1019,"children":1020},{"style":910},[1021],{"type":854,"value":924},{"type":849,"tag":897,"props":1023,"children":1024},{"style":904},[1025],{"type":854,"value":929},{"type":849,"tag":897,"props":1027,"children":1028},{"style":932},[1029],{"type":854,"value":1030}," '.\u002Ffunctions'",{"type":854,"value":937},{"type":849,"tag":897,"props":1033,"children":1034},{"class":899,"style":900},[],{"type":854,"value":937},{"type":849,"tag":897,"props":1037,"children":1038},{"class":899,"style":900},[1039],{"type":849,"tag":897,"props":1040,"children":1042},{"style":1041},"color:#008000;--shiki-dark:#6A9955",[1043],{"type":854,"value":1044},"\u002F** A person asks for a summary. The slow part runs later, as the same person. *\u002F",{"type":854,"value":937},{"type":849,"tag":897,"props":1047,"children":1048},{"class":899,"style":900},[1049,1054,1060,1066,1071,1076],{"type":849,"tag":897,"props":1050,"children":1051},{"style":904},[1052],{"type":854,"value":1053},"export",{"type":849,"tag":897,"props":1055,"children":1057},{"style":1056},"color:#0000FF;--shiki-dark:#569CD6",[1058],{"type":854,"value":1059}," const",{"type":849,"tag":897,"props":1061,"children":1063},{"style":1062},"color:#0070C1;--shiki-dark:#4FC1FF",[1064],{"type":854,"value":1065}," request",{"type":849,"tag":897,"props":1067,"children":1068},{"style":910},[1069],{"type":854,"value":1070}," = ",{"type":849,"tag":897,"props":1072,"children":1074},{"style":1073},"color:#795E26;--shiki-dark:#DCDCAA",[1075],{"type":854,"value":1017},{"type":849,"tag":897,"props":1077,"children":1078},{"style":910},[1079],{"type":854,"value":1080},"({",{"type":854,"value":937},{"type":849,"tag":897,"props":1083,"children":1084},{"class":899,"style":900},[1085,1090,1095],{"type":849,"tag":897,"props":1086,"children":1087},{"style":916},[1088],{"type":854,"value":1089},"  action:",{"type":849,"tag":897,"props":1091,"children":1092},{"style":932},[1093],{"type":854,"value":1094}," 'projects.summarize'",{"type":849,"tag":897,"props":1096,"children":1097},{"style":910},[1098],{"type":854,"value":1099},",",{"type":854,"value":937},{"type":849,"tag":897,"props":1102,"children":1103},{"class":899,"style":900},[1104,1109,1113,1118,1123,1128,1133,1138,1143],{"type":849,"tag":897,"props":1105,"children":1106},{"style":916},[1107],{"type":854,"value":1108},"  args:",{"type":849,"tag":897,"props":1110,"children":1111},{"style":910},[1112],{"type":854,"value":913},{"type":849,"tag":897,"props":1114,"children":1115},{"style":916},[1116],{"type":854,"value":1117},"projectId:",{"type":849,"tag":897,"props":1119,"children":1120},{"style":916},[1121],{"type":854,"value":1122}," v",{"type":849,"tag":897,"props":1124,"children":1125},{"style":910},[1126],{"type":854,"value":1127},".",{"type":849,"tag":897,"props":1129,"children":1130},{"style":1073},[1131],{"type":854,"value":1132},"id",{"type":849,"tag":897,"props":1134,"children":1135},{"style":910},[1136],{"type":854,"value":1137},"(",{"type":849,"tag":897,"props":1139,"children":1140},{"style":932},[1141],{"type":854,"value":1142},"'projects'",{"type":849,"tag":897,"props":1144,"children":1145},{"style":910},[1146],{"type":854,"value":1147},") },",{"type":854,"value":937},{"type":849,"tag":897,"props":1150,"children":1151},{"class":899,"style":900},[1152,1157,1161,1165,1170],{"type":849,"tag":897,"props":1153,"children":1154},{"style":916},[1155],{"type":854,"value":1156},"  returns:",{"type":849,"tag":897,"props":1158,"children":1159},{"style":916},[1160],{"type":854,"value":1122},{"type":849,"tag":897,"props":1162,"children":1163},{"style":910},[1164],{"type":854,"value":1127},{"type":849,"tag":897,"props":1166,"children":1167},{"style":1073},[1168],{"type":854,"value":1169},"null",{"type":849,"tag":897,"props":1171,"children":1172},{"style":910},[1173],{"type":854,"value":1174},"(),",{"type":854,"value":937},{"type":849,"tag":897,"props":1177,"children":1178},{"class":899,"style":900},[1179,1184,1189,1194,1199,1204,1209,1214,1219,1224],{"type":849,"tag":897,"props":1180,"children":1181},{"style":1073},[1182],{"type":854,"value":1183},"  handler",{"type":849,"tag":897,"props":1185,"children":1186},{"style":916},[1187],{"type":854,"value":1188},":",{"type":849,"tag":897,"props":1190,"children":1191},{"style":1056},[1192],{"type":854,"value":1193}," async",{"type":849,"tag":897,"props":1195,"children":1196},{"style":910},[1197],{"type":854,"value":1198}," (",{"type":849,"tag":897,"props":1200,"children":1201},{"style":916},[1202],{"type":854,"value":1203},"ctx",{"type":849,"tag":897,"props":1205,"children":1206},{"style":910},[1207],{"type":854,"value":1208},", { ",{"type":849,"tag":897,"props":1210,"children":1211},{"style":916},[1212],{"type":854,"value":1213},"projectId",{"type":849,"tag":897,"props":1215,"children":1216},{"style":910},[1217],{"type":854,"value":1218}," }) ",{"type":849,"tag":897,"props":1220,"children":1221},{"style":1056},[1222],{"type":854,"value":1223},"=>",{"type":849,"tag":897,"props":1225,"children":1226},{"style":910},[1227],{"type":854,"value":1228}," {",{"type":854,"value":937},{"type":849,"tag":897,"props":1231,"children":1232},{"class":899,"style":900},[1233,1238,1243,1247,1252,1257,1261,1266,1270,1275,1279,1283],{"type":849,"tag":897,"props":1234,"children":1235},{"style":1056},[1236],{"type":854,"value":1237},"    const",{"type":849,"tag":897,"props":1239,"children":1240},{"style":1062},[1241],{"type":854,"value":1242}," project",{"type":849,"tag":897,"props":1244,"children":1245},{"style":910},[1246],{"type":854,"value":1070},{"type":849,"tag":897,"props":1248,"children":1249},{"style":904},[1250],{"type":854,"value":1251},"await",{"type":849,"tag":897,"props":1253,"children":1254},{"style":916},[1255],{"type":854,"value":1256}," ctx",{"type":849,"tag":897,"props":1258,"children":1259},{"style":910},[1260],{"type":854,"value":1127},{"type":849,"tag":897,"props":1262,"children":1263},{"style":916},[1264],{"type":854,"value":1265},"db",{"type":849,"tag":897,"props":1267,"children":1268},{"style":910},[1269],{"type":854,"value":1127},{"type":849,"tag":897,"props":1271,"children":1272},{"style":1073},[1273],{"type":854,"value":1274},"get",{"type":849,"tag":897,"props":1276,"children":1277},{"style":910},[1278],{"type":854,"value":1137},{"type":849,"tag":897,"props":1280,"children":1281},{"style":916},[1282],{"type":854,"value":1213},{"type":849,"tag":897,"props":1284,"children":1285},{"style":910},[1286],{"type":854,"value":1287},")",{"type":854,"value":937},{"type":849,"tag":897,"props":1290,"children":1291},{"class":899,"style":900},[1292,1297,1301,1306,1311,1316,1321,1326,1331,1335,1339,1344,1348,1353],{"type":849,"tag":897,"props":1293,"children":1294},{"style":904},[1295],{"type":854,"value":1296},"    if",{"type":849,"tag":897,"props":1298,"children":1299},{"style":910},[1300],{"type":854,"value":1198},{"type":849,"tag":897,"props":1302,"children":1303},{"style":916},[1304],{"type":854,"value":1305},"project",{"type":849,"tag":897,"props":1307,"children":1308},{"style":910},[1309],{"type":854,"value":1310},"?.",{"type":849,"tag":897,"props":1312,"children":1313},{"style":916},[1314],{"type":854,"value":1315},"status",{"type":849,"tag":897,"props":1317,"children":1318},{"style":910},[1319],{"type":854,"value":1320}," !== ",{"type":849,"tag":897,"props":1322,"children":1323},{"style":932},[1324],{"type":854,"value":1325},"'active'",{"type":849,"tag":897,"props":1327,"children":1328},{"style":910},[1329],{"type":854,"value":1330},") ",{"type":849,"tag":897,"props":1332,"children":1333},{"style":1073},[1334],{"type":854,"value":919},{"type":849,"tag":897,"props":1336,"children":1337},{"style":910},[1338],{"type":854,"value":1137},{"type":849,"tag":897,"props":1340,"children":1341},{"style":932},[1342],{"type":854,"value":1343},"'NOT_FOUND'",{"type":849,"tag":897,"props":1345,"children":1346},{"style":910},[1347],{"type":854,"value":863},{"type":849,"tag":897,"props":1349,"children":1350},{"style":932},[1351],{"type":854,"value":1352},"'This project is not active.'",{"type":849,"tag":897,"props":1354,"children":1355},{"style":910},[1356],{"type":854,"value":1287},{"type":854,"value":937},{"type":849,"tag":897,"props":1359,"children":1360},{"class":899,"style":900},[1361,1366,1370,1374,1379,1383,1388,1392,1398,1402,1406,1410,1415,1419,1424,1428,1432],{"type":849,"tag":897,"props":1362,"children":1363},{"style":904},[1364],{"type":854,"value":1365},"    await",{"type":849,"tag":897,"props":1367,"children":1368},{"style":916},[1369],{"type":854,"value":1256},{"type":849,"tag":897,"props":1371,"children":1372},{"style":910},[1373],{"type":854,"value":1127},{"type":849,"tag":897,"props":1375,"children":1376},{"style":916},[1377],{"type":854,"value":1378},"scheduler",{"type":849,"tag":897,"props":1380,"children":1381},{"style":910},[1382],{"type":854,"value":1127},{"type":849,"tag":897,"props":1384,"children":1385},{"style":1073},[1386],{"type":854,"value":1387},"runAfter",{"type":849,"tag":897,"props":1389,"children":1390},{"style":910},[1391],{"type":854,"value":1137},{"type":849,"tag":897,"props":1393,"children":1395},{"style":1394},"color:#098658;--shiki-dark:#B5CEA8",[1396],{"type":854,"value":1397},"0",{"type":849,"tag":897,"props":1399,"children":1400},{"style":910},[1401],{"type":854,"value":863},{"type":849,"tag":897,"props":1403,"children":1404},{"style":916},[1405],{"type":854,"value":987},{"type":849,"tag":897,"props":1407,"children":1408},{"style":910},[1409],{"type":854,"value":1127},{"type":849,"tag":897,"props":1411,"children":1412},{"style":916},[1413],{"type":854,"value":1414},"summaryWork",{"type":849,"tag":897,"props":1416,"children":1417},{"style":910},[1418],{"type":854,"value":1127},{"type":849,"tag":897,"props":1420,"children":1421},{"style":916},[1422],{"type":854,"value":1423},"build",{"type":849,"tag":897,"props":1425,"children":1426},{"style":910},[1427],{"type":854,"value":1208},{"type":849,"tag":897,"props":1429,"children":1430},{"style":916},[1431],{"type":854,"value":1213},{"type":849,"tag":897,"props":1433,"children":1434},{"style":910},[1435],{"type":854,"value":1436}," })",{"type":854,"value":937},{"type":849,"tag":897,"props":1439,"children":1440},{"class":899,"style":900},[1441,1446],{"type":849,"tag":897,"props":1442,"children":1443},{"style":904},[1444],{"type":854,"value":1445},"    return",{"type":849,"tag":897,"props":1447,"children":1448},{"style":1056},[1449],{"type":854,"value":1450}," null",{"type":854,"value":937},{"type":849,"tag":897,"props":1453,"children":1454},{"class":899,"style":900},[1455],{"type":849,"tag":897,"props":1456,"children":1457},{"style":910},[1458],{"type":854,"value":1459},"  },",{"type":854,"value":937},{"type":849,"tag":897,"props":1462,"children":1463},{"class":899,"style":900},[1464],{"type":849,"tag":897,"props":1465,"children":1466},{"style":910},[1467],{"type":854,"value":1468},"})",{"type":849,"tag":886,"props":1470,"children":1472},{"language":888,"filename":1471,"class":890},"convex\u002FsummaryWork.ts",[1473],{"type":849,"tag":857,"props":1474,"children":1475},{"class":894},[1476,1512,1513,1540,1541,1544,1545,1572,1573,1616,1617,1620,1621,1629,1630,1658,1659,1698,1699,1742,1743,1818,1819,1858,1859,1876,1877,1908,1909,1951,1952,1960,1961,2047,2048,2120,2121,2186,2187,2198,2199,2206,2207,2214,2215,2218,2219,2247,2248,2263,2264,2303,2304,2350,2351,2394,2395,2446,2447,2491,2492,2523,2524,2531,2532,2539,2540,2543,2544,2572,2573,2588,2589,2651,2652,2675,2676,2727,2728,2736,2737,2808,2809,2820,2821,2828,2829],{"type":849,"tag":897,"props":1477,"children":1478},{"class":899,"style":900},[1479,1483,1487,1491,1495,1500,1504,1508],{"type":849,"tag":897,"props":1480,"children":1481},{"style":904},[1482],{"type":854,"value":907},{"type":849,"tag":897,"props":1484,"children":1485},{"style":910},[1486],{"type":854,"value":913},{"type":849,"tag":897,"props":1488,"children":1489},{"style":916},[1490],{"type":854,"value":919},{"type":849,"tag":897,"props":1492,"children":1493},{"style":910},[1494],{"type":854,"value":863},{"type":849,"tag":897,"props":1496,"children":1497},{"style":916},[1498],{"type":854,"value":1499},"oneLine",{"type":849,"tag":897,"props":1501,"children":1502},{"style":910},[1503],{"type":854,"value":924},{"type":849,"tag":897,"props":1505,"children":1506},{"style":904},[1507],{"type":854,"value":929},{"type":849,"tag":897,"props":1509,"children":1510},{"style":932},[1511],{"type":854,"value":935},{"type":854,"value":937},{"type":849,"tag":897,"props":1514,"children":1515},{"class":899,"style":900},[1516,1520,1524,1528,1532,1536],{"type":849,"tag":897,"props":1517,"children":1518},{"style":904},[1519],{"type":854,"value":907},{"type":849,"tag":897,"props":1521,"children":1522},{"style":910},[1523],{"type":854,"value":913},{"type":849,"tag":897,"props":1525,"children":1526},{"style":916},[1527],{"type":854,"value":953},{"type":849,"tag":897,"props":1529,"children":1530},{"style":910},[1531],{"type":854,"value":924},{"type":849,"tag":897,"props":1533,"children":1534},{"style":904},[1535],{"type":854,"value":929},{"type":849,"tag":897,"props":1537,"children":1538},{"style":932},[1539],{"type":854,"value":966},{"type":854,"value":937},{"type":849,"tag":897,"props":1542,"children":1543},{"class":899,"style":900},[],{"type":854,"value":937},{"type":849,"tag":897,"props":1546,"children":1547},{"class":899,"style":900},[1548,1552,1556,1560,1564,1568],{"type":849,"tag":897,"props":1549,"children":1550},{"style":904},[1551],{"type":854,"value":907},{"type":849,"tag":897,"props":1553,"children":1554},{"style":910},[1555],{"type":854,"value":913},{"type":849,"tag":897,"props":1557,"children":1558},{"style":916},[1559],{"type":854,"value":987},{"type":849,"tag":897,"props":1561,"children":1562},{"style":910},[1563],{"type":854,"value":924},{"type":849,"tag":897,"props":1565,"children":1566},{"style":904},[1567],{"type":854,"value":929},{"type":849,"tag":897,"props":1569,"children":1570},{"style":932},[1571],{"type":854,"value":1000},{"type":854,"value":937},{"type":849,"tag":897,"props":1574,"children":1575},{"class":899,"style":900},[1576,1580,1584,1588,1592,1596,1600,1604,1608,1612],{"type":849,"tag":897,"props":1577,"children":1578},{"style":904},[1579],{"type":854,"value":907},{"type":849,"tag":897,"props":1581,"children":1582},{"style":910},[1583],{"type":854,"value":913},{"type":849,"tag":897,"props":1585,"children":1586},{"style":916},[1587],{"type":854,"value":875},{"type":849,"tag":897,"props":1589,"children":1590},{"style":910},[1591],{"type":854,"value":863},{"type":849,"tag":897,"props":1593,"children":1594},{"style":916},[1595],{"type":854,"value":868},{"type":849,"tag":897,"props":1597,"children":1598},{"style":910},[1599],{"type":854,"value":863},{"type":849,"tag":897,"props":1601,"children":1602},{"style":916},[1603],{"type":854,"value":861},{"type":849,"tag":897,"props":1605,"children":1606},{"style":910},[1607],{"type":854,"value":924},{"type":849,"tag":897,"props":1609,"children":1610},{"style":904},[1611],{"type":854,"value":929},{"type":849,"tag":897,"props":1613,"children":1614},{"style":932},[1615],{"type":854,"value":1030},{"type":854,"value":937},{"type":849,"tag":897,"props":1618,"children":1619},{"class":899,"style":900},[],{"type":854,"value":937},{"type":849,"tag":897,"props":1622,"children":1623},{"class":899,"style":900},[1624],{"type":849,"tag":897,"props":1625,"children":1626},{"style":1041},[1627],{"type":854,"value":1628},"\u002F** Work outside the database. Reads and writes go through internal operations. *\u002F",{"type":854,"value":937},{"type":849,"tag":897,"props":1631,"children":1632},{"class":899,"style":900},[1633,1637,1641,1646,1650,1654],{"type":849,"tag":897,"props":1634,"children":1635},{"style":904},[1636],{"type":854,"value":1053},{"type":849,"tag":897,"props":1638,"children":1639},{"style":1056},[1640],{"type":854,"value":1059},{"type":849,"tag":897,"props":1642,"children":1643},{"style":1062},[1644],{"type":854,"value":1645}," build",{"type":849,"tag":897,"props":1647,"children":1648},{"style":910},[1649],{"type":854,"value":1070},{"type":849,"tag":897,"props":1651,"children":1652},{"style":1073},[1653],{"type":854,"value":875},{"type":849,"tag":897,"props":1655,"children":1656},{"style":910},[1657],{"type":854,"value":1080},{"type":854,"value":937},{"type":849,"tag":897,"props":1660,"children":1661},{"class":899,"style":900},[1662,1666,1670,1674,1678,1682,1686,1690,1694],{"type":849,"tag":897,"props":1663,"children":1664},{"style":916},[1665],{"type":854,"value":1108},{"type":849,"tag":897,"props":1667,"children":1668},{"style":910},[1669],{"type":854,"value":913},{"type":849,"tag":897,"props":1671,"children":1672},{"style":916},[1673],{"type":854,"value":1117},{"type":849,"tag":897,"props":1675,"children":1676},{"style":916},[1677],{"type":854,"value":1122},{"type":849,"tag":897,"props":1679,"children":1680},{"style":910},[1681],{"type":854,"value":1127},{"type":849,"tag":897,"props":1683,"children":1684},{"style":1073},[1685],{"type":854,"value":1132},{"type":849,"tag":897,"props":1687,"children":1688},{"style":910},[1689],{"type":854,"value":1137},{"type":849,"tag":897,"props":1691,"children":1692},{"style":932},[1693],{"type":854,"value":1142},{"type":849,"tag":897,"props":1695,"children":1696},{"style":910},[1697],{"type":854,"value":1147},{"type":854,"value":937},{"type":849,"tag":897,"props":1700,"children":1701},{"class":899,"style":900},[1702,1706,1710,1714,1718,1722,1726,1730,1734,1738],{"type":849,"tag":897,"props":1703,"children":1704},{"style":1073},[1705],{"type":854,"value":1183},{"type":849,"tag":897,"props":1707,"children":1708},{"style":916},[1709],{"type":854,"value":1188},{"type":849,"tag":897,"props":1711,"children":1712},{"style":1056},[1713],{"type":854,"value":1193},{"type":849,"tag":897,"props":1715,"children":1716},{"style":910},[1717],{"type":854,"value":1198},{"type":849,"tag":897,"props":1719,"children":1720},{"style":916},[1721],{"type":854,"value":1203},{"type":849,"tag":897,"props":1723,"children":1724},{"style":910},[1725],{"type":854,"value":1208},{"type":849,"tag":897,"props":1727,"children":1728},{"style":916},[1729],{"type":854,"value":1213},{"type":849,"tag":897,"props":1731,"children":1732},{"style":910},[1733],{"type":854,"value":1218},{"type":849,"tag":897,"props":1735,"children":1736},{"style":1056},[1737],{"type":854,"value":1223},{"type":849,"tag":897,"props":1739,"children":1740},{"style":910},[1741],{"type":854,"value":1228},{"type":854,"value":937},{"type":849,"tag":897,"props":1744,"children":1745},{"class":899,"style":900},[1746,1750,1754,1759,1764,1768,1772,1776,1781,1785,1789,1793,1797,1801,1806,1810,1814],{"type":849,"tag":897,"props":1747,"children":1748},{"style":1056},[1749],{"type":854,"value":1237},{"type":849,"tag":897,"props":1751,"children":1752},{"style":910},[1753],{"type":854,"value":913},{"type":849,"tag":897,"props":1755,"children":1756},{"style":1062},[1757],{"type":854,"value":1758},"name",{"type":849,"tag":897,"props":1760,"children":1761},{"style":910},[1762],{"type":854,"value":1763}," } = ",{"type":849,"tag":897,"props":1765,"children":1766},{"style":904},[1767],{"type":854,"value":1251},{"type":849,"tag":897,"props":1769,"children":1770},{"style":916},[1771],{"type":854,"value":1256},{"type":849,"tag":897,"props":1773,"children":1774},{"style":910},[1775],{"type":854,"value":1127},{"type":849,"tag":897,"props":1777,"children":1778},{"style":1073},[1779],{"type":854,"value":1780},"runQuery",{"type":849,"tag":897,"props":1782,"children":1783},{"style":910},[1784],{"type":854,"value":1137},{"type":849,"tag":897,"props":1786,"children":1787},{"style":916},[1788],{"type":854,"value":987},{"type":849,"tag":897,"props":1790,"children":1791},{"style":910},[1792],{"type":854,"value":1127},{"type":849,"tag":897,"props":1794,"children":1795},{"style":916},[1796],{"type":854,"value":1414},{"type":849,"tag":897,"props":1798,"children":1799},{"style":910},[1800],{"type":854,"value":1127},{"type":849,"tag":897,"props":1802,"children":1803},{"style":916},[1804],{"type":854,"value":1805},"load",{"type":849,"tag":897,"props":1807,"children":1808},{"style":910},[1809],{"type":854,"value":1208},{"type":849,"tag":897,"props":1811,"children":1812},{"style":916},[1813],{"type":854,"value":1213},{"type":849,"tag":897,"props":1815,"children":1816},{"style":910},[1817],{"type":854,"value":1436},{"type":854,"value":937},{"type":849,"tag":897,"props":1820,"children":1821},{"class":899,"style":900},[1822,1826,1831,1835,1839,1844,1848,1853],{"type":849,"tag":897,"props":1823,"children":1824},{"style":1056},[1825],{"type":854,"value":1237},{"type":849,"tag":897,"props":1827,"children":1828},{"style":1062},[1829],{"type":854,"value":1830}," response",{"type":849,"tag":897,"props":1832,"children":1833},{"style":910},[1834],{"type":854,"value":1070},{"type":849,"tag":897,"props":1836,"children":1837},{"style":904},[1838],{"type":854,"value":1251},{"type":849,"tag":897,"props":1840,"children":1841},{"style":1073},[1842],{"type":854,"value":1843}," fetch",{"type":849,"tag":897,"props":1845,"children":1846},{"style":910},[1847],{"type":854,"value":1137},{"type":849,"tag":897,"props":1849,"children":1850},{"style":932},[1851],{"type":854,"value":1852},"'https:\u002F\u002Fsummaries.example.com\u002Fv1\u002Fsummarize'",{"type":849,"tag":897,"props":1854,"children":1855},{"style":910},[1856],{"type":854,"value":1857},", {",{"type":854,"value":937},{"type":849,"tag":897,"props":1860,"children":1861},{"class":899,"style":900},[1862,1867,1872],{"type":849,"tag":897,"props":1863,"children":1864},{"style":916},[1865],{"type":854,"value":1866},"      method:",{"type":849,"tag":897,"props":1868,"children":1869},{"style":932},[1870],{"type":854,"value":1871}," 'POST'",{"type":849,"tag":897,"props":1873,"children":1874},{"style":910},[1875],{"type":854,"value":1099},{"type":854,"value":937},{"type":849,"tag":897,"props":1878,"children":1879},{"class":899,"style":900},[1880,1885,1889,1894,1898,1903],{"type":849,"tag":897,"props":1881,"children":1882},{"style":916},[1883],{"type":854,"value":1884},"      headers:",{"type":849,"tag":897,"props":1886,"children":1887},{"style":910},[1888],{"type":854,"value":913},{"type":849,"tag":897,"props":1890,"children":1891},{"style":932},[1892],{"type":854,"value":1893},"'content-type'",{"type":849,"tag":897,"props":1895,"children":1896},{"style":916},[1897],{"type":854,"value":1188},{"type":849,"tag":897,"props":1899,"children":1900},{"style":932},[1901],{"type":854,"value":1902}," 'application\u002Fjson'",{"type":849,"tag":897,"props":1904,"children":1905},{"style":910},[1906],{"type":854,"value":1907}," },",{"type":854,"value":937},{"type":849,"tag":897,"props":1910,"children":1911},{"class":899,"style":900},[1912,1917,1922,1926,1931,1936,1941,1946],{"type":849,"tag":897,"props":1913,"children":1914},{"style":916},[1915],{"type":854,"value":1916},"      body:",{"type":849,"tag":897,"props":1918,"children":1919},{"style":1062},[1920],{"type":854,"value":1921}," JSON",{"type":849,"tag":897,"props":1923,"children":1924},{"style":910},[1925],{"type":854,"value":1127},{"type":849,"tag":897,"props":1927,"children":1928},{"style":1073},[1929],{"type":854,"value":1930},"stringify",{"type":849,"tag":897,"props":1932,"children":1933},{"style":910},[1934],{"type":854,"value":1935},"({ ",{"type":849,"tag":897,"props":1937,"children":1938},{"style":916},[1939],{"type":854,"value":1940},"text:",{"type":849,"tag":897,"props":1942,"children":1943},{"style":916},[1944],{"type":854,"value":1945}," name",{"type":849,"tag":897,"props":1947,"children":1948},{"style":910},[1949],{"type":854,"value":1950}," }),",{"type":854,"value":937},{"type":849,"tag":897,"props":1953,"children":1954},{"class":899,"style":900},[1955],{"type":849,"tag":897,"props":1956,"children":1957},{"style":910},[1958],{"type":854,"value":1959},"    })",{"type":854,"value":937},{"type":849,"tag":897,"props":1962,"children":1963},{"class":899,"style":900},[1964,1968,1973,1978,1982,1987,1991,1996,2001,2006,2010,2015,2020,2024,2029,2033,2038,2043],{"type":849,"tag":897,"props":1965,"children":1966},{"style":904},[1967],{"type":854,"value":1296},{"type":849,"tag":897,"props":1969,"children":1970},{"style":910},[1971],{"type":854,"value":1972}," (!",{"type":849,"tag":897,"props":1974,"children":1975},{"style":916},[1976],{"type":854,"value":1977},"response",{"type":849,"tag":897,"props":1979,"children":1980},{"style":910},[1981],{"type":854,"value":1127},{"type":849,"tag":897,"props":1983,"children":1984},{"style":916},[1985],{"type":854,"value":1986},"ok",{"type":849,"tag":897,"props":1988,"children":1989},{"style":910},[1990],{"type":854,"value":1330},{"type":849,"tag":897,"props":1992,"children":1993},{"style":904},[1994],{"type":854,"value":1995},"throw",{"type":849,"tag":897,"props":1997,"children":1998},{"style":1056},[1999],{"type":854,"value":2000}," new",{"type":849,"tag":897,"props":2002,"children":2003},{"style":1073},[2004],{"type":854,"value":2005}," Error",{"type":849,"tag":897,"props":2007,"children":2008},{"style":910},[2009],{"type":854,"value":1137},{"type":849,"tag":897,"props":2011,"children":2012},{"style":932},[2013],{"type":854,"value":2014},"`The summary service answered ",{"type":849,"tag":897,"props":2016,"children":2017},{"style":1056},[2018],{"type":854,"value":2019},"${",{"type":849,"tag":897,"props":2021,"children":2022},{"style":916},[2023],{"type":854,"value":1977},{"type":849,"tag":897,"props":2025,"children":2027},{"style":2026},"color:#000000FF;--shiki-dark:#D4D4D4",[2028],{"type":854,"value":1127},{"type":849,"tag":897,"props":2030,"children":2031},{"style":916},[2032],{"type":854,"value":1315},{"type":849,"tag":897,"props":2034,"children":2035},{"style":1056},[2036],{"type":854,"value":2037},"}",{"type":849,"tag":897,"props":2039,"children":2040},{"style":932},[2041],{"type":854,"value":2042},".`",{"type":849,"tag":897,"props":2044,"children":2045},{"style":910},[2046],{"type":854,"value":1287},{"type":854,"value":937},{"type":849,"tag":897,"props":2049,"children":2050},{"class":899,"style":900},[2051,2055,2059,2064,2069,2073,2077,2081,2086,2091,2096,2100,2104,2109,2115],{"type":849,"tag":897,"props":2052,"children":2053},{"style":1056},[2054],{"type":854,"value":1237},{"type":849,"tag":897,"props":2056,"children":2057},{"style":910},[2058],{"type":854,"value":913},{"type":849,"tag":897,"props":2060,"children":2061},{"style":1062},[2062],{"type":854,"value":2063},"summary",{"type":849,"tag":897,"props":2065,"children":2066},{"style":910},[2067],{"type":854,"value":2068}," } = (",{"type":849,"tag":897,"props":2070,"children":2071},{"style":904},[2072],{"type":854,"value":1251},{"type":849,"tag":897,"props":2074,"children":2075},{"style":916},[2076],{"type":854,"value":1830},{"type":849,"tag":897,"props":2078,"children":2079},{"style":910},[2080],{"type":854,"value":1127},{"type":849,"tag":897,"props":2082,"children":2083},{"style":1073},[2084],{"type":854,"value":2085},"json",{"type":849,"tag":897,"props":2087,"children":2088},{"style":910},[2089],{"type":854,"value":2090},"()) ",{"type":849,"tag":897,"props":2092,"children":2093},{"style":904},[2094],{"type":854,"value":2095},"as",{"type":849,"tag":897,"props":2097,"children":2098},{"style":910},[2099],{"type":854,"value":913},{"type":849,"tag":897,"props":2101,"children":2102},{"style":916},[2103],{"type":854,"value":2063},{"type":849,"tag":897,"props":2105,"children":2106},{"style":910},[2107],{"type":854,"value":2108},": ",{"type":849,"tag":897,"props":2110,"children":2112},{"style":2111},"color:#267F99;--shiki-dark:#4EC9B0",[2113],{"type":854,"value":2114},"string",{"type":849,"tag":897,"props":2116,"children":2117},{"style":910},[2118],{"type":854,"value":2119}," }",{"type":854,"value":937},{"type":849,"tag":897,"props":2122,"children":2123},{"class":899,"style":900},[2124,2128,2132,2136,2141,2145,2149,2153,2157,2161,2166,2170,2174,2178,2182],{"type":849,"tag":897,"props":2125,"children":2126},{"style":904},[2127],{"type":854,"value":1365},{"type":849,"tag":897,"props":2129,"children":2130},{"style":916},[2131],{"type":854,"value":1256},{"type":849,"tag":897,"props":2133,"children":2134},{"style":910},[2135],{"type":854,"value":1127},{"type":849,"tag":897,"props":2137,"children":2138},{"style":1073},[2139],{"type":854,"value":2140},"runMutation",{"type":849,"tag":897,"props":2142,"children":2143},{"style":910},[2144],{"type":854,"value":1137},{"type":849,"tag":897,"props":2146,"children":2147},{"style":916},[2148],{"type":854,"value":987},{"type":849,"tag":897,"props":2150,"children":2151},{"style":910},[2152],{"type":854,"value":1127},{"type":849,"tag":897,"props":2154,"children":2155},{"style":916},[2156],{"type":854,"value":1414},{"type":849,"tag":897,"props":2158,"children":2159},{"style":910},[2160],{"type":854,"value":1127},{"type":849,"tag":897,"props":2162,"children":2163},{"style":916},[2164],{"type":854,"value":2165},"save",{"type":849,"tag":897,"props":2167,"children":2168},{"style":910},[2169],{"type":854,"value":1208},{"type":849,"tag":897,"props":2171,"children":2172},{"style":916},[2173],{"type":854,"value":1213},{"type":849,"tag":897,"props":2175,"children":2176},{"style":910},[2177],{"type":854,"value":863},{"type":849,"tag":897,"props":2179,"children":2180},{"style":916},[2181],{"type":854,"value":2063},{"type":849,"tag":897,"props":2183,"children":2184},{"style":910},[2185],{"type":854,"value":1436},{"type":854,"value":937},{"type":849,"tag":897,"props":2188,"children":2189},{"class":899,"style":900},[2190,2194],{"type":849,"tag":897,"props":2191,"children":2192},{"style":904},[2193],{"type":854,"value":1445},{"type":849,"tag":897,"props":2195,"children":2196},{"style":1056},[2197],{"type":854,"value":1450},{"type":854,"value":937},{"type":849,"tag":897,"props":2200,"children":2201},{"class":899,"style":900},[2202],{"type":849,"tag":897,"props":2203,"children":2204},{"style":910},[2205],{"type":854,"value":1459},{"type":854,"value":937},{"type":849,"tag":897,"props":2208,"children":2209},{"class":899,"style":900},[2210],{"type":849,"tag":897,"props":2211,"children":2212},{"style":910},[2213],{"type":854,"value":1468},{"type":854,"value":937},{"type":849,"tag":897,"props":2216,"children":2217},{"class":899,"style":900},[],{"type":854,"value":937},{"type":849,"tag":897,"props":2220,"children":2221},{"class":899,"style":900},[2222,2226,2230,2235,2239,2243],{"type":849,"tag":897,"props":2223,"children":2224},{"style":904},[2225],{"type":854,"value":1053},{"type":849,"tag":897,"props":2227,"children":2228},{"style":1056},[2229],{"type":854,"value":1059},{"type":849,"tag":897,"props":2231,"children":2232},{"style":1062},[2233],{"type":854,"value":2234}," load",{"type":849,"tag":897,"props":2236,"children":2237},{"style":910},[2238],{"type":854,"value":1070},{"type":849,"tag":897,"props":2240,"children":2241},{"style":1073},[2242],{"type":854,"value":861},{"type":849,"tag":897,"props":2244,"children":2245},{"style":910},[2246],{"type":854,"value":1080},{"type":854,"value":937},{"type":849,"tag":897,"props":2249,"children":2250},{"class":899,"style":900},[2251,2255,2259],{"type":849,"tag":897,"props":2252,"children":2253},{"style":916},[2254],{"type":854,"value":1089},{"type":849,"tag":897,"props":2256,"children":2257},{"style":932},[2258],{"type":854,"value":1094},{"type":849,"tag":897,"props":2260,"children":2261},{"style":910},[2262],{"type":854,"value":1099},{"type":854,"value":937},{"type":849,"tag":897,"props":2265,"children":2266},{"class":899,"style":900},[2267,2271,2275,2279,2283,2287,2291,2295,2299],{"type":849,"tag":897,"props":2268,"children":2269},{"style":916},[2270],{"type":854,"value":1108},{"type":849,"tag":897,"props":2272,"children":2273},{"style":910},[2274],{"type":854,"value":913},{"type":849,"tag":897,"props":2276,"children":2277},{"style":916},[2278],{"type":854,"value":1117},{"type":849,"tag":897,"props":2280,"children":2281},{"style":916},[2282],{"type":854,"value":1122},{"type":849,"tag":897,"props":2284,"children":2285},{"style":910},[2286],{"type":854,"value":1127},{"type":849,"tag":897,"props":2288,"children":2289},{"style":1073},[2290],{"type":854,"value":1132},{"type":849,"tag":897,"props":2292,"children":2293},{"style":910},[2294],{"type":854,"value":1137},{"type":849,"tag":897,"props":2296,"children":2297},{"style":932},[2298],{"type":854,"value":1142},{"type":849,"tag":897,"props":2300,"children":2301},{"style":910},[2302],{"type":854,"value":1147},{"type":854,"value":937},{"type":849,"tag":897,"props":2305,"children":2306},{"class":899,"style":900},[2307,2311,2315,2319,2324,2328,2333,2337,2341,2345],{"type":849,"tag":897,"props":2308,"children":2309},{"style":916},[2310],{"type":854,"value":1156},{"type":849,"tag":897,"props":2312,"children":2313},{"style":916},[2314],{"type":854,"value":1122},{"type":849,"tag":897,"props":2316,"children":2317},{"style":910},[2318],{"type":854,"value":1127},{"type":849,"tag":897,"props":2320,"children":2321},{"style":1073},[2322],{"type":854,"value":2323},"object",{"type":849,"tag":897,"props":2325,"children":2326},{"style":910},[2327],{"type":854,"value":1935},{"type":849,"tag":897,"props":2329,"children":2330},{"style":916},[2331],{"type":854,"value":2332},"name:",{"type":849,"tag":897,"props":2334,"children":2335},{"style":916},[2336],{"type":854,"value":1122},{"type":849,"tag":897,"props":2338,"children":2339},{"style":910},[2340],{"type":854,"value":1127},{"type":849,"tag":897,"props":2342,"children":2343},{"style":1073},[2344],{"type":854,"value":2114},{"type":849,"tag":897,"props":2346,"children":2347},{"style":910},[2348],{"type":854,"value":2349},"() }),",{"type":854,"value":937},{"type":849,"tag":897,"props":2352,"children":2353},{"class":899,"style":900},[2354,2358,2362,2366,2370,2374,2378,2382,2386,2390],{"type":849,"tag":897,"props":2355,"children":2356},{"style":1073},[2357],{"type":854,"value":1183},{"type":849,"tag":897,"props":2359,"children":2360},{"style":916},[2361],{"type":854,"value":1188},{"type":849,"tag":897,"props":2363,"children":2364},{"style":1056},[2365],{"type":854,"value":1193},{"type":849,"tag":897,"props":2367,"children":2368},{"style":910},[2369],{"type":854,"value":1198},{"type":849,"tag":897,"props":2371,"children":2372},{"style":916},[2373],{"type":854,"value":1203},{"type":849,"tag":897,"props":2375,"children":2376},{"style":910},[2377],{"type":854,"value":1208},{"type":849,"tag":897,"props":2379,"children":2380},{"style":916},[2381],{"type":854,"value":1213},{"type":849,"tag":897,"props":2383,"children":2384},{"style":910},[2385],{"type":854,"value":1218},{"type":849,"tag":897,"props":2387,"children":2388},{"style":1056},[2389],{"type":854,"value":1223},{"type":849,"tag":897,"props":2391,"children":2392},{"style":910},[2393],{"type":854,"value":1228},{"type":854,"value":937},{"type":849,"tag":897,"props":2396,"children":2397},{"class":899,"style":900},[2398,2402,2406,2410,2414,2418,2422,2426,2430,2434,2438,2442],{"type":849,"tag":897,"props":2399,"children":2400},{"style":1056},[2401],{"type":854,"value":1237},{"type":849,"tag":897,"props":2403,"children":2404},{"style":1062},[2405],{"type":854,"value":1242},{"type":849,"tag":897,"props":2407,"children":2408},{"style":910},[2409],{"type":854,"value":1070},{"type":849,"tag":897,"props":2411,"children":2412},{"style":904},[2413],{"type":854,"value":1251},{"type":849,"tag":897,"props":2415,"children":2416},{"style":916},[2417],{"type":854,"value":1256},{"type":849,"tag":897,"props":2419,"children":2420},{"style":910},[2421],{"type":854,"value":1127},{"type":849,"tag":897,"props":2423,"children":2424},{"style":916},[2425],{"type":854,"value":1265},{"type":849,"tag":897,"props":2427,"children":2428},{"style":910},[2429],{"type":854,"value":1127},{"type":849,"tag":897,"props":2431,"children":2432},{"style":1073},[2433],{"type":854,"value":1274},{"type":849,"tag":897,"props":2435,"children":2436},{"style":910},[2437],{"type":854,"value":1137},{"type":849,"tag":897,"props":2439,"children":2440},{"style":916},[2441],{"type":854,"value":1213},{"type":849,"tag":897,"props":2443,"children":2444},{"style":910},[2445],{"type":854,"value":1287},{"type":854,"value":937},{"type":849,"tag":897,"props":2448,"children":2449},{"class":899,"style":900},[2450,2454,2458,2462,2466,2470,2474,2478,2482,2487],{"type":849,"tag":897,"props":2451,"children":2452},{"style":904},[2453],{"type":854,"value":1296},{"type":849,"tag":897,"props":2455,"children":2456},{"style":910},[2457],{"type":854,"value":1972},{"type":849,"tag":897,"props":2459,"children":2460},{"style":916},[2461],{"type":854,"value":1305},{"type":849,"tag":897,"props":2463,"children":2464},{"style":910},[2465],{"type":854,"value":1330},{"type":849,"tag":897,"props":2467,"children":2468},{"style":1073},[2469],{"type":854,"value":919},{"type":849,"tag":897,"props":2471,"children":2472},{"style":910},[2473],{"type":854,"value":1137},{"type":849,"tag":897,"props":2475,"children":2476},{"style":932},[2477],{"type":854,"value":1343},{"type":849,"tag":897,"props":2479,"children":2480},{"style":910},[2481],{"type":854,"value":863},{"type":849,"tag":897,"props":2483,"children":2484},{"style":932},[2485],{"type":854,"value":2486},"'No project with this ID.'",{"type":849,"tag":897,"props":2488,"children":2489},{"style":910},[2490],{"type":854,"value":1287},{"type":854,"value":937},{"type":849,"tag":897,"props":2493,"children":2494},{"class":899,"style":900},[2495,2499,2503,2507,2511,2515,2519],{"type":849,"tag":897,"props":2496,"children":2497},{"style":904},[2498],{"type":854,"value":1445},{"type":849,"tag":897,"props":2500,"children":2501},{"style":910},[2502],{"type":854,"value":913},{"type":849,"tag":897,"props":2504,"children":2505},{"style":916},[2506],{"type":854,"value":2332},{"type":849,"tag":897,"props":2508,"children":2509},{"style":916},[2510],{"type":854,"value":1242},{"type":849,"tag":897,"props":2512,"children":2513},{"style":910},[2514],{"type":854,"value":1127},{"type":849,"tag":897,"props":2516,"children":2517},{"style":916},[2518],{"type":854,"value":1758},{"type":849,"tag":897,"props":2520,"children":2521},{"style":910},[2522],{"type":854,"value":2119},{"type":854,"value":937},{"type":849,"tag":897,"props":2525,"children":2526},{"class":899,"style":900},[2527],{"type":849,"tag":897,"props":2528,"children":2529},{"style":910},[2530],{"type":854,"value":1459},{"type":854,"value":937},{"type":849,"tag":897,"props":2533,"children":2534},{"class":899,"style":900},[2535],{"type":849,"tag":897,"props":2536,"children":2537},{"style":910},[2538],{"type":854,"value":1468},{"type":854,"value":937},{"type":849,"tag":897,"props":2541,"children":2542},{"class":899,"style":900},[],{"type":854,"value":937},{"type":849,"tag":897,"props":2545,"children":2546},{"class":899,"style":900},[2547,2551,2555,2560,2564,2568],{"type":849,"tag":897,"props":2548,"children":2549},{"style":904},[2550],{"type":854,"value":1053},{"type":849,"tag":897,"props":2552,"children":2553},{"style":1056},[2554],{"type":854,"value":1059},{"type":849,"tag":897,"props":2556,"children":2557},{"style":1062},[2558],{"type":854,"value":2559}," save",{"type":849,"tag":897,"props":2561,"children":2562},{"style":910},[2563],{"type":854,"value":1070},{"type":849,"tag":897,"props":2565,"children":2566},{"style":1073},[2567],{"type":854,"value":868},{"type":849,"tag":897,"props":2569,"children":2570},{"style":910},[2571],{"type":854,"value":1080},{"type":854,"value":937},{"type":849,"tag":897,"props":2574,"children":2575},{"class":899,"style":900},[2576,2580,2584],{"type":849,"tag":897,"props":2577,"children":2578},{"style":916},[2579],{"type":854,"value":1089},{"type":849,"tag":897,"props":2581,"children":2582},{"style":932},[2583],{"type":854,"value":1094},{"type":849,"tag":897,"props":2585,"children":2586},{"style":910},[2587],{"type":854,"value":1099},{"type":854,"value":937},{"type":849,"tag":897,"props":2590,"children":2591},{"class":899,"style":900},[2592,2596,2600,2604,2608,2612,2616,2620,2624,2629,2634,2638,2642,2646],{"type":849,"tag":897,"props":2593,"children":2594},{"style":916},[2595],{"type":854,"value":1108},{"type":849,"tag":897,"props":2597,"children":2598},{"style":910},[2599],{"type":854,"value":913},{"type":849,"tag":897,"props":2601,"children":2602},{"style":916},[2603],{"type":854,"value":1117},{"type":849,"tag":897,"props":2605,"children":2606},{"style":916},[2607],{"type":854,"value":1122},{"type":849,"tag":897,"props":2609,"children":2610},{"style":910},[2611],{"type":854,"value":1127},{"type":849,"tag":897,"props":2613,"children":2614},{"style":1073},[2615],{"type":854,"value":1132},{"type":849,"tag":897,"props":2617,"children":2618},{"style":910},[2619],{"type":854,"value":1137},{"type":849,"tag":897,"props":2621,"children":2622},{"style":932},[2623],{"type":854,"value":1142},{"type":849,"tag":897,"props":2625,"children":2626},{"style":910},[2627],{"type":854,"value":2628},"), ",{"type":849,"tag":897,"props":2630,"children":2631},{"style":916},[2632],{"type":854,"value":2633},"summary:",{"type":849,"tag":897,"props":2635,"children":2636},{"style":916},[2637],{"type":854,"value":1122},{"type":849,"tag":897,"props":2639,"children":2640},{"style":910},[2641],{"type":854,"value":1127},{"type":849,"tag":897,"props":2643,"children":2644},{"style":1073},[2645],{"type":854,"value":2114},{"type":849,"tag":897,"props":2647,"children":2648},{"style":910},[2649],{"type":854,"value":2650},"() },",{"type":854,"value":937},{"type":849,"tag":897,"props":2653,"children":2654},{"class":899,"style":900},[2655,2659,2663,2667,2671],{"type":849,"tag":897,"props":2656,"children":2657},{"style":916},[2658],{"type":854,"value":1156},{"type":849,"tag":897,"props":2660,"children":2661},{"style":916},[2662],{"type":854,"value":1122},{"type":849,"tag":897,"props":2664,"children":2665},{"style":910},[2666],{"type":854,"value":1127},{"type":849,"tag":897,"props":2668,"children":2669},{"style":1073},[2670],{"type":854,"value":1169},{"type":849,"tag":897,"props":2672,"children":2673},{"style":910},[2674],{"type":854,"value":1174},{"type":854,"value":937},{"type":849,"tag":897,"props":2677,"children":2678},{"class":899,"style":900},[2679,2683,2687,2691,2695,2699,2703,2707,2711,2715,2719,2723],{"type":849,"tag":897,"props":2680,"children":2681},{"style":1073},[2682],{"type":854,"value":1183},{"type":849,"tag":897,"props":2684,"children":2685},{"style":916},[2686],{"type":854,"value":1188},{"type":849,"tag":897,"props":2688,"children":2689},{"style":1056},[2690],{"type":854,"value":1193},{"type":849,"tag":897,"props":2692,"children":2693},{"style":910},[2694],{"type":854,"value":1198},{"type":849,"tag":897,"props":2696,"children":2697},{"style":916},[2698],{"type":854,"value":1203},{"type":849,"tag":897,"props":2700,"children":2701},{"style":910},[2702],{"type":854,"value":1208},{"type":849,"tag":897,"props":2704,"children":2705},{"style":916},[2706],{"type":854,"value":1213},{"type":849,"tag":897,"props":2708,"children":2709},{"style":910},[2710],{"type":854,"value":863},{"type":849,"tag":897,"props":2712,"children":2713},{"style":916},[2714],{"type":854,"value":2063},{"type":849,"tag":897,"props":2716,"children":2717},{"style":910},[2718],{"type":854,"value":1218},{"type":849,"tag":897,"props":2720,"children":2721},{"style":1056},[2722],{"type":854,"value":1223},{"type":849,"tag":897,"props":2724,"children":2725},{"style":910},[2726],{"type":854,"value":1228},{"type":854,"value":937},{"type":849,"tag":897,"props":2729,"children":2730},{"class":899,"style":900},[2731],{"type":849,"tag":897,"props":2732,"children":2733},{"style":1041},[2734],{"type":854,"value":2735},"    \u002F\u002F Text from an outside service: one line, no control characters, at most 500 characters.",{"type":854,"value":937},{"type":849,"tag":897,"props":2738,"children":2739},{"class":899,"style":900},[2740,2744,2748,2752,2756,2760,2765,2769,2773,2777,2781,2786,2790,2794,2798,2803],{"type":849,"tag":897,"props":2741,"children":2742},{"style":904},[2743],{"type":854,"value":1365},{"type":849,"tag":897,"props":2745,"children":2746},{"style":916},[2747],{"type":854,"value":1256},{"type":849,"tag":897,"props":2749,"children":2750},{"style":910},[2751],{"type":854,"value":1127},{"type":849,"tag":897,"props":2753,"children":2754},{"style":916},[2755],{"type":854,"value":1265},{"type":849,"tag":897,"props":2757,"children":2758},{"style":910},[2759],{"type":854,"value":1127},{"type":849,"tag":897,"props":2761,"children":2762},{"style":1073},[2763],{"type":854,"value":2764},"patch",{"type":849,"tag":897,"props":2766,"children":2767},{"style":910},[2768],{"type":854,"value":1137},{"type":849,"tag":897,"props":2770,"children":2771},{"style":916},[2772],{"type":854,"value":1213},{"type":849,"tag":897,"props":2774,"children":2775},{"style":910},[2776],{"type":854,"value":1208},{"type":849,"tag":897,"props":2778,"children":2779},{"style":916},[2780],{"type":854,"value":2633},{"type":849,"tag":897,"props":2782,"children":2783},{"style":1073},[2784],{"type":854,"value":2785}," oneLine",{"type":849,"tag":897,"props":2787,"children":2788},{"style":910},[2789],{"type":854,"value":1137},{"type":849,"tag":897,"props":2791,"children":2792},{"style":916},[2793],{"type":854,"value":2063},{"type":849,"tag":897,"props":2795,"children":2796},{"style":910},[2797],{"type":854,"value":863},{"type":849,"tag":897,"props":2799,"children":2800},{"style":1394},[2801],{"type":854,"value":2802},"500",{"type":849,"tag":897,"props":2804,"children":2805},{"style":910},[2806],{"type":854,"value":2807},") })",{"type":854,"value":937},{"type":849,"tag":897,"props":2810,"children":2811},{"class":899,"style":900},[2812,2816],{"type":849,"tag":897,"props":2813,"children":2814},{"style":904},[2815],{"type":854,"value":1445},{"type":849,"tag":897,"props":2817,"children":2818},{"style":1056},[2819],{"type":854,"value":1450},{"type":854,"value":937},{"type":849,"tag":897,"props":2822,"children":2823},{"class":899,"style":900},[2824],{"type":849,"tag":897,"props":2825,"children":2826},{"style":910},[2827],{"type":854,"value":1459},{"type":854,"value":937},{"type":849,"tag":897,"props":2830,"children":2831},{"class":899,"style":900},[2832],{"type":849,"tag":897,"props":2833,"children":2834},{"style":910},[2835],{"type":854,"value":1468},{"type":849,"tag":850,"props":2837,"children":2838},{},[2839,2841,2845,2847,2854],{"type":854,"value":2840},"Keep internal operations in a module of their own, as ",{"type":849,"tag":857,"props":2842,"children":2843},{},[2844],{"type":854,"value":1471},{"type":854,"value":2846},"\nhere. Then each module of public operations has a\n",{"type":849,"tag":2848,"props":2849,"children":2851},"a",{"href":2850},"\u002Fdocs\u002Fbuild\u002Ffunctions\u002Ftesting#no-leaks-between-tenants",[2852],{"type":854,"value":2853},"leak test",{"type":854,"value":2855}," with one\nentry per export, and the internal operations need none: only your own code\ncalls them.",{"type":849,"tag":2857,"props":2858,"children":2860},"h2",{"id":2859},"what-travels-with-a-call",[2861],{"type":854,"value":2862},"What travels with a call",{"type":849,"tag":850,"props":2864,"children":2865},{},[2866,2871,2872,2877,2878,2883,2884,2889],{"type":849,"tag":857,"props":2867,"children":2868},{},[2869],{"type":854,"value":2870},"ctx.runQuery",{"type":854,"value":863},{"type":849,"tag":857,"props":2873,"children":2874},{},[2875],{"type":854,"value":2876},"ctx.runMutation",{"type":854,"value":863},{"type":849,"tag":857,"props":2879,"children":2880},{},[2881],{"type":854,"value":2882},"ctx.runAction",{"type":854,"value":870},{"type":849,"tag":857,"props":2885,"children":2886},{},[2887],{"type":854,"value":2888},"ctx.scheduler",{"type":854,"value":2890}," work as\nin Convex. You pass the arguments; the library adds who acts. The internal\noperation then:",{"type":849,"tag":2892,"props":2893,"children":2894},"ol",{},[2895,2908,2913],{"type":849,"tag":2896,"props":2897,"children":2898},"li",{},[2899,2901,2906],{"type":854,"value":2900},"checks the caller again: the grant of an agent, and whether the user may\nstill act (your ",{"type":849,"tag":857,"props":2902,"children":2903},{},[2904],{"type":854,"value":2905},"user",{"type":854,"value":2907}," function);",{"type":849,"tag":2896,"props":2909,"children":2910},{},[2911],{"type":854,"value":2912},"checks its own action against the policy, with the caller's role in the\ntenant its arguments name;",{"type":849,"tag":2896,"props":2914,"children":2915},{},[2916],{"type":854,"value":2917},"runs its handler with the row rules applied.",{"type":849,"tag":850,"props":2919,"children":2920},{},[2921,2923,2929],{"type":854,"value":2922},"So a scheduled follow-up stops when the person loses access between the two\ncalls. This includes cleanup that the follow-up does as that person: see\n",{"type":849,"tag":2848,"props":2924,"children":2926},{"href":2925},"#keep-short-lived-statuses-correct",[2927],{"type":854,"value":2928},"Keep short-lived statuses correct",{"type":854,"value":1127},{"type":849,"tag":850,"props":2931,"children":2932},{},[2933],{"type":854,"value":2934},"Work that a call schedules is part of that call:",{"type":849,"tag":2936,"props":2937,"children":2938},"ul",{},[2939,2952],{"type":849,"tag":2896,"props":2940,"children":2941},{},[2942,2944,2950],{"type":854,"value":2943},"It takes no second ",{"type":849,"tag":2848,"props":2945,"children":2947},{"href":2946},"\u002Fdocs\u002Fbuild\u002Ffunctions\u002Flimits-and-audit#rate-limits",[2948],{"type":854,"value":2949},"rate-limit",{"type":854,"value":2951},"\ntoken from a bucket that the call already took one from.",{"type":849,"tag":2896,"props":2953,"children":2954},{},[2955],{"type":854,"value":2956},"For an agent, it checks again who acts: the grant, the person and their role.\nIt does not check the timing again: the agent's turn, whether the run still\nruns, and the age of the MCP access token. So the follow-up of an allowed\ntool finishes after the agent took its next turn, after the run ended, and\nafter the access token expired. Turning the agent off or disconnecting the\nhost stops it.",{"type":849,"tag":850,"props":2958,"children":2959},{},[2960,2962,2967],{"type":854,"value":2961},"An agent's follow-up keeps the agent's scopes and agent rules. An internal\noperation whose action needs approval runs only under an approval of that\nagent's request. An internal mutation without an agent rule needs approval\ntoo, so give an internal write that an allowed tool runs its own ",{"type":849,"tag":857,"props":2963,"children":2964},{},[2965],{"type":854,"value":2966},"'allow'",{"type":854,"value":2968},".\nIt runs under an approval:",{"type":849,"tag":2936,"props":2970,"children":2971},{},[2972,2984],{"type":849,"tag":2896,"props":2973,"children":2974},{},[2975,2977,2982],{"type":854,"value":2976},"while ",{"type":849,"tag":857,"props":2978,"children":2979},{},[2980],{"type":854,"value":2981},"approve",{"type":854,"value":2983}," runs the request, and",{"type":849,"tag":2896,"props":2985,"children":2986},{},[2987,2989,2993],{"type":854,"value":2988},"for one hour after the person approved it, for the work the request\nscheduled. An approved request that starts a paid check, calls out from an\n",{"type":849,"tag":857,"props":2990,"children":2991},{},[2992],{"type":854,"value":875},{"type":854,"value":2994}," and records the result works this way.",{"type":849,"tag":850,"props":2996,"children":2997},{},[2998],{"type":854,"value":2999},"A pending, declined, failed or older approval grants nothing. A revoked\nconnection stops its follow-ups, because each call checks the grant again.\nLike the request itself, they change only the rows of the approved plan and\nrows that work created.",{"type":849,"tag":850,"props":3001,"children":3002},{},[3003,3008,3010,3015],{"type":849,"tag":857,"props":3004,"children":3005},{},[3006],{"type":854,"value":3007},"ctx.scheduler.cancel",{"type":854,"value":3009}," cancels only the jobs that the same person or agent\nscheduled. The ID of another job fails with ",{"type":849,"tag":857,"props":3011,"children":3012},{},[3013],{"type":854,"value":3014},"NOT_FOUND",{"type":854,"value":3016},", the same answer as\nfor a job that does not exist. An action has no database to look the job up,\nso it cancels only the jobs it scheduled in the same call. A job that runs as\nthe system may cancel any job.",{"type":849,"tag":2857,"props":3018,"children":3020},{"id":3019},"internalaction",[3021],{"type":849,"tag":857,"props":3022,"children":3023},{},[3024],{"type":854,"value":875},{"type":849,"tag":850,"props":3026,"children":3027},{},[3028,3030,3034,3035,3039,3041,3046],{"type":854,"value":3029},"An internal action has no action name and no database. It reads and writes\nonly through ",{"type":849,"tag":857,"props":3031,"children":3032},{},[3033],{"type":854,"value":2870},{"type":854,"value":870},{"type":849,"tag":857,"props":3036,"children":3037},{},[3038],{"type":854,"value":2876},{"type":854,"value":3040}," of internal operations.\n",{"type":849,"tag":857,"props":3042,"children":3043},{},[3044],{"type":854,"value":3045},"ctx.actor",{"type":854,"value":3047}," is who it acts for, as the caller passed it. It is checked in each\nof those calls, not when the action starts.",{"type":849,"tag":2857,"props":3049,"children":3051},{"id":3050},"public-actions",[3052],{"type":854,"value":3053},"Public actions",{"type":849,"tag":850,"props":3055,"children":3056},{},[3057,3059,3064,3066,3071],{"type":854,"value":3058},"Some work starts in the browser and runs outside the database: render a PDF,\nread a file that a person uploaded, import a CSV file, or call a service while\nthe person waits. Build it with ",{"type":849,"tag":857,"props":3060,"children":3061},{},[3062],{"type":854,"value":3063},"action",{"type":854,"value":3065},". Before the handler runs, the call\nchecks the caller, the policy and the tenant that the arguments name, as a\npublic mutation does. It also takes the action's\n",{"type":849,"tag":2848,"props":3067,"children":3068},{"href":539},[3069],{"type":854,"value":3070},"limit",{"type":854,"value":3072}," token.",{"type":849,"tag":850,"props":3074,"children":3075},{},[3076,3078,3083,3085,3089,3091,3096,3098,3102,3104,3108],{"type":854,"value":3077},"A Convex action has no database, so the check runs in an internal mutation of\nits own: ",{"type":849,"tag":857,"props":3079,"children":3080},{},[3081],{"type":854,"value":3082},"authorizeAction",{"type":854,"value":3084},". Export it from ",{"type":849,"tag":857,"props":3086,"children":3087},{},[3088],{"type":854,"value":882},{"type":854,"value":3090},", and give its\nreference to ",{"type":849,"tag":857,"props":3092,"children":3093},{},[3094],{"type":854,"value":3095},"fns.action",{"type":854,"value":3097}," once, as the ",{"type":849,"tag":857,"props":3099,"children":3100},{},[3101],{"type":854,"value":882},{"type":854,"value":3103}," file in\n",{"type":849,"tag":2848,"props":3105,"children":3106},{"href":506},[3107],{"type":854,"value":501},{"type":854,"value":3109}," does:",{"type":849,"tag":886,"props":3111,"children":3112},{"language":888,"class":890},[3113],{"type":849,"tag":857,"props":3114,"children":3115},{"class":894},[3116,3144,3145],{"type":849,"tag":897,"props":3117,"children":3118},{"class":899,"style":900},[3119,3123,3127,3131,3135,3139],{"type":849,"tag":897,"props":3120,"children":3121},{"style":904},[3122],{"type":854,"value":1053},{"type":849,"tag":897,"props":3124,"children":3125},{"style":1056},[3126],{"type":854,"value":1059},{"type":849,"tag":897,"props":3128,"children":3129},{"style":910},[3130],{"type":854,"value":913},{"type":849,"tag":897,"props":3132,"children":3133},{"style":1062},[3134],{"type":854,"value":3082},{"type":849,"tag":897,"props":3136,"children":3137},{"style":910},[3138],{"type":854,"value":1763},{"type":849,"tag":897,"props":3140,"children":3141},{"style":916},[3142],{"type":854,"value":3143},"fns",{"type":854,"value":937},{"type":849,"tag":897,"props":3146,"children":3147},{"class":899,"style":900},[3148,3152,3156,3161,3165,3169,3173,3177,3181,3185,3189,3194,3198,3202],{"type":849,"tag":897,"props":3149,"children":3150},{"style":904},[3151],{"type":854,"value":1053},{"type":849,"tag":897,"props":3153,"children":3154},{"style":1056},[3155],{"type":854,"value":1059},{"type":849,"tag":897,"props":3157,"children":3158},{"style":1062},[3159],{"type":854,"value":3160}," action",{"type":849,"tag":897,"props":3162,"children":3163},{"style":910},[3164],{"type":854,"value":1070},{"type":849,"tag":897,"props":3166,"children":3167},{"style":916},[3168],{"type":854,"value":3143},{"type":849,"tag":897,"props":3170,"children":3171},{"style":910},[3172],{"type":854,"value":1127},{"type":849,"tag":897,"props":3174,"children":3175},{"style":1073},[3176],{"type":854,"value":3063},{"type":849,"tag":897,"props":3178,"children":3179},{"style":910},[3180],{"type":854,"value":1137},{"type":849,"tag":897,"props":3182,"children":3183},{"style":916},[3184],{"type":854,"value":987},{"type":849,"tag":897,"props":3186,"children":3187},{"style":910},[3188],{"type":854,"value":1127},{"type":849,"tag":897,"props":3190,"children":3191},{"style":916},[3192],{"type":854,"value":3193},"functions",{"type":849,"tag":897,"props":3195,"children":3196},{"style":910},[3197],{"type":854,"value":1127},{"type":849,"tag":897,"props":3199,"children":3200},{"style":916},[3201],{"type":854,"value":3082},{"type":849,"tag":897,"props":3203,"children":3204},{"style":910},[3205],{"type":854,"value":1287},{"type":849,"tag":850,"props":3207,"children":3208},{},[3209,3211,3215],{"type":854,"value":3210},"Then build each public action with ",{"type":849,"tag":857,"props":3212,"children":3213},{},[3214],{"type":854,"value":3063},{"type":854,"value":3216},". This one makes the summary from\nthe first example while the person waits, and reuses its internal operations:",{"type":849,"tag":886,"props":3218,"children":3220},{"language":888,"filename":3219,"class":890},"convex\u002FsummaryNow.ts",[3221],{"type":849,"tag":857,"props":3222,"children":3223},{"class":894},[3224,3251,3252,3255,3256,3283,3284,3311,3312,3315,3316,3324,3325,3353,3354,3369,3370,3409,3410,3433,3434,3477,3478,3549,3550,3585,3586,3601,3602,3629,3630,3665,3666,3673,3674,3749,3750,3813,3814,3877,3878,3890,3891,3898,3899],{"type":849,"tag":897,"props":3225,"children":3226},{"class":899,"style":900},[3227,3231,3235,3239,3243,3247],{"type":849,"tag":897,"props":3228,"children":3229},{"style":904},[3230],{"type":854,"value":907},{"type":849,"tag":897,"props":3232,"children":3233},{"style":910},[3234],{"type":854,"value":913},{"type":849,"tag":897,"props":3236,"children":3237},{"style":916},[3238],{"type":854,"value":953},{"type":849,"tag":897,"props":3240,"children":3241},{"style":910},[3242],{"type":854,"value":924},{"type":849,"tag":897,"props":3244,"children":3245},{"style":904},[3246],{"type":854,"value":929},{"type":849,"tag":897,"props":3248,"children":3249},{"style":932},[3250],{"type":854,"value":966},{"type":854,"value":937},{"type":849,"tag":897,"props":3253,"children":3254},{"class":899,"style":900},[],{"type":854,"value":937},{"type":849,"tag":897,"props":3257,"children":3258},{"class":899,"style":900},[3259,3263,3267,3271,3275,3279],{"type":849,"tag":897,"props":3260,"children":3261},{"style":904},[3262],{"type":854,"value":907},{"type":849,"tag":897,"props":3264,"children":3265},{"style":910},[3266],{"type":854,"value":913},{"type":849,"tag":897,"props":3268,"children":3269},{"style":916},[3270],{"type":854,"value":987},{"type":849,"tag":897,"props":3272,"children":3273},{"style":910},[3274],{"type":854,"value":924},{"type":849,"tag":897,"props":3276,"children":3277},{"style":904},[3278],{"type":854,"value":929},{"type":849,"tag":897,"props":3280,"children":3281},{"style":932},[3282],{"type":854,"value":1000},{"type":854,"value":937},{"type":849,"tag":897,"props":3285,"children":3286},{"class":899,"style":900},[3287,3291,3295,3299,3303,3307],{"type":849,"tag":897,"props":3288,"children":3289},{"style":904},[3290],{"type":854,"value":907},{"type":849,"tag":897,"props":3292,"children":3293},{"style":910},[3294],{"type":854,"value":913},{"type":849,"tag":897,"props":3296,"children":3297},{"style":916},[3298],{"type":854,"value":3063},{"type":849,"tag":897,"props":3300,"children":3301},{"style":910},[3302],{"type":854,"value":924},{"type":849,"tag":897,"props":3304,"children":3305},{"style":904},[3306],{"type":854,"value":929},{"type":849,"tag":897,"props":3308,"children":3309},{"style":932},[3310],{"type":854,"value":1030},{"type":854,"value":937},{"type":849,"tag":897,"props":3313,"children":3314},{"class":899,"style":900},[],{"type":854,"value":937},{"type":849,"tag":897,"props":3317,"children":3318},{"class":899,"style":900},[3319],{"type":849,"tag":897,"props":3320,"children":3321},{"style":1041},[3322],{"type":854,"value":3323},"\u002F** The summary of a project, made now. The summary service runs outside the database. *\u002F",{"type":854,"value":937},{"type":849,"tag":897,"props":3326,"children":3327},{"class":899,"style":900},[3328,3332,3336,3341,3345,3349],{"type":849,"tag":897,"props":3329,"children":3330},{"style":904},[3331],{"type":854,"value":1053},{"type":849,"tag":897,"props":3333,"children":3334},{"style":1056},[3335],{"type":854,"value":1059},{"type":849,"tag":897,"props":3337,"children":3338},{"style":1062},[3339],{"type":854,"value":3340}," summarize",{"type":849,"tag":897,"props":3342,"children":3343},{"style":910},[3344],{"type":854,"value":1070},{"type":849,"tag":897,"props":3346,"children":3347},{"style":1073},[3348],{"type":854,"value":3063},{"type":849,"tag":897,"props":3350,"children":3351},{"style":910},[3352],{"type":854,"value":1080},{"type":854,"value":937},{"type":849,"tag":897,"props":3355,"children":3356},{"class":899,"style":900},[3357,3361,3365],{"type":849,"tag":897,"props":3358,"children":3359},{"style":916},[3360],{"type":854,"value":1089},{"type":849,"tag":897,"props":3362,"children":3363},{"style":932},[3364],{"type":854,"value":1094},{"type":849,"tag":897,"props":3366,"children":3367},{"style":910},[3368],{"type":854,"value":1099},{"type":854,"value":937},{"type":849,"tag":897,"props":3371,"children":3372},{"class":899,"style":900},[3373,3377,3381,3385,3389,3393,3397,3401,3405],{"type":849,"tag":897,"props":3374,"children":3375},{"style":916},[3376],{"type":854,"value":1108},{"type":849,"tag":897,"props":3378,"children":3379},{"style":910},[3380],{"type":854,"value":913},{"type":849,"tag":897,"props":3382,"children":3383},{"style":916},[3384],{"type":854,"value":1117},{"type":849,"tag":897,"props":3386,"children":3387},{"style":916},[3388],{"type":854,"value":1122},{"type":849,"tag":897,"props":3390,"children":3391},{"style":910},[3392],{"type":854,"value":1127},{"type":849,"tag":897,"props":3394,"children":3395},{"style":1073},[3396],{"type":854,"value":1132},{"type":849,"tag":897,"props":3398,"children":3399},{"style":910},[3400],{"type":854,"value":1137},{"type":849,"tag":897,"props":3402,"children":3403},{"style":932},[3404],{"type":854,"value":1142},{"type":849,"tag":897,"props":3406,"children":3407},{"style":910},[3408],{"type":854,"value":1147},{"type":854,"value":937},{"type":849,"tag":897,"props":3411,"children":3412},{"class":899,"style":900},[3413,3417,3421,3425,3429],{"type":849,"tag":897,"props":3414,"children":3415},{"style":916},[3416],{"type":854,"value":1156},{"type":849,"tag":897,"props":3418,"children":3419},{"style":916},[3420],{"type":854,"value":1122},{"type":849,"tag":897,"props":3422,"children":3423},{"style":910},[3424],{"type":854,"value":1127},{"type":849,"tag":897,"props":3426,"children":3427},{"style":1073},[3428],{"type":854,"value":2114},{"type":849,"tag":897,"props":3430,"children":3431},{"style":910},[3432],{"type":854,"value":1174},{"type":854,"value":937},{"type":849,"tag":897,"props":3435,"children":3436},{"class":899,"style":900},[3437,3441,3445,3449,3453,3457,3461,3465,3469,3473],{"type":849,"tag":897,"props":3438,"children":3439},{"style":1073},[3440],{"type":854,"value":1183},{"type":849,"tag":897,"props":3442,"children":3443},{"style":916},[3444],{"type":854,"value":1188},{"type":849,"tag":897,"props":3446,"children":3447},{"style":1056},[3448],{"type":854,"value":1193},{"type":849,"tag":897,"props":3450,"children":3451},{"style":910},[3452],{"type":854,"value":1198},{"type":849,"tag":897,"props":3454,"children":3455},{"style":916},[3456],{"type":854,"value":1203},{"type":849,"tag":897,"props":3458,"children":3459},{"style":910},[3460],{"type":854,"value":1208},{"type":849,"tag":897,"props":3462,"children":3463},{"style":916},[3464],{"type":854,"value":1213},{"type":849,"tag":897,"props":3466,"children":3467},{"style":910},[3468],{"type":854,"value":1218},{"type":849,"tag":897,"props":3470,"children":3471},{"style":1056},[3472],{"type":854,"value":1223},{"type":849,"tag":897,"props":3474,"children":3475},{"style":910},[3476],{"type":854,"value":1228},{"type":854,"value":937},{"type":849,"tag":897,"props":3479,"children":3480},{"class":899,"style":900},[3481,3485,3489,3493,3497,3501,3505,3509,3513,3517,3521,3525,3529,3533,3537,3541,3545],{"type":849,"tag":897,"props":3482,"children":3483},{"style":1056},[3484],{"type":854,"value":1237},{"type":849,"tag":897,"props":3486,"children":3487},{"style":910},[3488],{"type":854,"value":913},{"type":849,"tag":897,"props":3490,"children":3491},{"style":1062},[3492],{"type":854,"value":1758},{"type":849,"tag":897,"props":3494,"children":3495},{"style":910},[3496],{"type":854,"value":1763},{"type":849,"tag":897,"props":3498,"children":3499},{"style":904},[3500],{"type":854,"value":1251},{"type":849,"tag":897,"props":3502,"children":3503},{"style":916},[3504],{"type":854,"value":1256},{"type":849,"tag":897,"props":3506,"children":3507},{"style":910},[3508],{"type":854,"value":1127},{"type":849,"tag":897,"props":3510,"children":3511},{"style":1073},[3512],{"type":854,"value":1780},{"type":849,"tag":897,"props":3514,"children":3515},{"style":910},[3516],{"type":854,"value":1137},{"type":849,"tag":897,"props":3518,"children":3519},{"style":916},[3520],{"type":854,"value":987},{"type":849,"tag":897,"props":3522,"children":3523},{"style":910},[3524],{"type":854,"value":1127},{"type":849,"tag":897,"props":3526,"children":3527},{"style":916},[3528],{"type":854,"value":1414},{"type":849,"tag":897,"props":3530,"children":3531},{"style":910},[3532],{"type":854,"value":1127},{"type":849,"tag":897,"props":3534,"children":3535},{"style":916},[3536],{"type":854,"value":1805},{"type":849,"tag":897,"props":3538,"children":3539},{"style":910},[3540],{"type":854,"value":1208},{"type":849,"tag":897,"props":3542,"children":3543},{"style":916},[3544],{"type":854,"value":1213},{"type":849,"tag":897,"props":3546,"children":3547},{"style":910},[3548],{"type":854,"value":1436},{"type":854,"value":937},{"type":849,"tag":897,"props":3551,"children":3552},{"class":899,"style":900},[3553,3557,3561,3565,3569,3573,3577,3581],{"type":849,"tag":897,"props":3554,"children":3555},{"style":1056},[3556],{"type":854,"value":1237},{"type":849,"tag":897,"props":3558,"children":3559},{"style":1062},[3560],{"type":854,"value":1830},{"type":849,"tag":897,"props":3562,"children":3563},{"style":910},[3564],{"type":854,"value":1070},{"type":849,"tag":897,"props":3566,"children":3567},{"style":904},[3568],{"type":854,"value":1251},{"type":849,"tag":897,"props":3570,"children":3571},{"style":1073},[3572],{"type":854,"value":1843},{"type":849,"tag":897,"props":3574,"children":3575},{"style":910},[3576],{"type":854,"value":1137},{"type":849,"tag":897,"props":3578,"children":3579},{"style":932},[3580],{"type":854,"value":1852},{"type":849,"tag":897,"props":3582,"children":3583},{"style":910},[3584],{"type":854,"value":1857},{"type":854,"value":937},{"type":849,"tag":897,"props":3587,"children":3588},{"class":899,"style":900},[3589,3593,3597],{"type":849,"tag":897,"props":3590,"children":3591},{"style":916},[3592],{"type":854,"value":1866},{"type":849,"tag":897,"props":3594,"children":3595},{"style":932},[3596],{"type":854,"value":1871},{"type":849,"tag":897,"props":3598,"children":3599},{"style":910},[3600],{"type":854,"value":1099},{"type":854,"value":937},{"type":849,"tag":897,"props":3603,"children":3604},{"class":899,"style":900},[3605,3609,3613,3617,3621,3625],{"type":849,"tag":897,"props":3606,"children":3607},{"style":916},[3608],{"type":854,"value":1884},{"type":849,"tag":897,"props":3610,"children":3611},{"style":910},[3612],{"type":854,"value":913},{"type":849,"tag":897,"props":3614,"children":3615},{"style":932},[3616],{"type":854,"value":1893},{"type":849,"tag":897,"props":3618,"children":3619},{"style":916},[3620],{"type":854,"value":1188},{"type":849,"tag":897,"props":3622,"children":3623},{"style":932},[3624],{"type":854,"value":1902},{"type":849,"tag":897,"props":3626,"children":3627},{"style":910},[3628],{"type":854,"value":1907},{"type":854,"value":937},{"type":849,"tag":897,"props":3631,"children":3632},{"class":899,"style":900},[3633,3637,3641,3645,3649,3653,3657,3661],{"type":849,"tag":897,"props":3634,"children":3635},{"style":916},[3636],{"type":854,"value":1916},{"type":849,"tag":897,"props":3638,"children":3639},{"style":1062},[3640],{"type":854,"value":1921},{"type":849,"tag":897,"props":3642,"children":3643},{"style":910},[3644],{"type":854,"value":1127},{"type":849,"tag":897,"props":3646,"children":3647},{"style":1073},[3648],{"type":854,"value":1930},{"type":849,"tag":897,"props":3650,"children":3651},{"style":910},[3652],{"type":854,"value":1935},{"type":849,"tag":897,"props":3654,"children":3655},{"style":916},[3656],{"type":854,"value":1940},{"type":849,"tag":897,"props":3658,"children":3659},{"style":916},[3660],{"type":854,"value":1945},{"type":849,"tag":897,"props":3662,"children":3663},{"style":910},[3664],{"type":854,"value":1950},{"type":854,"value":937},{"type":849,"tag":897,"props":3667,"children":3668},{"class":899,"style":900},[3669],{"type":849,"tag":897,"props":3670,"children":3671},{"style":910},[3672],{"type":854,"value":1959},{"type":854,"value":937},{"type":849,"tag":897,"props":3675,"children":3676},{"class":899,"style":900},[3677,3681,3685,3689,3693,3697,3701,3705,3709,3713,3717,3721,3725,3729,3733,3737,3741,3745],{"type":849,"tag":897,"props":3678,"children":3679},{"style":904},[3680],{"type":854,"value":1296},{"type":849,"tag":897,"props":3682,"children":3683},{"style":910},[3684],{"type":854,"value":1972},{"type":849,"tag":897,"props":3686,"children":3687},{"style":916},[3688],{"type":854,"value":1977},{"type":849,"tag":897,"props":3690,"children":3691},{"style":910},[3692],{"type":854,"value":1127},{"type":849,"tag":897,"props":3694,"children":3695},{"style":916},[3696],{"type":854,"value":1986},{"type":849,"tag":897,"props":3698,"children":3699},{"style":910},[3700],{"type":854,"value":1330},{"type":849,"tag":897,"props":3702,"children":3703},{"style":904},[3704],{"type":854,"value":1995},{"type":849,"tag":897,"props":3706,"children":3707},{"style":1056},[3708],{"type":854,"value":2000},{"type":849,"tag":897,"props":3710,"children":3711},{"style":1073},[3712],{"type":854,"value":2005},{"type":849,"tag":897,"props":3714,"children":3715},{"style":910},[3716],{"type":854,"value":1137},{"type":849,"tag":897,"props":3718,"children":3719},{"style":932},[3720],{"type":854,"value":2014},{"type":849,"tag":897,"props":3722,"children":3723},{"style":1056},[3724],{"type":854,"value":2019},{"type":849,"tag":897,"props":3726,"children":3727},{"style":916},[3728],{"type":854,"value":1977},{"type":849,"tag":897,"props":3730,"children":3731},{"style":2026},[3732],{"type":854,"value":1127},{"type":849,"tag":897,"props":3734,"children":3735},{"style":916},[3736],{"type":854,"value":1315},{"type":849,"tag":897,"props":3738,"children":3739},{"style":1056},[3740],{"type":854,"value":2037},{"type":849,"tag":897,"props":3742,"children":3743},{"style":932},[3744],{"type":854,"value":2042},{"type":849,"tag":897,"props":3746,"children":3747},{"style":910},[3748],{"type":854,"value":1287},{"type":854,"value":937},{"type":849,"tag":897,"props":3751,"children":3752},{"class":899,"style":900},[3753,3757,3761,3765,3769,3773,3777,3781,3785,3789,3793,3797,3801,3805,3809],{"type":849,"tag":897,"props":3754,"children":3755},{"style":1056},[3756],{"type":854,"value":1237},{"type":849,"tag":897,"props":3758,"children":3759},{"style":910},[3760],{"type":854,"value":913},{"type":849,"tag":897,"props":3762,"children":3763},{"style":1062},[3764],{"type":854,"value":2063},{"type":849,"tag":897,"props":3766,"children":3767},{"style":910},[3768],{"type":854,"value":2068},{"type":849,"tag":897,"props":3770,"children":3771},{"style":904},[3772],{"type":854,"value":1251},{"type":849,"tag":897,"props":3774,"children":3775},{"style":916},[3776],{"type":854,"value":1830},{"type":849,"tag":897,"props":3778,"children":3779},{"style":910},[3780],{"type":854,"value":1127},{"type":849,"tag":897,"props":3782,"children":3783},{"style":1073},[3784],{"type":854,"value":2085},{"type":849,"tag":897,"props":3786,"children":3787},{"style":910},[3788],{"type":854,"value":2090},{"type":849,"tag":897,"props":3790,"children":3791},{"style":904},[3792],{"type":854,"value":2095},{"type":849,"tag":897,"props":3794,"children":3795},{"style":910},[3796],{"type":854,"value":913},{"type":849,"tag":897,"props":3798,"children":3799},{"style":916},[3800],{"type":854,"value":2063},{"type":849,"tag":897,"props":3802,"children":3803},{"style":910},[3804],{"type":854,"value":2108},{"type":849,"tag":897,"props":3806,"children":3807},{"style":2111},[3808],{"type":854,"value":2114},{"type":849,"tag":897,"props":3810,"children":3811},{"style":910},[3812],{"type":854,"value":2119},{"type":854,"value":937},{"type":849,"tag":897,"props":3815,"children":3816},{"class":899,"style":900},[3817,3821,3825,3829,3833,3837,3841,3845,3849,3853,3857,3861,3865,3869,3873],{"type":849,"tag":897,"props":3818,"children":3819},{"style":904},[3820],{"type":854,"value":1365},{"type":849,"tag":897,"props":3822,"children":3823},{"style":916},[3824],{"type":854,"value":1256},{"type":849,"tag":897,"props":3826,"children":3827},{"style":910},[3828],{"type":854,"value":1127},{"type":849,"tag":897,"props":3830,"children":3831},{"style":1073},[3832],{"type":854,"value":2140},{"type":849,"tag":897,"props":3834,"children":3835},{"style":910},[3836],{"type":854,"value":1137},{"type":849,"tag":897,"props":3838,"children":3839},{"style":916},[3840],{"type":854,"value":987},{"type":849,"tag":897,"props":3842,"children":3843},{"style":910},[3844],{"type":854,"value":1127},{"type":849,"tag":897,"props":3846,"children":3847},{"style":916},[3848],{"type":854,"value":1414},{"type":849,"tag":897,"props":3850,"children":3851},{"style":910},[3852],{"type":854,"value":1127},{"type":849,"tag":897,"props":3854,"children":3855},{"style":916},[3856],{"type":854,"value":2165},{"type":849,"tag":897,"props":3858,"children":3859},{"style":910},[3860],{"type":854,"value":1208},{"type":849,"tag":897,"props":3862,"children":3863},{"style":916},[3864],{"type":854,"value":1213},{"type":849,"tag":897,"props":3866,"children":3867},{"style":910},[3868],{"type":854,"value":863},{"type":849,"tag":897,"props":3870,"children":3871},{"style":916},[3872],{"type":854,"value":2063},{"type":849,"tag":897,"props":3874,"children":3875},{"style":910},[3876],{"type":854,"value":1436},{"type":854,"value":937},{"type":849,"tag":897,"props":3879,"children":3880},{"class":899,"style":900},[3881,3885],{"type":849,"tag":897,"props":3882,"children":3883},{"style":904},[3884],{"type":854,"value":1445},{"type":849,"tag":897,"props":3886,"children":3887},{"style":916},[3888],{"type":854,"value":3889}," summary",{"type":854,"value":937},{"type":849,"tag":897,"props":3892,"children":3893},{"class":899,"style":900},[3894],{"type":849,"tag":897,"props":3895,"children":3896},{"style":910},[3897],{"type":854,"value":1459},{"type":854,"value":937},{"type":849,"tag":897,"props":3900,"children":3901},{"class":899,"style":900},[3902],{"type":849,"tag":897,"props":3903,"children":3904},{"style":910},[3905],{"type":854,"value":1468},{"type":849,"tag":850,"props":3907,"children":3908},{},[3909],{"type":854,"value":3910},"What the check does, and what it does not do:",{"type":849,"tag":2936,"props":3912,"children":3913},{},[3914,3940,3952,3969,4006,4017,4022,4047],{"type":849,"tag":2896,"props":3915,"children":3916},{},[3917,3919,3924,3926,3931,3933,3938],{"type":854,"value":3918},"A person whose role does not allow the action gets ",{"type":849,"tag":857,"props":3920,"children":3921},{},[3922],{"type":854,"value":3923},"FORBIDDEN",{"type":854,"value":3925},". A signed-out\nvisitor gets ",{"type":849,"tag":857,"props":3927,"children":3928},{},[3929],{"type":854,"value":3930},"NOT_SIGNED_IN",{"type":854,"value":3932},", unless the action is in ",{"type":849,"tag":857,"props":3934,"children":3935},{},[3936],{"type":854,"value":3937},"public",{"type":854,"value":3939},". The handler\ndoes not run.",{"type":849,"tag":2896,"props":3941,"children":3942},{},[3943,3945,3950],{"type":854,"value":3944},"The role comes from the tenant that an ID in the arguments names. A call\nthat names no tenant needs the role outside any tenant\n(",{"type":849,"tag":857,"props":3946,"children":3947},{},[3948],{"type":854,"value":3949},"roleOf(ctx, user, null)",{"type":854,"value":3951},"), unless its action is public.",{"type":849,"tag":2896,"props":3953,"children":3954},{},[3955,3957,3962,3964,3968],{"type":854,"value":3956},"The arguments name IDs from one place, as in a mutation without\n",{"type":849,"tag":857,"props":3958,"children":3959},{},[3960],{"type":854,"value":3961},"crossTenant",{"type":854,"value":3963},". An action has no ",{"type":849,"tag":857,"props":3965,"children":3966},{},[3967],{"type":854,"value":3961},{"type":854,"value":1127},{"type":849,"tag":2896,"props":3970,"children":3971},{},[3972,3976,3978,3983,3985,3989,3990,3994,3995,3999,4000,4004],{"type":849,"tag":857,"props":3973,"children":3974},{},[3975],{"type":854,"value":3045},{"type":854,"value":3977}," is the caller that the check found. The handler has no ",{"type":849,"tag":857,"props":3979,"children":3980},{},[3981],{"type":854,"value":3982},"ctx.db",{"type":854,"value":3984},":\n",{"type":849,"tag":857,"props":3986,"children":3987},{},[3988],{"type":854,"value":2870},{"type":854,"value":863},{"type":849,"tag":857,"props":3991,"children":3992},{},[3993],{"type":854,"value":2876},{"type":854,"value":863},{"type":849,"tag":857,"props":3996,"children":3997},{},[3998],{"type":854,"value":2882},{"type":854,"value":870},{"type":849,"tag":857,"props":4001,"children":4002},{},[4003],{"type":854,"value":2888},{"type":854,"value":4005}," reach\ninternal operations as that caller, and each one checks it again.",{"type":849,"tag":2896,"props":4007,"children":4008},{},[4009,4011,4015],{"type":854,"value":4010},"The check takes the action's token. A mutation that the handler runs with\n",{"type":849,"tag":857,"props":4012,"children":4013},{},[4014],{"type":854,"value":2876},{"type":854,"value":4016}," takes no second token from the same bucket. A mutation with\nanother bucket (another action, or another tenant) takes its own token. The\ntoken stays spent when the handler fails later: an action has no transaction.",{"type":849,"tag":2896,"props":4018,"children":4019},{},[4020],{"type":854,"value":4021},"The check writes no audit row. Each audited internal mutation that the\nhandler runs writes its own row.",{"type":849,"tag":2896,"props":4023,"children":4024},{},[4025,4027,4032,4034,4039,4041,4046],{"type":854,"value":4026},"A file ID (",{"type":849,"tag":857,"props":4028,"children":4029},{},[4030],{"type":854,"value":4031},"v.id('_storage')",{"type":854,"value":4033},") names no tenant, and ",{"type":849,"tag":857,"props":4035,"children":4036},{},[4037],{"type":854,"value":4038},"ctx.storage",{"type":854,"value":4040}," reads any\nfile. Never read a file by an ID from the arguments. Take the ID from a row\nthat an internal query of the action may read, so the row rules decide:\n",{"type":849,"tag":857,"props":4042,"children":4043},{},[4044],{"type":854,"value":4045},"const { fileId } = await ctx.runQuery(internal.imports.upload, { uploadId })",{"type":854,"value":1127},{"type":849,"tag":2896,"props":4048,"children":4049},{},[4050,4052,4057],{"type":854,"value":4051},"An action is not a tool. Agents reach your application through tools only.\nIf an agent needs the same work, write a mutation with a ",{"type":849,"tag":857,"props":4053,"children":4054},{},[4055],{"type":854,"value":4056},"tool",{"type":854,"value":4058}," field that\nschedules an internal action. The internal action runs as the agent, also\nafter the agent's turn or run ended.",{"type":849,"tag":2857,"props":4060,"children":4062},{"id":4061},"raw-functions-cannot-be-reached",[4063],{"type":854,"value":4064},"Raw functions cannot be reached",{"type":849,"tag":850,"props":4066,"children":4067},{},[4068],{"type":854,"value":4069},"An operation cannot call a function built with Convex's own builders. The\ncall fails, and nothing that the call did is kept, even when the handler\ncatches the error.",{"type":849,"tag":850,"props":4071,"children":4072},{},[4073,4075,4081],{"type":854,"value":4074},"An internal or public action has no transaction. When it reaches a raw\nfunction, the raw function's writes are already committed; the action fails\nloudly. The\n",{"type":849,"tag":2848,"props":4076,"children":4078},{"href":4077},"\u002Fdocs\u002Fbuild\u002Ffunctions\u002Ftesting#no-raw-functions",[4079],{"type":854,"value":4080},"no-bypass test",{"type":854,"value":4082}," is what\nprevents this: it fails while a raw internal function exists.",{"type":849,"tag":850,"props":4084,"children":4085},{},[4086],{"type":854,"value":4087},"Component functions, such as a rate limiter or a workpool, are not your\nfunctions. They get their arguments unchanged.",{"type":849,"tag":2857,"props":4089,"children":4091},{"id":4090},"jobs",[4092],{"type":854,"value":4093},"Jobs",{"type":849,"tag":850,"props":4095,"children":4096},{},[4097,4099,4104,4106,4111],{"type":854,"value":4098},"A job is internal code that the system runs: a cron, or cleanup that the\ncron schedules. Its actor is ",{"type":849,"tag":857,"props":4100,"children":4101},{},[4102],{"type":854,"value":4103},"{ kind: 'system', job }",{"type":854,"value":4105},". It gets the database\nwithout row rules, and every run adds one row to the activity feed with the\njob's result. Return a Convex value; a result larger than 64 KiB is kept as\n",{"type":849,"tag":857,"props":4107,"children":4108},{},[4109],{"type":854,"value":4110},"{ truncated: true, bytes }",{"type":854,"value":1127},{"type":849,"tag":850,"props":4113,"children":4114},{},[4115,4117,4121,4122,4126,4127,4131,4133,4137],{"type":854,"value":4116},"A cron starts a job, not an internal operation: an internal operation needs to\nknow who acts. The job's ",{"type":849,"tag":857,"props":4118,"children":4119},{},[4120],{"type":854,"value":2870},{"type":854,"value":863},{"type":849,"tag":857,"props":4123,"children":4124},{},[4125],{"type":854,"value":2876},{"type":854,"value":863},{"type":849,"tag":857,"props":4128,"children":4129},{},[4130],{"type":854,"value":2882},{"type":854,"value":4132},"\nand ",{"type":849,"tag":857,"props":4134,"children":4135},{},[4136],{"type":854,"value":2888},{"type":854,"value":4138}," reach internal operations and internal actions as the\nsystem, as in an operation. So a cron that must call an outside service\nstarts a job, and the job schedules the internal action.",{"type":849,"tag":850,"props":4140,"children":4141},{},[4142,4144,4148,4150,4154,4156,4161],{"type":854,"value":4143},"Only a cron or another job may start a job. In an operation, an internal\noperation or an internal action, passing a job to ",{"type":849,"tag":857,"props":4145,"children":4146},{},[4147],{"type":854,"value":2876},{"type":854,"value":4149}," or\n",{"type":849,"tag":857,"props":4151,"children":4152},{},[4153],{"type":854,"value":2888},{"type":854,"value":4155}," is a type error that says so. (Without types, the call fails\nwith ",{"type":849,"tag":857,"props":4157,"children":4158},{},[4159],{"type":854,"value":4160},"Job \u003Cname> runs from a cron or another job, not from an operation.",{"type":854,"value":4162},") To\nstart system work from an operation, write a row that the job reads at its\nnext run, as a queue.",{"type":849,"tag":886,"props":4164,"children":4166},{"language":888,"filename":4165,"class":890},"convex\u002Fcleanup.ts",[4167],{"type":849,"tag":857,"props":4168,"children":4169},{"class":894},[4170,4197,4198,4201,4202,4229,4230,4266,4267,4270,4271,4329,4330,4333,4334,4342,4343,4371,4372,4389,4390,4402,4403,4438,4439,4471,4472,4497,4498,4537,4538,4546,4547,4582,4583,4616,4617,4670,4671,4679,4680,4704,4705,4784,4785,4872,4873,4904,4905,4912,4913,4920,4921,4924,4925,4933,4934,4962,4963,4995,4996,5041,5042,5078,5079,5094,5095,5122,5123,5176,5177,5184,5185,5261,5262,5273,5274,5281,5282],{"type":849,"tag":897,"props":4171,"children":4172},{"class":899,"style":900},[4173,4177,4181,4185,4189,4193],{"type":849,"tag":897,"props":4174,"children":4175},{"style":904},[4176],{"type":854,"value":907},{"type":849,"tag":897,"props":4178,"children":4179},{"style":910},[4180],{"type":854,"value":913},{"type":849,"tag":897,"props":4182,"children":4183},{"style":916},[4184],{"type":854,"value":953},{"type":849,"tag":897,"props":4186,"children":4187},{"style":910},[4188],{"type":854,"value":924},{"type":849,"tag":897,"props":4190,"children":4191},{"style":904},[4192],{"type":854,"value":929},{"type":849,"tag":897,"props":4194,"children":4195},{"style":932},[4196],{"type":854,"value":966},{"type":854,"value":937},{"type":849,"tag":897,"props":4199,"children":4200},{"class":899,"style":900},[],{"type":854,"value":937},{"type":849,"tag":897,"props":4203,"children":4204},{"class":899,"style":900},[4205,4209,4213,4217,4221,4225],{"type":849,"tag":897,"props":4206,"children":4207},{"style":904},[4208],{"type":854,"value":907},{"type":849,"tag":897,"props":4210,"children":4211},{"style":910},[4212],{"type":854,"value":913},{"type":849,"tag":897,"props":4214,"children":4215},{"style":916},[4216],{"type":854,"value":987},{"type":849,"tag":897,"props":4218,"children":4219},{"style":910},[4220],{"type":854,"value":924},{"type":849,"tag":897,"props":4222,"children":4223},{"style":904},[4224],{"type":854,"value":929},{"type":849,"tag":897,"props":4226,"children":4227},{"style":932},[4228],{"type":854,"value":1000},{"type":854,"value":937},{"type":849,"tag":897,"props":4231,"children":4232},{"class":899,"style":900},[4233,4237,4241,4245,4249,4254,4258,4262],{"type":849,"tag":897,"props":4234,"children":4235},{"style":904},[4236],{"type":854,"value":907},{"type":849,"tag":897,"props":4238,"children":4239},{"style":910},[4240],{"type":854,"value":913},{"type":849,"tag":897,"props":4242,"children":4243},{"style":916},[4244],{"type":854,"value":875},{"type":849,"tag":897,"props":4246,"children":4247},{"style":910},[4248],{"type":854,"value":863},{"type":849,"tag":897,"props":4250,"children":4251},{"style":916},[4252],{"type":854,"value":4253},"job",{"type":849,"tag":897,"props":4255,"children":4256},{"style":910},[4257],{"type":854,"value":924},{"type":849,"tag":897,"props":4259,"children":4260},{"style":904},[4261],{"type":854,"value":929},{"type":849,"tag":897,"props":4263,"children":4264},{"style":932},[4265],{"type":854,"value":1030},{"type":854,"value":937},{"type":849,"tag":897,"props":4268,"children":4269},{"class":899,"style":900},[],{"type":854,"value":937},{"type":849,"tag":897,"props":4272,"children":4273},{"class":899,"style":900},[4274,4279,4284,4288,4293,4298,4303,4307,4312,4316,4320,4324],{"type":849,"tag":897,"props":4275,"children":4276},{"style":1056},[4277],{"type":854,"value":4278},"const",{"type":849,"tag":897,"props":4280,"children":4281},{"style":1062},[4282],{"type":854,"value":4283}," year",{"type":849,"tag":897,"props":4285,"children":4286},{"style":910},[4287],{"type":854,"value":1070},{"type":849,"tag":897,"props":4289,"children":4290},{"style":1394},[4291],{"type":854,"value":4292},"365",{"type":849,"tag":897,"props":4294,"children":4295},{"style":910},[4296],{"type":854,"value":4297}," * ",{"type":849,"tag":897,"props":4299,"children":4300},{"style":1394},[4301],{"type":854,"value":4302},"24",{"type":849,"tag":897,"props":4304,"children":4305},{"style":910},[4306],{"type":854,"value":4297},{"type":849,"tag":897,"props":4308,"children":4309},{"style":1394},[4310],{"type":854,"value":4311},"60",{"type":849,"tag":897,"props":4313,"children":4314},{"style":910},[4315],{"type":854,"value":4297},{"type":849,"tag":897,"props":4317,"children":4318},{"style":1394},[4319],{"type":854,"value":4311},{"type":849,"tag":897,"props":4321,"children":4322},{"style":910},[4323],{"type":854,"value":4297},{"type":849,"tag":897,"props":4325,"children":4326},{"style":1394},[4327],{"type":854,"value":4328},"1000",{"type":854,"value":937},{"type":849,"tag":897,"props":4331,"children":4332},{"class":899,"style":900},[],{"type":854,"value":937},{"type":849,"tag":897,"props":4335,"children":4336},{"class":899,"style":900},[4337],{"type":849,"tag":897,"props":4338,"children":4339},{"style":1041},[4340],{"type":854,"value":4341},"\u002F** Deletes projects that were archived more than a year ago. *\u002F",{"type":854,"value":937},{"type":849,"tag":897,"props":4344,"children":4345},{"class":899,"style":900},[4346,4350,4354,4359,4363,4367],{"type":849,"tag":897,"props":4347,"children":4348},{"style":904},[4349],{"type":854,"value":1053},{"type":849,"tag":897,"props":4351,"children":4352},{"style":1056},[4353],{"type":854,"value":1059},{"type":849,"tag":897,"props":4355,"children":4356},{"style":1062},[4357],{"type":854,"value":4358}," removeOldProjects",{"type":849,"tag":897,"props":4360,"children":4361},{"style":910},[4362],{"type":854,"value":1070},{"type":849,"tag":897,"props":4364,"children":4365},{"style":1073},[4366],{"type":854,"value":4253},{"type":849,"tag":897,"props":4368,"children":4369},{"style":910},[4370],{"type":854,"value":1080},{"type":854,"value":937},{"type":849,"tag":897,"props":4373,"children":4374},{"class":899,"style":900},[4375,4380,4385],{"type":849,"tag":897,"props":4376,"children":4377},{"style":916},[4378],{"type":854,"value":4379},"  name:",{"type":849,"tag":897,"props":4381,"children":4382},{"style":932},[4383],{"type":854,"value":4384}," 'removeOldProjects'",{"type":849,"tag":897,"props":4386,"children":4387},{"style":910},[4388],{"type":854,"value":1099},{"type":854,"value":937},{"type":849,"tag":897,"props":4391,"children":4392},{"class":899,"style":900},[4393,4397],{"type":849,"tag":897,"props":4394,"children":4395},{"style":916},[4396],{"type":854,"value":1108},{"type":849,"tag":897,"props":4398,"children":4399},{"style":910},[4400],{"type":854,"value":4401}," {},",{"type":854,"value":937},{"type":849,"tag":897,"props":4404,"children":4405},{"class":899,"style":900},[4406,4410,4414,4418,4422,4426,4430,4434],{"type":849,"tag":897,"props":4407,"children":4408},{"style":1073},[4409],{"type":854,"value":1183},{"type":849,"tag":897,"props":4411,"children":4412},{"style":916},[4413],{"type":854,"value":1188},{"type":849,"tag":897,"props":4415,"children":4416},{"style":1056},[4417],{"type":854,"value":1193},{"type":849,"tag":897,"props":4419,"children":4420},{"style":910},[4421],{"type":854,"value":1198},{"type":849,"tag":897,"props":4423,"children":4424},{"style":916},[4425],{"type":854,"value":1203},{"type":849,"tag":897,"props":4427,"children":4428},{"style":910},[4429],{"type":854,"value":1330},{"type":849,"tag":897,"props":4431,"children":4432},{"style":1056},[4433],{"type":854,"value":1223},{"type":849,"tag":897,"props":4435,"children":4436},{"style":910},[4437],{"type":854,"value":1228},{"type":854,"value":937},{"type":849,"tag":897,"props":4440,"children":4441},{"class":899,"style":900},[4442,4446,4451,4455,4459,4463,4467],{"type":849,"tag":897,"props":4443,"children":4444},{"style":1056},[4445],{"type":854,"value":1237},{"type":849,"tag":897,"props":4447,"children":4448},{"style":1062},[4449],{"type":854,"value":4450}," old",{"type":849,"tag":897,"props":4452,"children":4453},{"style":910},[4454],{"type":854,"value":1070},{"type":849,"tag":897,"props":4456,"children":4457},{"style":904},[4458],{"type":854,"value":1251},{"type":849,"tag":897,"props":4460,"children":4461},{"style":916},[4462],{"type":854,"value":1256},{"type":849,"tag":897,"props":4464,"children":4465},{"style":910},[4466],{"type":854,"value":1127},{"type":849,"tag":897,"props":4468,"children":4469},{"style":916},[4470],{"type":854,"value":1265},{"type":854,"value":937},{"type":849,"tag":897,"props":4473,"children":4474},{"class":899,"style":900},[4475,4480,4485,4489,4493],{"type":849,"tag":897,"props":4476,"children":4477},{"style":910},[4478],{"type":854,"value":4479},"      .",{"type":849,"tag":897,"props":4481,"children":4482},{"style":1073},[4483],{"type":854,"value":4484},"query",{"type":849,"tag":897,"props":4486,"children":4487},{"style":910},[4488],{"type":854,"value":1137},{"type":849,"tag":897,"props":4490,"children":4491},{"style":932},[4492],{"type":854,"value":1142},{"type":849,"tag":897,"props":4494,"children":4495},{"style":910},[4496],{"type":854,"value":1287},{"type":854,"value":937},{"type":849,"tag":897,"props":4499,"children":4500},{"class":899,"style":900},[4501,4505,4510,4514,4519,4524,4529,4533],{"type":849,"tag":897,"props":4502,"children":4503},{"style":910},[4504],{"type":854,"value":4479},{"type":849,"tag":897,"props":4506,"children":4507},{"style":1073},[4508],{"type":854,"value":4509},"withIndex",{"type":849,"tag":897,"props":4511,"children":4512},{"style":910},[4513],{"type":854,"value":1137},{"type":849,"tag":897,"props":4515,"children":4516},{"style":932},[4517],{"type":854,"value":4518},"'by_status_archived'",{"type":849,"tag":897,"props":4520,"children":4521},{"style":910},[4522],{"type":854,"value":4523},", (",{"type":849,"tag":897,"props":4525,"children":4526},{"style":916},[4527],{"type":854,"value":4528},"q",{"type":849,"tag":897,"props":4530,"children":4531},{"style":910},[4532],{"type":854,"value":1330},{"type":849,"tag":897,"props":4534,"children":4535},{"style":1056},[4536],{"type":854,"value":1223},{"type":854,"value":937},{"type":849,"tag":897,"props":4539,"children":4540},{"class":899,"style":900},[4541],{"type":849,"tag":897,"props":4542,"children":4543},{"style":916},[4544],{"type":854,"value":4545},"        q",{"type":854,"value":937},{"type":849,"tag":897,"props":4548,"children":4549},{"class":899,"style":900},[4550,4555,4560,4564,4569,4573,4578],{"type":849,"tag":897,"props":4551,"children":4552},{"style":910},[4553],{"type":854,"value":4554},"          .",{"type":849,"tag":897,"props":4556,"children":4557},{"style":1073},[4558],{"type":854,"value":4559},"eq",{"type":849,"tag":897,"props":4561,"children":4562},{"style":910},[4563],{"type":854,"value":1137},{"type":849,"tag":897,"props":4565,"children":4566},{"style":932},[4567],{"type":854,"value":4568},"'status'",{"type":849,"tag":897,"props":4570,"children":4571},{"style":910},[4572],{"type":854,"value":863},{"type":849,"tag":897,"props":4574,"children":4575},{"style":932},[4576],{"type":854,"value":4577},"'archived'",{"type":849,"tag":897,"props":4579,"children":4580},{"style":910},[4581],{"type":854,"value":1287},{"type":854,"value":937},{"type":849,"tag":897,"props":4584,"children":4585},{"class":899,"style":900},[4586,4590,4595,4599,4604,4608,4612],{"type":849,"tag":897,"props":4587,"children":4588},{"style":910},[4589],{"type":854,"value":4554},{"type":849,"tag":897,"props":4591,"children":4592},{"style":1073},[4593],{"type":854,"value":4594},"gt",{"type":849,"tag":897,"props":4596,"children":4597},{"style":910},[4598],{"type":854,"value":1137},{"type":849,"tag":897,"props":4600,"children":4601},{"style":932},[4602],{"type":854,"value":4603},"'archivedAt'",{"type":849,"tag":897,"props":4605,"children":4606},{"style":910},[4607],{"type":854,"value":863},{"type":849,"tag":897,"props":4609,"children":4610},{"style":1394},[4611],{"type":854,"value":1397},{"type":849,"tag":897,"props":4613,"children":4614},{"style":910},[4615],{"type":854,"value":1287},{"type":854,"value":937},{"type":849,"tag":897,"props":4618,"children":4619},{"class":899,"style":900},[4620,4624,4629,4633,4637,4641,4646,4650,4655,4660,4665],{"type":849,"tag":897,"props":4621,"children":4622},{"style":910},[4623],{"type":854,"value":4554},{"type":849,"tag":897,"props":4625,"children":4626},{"style":1073},[4627],{"type":854,"value":4628},"lt",{"type":849,"tag":897,"props":4630,"children":4631},{"style":910},[4632],{"type":854,"value":1137},{"type":849,"tag":897,"props":4634,"children":4635},{"style":932},[4636],{"type":854,"value":4603},{"type":849,"tag":897,"props":4638,"children":4639},{"style":910},[4640],{"type":854,"value":863},{"type":849,"tag":897,"props":4642,"children":4643},{"style":916},[4644],{"type":854,"value":4645},"Date",{"type":849,"tag":897,"props":4647,"children":4648},{"style":910},[4649],{"type":854,"value":1127},{"type":849,"tag":897,"props":4651,"children":4652},{"style":1073},[4653],{"type":854,"value":4654},"now",{"type":849,"tag":897,"props":4656,"children":4657},{"style":910},[4658],{"type":854,"value":4659},"() - ",{"type":849,"tag":897,"props":4661,"children":4662},{"style":916},[4663],{"type":854,"value":4664},"year",{"type":849,"tag":897,"props":4666,"children":4667},{"style":910},[4668],{"type":854,"value":4669},"),",{"type":854,"value":937},{"type":849,"tag":897,"props":4672,"children":4673},{"class":899,"style":900},[4674],{"type":849,"tag":897,"props":4675,"children":4676},{"style":910},[4677],{"type":854,"value":4678},"      )",{"type":854,"value":937},{"type":849,"tag":897,"props":4681,"children":4682},{"class":899,"style":900},[4683,4687,4692,4696,4700],{"type":849,"tag":897,"props":4684,"children":4685},{"style":910},[4686],{"type":854,"value":4479},{"type":849,"tag":897,"props":4688,"children":4689},{"style":1073},[4690],{"type":854,"value":4691},"take",{"type":849,"tag":897,"props":4693,"children":4694},{"style":910},[4695],{"type":854,"value":1137},{"type":849,"tag":897,"props":4697,"children":4698},{"style":1394},[4699],{"type":854,"value":2802},{"type":849,"tag":897,"props":4701,"children":4702},{"style":910},[4703],{"type":854,"value":1287},{"type":854,"value":937},{"type":849,"tag":897,"props":4706,"children":4707},{"class":899,"style":900},[4708,4713,4717,4721,4725,4730,4734,4738,4742,4746,4750,4754,4758,4763,4767,4771,4775,4780],{"type":849,"tag":897,"props":4709,"children":4710},{"style":904},[4711],{"type":854,"value":4712},"    for",{"type":849,"tag":897,"props":4714,"children":4715},{"style":910},[4716],{"type":854,"value":1198},{"type":849,"tag":897,"props":4718,"children":4719},{"style":1056},[4720],{"type":854,"value":4278},{"type":849,"tag":897,"props":4722,"children":4723},{"style":1062},[4724],{"type":854,"value":1242},{"type":849,"tag":897,"props":4726,"children":4727},{"style":1056},[4728],{"type":854,"value":4729}," of",{"type":849,"tag":897,"props":4731,"children":4732},{"style":916},[4733],{"type":854,"value":4450},{"type":849,"tag":897,"props":4735,"children":4736},{"style":910},[4737],{"type":854,"value":1330},{"type":849,"tag":897,"props":4739,"children":4740},{"style":904},[4741],{"type":854,"value":1251},{"type":849,"tag":897,"props":4743,"children":4744},{"style":916},[4745],{"type":854,"value":1256},{"type":849,"tag":897,"props":4747,"children":4748},{"style":910},[4749],{"type":854,"value":1127},{"type":849,"tag":897,"props":4751,"children":4752},{"style":916},[4753],{"type":854,"value":1265},{"type":849,"tag":897,"props":4755,"children":4756},{"style":910},[4757],{"type":854,"value":1127},{"type":849,"tag":897,"props":4759,"children":4760},{"style":1073},[4761],{"type":854,"value":4762},"delete",{"type":849,"tag":897,"props":4764,"children":4765},{"style":910},[4766],{"type":854,"value":1137},{"type":849,"tag":897,"props":4768,"children":4769},{"style":916},[4770],{"type":854,"value":1305},{"type":849,"tag":897,"props":4772,"children":4773},{"style":910},[4774],{"type":854,"value":1127},{"type":849,"tag":897,"props":4776,"children":4777},{"style":916},[4778],{"type":854,"value":4779},"_id",{"type":849,"tag":897,"props":4781,"children":4782},{"style":910},[4783],{"type":854,"value":1287},{"type":854,"value":937},{"type":849,"tag":897,"props":4786,"children":4787},{"class":899,"style":900},[4788,4792,4796,4800,4804,4808,4812,4816,4820,4824,4828,4832,4837,4841,4846,4850,4855,4859,4863,4868],{"type":849,"tag":897,"props":4789,"children":4790},{"style":904},[4791],{"type":854,"value":1365},{"type":849,"tag":897,"props":4793,"children":4794},{"style":916},[4795],{"type":854,"value":1256},{"type":849,"tag":897,"props":4797,"children":4798},{"style":910},[4799],{"type":854,"value":1127},{"type":849,"tag":897,"props":4801,"children":4802},{"style":916},[4803],{"type":854,"value":1378},{"type":849,"tag":897,"props":4805,"children":4806},{"style":910},[4807],{"type":854,"value":1127},{"type":849,"tag":897,"props":4809,"children":4810},{"style":1073},[4811],{"type":854,"value":1387},{"type":849,"tag":897,"props":4813,"children":4814},{"style":910},[4815],{"type":854,"value":1137},{"type":849,"tag":897,"props":4817,"children":4818},{"style":1394},[4819],{"type":854,"value":1397},{"type":849,"tag":897,"props":4821,"children":4822},{"style":910},[4823],{"type":854,"value":863},{"type":849,"tag":897,"props":4825,"children":4826},{"style":916},[4827],{"type":854,"value":987},{"type":849,"tag":897,"props":4829,"children":4830},{"style":910},[4831],{"type":854,"value":1127},{"type":849,"tag":897,"props":4833,"children":4834},{"style":916},[4835],{"type":854,"value":4836},"cleanup",{"type":849,"tag":897,"props":4838,"children":4839},{"style":910},[4840],{"type":854,"value":1127},{"type":849,"tag":897,"props":4842,"children":4843},{"style":916},[4844],{"type":854,"value":4845},"report",{"type":849,"tag":897,"props":4847,"children":4848},{"style":910},[4849],{"type":854,"value":1208},{"type":849,"tag":897,"props":4851,"children":4852},{"style":916},[4853],{"type":854,"value":4854},"removed:",{"type":849,"tag":897,"props":4856,"children":4857},{"style":916},[4858],{"type":854,"value":4450},{"type":849,"tag":897,"props":4860,"children":4861},{"style":910},[4862],{"type":854,"value":1127},{"type":849,"tag":897,"props":4864,"children":4865},{"style":916},[4866],{"type":854,"value":4867},"length",{"type":849,"tag":897,"props":4869,"children":4870},{"style":910},[4871],{"type":854,"value":1436},{"type":854,"value":937},{"type":849,"tag":897,"props":4874,"children":4875},{"class":899,"style":900},[4876,4880,4884,4888,4892,4896,4900],{"type":849,"tag":897,"props":4877,"children":4878},{"style":904},[4879],{"type":854,"value":1445},{"type":849,"tag":897,"props":4881,"children":4882},{"style":910},[4883],{"type":854,"value":913},{"type":849,"tag":897,"props":4885,"children":4886},{"style":916},[4887],{"type":854,"value":4854},{"type":849,"tag":897,"props":4889,"children":4890},{"style":916},[4891],{"type":854,"value":4450},{"type":849,"tag":897,"props":4893,"children":4894},{"style":910},[4895],{"type":854,"value":1127},{"type":849,"tag":897,"props":4897,"children":4898},{"style":916},[4899],{"type":854,"value":4867},{"type":849,"tag":897,"props":4901,"children":4902},{"style":910},[4903],{"type":854,"value":2119},{"type":854,"value":937},{"type":849,"tag":897,"props":4906,"children":4907},{"class":899,"style":900},[4908],{"type":849,"tag":897,"props":4909,"children":4910},{"style":910},[4911],{"type":854,"value":1459},{"type":854,"value":937},{"type":849,"tag":897,"props":4914,"children":4915},{"class":899,"style":900},[4916],{"type":849,"tag":897,"props":4917,"children":4918},{"style":910},[4919],{"type":854,"value":1468},{"type":854,"value":937},{"type":849,"tag":897,"props":4922,"children":4923},{"class":899,"style":900},[],{"type":854,"value":937},{"type":849,"tag":897,"props":4926,"children":4927},{"class":899,"style":900},[4928],{"type":849,"tag":897,"props":4929,"children":4930},{"style":1041},[4931],{"type":854,"value":4932},"\u002F** Tells the team chat how many projects the cleanup removed. *\u002F",{"type":854,"value":937},{"type":849,"tag":897,"props":4935,"children":4936},{"class":899,"style":900},[4937,4941,4945,4950,4954,4958],{"type":849,"tag":897,"props":4938,"children":4939},{"style":904},[4940],{"type":854,"value":1053},{"type":849,"tag":897,"props":4942,"children":4943},{"style":1056},[4944],{"type":854,"value":1059},{"type":849,"tag":897,"props":4946,"children":4947},{"style":1062},[4948],{"type":854,"value":4949}," report",{"type":849,"tag":897,"props":4951,"children":4952},{"style":910},[4953],{"type":854,"value":1070},{"type":849,"tag":897,"props":4955,"children":4956},{"style":1073},[4957],{"type":854,"value":875},{"type":849,"tag":897,"props":4959,"children":4960},{"style":910},[4961],{"type":854,"value":1080},{"type":854,"value":937},{"type":849,"tag":897,"props":4964,"children":4965},{"class":899,"style":900},[4966,4970,4974,4978,4982,4986,4991],{"type":849,"tag":897,"props":4967,"children":4968},{"style":916},[4969],{"type":854,"value":1108},{"type":849,"tag":897,"props":4971,"children":4972},{"style":910},[4973],{"type":854,"value":913},{"type":849,"tag":897,"props":4975,"children":4976},{"style":916},[4977],{"type":854,"value":4854},{"type":849,"tag":897,"props":4979,"children":4980},{"style":916},[4981],{"type":854,"value":1122},{"type":849,"tag":897,"props":4983,"children":4984},{"style":910},[4985],{"type":854,"value":1127},{"type":849,"tag":897,"props":4987,"children":4988},{"style":1073},[4989],{"type":854,"value":4990},"number",{"type":849,"tag":897,"props":4992,"children":4993},{"style":910},[4994],{"type":854,"value":2650},{"type":854,"value":937},{"type":849,"tag":897,"props":4997,"children":4998},{"class":899,"style":900},[4999,5003,5007,5011,5015,5020,5024,5029,5033,5037],{"type":849,"tag":897,"props":5000,"children":5001},{"style":1073},[5002],{"type":854,"value":1183},{"type":849,"tag":897,"props":5004,"children":5005},{"style":916},[5006],{"type":854,"value":1188},{"type":849,"tag":897,"props":5008,"children":5009},{"style":1056},[5010],{"type":854,"value":1193},{"type":849,"tag":897,"props":5012,"children":5013},{"style":910},[5014],{"type":854,"value":1198},{"type":849,"tag":897,"props":5016,"children":5017},{"style":916},[5018],{"type":854,"value":5019},"_ctx",{"type":849,"tag":897,"props":5021,"children":5022},{"style":910},[5023],{"type":854,"value":1208},{"type":849,"tag":897,"props":5025,"children":5026},{"style":916},[5027],{"type":854,"value":5028},"removed",{"type":849,"tag":897,"props":5030,"children":5031},{"style":910},[5032],{"type":854,"value":1218},{"type":849,"tag":897,"props":5034,"children":5035},{"style":1056},[5036],{"type":854,"value":1223},{"type":849,"tag":897,"props":5038,"children":5039},{"style":910},[5040],{"type":854,"value":1228},{"type":854,"value":937},{"type":849,"tag":897,"props":5043,"children":5044},{"class":899,"style":900},[5045,5049,5053,5057,5061,5065,5069,5074],{"type":849,"tag":897,"props":5046,"children":5047},{"style":1056},[5048],{"type":854,"value":1237},{"type":849,"tag":897,"props":5050,"children":5051},{"style":1062},[5052],{"type":854,"value":1830},{"type":849,"tag":897,"props":5054,"children":5055},{"style":910},[5056],{"type":854,"value":1070},{"type":849,"tag":897,"props":5058,"children":5059},{"style":904},[5060],{"type":854,"value":1251},{"type":849,"tag":897,"props":5062,"children":5063},{"style":1073},[5064],{"type":854,"value":1843},{"type":849,"tag":897,"props":5066,"children":5067},{"style":910},[5068],{"type":854,"value":1137},{"type":849,"tag":897,"props":5070,"children":5071},{"style":932},[5072],{"type":854,"value":5073},"'https:\u002F\u002Fchat.example.com\u002Fhooks\u002Fcleanup'",{"type":849,"tag":897,"props":5075,"children":5076},{"style":910},[5077],{"type":854,"value":1857},{"type":854,"value":937},{"type":849,"tag":897,"props":5080,"children":5081},{"class":899,"style":900},[5082,5086,5090],{"type":849,"tag":897,"props":5083,"children":5084},{"style":916},[5085],{"type":854,"value":1866},{"type":849,"tag":897,"props":5087,"children":5088},{"style":932},[5089],{"type":854,"value":1871},{"type":849,"tag":897,"props":5091,"children":5092},{"style":910},[5093],{"type":854,"value":1099},{"type":854,"value":937},{"type":849,"tag":897,"props":5096,"children":5097},{"class":899,"style":900},[5098,5102,5106,5110,5114,5118],{"type":849,"tag":897,"props":5099,"children":5100},{"style":916},[5101],{"type":854,"value":1884},{"type":849,"tag":897,"props":5103,"children":5104},{"style":910},[5105],{"type":854,"value":913},{"type":849,"tag":897,"props":5107,"children":5108},{"style":932},[5109],{"type":854,"value":1893},{"type":849,"tag":897,"props":5111,"children":5112},{"style":916},[5113],{"type":854,"value":1188},{"type":849,"tag":897,"props":5115,"children":5116},{"style":932},[5117],{"type":854,"value":1902},{"type":849,"tag":897,"props":5119,"children":5120},{"style":910},[5121],{"type":854,"value":1907},{"type":854,"value":937},{"type":849,"tag":897,"props":5124,"children":5125},{"class":899,"style":900},[5126,5130,5134,5138,5142,5146,5150,5155,5159,5163,5167,5172],{"type":849,"tag":897,"props":5127,"children":5128},{"style":916},[5129],{"type":854,"value":1916},{"type":849,"tag":897,"props":5131,"children":5132},{"style":1062},[5133],{"type":854,"value":1921},{"type":849,"tag":897,"props":5135,"children":5136},{"style":910},[5137],{"type":854,"value":1127},{"type":849,"tag":897,"props":5139,"children":5140},{"style":1073},[5141],{"type":854,"value":1930},{"type":849,"tag":897,"props":5143,"children":5144},{"style":910},[5145],{"type":854,"value":1935},{"type":849,"tag":897,"props":5147,"children":5148},{"style":916},[5149],{"type":854,"value":1940},{"type":849,"tag":897,"props":5151,"children":5152},{"style":932},[5153],{"type":854,"value":5154}," `Removed ",{"type":849,"tag":897,"props":5156,"children":5157},{"style":1056},[5158],{"type":854,"value":2019},{"type":849,"tag":897,"props":5160,"children":5161},{"style":916},[5162],{"type":854,"value":5028},{"type":849,"tag":897,"props":5164,"children":5165},{"style":1056},[5166],{"type":854,"value":2037},{"type":849,"tag":897,"props":5168,"children":5169},{"style":932},[5170],{"type":854,"value":5171}," archived projects.`",{"type":849,"tag":897,"props":5173,"children":5174},{"style":910},[5175],{"type":854,"value":1950},{"type":854,"value":937},{"type":849,"tag":897,"props":5178,"children":5179},{"class":899,"style":900},[5180],{"type":849,"tag":897,"props":5181,"children":5182},{"style":910},[5183],{"type":854,"value":1959},{"type":854,"value":937},{"type":849,"tag":897,"props":5186,"children":5187},{"class":899,"style":900},[5188,5192,5196,5200,5204,5208,5212,5216,5220,5224,5228,5233,5237,5241,5245,5249,5253,5257],{"type":849,"tag":897,"props":5189,"children":5190},{"style":904},[5191],{"type":854,"value":1296},{"type":849,"tag":897,"props":5193,"children":5194},{"style":910},[5195],{"type":854,"value":1972},{"type":849,"tag":897,"props":5197,"children":5198},{"style":916},[5199],{"type":854,"value":1977},{"type":849,"tag":897,"props":5201,"children":5202},{"style":910},[5203],{"type":854,"value":1127},{"type":849,"tag":897,"props":5205,"children":5206},{"style":916},[5207],{"type":854,"value":1986},{"type":849,"tag":897,"props":5209,"children":5210},{"style":910},[5211],{"type":854,"value":1330},{"type":849,"tag":897,"props":5213,"children":5214},{"style":904},[5215],{"type":854,"value":1995},{"type":849,"tag":897,"props":5217,"children":5218},{"style":1056},[5219],{"type":854,"value":2000},{"type":849,"tag":897,"props":5221,"children":5222},{"style":1073},[5223],{"type":854,"value":2005},{"type":849,"tag":897,"props":5225,"children":5226},{"style":910},[5227],{"type":854,"value":1137},{"type":849,"tag":897,"props":5229,"children":5230},{"style":932},[5231],{"type":854,"value":5232},"`The chat answered ",{"type":849,"tag":897,"props":5234,"children":5235},{"style":1056},[5236],{"type":854,"value":2019},{"type":849,"tag":897,"props":5238,"children":5239},{"style":916},[5240],{"type":854,"value":1977},{"type":849,"tag":897,"props":5242,"children":5243},{"style":2026},[5244],{"type":854,"value":1127},{"type":849,"tag":897,"props":5246,"children":5247},{"style":916},[5248],{"type":854,"value":1315},{"type":849,"tag":897,"props":5250,"children":5251},{"style":1056},[5252],{"type":854,"value":2037},{"type":849,"tag":897,"props":5254,"children":5255},{"style":932},[5256],{"type":854,"value":2042},{"type":849,"tag":897,"props":5258,"children":5259},{"style":910},[5260],{"type":854,"value":1287},{"type":854,"value":937},{"type":849,"tag":897,"props":5263,"children":5264},{"class":899,"style":900},[5265,5269],{"type":849,"tag":897,"props":5266,"children":5267},{"style":904},[5268],{"type":854,"value":1445},{"type":849,"tag":897,"props":5270,"children":5271},{"style":1056},[5272],{"type":854,"value":1450},{"type":854,"value":937},{"type":849,"tag":897,"props":5275,"children":5276},{"class":899,"style":900},[5277],{"type":849,"tag":897,"props":5278,"children":5279},{"style":910},[5280],{"type":854,"value":1459},{"type":854,"value":937},{"type":849,"tag":897,"props":5283,"children":5284},{"class":899,"style":900},[5285],{"type":849,"tag":897,"props":5286,"children":5287},{"style":910},[5288],{"type":854,"value":1468},{"type":849,"tag":886,"props":5290,"children":5292},{"language":888,"filename":5291,"class":890},"convex\u002Fcrons.ts",[5293],{"type":849,"tag":857,"props":5294,"children":5295},{"class":894},[5296,5325,5326,5329,5330,5357,5358,5361,5362,5387,5388,5409,5410,5422,5423,5459,5460,5489,5490,5498,5499,5506,5507,5510,5511],{"type":849,"tag":897,"props":5297,"children":5298},{"class":899,"style":900},[5299,5303,5307,5312,5316,5320],{"type":849,"tag":897,"props":5300,"children":5301},{"style":904},[5302],{"type":854,"value":907},{"type":849,"tag":897,"props":5304,"children":5305},{"style":910},[5306],{"type":854,"value":913},{"type":849,"tag":897,"props":5308,"children":5309},{"style":916},[5310],{"type":854,"value":5311},"cronJobs",{"type":849,"tag":897,"props":5313,"children":5314},{"style":910},[5315],{"type":854,"value":924},{"type":849,"tag":897,"props":5317,"children":5318},{"style":904},[5319],{"type":854,"value":929},{"type":849,"tag":897,"props":5321,"children":5322},{"style":932},[5323],{"type":854,"value":5324}," 'convex\u002Fserver'",{"type":854,"value":937},{"type":849,"tag":897,"props":5327,"children":5328},{"class":899,"style":900},[],{"type":854,"value":937},{"type":849,"tag":897,"props":5331,"children":5332},{"class":899,"style":900},[5333,5337,5341,5345,5349,5353],{"type":849,"tag":897,"props":5334,"children":5335},{"style":904},[5336],{"type":854,"value":907},{"type":849,"tag":897,"props":5338,"children":5339},{"style":910},[5340],{"type":854,"value":913},{"type":849,"tag":897,"props":5342,"children":5343},{"style":916},[5344],{"type":854,"value":987},{"type":849,"tag":897,"props":5346,"children":5347},{"style":910},[5348],{"type":854,"value":924},{"type":849,"tag":897,"props":5350,"children":5351},{"style":904},[5352],{"type":854,"value":929},{"type":849,"tag":897,"props":5354,"children":5355},{"style":932},[5356],{"type":854,"value":1000},{"type":854,"value":937},{"type":849,"tag":897,"props":5359,"children":5360},{"class":899,"style":900},[],{"type":854,"value":937},{"type":849,"tag":897,"props":5363,"children":5364},{"class":899,"style":900},[5365,5369,5374,5378,5382],{"type":849,"tag":897,"props":5366,"children":5367},{"style":1056},[5368],{"type":854,"value":4278},{"type":849,"tag":897,"props":5370,"children":5371},{"style":1062},[5372],{"type":854,"value":5373}," crons",{"type":849,"tag":897,"props":5375,"children":5376},{"style":910},[5377],{"type":854,"value":1070},{"type":849,"tag":897,"props":5379,"children":5380},{"style":1073},[5381],{"type":854,"value":5311},{"type":849,"tag":897,"props":5383,"children":5384},{"style":910},[5385],{"type":854,"value":5386},"()",{"type":854,"value":937},{"type":849,"tag":897,"props":5389,"children":5390},{"class":899,"style":900},[5391,5396,5400,5405],{"type":849,"tag":897,"props":5392,"children":5393},{"style":916},[5394],{"type":854,"value":5395},"crons",{"type":849,"tag":897,"props":5397,"children":5398},{"style":910},[5399],{"type":854,"value":1127},{"type":849,"tag":897,"props":5401,"children":5402},{"style":1073},[5403],{"type":854,"value":5404},"daily",{"type":849,"tag":897,"props":5406,"children":5407},{"style":910},[5408],{"type":854,"value":1137},{"type":854,"value":937},{"type":849,"tag":897,"props":5411,"children":5412},{"class":899,"style":900},[5413,5418],{"type":849,"tag":897,"props":5414,"children":5415},{"style":932},[5416],{"type":854,"value":5417},"  'remove old projects'",{"type":849,"tag":897,"props":5419,"children":5420},{"style":910},[5421],{"type":854,"value":1099},{"type":854,"value":937},{"type":849,"tag":897,"props":5424,"children":5425},{"class":899,"style":900},[5426,5431,5436,5441,5445,5450,5455],{"type":849,"tag":897,"props":5427,"children":5428},{"style":910},[5429],{"type":854,"value":5430},"  { ",{"type":849,"tag":897,"props":5432,"children":5433},{"style":916},[5434],{"type":854,"value":5435},"hourUTC:",{"type":849,"tag":897,"props":5437,"children":5438},{"style":1394},[5439],{"type":854,"value":5440}," 3",{"type":849,"tag":897,"props":5442,"children":5443},{"style":910},[5444],{"type":854,"value":863},{"type":849,"tag":897,"props":5446,"children":5447},{"style":916},[5448],{"type":854,"value":5449},"minuteUTC:",{"type":849,"tag":897,"props":5451,"children":5452},{"style":1394},[5453],{"type":854,"value":5454}," 0",{"type":849,"tag":897,"props":5456,"children":5457},{"style":910},[5458],{"type":854,"value":1907},{"type":854,"value":937},{"type":849,"tag":897,"props":5461,"children":5462},{"class":899,"style":900},[5463,5468,5472,5476,5480,5485],{"type":849,"tag":897,"props":5464,"children":5465},{"style":916},[5466],{"type":854,"value":5467},"  internal",{"type":849,"tag":897,"props":5469,"children":5470},{"style":910},[5471],{"type":854,"value":1127},{"type":849,"tag":897,"props":5473,"children":5474},{"style":916},[5475],{"type":854,"value":4836},{"type":849,"tag":897,"props":5477,"children":5478},{"style":910},[5479],{"type":854,"value":1127},{"type":849,"tag":897,"props":5481,"children":5482},{"style":916},[5483],{"type":854,"value":5484},"removeOldProjects",{"type":849,"tag":897,"props":5486,"children":5487},{"style":910},[5488],{"type":854,"value":1099},{"type":854,"value":937},{"type":849,"tag":897,"props":5491,"children":5492},{"class":899,"style":900},[5493],{"type":849,"tag":897,"props":5494,"children":5495},{"style":910},[5496],{"type":854,"value":5497},"  {},",{"type":854,"value":937},{"type":849,"tag":897,"props":5500,"children":5501},{"class":899,"style":900},[5502],{"type":849,"tag":897,"props":5503,"children":5504},{"style":910},[5505],{"type":854,"value":1287},{"type":854,"value":937},{"type":849,"tag":897,"props":5508,"children":5509},{"class":899,"style":900},[],{"type":854,"value":937},{"type":849,"tag":897,"props":5512,"children":5513},{"class":899,"style":900},[5514,5518,5523],{"type":849,"tag":897,"props":5515,"children":5516},{"style":904},[5517],{"type":854,"value":1053},{"type":849,"tag":897,"props":5519,"children":5520},{"style":904},[5521],{"type":854,"value":5522}," default",{"type":849,"tag":897,"props":5524,"children":5525},{"style":916},[5526],{"type":854,"value":5373},{"type":849,"tag":850,"props":5528,"children":5529},{},[5530],{"type":854,"value":5531},"A job sees every tenant. Keep jobs small, and never start one from input that\na person or an agent controls.",{"type":849,"tag":2857,"props":5533,"children":5535},{"id":5534},"keep-short-lived-statuses-correct",[5536],{"type":854,"value":2928},{"type":849,"tag":850,"props":5538,"children":5539},{},[5540,5542,5546,5547,5551,5553,5557,5559,5564,5566,5571,5573,5577],{"type":854,"value":5541},"Scheduled work runs as the person or agent whose call scheduled it. When they\nlose access (they leave the tenant, their account is disabled, or the agent is\nturned off), each ",{"type":849,"tag":857,"props":5543,"children":5544},{},[5545],{"type":854,"value":2870},{"type":854,"value":870},{"type":849,"tag":857,"props":5548,"children":5549},{},[5550],{"type":854,"value":2876},{"type":854,"value":5552}," that acts for them is\nrefused. Revoking access does not stop an outside effect, such as an email or a\npayment, that an ",{"type":849,"tag":857,"props":5554,"children":5555},{},[5556],{"type":854,"value":875},{"type":854,"value":5558}," makes before such a call. Cleanup stops too. A handler that sets a row from\n",{"type":849,"tag":857,"props":5560,"children":5561},{},[5562],{"type":854,"value":5563},"processing",{"type":854,"value":5565}," to ",{"type":849,"tag":857,"props":5567,"children":5568},{},[5569],{"type":854,"value":5570},"failed",{"type":854,"value":5572},", or removes a half-done upload, is refused, and the\nrow stays ",{"type":849,"tag":857,"props":5574,"children":5575},{},[5576],{"type":854,"value":5563},{"type":854,"value":1127},{"type":849,"tag":850,"props":5579,"children":5580},{},[5581],{"type":854,"value":5582},"Give each status that must change soon a path that does not depend on the\nperson or agent:",{"type":849,"tag":2936,"props":5584,"children":5585},{},[5586,5602],{"type":849,"tag":2896,"props":5587,"children":5588},{},[5589,5591,5595,5597,5601],{"type":854,"value":5590},"A cron job that sweeps old rows. For example, a row that is ",{"type":849,"tag":857,"props":5592,"children":5593},{},[5594],{"type":854,"value":5563},{"type":854,"value":5596}," for\nmore than 10 minutes becomes ",{"type":849,"tag":857,"props":5598,"children":5599},{},[5600],{"type":854,"value":5570},{"type":854,"value":1127},{"type":849,"tag":2896,"props":5603,"children":5604},{},[5605,5607,5611],{"type":854,"value":5606},"A status that you derive from time when you read it. Store when the work\nstarted, and show a row that is ",{"type":849,"tag":857,"props":5608,"children":5609},{},[5610],{"type":854,"value":5563},{"type":854,"value":5612}," for more than 10 minutes as\nfailed.",{"type":849,"tag":850,"props":5614,"children":5615},{},[5616],{"type":854,"value":5617},"Do not run a failure handler as the actor whose call just failed. When the\ncall failed because the actor lost access, the failure handler fails for the\nsame reason. Let the sweep set the final status.",{"type":849,"tag":850,"props":5619,"children":5620},{},[5621,5623,5627,5629,5634,5636,5640,5642,5646],{"type":854,"value":5622},"Build the sweep like ",{"type":849,"tag":857,"props":5624,"children":5625},{},[5626],{"type":854,"value":5484},{"type":854,"value":5628}," in ",{"type":849,"tag":2848,"props":5630,"children":5632},{"href":5631},"#jobs",[5633],{"type":854,"value":4093},{"type":854,"value":5635},": store when the work\nstarted, give the table an index on the status and that time, take a batch of\nrows that are ",{"type":849,"tag":857,"props":5637,"children":5638},{},[5639],{"type":854,"value":5563},{"type":854,"value":5641}," and older than 10 minutes, and set each to ",{"type":849,"tag":857,"props":5643,"children":5644},{},[5645],{"type":854,"value":5570},{"type":854,"value":5647},".\nRun it from a cron every few minutes.",{"title":5649,"searchDepth":5650,"depth":5650,"links":5651},"",4,[5652,5654,5655,5656,5657,5658],{"id":2859,"depth":5653,"text":2862},2,{"id":3019,"depth":5653,"text":875},{"id":3050,"depth":5653,"text":3053},{"id":4061,"depth":5653,"text":4064},{"id":4090,"depth":5653,"text":4093},{"id":5534,"depth":5653,"text":2928},"markdown","docs",{"source":5662,"path":5663,"stem":5664,"dir":3193,"extension":5665},"content","docs\u002F3.build\u002F8.functions\u002F4.internal-operations.md","docs\u002F3.build\u002F8.functions\u002F4.internal-operations","md",{"requestedPath":513,"resolvedPath":513,"alternates":5667},[],{"requested":5669,"resolved":5670,"usedFallback":6},{},{"locale":8},{"previous":5672,"next":5674},{"title":501,"id":502,"canonicalKey":503,"locale":8,"draft":6,"navigation":5673,"icon":505,"path":506},{"icon":505},{"title":515,"id":516,"canonicalKey":517,"locale":8,"draft":6,"navigation":5675,"icon":519,"path":520},{"icon":519},{"left":5677,"top":5677,"width":5678,"height":5678,"rotate":5677,"vFlip":6,"hFlip":6,"body":5679},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":5677,"top":5677,"width":5681,"height":5681,"rotate":5677,"vFlip":6,"hFlip":6,"body":5682},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>",1794905508842]