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