@cosmicdrift/kumiko-bundled-features 0.404.1 → 0.406.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth-email-password/mail-notifications.d.ts +3 -3
- package/dist/auth-email-password/mail-notifications.js +10 -34
- package/dist/auth-email-password/web/default-topbar-actions.d.ts +6 -1
- package/dist/auth-email-password/web/default-topbar-actions.js +2 -2
- package/dist/auth-email-password/web/index.d.ts +2 -0
- package/dist/auth-email-password/web/index.js +1 -0
- package/dist/auth-email-password/web/invite-accept-screen.js +6 -41
- package/dist/auth-email-password/web/tenant-label.d.ts +2 -0
- package/dist/auth-email-password/web/tenant-label.js +10 -0
- package/dist/auth-email-password/web/tenant-menu-items.js +2 -7
- package/dist/auth-email-password/web/tenant-switcher.js +5 -12
- package/dist/auth-email-password/web/use-redirect-authed-from-login.d.ts +7 -0
- package/dist/auth-email-password/web/use-redirect-authed-from-login.js +30 -0
- package/dist/auth-foundation/feature.js +8 -21
- package/dist/auth-mfa/handlers/reencrypt.job.js +7 -15
- package/dist/auth-mfa/hmac-token-codec.d.ts +6 -1
- package/dist/auth-mfa/hmac-token-codec.js +8 -10
- package/dist/auth-mfa/mfa-challenge-token.js +2 -8
- package/dist/auth-mfa/mfa-preauth-setup-token.js +2 -8
- package/dist/auth-mfa/mfa-setup-token.d.ts +2 -8
- package/dist/auth-mfa/mfa-setup-token.js +8 -45
- package/dist/billing-foundation/consumer-protection/termination-revoke.js +3 -11
- package/dist/billing-foundation/feature.js +1 -5
- package/dist/billing-foundation/handlers/process-event.write.js +2 -6
- package/dist/billing-foundation/handlers/process-payment-event.write.js +2 -6
- package/dist/billing-foundation/index.d.ts +2 -0
- package/dist/billing-foundation/index.js +2 -0
- package/dist/billing-foundation/projection.js +12 -21
- package/dist/billing-foundation/provider-event-seen.d.ts +5 -0
- package/dist/billing-foundation/provider-event-seen.js +7 -0
- package/dist/billing-foundation/provider-shared.d.ts +11 -0
- package/dist/billing-foundation/provider-shared.js +44 -0
- package/dist/billing-foundation/tenant-destroy-hook.js +5 -4
- package/dist/channel-email/feature.js +1 -1
- package/dist/config/handlers/reencrypt.job.js +7 -15
- package/dist/delivery/delivery-service.js +2 -8
- package/dist/file-derivatives/feature.js +9 -21
- package/dist/file-foundation/feature.js +2 -6
- package/dist/files-tenant-data/hooks.js +1 -6
- package/dist/folders/feature.js +2 -9
- package/dist/folders/web/folder-manager.js +7 -26
- package/dist/folders/web/folder-section.js +5 -24
- package/dist/form-draft/handlers/save.write.d.ts +9 -0
- package/dist/form-draft/handlers/save.write.js +3 -7
- package/dist/inbound-mail-foundation/feature.js +2 -6
- package/dist/inbound-mail-foundation/oauth-state.js +5 -13
- package/dist/inbound-mail-foundation/tenant-destroy-hook.d.ts +1 -1
- package/dist/inbound-mail-foundation/tenant-destroy-hook.js +3 -18
- package/dist/jobs/handlers/tenant-failures.query.js +1 -15
- package/dist/jobs/handlers/tenant-runs.query.js +1 -14
- package/dist/jobs/job-run-logger.js +19 -23
- package/dist/jobs/parse-subject.d.ts +1 -0
- package/dist/jobs/parse-subject.js +15 -0
- package/dist/ledger/feature.js +2 -8
- package/dist/mail-foundation/feature.js +3 -7
- package/dist/managed-pages/render-page-body.js +4 -12
- package/dist/notes-history/feature.js +2 -9
- package/dist/personal-access-tokens/handlers/list.query.js +1 -9
- package/dist/personal-access-tokens/hash.js +2 -2
- package/dist/personal-access-tokens/parse-scope-names.d.ts +1 -0
- package/dist/personal-access-tokens/parse-scope-names.js +10 -0
- package/dist/personal-access-tokens/resolver.js +1 -9
- package/dist/renderer-foundation/feature.js +3 -14
- package/dist/secrets/handlers/rotate.job.js +7 -18
- package/dist/shared/collect-extension-options.d.ts +4 -0
- package/dist/shared/collect-extension-options.js +8 -0
- package/dist/shared/hmac-signature.d.ts +2 -0
- package/dist/shared/hmac-signature.js +10 -0
- package/dist/shared/index.d.ts +6 -0
- package/dist/shared/index.js +6 -0
- package/dist/shared/is-unique-constraint-failure.d.ts +2 -0
- package/dist/shared/is-unique-constraint-failure.js +7 -0
- package/dist/shared/mail-locale-templates.d.ts +12 -0
- package/dist/shared/mail-locale-templates.js +36 -0
- package/dist/shared/resolve-feature-access.d.ts +7 -0
- package/dist/shared/resolve-feature-access.js +8 -0
- package/dist/shared/signed-token.js +4 -14
- package/dist/shared/single-use-token-store.js +2 -2
- package/dist/shared/stream-tenant-derived-state.js +1 -5
- package/dist/shared/tenant-db-cache.d.ts +3 -0
- package/dist/shared/tenant-db-cache.js +14 -0
- package/dist/shared/web/status-banner.d.ts +15 -0
- package/dist/shared/web/status-banner.js +13 -0
- package/dist/shared/web/use-dispatched-writes.d.ts +8 -0
- package/dist/shared/web/use-dispatched-writes.js +29 -0
- package/dist/subscription-paddle/feature.js +2 -15
- package/dist/subscription-paddle/price-methods.d.ts +2 -5
- package/dist/subscription-paddle/price-methods.js +5 -26
- package/dist/subscription-paddle/runtime.d.ts +1 -1
- package/dist/subscription-paddle/runtime.js +3 -16
- package/dist/subscription-stripe/feature.js +2 -17
- package/dist/subscription-stripe/plugin-methods.d.ts +2 -5
- package/dist/subscription-stripe/plugin-methods.js +3 -18
- package/dist/subscription-stripe/runtime.js +3 -19
- package/dist/tags/feature.js +2 -9
- package/dist/tags/web/tag-manager.js +5 -24
- package/dist/tags/web/tag-section.js +3 -12
- package/dist/template-resolver/handlers/tenant-overrides.query.js +3 -9
- package/dist/tenant/handlers/decrypt-member-users.d.ts +10 -0
- package/dist/tenant/handlers/decrypt-member-users.js +17 -0
- package/dist/tenant/handlers/members.query.js +2 -17
- package/dist/tenant/handlers/team-list.query.js +4 -17
- package/dist/tenant-lifecycle/archive-and-delete-tenant-rows.d.ts +5 -0
- package/dist/tenant-lifecycle/archive-and-delete-tenant-rows.js +20 -0
- package/dist/tenant-lifecycle/constants.d.ts +1 -0
- package/dist/tenant-lifecycle/constants.js +5 -0
- package/dist/tenant-lifecycle/events.d.ts +2 -0
- package/dist/tenant-lifecycle/events.js +2 -0
- package/dist/tenant-lifecycle/feature.js +1 -1
- package/dist/tenant-lifecycle/index.d.ts +2 -1
- package/dist/tenant-lifecycle/index.js +2 -1
- package/dist/tenant-lifecycle/run-tenant-destroy.d.ts +2 -0
- package/dist/tenant-lifecycle/run-tenant-destroy.js +42 -7
- package/dist/tenant-lifecycle/stages.d.ts +1 -0
- package/dist/tenant-lifecycle/stages.js +4 -1
- package/dist/tier-engine/feature.js +1 -1
- package/dist/user-data-rights/build-hook-db.d.ts +11 -0
- package/dist/user-data-rights/build-hook-db.js +22 -0
- package/dist/user-data-rights/handlers/request-export.write.js +2 -12
- package/dist/user-data-rights/mail-notifications.d.ts +3 -3
- package/dist/user-data-rights/mail-notifications.js +10 -34
- package/dist/user-data-rights/run-forget-cleanup.d.ts +1 -1
- package/dist/user-data-rights/run-forget-cleanup.js +2 -21
- package/dist/user-data-rights/run-user-export.d.ts +1 -1
- package/dist/user-data-rights/run-user-export.js +2 -21
- package/dist/user-data-rights/token-helpers.js +2 -14
- package/dist/user-data-rights/web/privacy-center-screen.js +1 -11
- package/dist/user-profile/web/profile-screen.js +1 -11
- package/package.json +20 -20
- package/src/auth-email-password/changes.json +6 -0
- package/src/auth-mfa/changes.json +6 -0
- package/src/billing-foundation/changes.json +6 -0
- package/src/shared/changes.json +6 -0
- package/src/tenant-lifecycle/changes.json +18 -0
|
@@ -13,10 +13,7 @@
|
|
|
13
13
|
// **Multi-use within TTL:** The token is NOT "consumed" on download, so the user
|
|
14
14
|
// can download repeatedly until expiresAt. This matches Google-Takeout (7d) and
|
|
15
15
|
// Facebook-Data-Download (4d).
|
|
16
|
-
|
|
17
|
-
// **Universal Web-Crypto API:** crypto.getRandomValues + crypto.subtle.digest
|
|
18
|
-
// runs identically in Bun, Node 19+, and browsers, avoiding platform-specific
|
|
19
|
-
// imports.
|
|
16
|
+
import { hashOpaqueToken } from "@cosmicdrift/kumiko-framework/crypto";
|
|
20
17
|
/**
|
|
21
18
|
* Generates a new download token. The plain token is sent to the user by email;
|
|
22
19
|
* the hash is stored in the token database row.
|
|
@@ -36,9 +33,7 @@ export async function generateDownloadToken() {
|
|
|
36
33
|
* database (no constant-time comparison, see the header comment).
|
|
37
34
|
*/
|
|
38
35
|
export async function hashDownloadToken(plain) {
|
|
39
|
-
|
|
40
|
-
const digest = await crypto.subtle.digest("SHA-256", encoded);
|
|
41
|
-
return uint8ArrayToHex(new Uint8Array(digest));
|
|
36
|
+
return hashOpaqueToken(plain);
|
|
42
37
|
}
|
|
43
38
|
function uint8ArrayToBase64Url(bytes) {
|
|
44
39
|
// btoa expects a binary string. atob/btoa are universal in Bun, Node, and browsers.
|
|
@@ -48,10 +43,3 @@ function uint8ArrayToBase64Url(bytes) {
|
|
|
48
43
|
}
|
|
49
44
|
return btoa(binary).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
50
45
|
}
|
|
51
|
-
function uint8ArrayToHex(bytes) {
|
|
52
|
-
let out = "";
|
|
53
|
-
for (let i = 0; i < bytes.length; i++) {
|
|
54
|
-
out += bytes[i].toString(16).padStart(2, "0"); // @cast-boundary dynamic-key
|
|
55
|
-
}
|
|
56
|
-
return out;
|
|
57
|
-
}
|
|
@@ -14,6 +14,7 @@ import { useDispatcher, usePrimitives, useQuery, useTranslation, } from "@cosmic
|
|
|
14
14
|
import { postWithDownload } from "@cosmicdrift/kumiko-renderer/web";
|
|
15
15
|
import { propertyOf } from "@cosmicdrift/kumiko-types/type-guards";
|
|
16
16
|
import { useEffect, useState } from "react";
|
|
17
|
+
import { StatusBanner } from "../../shared/web/status-banner.js";
|
|
17
18
|
import { EXPORT_JOB_STATUS, UserDataRightsHandlers, UserDataRightsQueries, } from "./constants.js";
|
|
18
19
|
// The export job runs asynchronously (worker-Lane-Cron, ~1 Min). While it is
|
|
19
20
|
// pending/running, the screen polls its status so the download appears without
|
|
@@ -34,17 +35,6 @@ export function formatDate(iso) {
|
|
|
34
35
|
const tIndex = iso.indexOf("T");
|
|
35
36
|
return tIndex > 0 ? iso.slice(0, tIndex) : iso;
|
|
36
37
|
}
|
|
37
|
-
function StatusBanner({ status }) {
|
|
38
|
-
const t = useTranslation();
|
|
39
|
-
const { Banner } = usePrimitives();
|
|
40
|
-
if (status.kind === "success") {
|
|
41
|
-
return _jsx(Banner, { variant: "info", children: t(status.messageKey) });
|
|
42
|
-
}
|
|
43
|
-
if (status.kind === "error") {
|
|
44
|
-
return _jsx(Banner, { variant: "error", children: t(status.messageKey) });
|
|
45
|
-
}
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
38
|
// Mounted by the renderer's ExtensionSectionMount (already wrapped in
|
|
49
39
|
// <Section title={...} testId="section-extension-...">) — takes no props of
|
|
50
40
|
// its own, ExtensionSectionProps (entityName/entityId/...) are unused since
|
|
@@ -11,6 +11,7 @@ import { propertyOf } from "@cosmicdrift/kumiko-types/type-guards";
|
|
|
11
11
|
import { useState } from "react";
|
|
12
12
|
import { AuthHandlers } from "../../auth-email-password/web/constants.js";
|
|
13
13
|
import { requestEmailVerification } from "../../auth-email-password/web/index.js";
|
|
14
|
+
import { StatusBanner } from "../../shared/web/status-banner.js";
|
|
14
15
|
import { UserProfileHandlers } from "./constants.js";
|
|
15
16
|
// Dispatcher failures carry an i18nKey only when the handler sets one —
|
|
16
17
|
// boundary read with a generic fallback.
|
|
@@ -18,17 +19,6 @@ function failureKey(error) {
|
|
|
18
19
|
const key = propertyOf(error, "i18nKey");
|
|
19
20
|
return typeof key === "string" ? key : "profile.errors.generic";
|
|
20
21
|
}
|
|
21
|
-
function StatusBanner({ status }) {
|
|
22
|
-
const t = useTranslation();
|
|
23
|
-
const { Banner } = usePrimitives();
|
|
24
|
-
if (status.kind === "success") {
|
|
25
|
-
return _jsx(Banner, { variant: "info", children: t(status.messageKey) });
|
|
26
|
-
}
|
|
27
|
-
if (status.kind === "error") {
|
|
28
|
-
return _jsx(Banner, { variant: "error", children: t(status.messageKey) });
|
|
29
|
-
}
|
|
30
|
-
return null;
|
|
31
|
-
}
|
|
32
22
|
// Mounted by the renderer's ExtensionSectionMount (already wrapped in
|
|
33
23
|
// <Section title={...} testId="section-extension-...">) — takes no props of
|
|
34
24
|
// its own. Deliberately NOT a <Form>: RenderEdit already renders a host
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-bundled-features",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.406.0",
|
|
4
4
|
"description": "Built-in features — tenant, user, auth, delivery. The stuff you'd rewrite anyway, already typed.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -570,20 +570,20 @@
|
|
|
570
570
|
}
|
|
571
571
|
},
|
|
572
572
|
"dependencies": {
|
|
573
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
574
|
-
"@cosmicdrift/kumiko-renderer": "0.
|
|
575
|
-
"@cosmicdrift/kumiko-types": "0.
|
|
573
|
+
"@cosmicdrift/kumiko-framework": "0.406.0",
|
|
574
|
+
"@cosmicdrift/kumiko-renderer": "0.406.0",
|
|
575
|
+
"@cosmicdrift/kumiko-types": "0.406.0",
|
|
576
576
|
"@mollie/api-client": "^4.6.0",
|
|
577
577
|
"@node-rs/argon2": "^2.2.2",
|
|
578
|
-
"@tiptap/core": "^3.32.
|
|
579
|
-
"@tiptap/extension-link": "^3.32.
|
|
580
|
-
"@tiptap/extension-list": "^3.32.
|
|
581
|
-
"@tiptap/extension-table": "^3.32.
|
|
582
|
-
"@tiptap/html": "^3.32.
|
|
583
|
-
"@tiptap/extensions": "^3.32.
|
|
584
|
-
"@tiptap/pm": "^3.32.
|
|
585
|
-
"@tiptap/react": "^3.32.
|
|
586
|
-
"@tiptap/starter-kit": "^3.32.
|
|
578
|
+
"@tiptap/core": "^3.32.2",
|
|
579
|
+
"@tiptap/extension-link": "^3.32.2",
|
|
580
|
+
"@tiptap/extension-list": "^3.32.2",
|
|
581
|
+
"@tiptap/extension-table": "^3.32.2",
|
|
582
|
+
"@tiptap/html": "^3.32.2",
|
|
583
|
+
"@tiptap/extensions": "^3.32.2",
|
|
584
|
+
"@tiptap/pm": "^3.32.2",
|
|
585
|
+
"@tiptap/react": "^3.32.2",
|
|
586
|
+
"@tiptap/starter-kit": "^3.32.2",
|
|
587
587
|
"@types/mailparser": "^3.9.0",
|
|
588
588
|
"@types/qrcode": "^1.5.6",
|
|
589
589
|
"clsx": "^2.1.1",
|
|
@@ -1166,17 +1166,17 @@
|
|
|
1166
1166
|
],
|
|
1167
1167
|
"devDependencies": {
|
|
1168
1168
|
"@testing-library/user-event": "^14.6.8",
|
|
1169
|
-
"@cosmicdrift/kumiko-locale-de": "0.
|
|
1170
|
-
"@cosmicdrift/kumiko-locale-es": "0.
|
|
1171
|
-
"@cosmicdrift/kumiko-locale-fr": "0.
|
|
1172
|
-
"@cosmicdrift/kumiko-locale-it": "0.
|
|
1173
|
-
"@cosmicdrift/kumiko-renderer-mail-html": "0.
|
|
1169
|
+
"@cosmicdrift/kumiko-locale-de": "0.406.0",
|
|
1170
|
+
"@cosmicdrift/kumiko-locale-es": "0.406.0",
|
|
1171
|
+
"@cosmicdrift/kumiko-locale-fr": "0.406.0",
|
|
1172
|
+
"@cosmicdrift/kumiko-locale-it": "0.406.0",
|
|
1173
|
+
"@cosmicdrift/kumiko-renderer-mail-html": "0.406.0",
|
|
1174
1174
|
"jsqr": "^1.4.0",
|
|
1175
1175
|
"unpdf": "^1.9.1",
|
|
1176
|
-
"@cosmicdrift/kumiko-testing": "0.
|
|
1176
|
+
"@cosmicdrift/kumiko-testing": "0.406.0"
|
|
1177
1177
|
},
|
|
1178
1178
|
"peerDependencies": {
|
|
1179
|
-
"@cosmicdrift/kumiko-testing": "0.
|
|
1179
|
+
"@cosmicdrift/kumiko-testing": "0.406.0"
|
|
1180
1180
|
},
|
|
1181
1181
|
"peerDependenciesMeta": {
|
|
1182
1182
|
"@cosmicdrift/kumiko-testing": {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.405.0",
|
|
4
|
+
"type": "improvement",
|
|
5
|
+
"title": "Login-path redirect hook and topbar without UserMenu",
|
|
6
|
+
"detail": "auth-email-password/web exports useRedirectAuthedFromLogin({ loginPath, target }), which replaces the URL with target while a signed-in user sits on the login path, also after Browser-Back, and isAuthedOnLoginPath. DefaultTopbarActions takes userMenu (default true) to hide the UserMenu and themeToggleTestId for the ThemeToggle button."
|
|
7
|
+
},
|
|
2
8
|
{
|
|
3
9
|
"version": "0.394.0",
|
|
4
10
|
"type": "improvement",
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.405.0",
|
|
4
|
+
"type": "improvement",
|
|
5
|
+
"title": "MFA setup token uses the shared HMAC token codec",
|
|
6
|
+
"detail": "signMfaSetupToken and verifyMfaSetupToken run on createHmacTokenCodec with the domain mfa-setup. Tokens issued before the change still verify, and new tokens are byte-identical for the same input. The challenge and preauth-setup tokens share one payload guard, and signed-token and the inbound-mail OAuth state use the same HMAC signature helper."
|
|
7
|
+
},
|
|
2
8
|
{
|
|
3
9
|
"version": "0.391.0",
|
|
4
10
|
"type": "fix",
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.405.0",
|
|
4
|
+
"type": "improvement",
|
|
5
|
+
"title": "Provider helpers shared through billing-foundation",
|
|
6
|
+
"detail": "billing-foundation exports validateOneOffPriceIds, parseStoredSecret, createTtlPriceCache and hasSeenProviderEvent. subscription-stripe and subscription-paddle use them instead of their own copies, with the same error texts as before. The subscription projection reuses one apply body for created/updated and one for canceled/invoice-paid; the exported apply names stay."
|
|
7
|
+
},
|
|
2
8
|
{
|
|
3
9
|
"version": "0.399.0",
|
|
4
10
|
"type": "improvement",
|
package/src/shared/changes.json
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.405.0",
|
|
4
|
+
"type": "improvement",
|
|
5
|
+
"title": "Bundled features share internal helpers",
|
|
6
|
+
"detail": "Access resolution for folders, ledger, notes-history and tags, the folders/tags write hook, the system-mode TenantDb cache of the re-encryption and rotation jobs, the mail locale templates of auth-email-password and user-data-rights, extension option collection for delivery and renderers, PAT scope parsing, user-data-rights hook DBs, unique-constraint failure checks, tenant member PII decryption, the status banner, the invite-accept request, the tenant label and the jobs subject parser each live in one internal module now. Empty onRegister callbacks are dropped. No behavior change."
|
|
7
|
+
},
|
|
2
8
|
{
|
|
3
9
|
"version": "0.364.0",
|
|
4
10
|
"type": "improvement",
|
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.406.0",
|
|
4
|
+
"type": "improvement",
|
|
5
|
+
"title": "Destroy stages can wait on external operations",
|
|
6
|
+
"detail": "A tick in which a hook reports pending is recorded as a progressed event with pending true and does not count as a failed attempt. The wait is bounded: once 60 minutes (DESTRUCTION_STAGE_MAX_PENDING_MS) have passed since the attempt's stage-started event, a pending tick fails the attempt with \"still pending\", and the stage is abandoned after its usual maxAttempts, so a stage waits at most maxAttempts x 60 minutes. Ticks without progress and without pending still count as failed attempts. stage-started events now carry startedAt from the sweep clock."
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"version": "0.406.0",
|
|
10
|
+
"type": "improvement",
|
|
11
|
+
"title": "Destruction sweep no longer wakes a sleeping app",
|
|
12
|
+
"detail": "The run-tenant-destruction cron declares wakesSleepingApp false, so its per-minute schedule does not keep a sleeping shared app awake. A due destruction runs on the next wake, for example the daily maintenance window. Its scheduler id changes to scheduler-nowake-tenant-lifecycle-job-run-tenant-destruction; the old scheduler is removed on the first start."
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"version": "0.405.0",
|
|
16
|
+
"type": "improvement",
|
|
17
|
+
"title": "archiveAndDeleteTenantRows for tenant-destroy hooks",
|
|
18
|
+
"detail": "@cosmicdrift/kumiko-bundled-features/tenant-lifecycle exports archiveAndDeleteTenantRows(ctx, table, aggregateType, escapeHatchReason), which archives each row's event stream and then deletes the tenant's rows, plus the TENANT_DESTROY_ARCHIVED_BY and TENANT_DESTROY_ARCHIVE_REASON constants. inbound-mail-foundation uses the helper, billing-foundation the constants."
|
|
19
|
+
},
|
|
2
20
|
{
|
|
3
21
|
"version": "0.389.0",
|
|
4
22
|
"type": "fix",
|