@cosmicdrift/kumiko-samples 0.378.0 → 0.380.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/package.json +1 -1
- package/packages/bundled-features/package.json +18 -17
- package/packages/bundled-features/src/account-security/feature.ts +2 -2
- package/packages/bundled-features/src/account-security/index.ts +8 -8
- package/packages/bundled-features/src/account-security/{constants.ts → web/constants.ts} +0 -2
- package/packages/bundled-features/src/account-security/{i18n.ts → web/i18n.ts} +0 -1
- package/packages/bundled-features/src/admin-shell/feature.ts +10 -9
- package/packages/bundled-features/src/admin-shell/index.ts +8 -8
- package/packages/bundled-features/src/admin-shell/web/client-plugin.tsx +2 -3
- package/packages/bundled-features/src/admin-shell/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/admin-shell/web/default-translations.ts +10 -0
- package/packages/bundled-features/src/admin-shell/web/i18n.ts +51 -9
- package/packages/bundled-features/src/admin-shell/web/index.ts +0 -1
- package/packages/bundled-features/src/audit/changes.json +7 -0
- package/packages/bundled-features/src/audit/feature.ts +72 -64
- package/packages/bundled-features/src/audit/handlers/audit-events.ts +153 -0
- package/packages/bundled-features/src/audit/handlers/audit-system-db.ts +13 -0
- package/packages/bundled-features/src/audit/handlers/details-all-tenants.query.ts +26 -0
- package/packages/bundled-features/src/audit/handlers/details.query.ts +11 -39
- package/packages/bundled-features/src/audit/handlers/list-all-tenants.query.ts +47 -0
- package/packages/bundled-features/src/audit/handlers/list.query.ts +16 -123
- package/packages/bundled-features/src/audit/handlers/resolve-audit-tenant.ts +21 -7
- package/packages/bundled-features/src/audit/index.ts +1 -1
- package/packages/bundled-features/src/audit/run-escape-hatch-retention.ts +4 -4
- package/packages/bundled-features/src/audit/screens.ts +82 -0
- package/packages/bundled-features/src/audit/web/client-plugin.tsx +2 -3
- package/packages/bundled-features/src/audit/{constants.ts → web/constants.ts} +11 -1
- package/packages/bundled-features/src/audit/web/default-translations.ts +7 -0
- package/packages/bundled-features/src/audit/web/i18n.ts +33 -7
- package/packages/bundled-features/src/audit/web/index.ts +0 -2
- package/packages/bundled-features/src/auth-email-password/bootstrap.ts +6 -6
- package/packages/bundled-features/src/auth-email-password/changes.json +6 -0
- package/packages/bundled-features/src/auth-email-password/errors.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/feature.ts +2 -2
- package/packages/bundled-features/src/auth-email-password/handlers/confirm-account-unlock.write.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/handlers/invite-accept-with-login.write.ts +4 -4
- package/packages/bundled-features/src/auth-email-password/handlers/invite-create.write.ts +3 -3
- package/packages/bundled-features/src/auth-email-password/handlers/invite-info.query.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/handlers/login.write.ts +38 -4
- package/packages/bundled-features/src/auth-email-password/handlers/request-account-unlock.write.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/handlers/request-email-verification.write.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/handlers/request-password-reset.write.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/handlers/reset-password.write.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/handlers/verify-email.write.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/index.ts +6 -1
- package/packages/bundled-features/src/auth-email-password/mail-notifications.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/signup-activation.ts +1 -1
- package/packages/bundled-features/src/auth-email-password/web/auth-client.ts +0 -1
- package/packages/bundled-features/src/auth-email-password/web/auth-form-logic.ts +0 -1
- package/packages/bundled-features/src/auth-email-password/web/auth-form-primitives.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/auth-gate.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/auth-redirect.ts +0 -1
- package/packages/bundled-features/src/auth-email-password/web/client-actions.ts +0 -1
- package/packages/bundled-features/src/auth-email-password/web/client-plugin.ts +1 -2
- package/packages/bundled-features/src/auth-email-password/web/confirm-account-unlock-screen.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/{constants.ts → web/constants.ts} +3 -6
- package/packages/bundled-features/src/auth-email-password/web/default-topbar-actions.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/forgot-password-screen.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/{i18n.ts → web/i18n.ts} +3 -4
- package/packages/bundled-features/src/auth-email-password/web/index.ts +1 -2
- package/packages/bundled-features/src/auth-email-password/web/invite-accept-screen.tsx +2 -3
- package/packages/bundled-features/src/auth-email-password/web/login-screen.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/{mail-i18n.ts → web/mail-i18n.ts} +0 -1
- package/packages/bundled-features/src/auth-email-password/web/request-account-unlock-screen.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/reset-password-screen.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/session-bootstrap-error.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/session.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/signup-complete-screen.tsx +2 -3
- package/packages/bundled-features/src/auth-email-password/web/signup-screen.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/tenant-menu-items.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/tenant-switcher.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/use-shell-user.ts +0 -1
- package/packages/bundled-features/src/auth-email-password/web/user-menu.tsx +0 -1
- package/packages/bundled-features/src/auth-email-password/web/verify-email-screen.tsx +0 -1
- package/packages/bundled-features/src/auth-mfa/changes.json +6 -0
- package/packages/bundled-features/src/auth-mfa/errors.ts +2 -2
- package/packages/bundled-features/src/auth-mfa/handlers/enable-confirm-preauth.write.ts +1 -1
- package/packages/bundled-features/src/auth-mfa/handlers/enable-start-preauth.write.ts +1 -1
- package/packages/bundled-features/src/auth-mfa/handlers/enable-start.write.ts +1 -1
- package/packages/bundled-features/src/auth-mfa/handlers/verify.write.ts +1 -1
- package/packages/bundled-features/src/auth-mfa/index.ts +8 -8
- package/packages/bundled-features/src/auth-mfa/mfa-status-checker.ts +4 -4
- package/packages/bundled-features/src/auth-mfa/screens.ts +1 -1
- package/packages/bundled-features/src/auth-mfa/web/client-plugin.ts +0 -1
- package/packages/bundled-features/src/auth-mfa/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/auth-mfa/web/i18n.ts +0 -1
- package/packages/bundled-features/src/auth-mfa/web/index.ts +0 -1
- package/packages/bundled-features/src/auth-mfa/web/mfa-client.ts +0 -1
- package/packages/bundled-features/src/auth-mfa/web/mfa-disable-dialog.tsx +1 -2
- package/packages/bundled-features/src/auth-mfa/web/mfa-recovery-codes-reveal.tsx +0 -1
- package/packages/bundled-features/src/auth-mfa/web/mfa-regenerate-recovery-dialog.tsx +1 -2
- package/packages/bundled-features/src/auth-mfa/web/mfa-setup-preauth-screen.tsx +21 -23
- package/packages/bundled-features/src/auth-mfa/web/mfa-verify-screen.tsx +0 -1
- package/packages/bundled-features/src/billing-foundation/changes.json +18 -0
- package/packages/bundled-features/src/billing-foundation/checkout-core.ts +3 -3
- package/packages/bundled-features/src/billing-foundation/consumer-protection/consent-text.ts +2 -2
- package/packages/bundled-features/src/billing-foundation/consumer-protection/issue-confirmation.ts +11 -3
- package/packages/bundled-features/src/billing-foundation/consumer-protection/mail-notifications.ts +11 -1
- package/packages/bundled-features/src/billing-foundation/consumer-protection/register-consent.ts +1 -1
- package/packages/bundled-features/src/billing-foundation/consumer-protection/register-termination.ts +12 -1
- package/packages/bundled-features/src/billing-foundation/consumer-protection/stored-user-email.ts +12 -0
- package/packages/bundled-features/src/billing-foundation/consumer-protection/termination-mail.ts +6 -1
- package/packages/bundled-features/src/billing-foundation/consumer-protection/termination-notify.ts +1 -1
- package/packages/bundled-features/src/billing-foundation/consumer-protection/termination-pages.ts +167 -28
- package/packages/bundled-features/src/billing-foundation/consumer-protection/termination-record.ts +102 -3
- package/packages/bundled-features/src/billing-foundation/consumer-protection/termination-request.ts +43 -12
- package/packages/bundled-features/src/billing-foundation/consumer-protection/termination-revoke.ts +202 -0
- package/packages/bundled-features/src/billing-foundation/consumer-protection/termination-texts.ts +70 -0
- package/packages/bundled-features/src/billing-foundation/events.ts +20 -2
- package/packages/bundled-features/src/billing-foundation/feature.ts +5 -5
- package/packages/bundled-features/src/billing-foundation/handlers/process-event.write.ts +82 -9
- package/packages/bundled-features/src/billing-foundation/handlers/switch-plan.write.ts +1 -1
- package/packages/bundled-features/src/billing-foundation/handlers/sync-subscription.write.ts +1 -1
- package/packages/bundled-features/src/billing-foundation/index.ts +27 -27
- package/packages/bundled-features/src/billing-foundation/plan-catalog.ts +7 -7
- package/packages/bundled-features/src/billing-foundation/screens.ts +1 -1
- package/packages/bundled-features/src/billing-foundation/subscription-tier-sync.ts +1 -1
- package/packages/bundled-features/src/billing-foundation/types.ts +17 -3
- package/packages/bundled-features/src/billing-foundation/validate-options.ts +3 -3
- package/packages/bundled-features/src/billing-foundation/web/billing-contact-plan.tsx +1 -3
- package/packages/bundled-features/src/billing-foundation/web/billing-plans-panel.tsx +5 -7
- package/packages/bundled-features/src/billing-foundation/web/cancel-contract-dialog.tsx +1 -3
- package/packages/bundled-features/src/billing-foundation/web/checkout-consent-dialog.tsx +1 -3
- package/packages/bundled-features/src/billing-foundation/web/client-plugin.tsx +1 -2
- package/packages/bundled-features/src/billing-foundation/{constants.ts → web/constants.ts} +37 -31
- package/packages/bundled-features/src/billing-foundation/{consumer-protection → web/consumer-protection}/consent-locale.ts +0 -1
- package/packages/bundled-features/src/billing-foundation/{contact-card.ts → web/contact-card.ts} +0 -2
- package/packages/bundled-features/src/billing-foundation/web/index.ts +14 -15
- package/packages/bundled-features/src/billing-foundation/web/localized-params.ts +0 -2
- package/packages/bundled-features/src/billing-foundation/webhook-handler.ts +5 -2
- package/packages/bundled-features/src/cap-overview/feature.ts +1 -1
- package/packages/bundled-features/src/cap-overview/handlers/caps-usage.query.ts +1 -1
- package/packages/bundled-features/src/cap-overview/handlers/tenant-caps-list.query.ts +2 -2
- package/packages/bundled-features/src/cap-overview/index.ts +9 -9
- package/packages/bundled-features/src/cap-overview/screens.ts +2 -2
- package/packages/bundled-features/src/cap-overview/web/cap-cards-panel.tsx +1 -2
- package/packages/bundled-features/src/cap-overview/web/cap-usage-bar.tsx +1 -2
- package/packages/bundled-features/src/cap-overview/web/cap-usage-cell.tsx +0 -2
- package/packages/bundled-features/src/cap-overview/web/client-plugin.tsx +3 -4
- package/packages/bundled-features/src/cap-overview/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/cap-overview/web/index.ts +0 -1
- package/packages/bundled-features/src/cap-overview/{usage-math.ts → web/usage-math.ts} +1 -2
- package/packages/bundled-features/src/compliance-profiles/feature.ts +5 -5
- package/packages/bundled-features/src/compliance-profiles/index.ts +6 -6
- package/packages/bundled-features/src/compliance-profiles/web/client-plugin.tsx +2 -3
- package/packages/bundled-features/src/compliance-profiles/web/compliance-profile-catalog.tsx +1 -2
- package/packages/bundled-features/src/compliance-profiles/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/compliance-profiles/web/i18n.ts +0 -1
- package/packages/bundled-features/src/compliance-profiles/web/index.ts +0 -1
- package/packages/bundled-features/src/config/index.ts +6 -6
- package/packages/bundled-features/src/config/web/client-plugin.ts +1 -2
- package/packages/bundled-features/src/config/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/config/web/i18n.ts +0 -1
- package/packages/bundled-features/src/config/web/index.ts +1 -3
- package/packages/bundled-features/src/config/write-helpers.ts +1 -1
- package/packages/bundled-features/src/custom-fields/feature.ts +8 -8
- package/packages/bundled-features/src/custom-fields/handlers/clear-custom-field.write.ts +1 -1
- package/packages/bundled-features/src/custom-fields/handlers/define-tenant-field.write.ts +1 -1
- package/packages/bundled-features/src/custom-fields/handlers/delete-system-field.write.ts +1 -1
- package/packages/bundled-features/src/custom-fields/handlers/delete-tenant-field.write.ts +4 -4
- package/packages/bundled-features/src/custom-fields/handlers/set-custom-field.write.ts +1 -1
- package/packages/bundled-features/src/custom-fields/handlers/update-tenant-field.write.ts +1 -1
- package/packages/bundled-features/src/custom-fields/index.ts +8 -8
- package/packages/bundled-features/src/custom-fields/lib/value-schema.ts +1 -1
- package/packages/bundled-features/src/custom-fields/schemas.ts +1 -1
- package/packages/bundled-features/src/custom-fields/web/client-plugin.tsx +1 -2
- package/packages/bundled-features/src/custom-fields/{constants.ts → web/constants.ts} +18 -19
- package/packages/bundled-features/src/custom-fields/web/custom-fields-form-section.tsx +1 -2
- package/packages/bundled-features/src/custom-fields/web/i18n.ts +0 -1
- package/packages/bundled-features/src/custom-fields/web/index.ts +2 -3
- package/packages/bundled-features/src/custom-fields/wire-for-entity.ts +1 -2
- package/packages/bundled-features/src/delivery/address-opt-out.ts +1 -1
- package/packages/bundled-features/src/delivery/attempt-log-retention.ts +24 -8
- package/packages/bundled-features/src/delivery/changes.json +6 -0
- package/packages/bundled-features/src/delivery/constants.ts +2 -2
- package/packages/bundled-features/src/delivery/i18n.ts +1 -1
- package/packages/bundled-features/src/delivery/unsubscribe-page.ts +1 -1
- package/packages/bundled-features/src/delivery/web/client-plugin.tsx +6 -7
- package/packages/bundled-features/src/delivery/web/delivery-channel-cell.tsx +0 -1
- package/packages/bundled-features/src/delivery/web/delivery-error-cell.tsx +0 -1
- package/packages/bundled-features/src/delivery/web/delivery-status-cell.tsx +1 -2
- package/packages/bundled-features/src/delivery/web/delivery-time-cell.tsx +0 -1
- package/packages/bundled-features/src/delivery/web/delivery-type-cell.tsx +0 -1
- package/packages/bundled-features/src/delivery/web/index.ts +0 -1
- package/packages/bundled-features/src/delivery/{public-names.ts → web/public-names.ts} +0 -1
- package/packages/bundled-features/src/document-ingest-foundation/changes.json +6 -0
- package/packages/bundled-features/src/document-ingest-foundation/events.ts +4 -0
- package/packages/bundled-features/src/document-ingest-foundation/executor.ts +2 -1
- package/packages/bundled-features/src/document-ingest-foundation/feature.ts +18 -4
- package/packages/bundled-features/src/document-ingest-foundation/index.ts +1 -0
- package/packages/bundled-features/src/feature-toggles/feature.ts +7 -7
- package/packages/bundled-features/src/feature-toggles/global-feature-state-table.ts +14 -13
- package/packages/bundled-features/src/feature-toggles/handlers/list.query.ts +1 -1
- package/packages/bundled-features/src/feature-toggles/handlers/registered.query.ts +1 -1
- package/packages/bundled-features/src/feature-toggles/handlers/set.write.ts +3 -3
- package/packages/bundled-features/src/feature-toggles/index.ts +6 -6
- package/packages/bundled-features/src/feature-toggles/web/client-plugin.tsx +1 -2
- package/packages/bundled-features/src/feature-toggles/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/feature-toggles/web/i18n.ts +0 -1
- package/packages/bundled-features/src/feature-toggles/web/index.ts +0 -1
- package/packages/bundled-features/src/files/changes.json +7 -0
- package/packages/bundled-features/src/folders/feature.ts +1 -1
- package/packages/bundled-features/src/folders/handlers/clear-folder.write.ts +1 -1
- package/packages/bundled-features/src/folders/handlers/delete-folder.write.ts +1 -1
- package/packages/bundled-features/src/folders/handlers/set-folder.write.ts +1 -1
- package/packages/bundled-features/src/folders/index.ts +8 -8
- package/packages/bundled-features/src/folders/web/client-plugin.tsx +1 -3
- package/packages/bundled-features/src/folders/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/folders/web/folder-manager.tsx +1 -2
- package/packages/bundled-features/src/folders/web/folder-section.tsx +1 -2
- package/packages/bundled-features/src/folders/web/i18n.ts +0 -1
- package/packages/bundled-features/src/folders/web/index.ts +1 -2
- package/packages/bundled-features/src/folders/web/tree.ts +0 -1
- package/packages/bundled-features/src/form-draft/changes.json +7 -0
- package/packages/bundled-features/src/form-draft/db/queries/cleanup.ts +25 -11
- package/packages/bundled-features/src/form-draft/decrypt-draft.ts +24 -0
- package/packages/bundled-features/src/form-draft/entity.ts +6 -9
- package/packages/bundled-features/src/form-draft/feature.ts +1 -1
- package/packages/bundled-features/src/form-draft/handlers/cleanup.job.ts +26 -5
- package/packages/bundled-features/src/form-draft/handlers/discard.write.ts +1 -1
- package/packages/bundled-features/src/form-draft/handlers/get.query.ts +6 -7
- package/packages/bundled-features/src/form-draft/handlers/list.query.ts +13 -7
- package/packages/bundled-features/src/form-draft/handlers/save.write.ts +5 -5
- package/packages/bundled-features/src/form-draft/index.ts +8 -8
- package/packages/bundled-features/src/form-draft/lookup.ts +10 -4
- package/packages/bundled-features/src/form-draft/schemas.ts +1 -1
- package/packages/bundled-features/src/form-draft/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/form-draft-user-data/hooks.ts +2 -2
- package/packages/bundled-features/src/inbound-mail-foundation/retention-sweep.ts +10 -10
- package/packages/bundled-features/src/jobs/feature.ts +7 -7
- package/packages/bundled-features/src/jobs/handlers/retry.write.ts +1 -1
- package/packages/bundled-features/src/jobs/handlers/trigger.write.ts +1 -1
- package/packages/bundled-features/src/jobs/index.ts +1 -1
- package/packages/bundled-features/src/jobs/job-run-table.ts +4 -3
- package/packages/bundled-features/src/jobs/web/client-plugin.tsx +2 -3
- package/packages/bundled-features/src/jobs/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/jobs/web/default-translations.ts +7 -0
- package/packages/bundled-features/src/jobs/web/i18n.ts +53 -7
- package/packages/bundled-features/src/jobs/web/index.ts +0 -1
- package/packages/bundled-features/src/ledger/changes.json +7 -0
- package/packages/bundled-features/src/ledger/entity.ts +1 -1
- package/packages/bundled-features/src/ledger/feature.ts +1 -1
- package/packages/bundled-features/src/ledger/handlers/confirm-schedule-period.write.ts +2 -10
- package/packages/bundled-features/src/ledger/handlers/create-transaction.write.ts +1 -1
- package/packages/bundled-features/src/ledger/handlers/reports.query.ts +1 -1
- package/packages/bundled-features/src/ledger/handlers/reverse-transaction.write.ts +1 -1
- package/packages/bundled-features/src/ledger/index.ts +13 -13
- package/packages/bundled-features/src/ledger/recurring.ts +1 -1
- package/packages/bundled-features/src/ledger/reports.ts +1 -1
- package/packages/bundled-features/src/ledger/schemas.ts +1 -1
- package/packages/bundled-features/src/ledger/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/ledger/web/index.ts +11 -12
- package/packages/bundled-features/src/legal-pages/README.md +1 -1
- package/packages/bundled-features/src/legal-pages/feature.ts +5 -5
- package/packages/bundled-features/src/legal-pages/index.ts +11 -11
- package/packages/bundled-features/src/legal-pages/lib/boot-check.ts +1 -1
- package/packages/bundled-features/src/legal-pages/lib/validate-routes.ts +1 -1
- package/packages/bundled-features/src/legal-pages/web/client-plugin.ts +1 -2
- package/packages/bundled-features/src/legal-pages/{constants.ts → web/constants.ts} +6 -8
- package/packages/bundled-features/src/legal-pages/web/index.ts +0 -1
- package/packages/bundled-features/src/managed-pages/feature.ts +1 -1
- package/packages/bundled-features/src/managed-pages/web/client-plugin.tsx +1 -2
- package/packages/bundled-features/src/managed-pages/web/default-translations.ts +17 -0
- package/packages/bundled-features/src/managed-pages/web/i18n.ts +59 -16
- package/packages/bundled-features/src/managed-pages/web/index.ts +1 -2
- package/packages/bundled-features/src/metrics/compute.ts +1 -1
- package/packages/bundled-features/src/metrics/feature.ts +6 -6
- package/packages/bundled-features/src/metrics/index.ts +8 -8
- package/packages/bundled-features/src/metrics/types.ts +1 -1
- package/packages/bundled-features/src/metrics/validate.ts +1 -1
- package/packages/bundled-features/src/metrics/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/metrics/window.ts +1 -1
- package/packages/bundled-features/src/notes-history/feature.ts +1 -1
- package/packages/bundled-features/src/notes-history/handlers/add-note.write.ts +1 -1
- package/packages/bundled-features/src/notes-history/index.ts +8 -8
- package/packages/bundled-features/src/notes-history/web/client-plugin.tsx +1 -3
- package/packages/bundled-features/src/notes-history/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/notes-history/web/i18n.ts +0 -1
- package/packages/bundled-features/src/notes-history/web/index.ts +2 -3
- package/packages/bundled-features/src/notes-history/web/notes-section.tsx +2 -3
- package/packages/bundled-features/src/personal-access-tokens/feature.ts +12 -10
- package/packages/bundled-features/src/personal-access-tokens/handlers/available-scopes.query.ts +1 -1
- package/packages/bundled-features/src/personal-access-tokens/handlers/create.write.ts +1 -1
- package/packages/bundled-features/src/personal-access-tokens/handlers/revoke.write.ts +1 -1
- package/packages/bundled-features/src/personal-access-tokens/hash.ts +1 -1
- package/packages/bundled-features/src/personal-access-tokens/i18n.ts +2 -2
- package/packages/bundled-features/src/personal-access-tokens/index.ts +5 -5
- package/packages/bundled-features/src/personal-access-tokens/resolver.ts +1 -1
- package/packages/bundled-features/src/personal-access-tokens/schema/api-token.ts +3 -3
- package/packages/bundled-features/src/personal-access-tokens/screens.ts +2 -2
- package/packages/bundled-features/src/personal-access-tokens/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/personal-access-tokens/{scopes.ts → web/scopes.ts} +0 -1
- package/packages/bundled-features/src/presets/changes.json +7 -0
- package/packages/bundled-features/src/presets/index.ts +0 -1
- package/packages/bundled-features/src/presets/security-baseline.ts +1 -1
- package/packages/bundled-features/src/renderer-foundation/types.ts +1 -1
- package/packages/bundled-features/src/secrets/feature.ts +1 -1
- package/packages/bundled-features/src/secrets/handlers/delete.write.ts +1 -1
- package/packages/bundled-features/src/secrets/handlers/list.query.ts +1 -1
- package/packages/bundled-features/src/secrets/handlers/set.write.ts +1 -1
- package/packages/bundled-features/src/secrets/i18n.ts +1 -1
- package/packages/bundled-features/src/secrets/index.ts +8 -8
- package/packages/bundled-features/src/secrets/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/secrets/write-gate.ts +1 -1
- package/packages/bundled-features/src/sessions/feature.ts +7 -4
- package/packages/bundled-features/src/sessions/schema/user-session.ts +2 -3
- package/packages/bundled-features/src/sessions/{i18n.ts → web/i18n.ts} +0 -1
- package/packages/bundled-features/src/shared/index.ts +6 -1
- package/packages/bundled-features/src/shared/purge-files-reaching-subject.ts +10 -2
- package/packages/bundled-features/src/shared/web/translate-or-raw.ts +0 -1
- package/packages/bundled-features/src/subscription-stripe/feature.ts +2 -0
- package/packages/bundled-features/src/subscription-stripe/plugin-methods.ts +19 -0
- package/packages/bundled-features/src/subscription-stripe/verify-webhook.ts +1 -0
- package/packages/bundled-features/src/tags/changes.json +6 -0
- package/packages/bundled-features/src/tags/feature.ts +1 -1
- package/packages/bundled-features/src/tags/handlers/assign-tag.write.ts +11 -7
- package/packages/bundled-features/src/tags/handlers/create-tag.write.ts +1 -1
- package/packages/bundled-features/src/tags/handlers/delete-tag.write.ts +4 -1
- package/packages/bundled-features/src/tags/handlers/remove-tag.write.ts +1 -1
- package/packages/bundled-features/src/tags/handlers/update-tag.write.ts +1 -1
- package/packages/bundled-features/src/tags/index.ts +12 -12
- package/packages/bundled-features/src/tags/screens.ts +1 -1
- package/packages/bundled-features/src/tags/web/client-plugin.tsx +1 -3
- package/packages/bundled-features/src/tags/{constants.ts → web/constants.ts} +4 -1
- package/packages/bundled-features/src/tags/web/entity-tags.tsx +1 -2
- package/packages/bundled-features/src/tags/web/i18n.ts +2 -2
- package/packages/bundled-features/src/tags/web/index.ts +2 -3
- package/packages/bundled-features/src/tags/web/tag-chip.tsx +0 -1
- package/packages/bundled-features/src/tags/web/tag-filter.tsx +1 -2
- package/packages/bundled-features/src/tags/web/tag-manager.tsx +5 -4
- package/packages/bundled-features/src/tags/web/tag-picker.tsx +0 -1
- package/packages/bundled-features/src/tags/web/tag-section.tsx +1 -2
- package/packages/bundled-features/src/tags/web/tags-cell.tsx +1 -2
- package/packages/bundled-features/src/template-resolver/README.md +1 -1
- package/packages/bundled-features/src/template-resolver/api.ts +75 -28
- package/packages/bundled-features/src/template-resolver/changes.json +43 -0
- package/packages/bundled-features/src/template-resolver/compile-document-body.ts +1 -1
- package/packages/bundled-features/src/template-resolver/compile-steps-block.ts +2 -2
- package/packages/bundled-features/src/template-resolver/document-ops.ts +5 -5
- package/packages/bundled-features/src/template-resolver/document-sanitizer.ts +4 -4
- package/packages/bundled-features/src/template-resolver/feature.ts +13 -4
- package/packages/bundled-features/src/template-resolver/handlers/by-slug.query.ts +6 -1
- package/packages/bundled-features/src/template-resolver/handlers/by-tenant.query.ts +6 -2
- package/packages/bundled-features/src/template-resolver/handlers/collection-item.query.ts +1 -1
- package/packages/bundled-features/src/template-resolver/handlers/collection-list.query.ts +1 -1
- package/packages/bundled-features/src/template-resolver/handlers/collection-set.write.ts +19 -2
- package/packages/bundled-features/src/template-resolver/handlers/copy-locale.write.ts +2 -2
- package/packages/bundled-features/src/template-resolver/handlers/diff-to-system.query.ts +7 -1
- package/packages/bundled-features/src/template-resolver/handlers/discard-draft.write.ts +1 -1
- package/packages/bundled-features/src/template-resolver/handlers/document-base.ts +8 -2
- package/packages/bundled-features/src/template-resolver/handlers/document-blocks.query.ts +2 -2
- package/packages/bundled-features/src/template-resolver/handlers/export-bundle.query.ts +5 -2
- package/packages/bundled-features/src/template-resolver/handlers/find-by-id.query.ts +4 -2
- package/packages/bundled-features/src/template-resolver/handlers/layout-source.query.ts +10 -5
- package/packages/bundled-features/src/template-resolver/handlers/list.query.ts +5 -2
- package/packages/bundled-features/src/template-resolver/handlers/overview.query.ts +68 -10
- package/packages/bundled-features/src/template-resolver/handlers/patch-draft.write.ts +1 -1
- package/packages/bundled-features/src/template-resolver/handlers/resource-shared.ts +1 -1
- package/packages/bundled-features/src/template-resolver/handlers/resource-upload.write.ts +1 -1
- package/packages/bundled-features/src/template-resolver/handlers/send-test.write.ts +2 -2
- package/packages/bundled-features/src/template-resolver/handlers/set.write.ts +1 -1
- package/packages/bundled-features/src/template-resolver/handlers/shared.ts +1 -1
- package/packages/bundled-features/src/template-resolver/handlers/template-gates.ts +6 -6
- package/packages/bundled-features/src/template-resolver/handlers/template-write.ts +2 -2
- package/packages/bundled-features/src/template-resolver/handlers/usage.query.ts +8 -2
- package/packages/bundled-features/src/template-resolver/handlers/validate.query.ts +4 -2
- package/packages/bundled-features/src/template-resolver/i18n.ts +25 -0
- package/packages/bundled-features/src/template-resolver/index.ts +60 -59
- package/packages/bundled-features/src/template-resolver/layout-appearance.ts +1 -1
- package/packages/bundled-features/src/template-resolver/layout-regions.ts +1 -1
- package/packages/bundled-features/src/template-resolver/seeding.ts +16 -7
- package/packages/bundled-features/src/template-resolver/store-template-resource.ts +2 -2
- package/packages/bundled-features/src/template-resolver/table.ts +1 -1
- package/packages/bundled-features/src/template-resolver/template-bundle.ts +2 -2
- package/packages/bundled-features/src/template-resolver/template-delivery-policy.ts +82 -0
- package/packages/bundled-features/src/template-resolver/template-draft.ts +1 -1
- package/packages/bundled-features/src/template-resolver/template-edit-policy.ts +2 -2
- package/packages/bundled-features/src/template-resolver/template-meta.ts +2 -2
- package/packages/bundled-features/src/template-resolver/template-preview.ts +14 -10
- package/packages/bundled-features/src/template-resolver/template-usage.ts +1 -1
- package/packages/bundled-features/src/template-resolver/template-validation.ts +2 -2
- package/packages/bundled-features/src/template-resolver/testing.ts +2 -2
- package/packages/bundled-features/src/template-resolver/user-content-table.ts +1 -1
- package/packages/bundled-features/src/template-resolver/web/client-plugin.tsx +4 -5
- package/packages/bundled-features/src/template-resolver/{constants.ts → web/constants.ts} +7 -10
- package/packages/bundled-features/src/template-resolver/{document-blocks.ts → web/document-blocks.ts} +0 -1
- package/packages/bundled-features/src/template-resolver/web/document-editor-extensions.ts +2 -3
- package/packages/bundled-features/src/template-resolver/web/document-editor.tsx +0 -1
- package/packages/bundled-features/src/template-resolver/{document-images.ts → web/document-images.ts} +0 -1
- package/packages/bundled-features/src/template-resolver/{document-schema.ts → web/document-schema.ts} +0 -1
- package/packages/bundled-features/src/template-resolver/{document-steps.ts → web/document-steps.ts} +0 -1
- package/packages/bundled-features/src/template-resolver/web/document-tiptap-editor.tsx +6 -7
- package/packages/bundled-features/src/template-resolver/web/document-toolbar-blocks.ts +2 -3
- package/packages/bundled-features/src/template-resolver/web/editor-handle.ts +1 -2
- package/packages/bundled-features/src/template-resolver/web/i18n.ts +2 -1
- package/packages/bundled-features/src/template-resolver/web/index.ts +13 -14
- package/packages/bundled-features/src/template-resolver/{mail-constants.ts → web/mail-constants.ts} +0 -1
- package/packages/bundled-features/src/template-resolver/{pdf-constants.ts → web/pdf-constants.ts} +0 -1
- package/packages/bundled-features/src/template-resolver/web/placeholder-line-editor-lazy.tsx +0 -1
- package/packages/bundled-features/src/template-resolver/web/placeholder-line-editor.tsx +5 -4
- package/packages/bundled-features/src/template-resolver/{placeholder-text.ts → web/placeholder-text.ts} +0 -1
- package/packages/bundled-features/src/template-resolver/{qualified-names.ts → web/qualified-names.ts} +0 -1
- package/packages/bundled-features/src/template-resolver/web/use-stable-by-key.ts +0 -1
- package/packages/bundled-features/src/tenant/handlers/add-member.write.ts +1 -1
- package/packages/bundled-features/src/tenant/index.ts +7 -7
- package/packages/bundled-features/src/tenant/invitation-table.ts +1 -1
- package/packages/bundled-features/src/tenant/invited-membership.ts +1 -1
- package/packages/bundled-features/src/tenant/last-tenant-admin.ts +1 -1
- package/packages/bundled-features/src/tenant/member-role-options.ts +1 -1
- package/packages/bundled-features/src/tenant/screens.ts +2 -2
- package/packages/bundled-features/src/tenant/web/client-plugin.tsx +1 -2
- package/packages/bundled-features/src/tenant/{constants.ts → web/constants.ts} +3 -6
- package/packages/bundled-features/src/tenant/web/index.ts +0 -1
- package/packages/bundled-features/src/tenant/web/member-roles-cell.tsx +0 -1
- package/packages/bundled-features/src/tenant/web/member-status-cell.tsx +0 -1
- package/packages/bundled-features/src/tenant-lifecycle/stages.ts +2 -2
- package/packages/bundled-features/src/tier-engine/entity.ts +1 -1
- package/packages/bundled-features/src/tier-engine/feature.ts +7 -7
- package/packages/bundled-features/src/tier-engine/handlers/set-tenant-tier.write.ts +1 -1
- package/packages/bundled-features/src/tier-engine/index.ts +8 -8
- package/packages/bundled-features/src/tier-engine/web/client-plugin.tsx +2 -3
- package/packages/bundled-features/src/tier-engine/{constants.ts → web/constants.ts} +2 -3
- package/packages/bundled-features/src/tier-engine/{i18n.ts → web/i18n.ts} +0 -1
- package/packages/bundled-features/src/tier-engine/web/index.ts +0 -1
- package/packages/bundled-features/src/user/handlers/create.write.ts +1 -1
- package/packages/bundled-features/src/user/handlers/update-roles.ts +1 -1
- package/packages/bundled-features/src/user/handlers/update.write.ts +1 -1
- package/packages/bundled-features/src/user/index.ts +1 -1
- package/packages/bundled-features/src/user/invited-global-roles.ts +1 -1
- package/packages/bundled-features/src/user/schema/user.ts +1 -1
- package/packages/bundled-features/src/user/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/user-data-rights/changes.json +14 -0
- package/packages/bundled-features/src/user-data-rights/env.ts +1 -1
- package/packages/bundled-features/src/user-data-rights/feature.ts +9 -9
- package/packages/bundled-features/src/user-data-rights/index.ts +1 -1
- package/packages/bundled-features/src/user-data-rights/lib/resolve-tenant-model.ts +1 -1
- package/packages/bundled-features/src/user-data-rights/mail-notifications.ts +1 -1
- package/packages/bundled-features/src/user-data-rights/web/client-plugin.tsx +2 -3
- package/packages/bundled-features/src/user-data-rights/web/confirm-deletion-screen.tsx +0 -1
- package/packages/bundled-features/src/user-data-rights/{constants.ts → web/constants.ts} +11 -12
- package/packages/bundled-features/src/user-data-rights/web/default-translations.ts +91 -0
- package/packages/bundled-features/src/user-data-rights/web/i18n.ts +41 -91
- package/packages/bundled-features/src/user-data-rights/web/index.ts +1 -2
- package/packages/bundled-features/src/user-data-rights/web/privacy-center-screen.tsx +1 -2
- package/packages/bundled-features/src/user-data-rights/web/public-deletion-gate.tsx +0 -1
- package/packages/bundled-features/src/user-data-rights/web/request-deletion-screen.tsx +0 -1
- package/packages/bundled-features/src/user-data-rights-defaults/hooks/file-ref.userdata-hook.ts +10 -1
- package/packages/bundled-features/src/user-profile/feature.ts +2 -2
- package/packages/bundled-features/src/user-profile/handlers/change-email.write.ts +1 -1
- package/packages/bundled-features/src/user-profile/index.ts +3 -2
- package/packages/bundled-features/src/user-profile/web/client-plugin.ts +2 -3
- package/packages/bundled-features/src/user-profile/{constants.ts → web/constants.ts} +0 -1
- package/packages/bundled-features/src/user-profile/{i18n.ts → web/i18n.ts} +0 -1
- package/packages/bundled-features/src/user-profile/web/profile-screen.tsx +2 -3
- package/packages/bundled-features/src/waitlist/changes.json +6 -0
- package/packages/bundled-features/src/waitlist/entity.ts +1 -1
- package/packages/bundled-features/src/waitlist/feature.ts +5 -5
- package/packages/bundled-features/src/waitlist/handlers/export-purge.write.ts +3 -3
- package/packages/bundled-features/src/waitlist/handlers/invite.write.ts +5 -1
- package/packages/bundled-features/src/waitlist/handlers/reject.write.ts +1 -1
- package/packages/bundled-features/src/waitlist/handlers/submit.write.ts +3 -3
- package/packages/bundled-features/src/waitlist/import.ts +1 -1
- package/packages/bundled-features/src/waitlist/index.ts +11 -11
- package/packages/bundled-features/src/waitlist/legacy-migrate.ts +1 -1
- package/packages/bundled-features/src/waitlist/link-on-signup.ts +1 -1
- package/packages/bundled-features/src/waitlist/mail.ts +7 -6
- package/packages/bundled-features/src/waitlist/payloads.ts +1 -1
- package/packages/bundled-features/src/waitlist/screens.ts +1 -1
- package/packages/bundled-features/src/waitlist/{constants.ts → web/constants.ts} +0 -1
- package/samples/apps/styleguide/src/features/content/web.tsx +0 -1
- package/samples/apps/ui-walkthrough/src/app/client.tsx +2 -0
- package/samples/apps/ui-walkthrough/src/app/seed-rental.ts +17 -1
- package/samples/apps/ui-walkthrough/src/app/seed-templates.ts +11 -0
- package/samples/apps/ui-walkthrough/src/app/server.ts +2 -1
- package/samples/apps/ui-walkthrough/src/features/billing/feature.ts +35 -7
- package/samples/apps/ui-walkthrough/src/features/billing/i18n.ts +6 -0
- package/samples/apps/ui-walkthrough/src/features/rental/entities.ts +27 -0
- package/samples/apps/ui-walkthrough/src/features/rental/feature.ts +61 -7
- package/samples/apps/ui-walkthrough/src/features/rental/i18n.ts +48 -24
- package/samples/apps/ui-walkthrough/src/features/rental/invoice-receive.ts +0 -1
- package/samples/apps/ui-walkthrough/src/features/rental/lease-support.ts +17 -1
- package/samples/apps/ui-walkthrough/src/features/rental/qualified-names.ts +3 -0
- package/samples/apps/ui-walkthrough/src/features/rental/receipts-upload.ts +70 -0
- package/samples/apps/ui-walkthrough/src/features/rental/screens.ts +90 -13
- package/samples/apps/ui-walkthrough/src/features/rental/web/index.ts +0 -2
- package/samples/apps/ui-walkthrough/src/features/subscription-plans/feature.ts +103 -0
- package/samples/apps/ui-walkthrough/src/features/subscription-plans/i18n.ts +36 -0
- package/samples/apps/ui-walkthrough/src/features/subscription-plans/index.ts +2 -0
- package/samples/apps/ui-walkthrough/src/features/subscription-plans/seed.ts +21 -0
- package/samples/apps/ui-walkthrough/src/run-config.ts +11 -0
- package/samples/apps/use-all-bundled/e2e-billing-gallery/server.ts +1 -1
- package/samples/apps/use-all-bundled/feature-manifest.json +4 -4
- package/samples/apps/use-all-bundled/scripts/check-coverage.ts +1 -1
- package/samples/apps/use-all-bundled/src/app/dev-app-options.ts +3 -1
- package/samples/recipes/compose-stacks/README.md +1 -2
- package/samples/recipes/embedded/README.md +5 -5
- package/samples/recipes/embedded/src/handlers/invoice-receive.write.ts +0 -1
- package/samples/recipes/embedded/src/screens/invoice-receive.screen.ts +9 -12
- package/samples/recipes/legal-pages/README.md +2 -2
- package/samples/recipes/legal-pages/src/feature.ts +1 -1
- package/samples/recipes/reference-data/src/feature.ts +3 -7
- package/packages/bundled-features/src/admin-shell/i18n.ts +0 -54
- package/packages/bundled-features/src/audit/i18n.ts +0 -25
- package/packages/bundled-features/src/auth-mfa/web/qrcode-browser.d.ts +0 -11
- package/packages/bundled-features/src/jobs/i18n.ts +0 -55
- package/packages/bundled-features/src/managed-pages/i18n.ts +0 -63
- package/packages/bundled-features/src/presets/dsgvo-self-service.ts +0 -35
- package/packages/bundled-features/src/user-data-rights/i18n.ts +0 -44
- package/samples/apps/ui-walkthrough/src/features/rental/web/upload-standard-layout.tsx +0 -61
|
@@ -1,8 +1,34 @@
|
|
|
1
|
-
//
|
|
2
|
-
import {
|
|
3
|
-
type TranslationsByLocale,
|
|
4
|
-
translationsByLocaleFromKeys,
|
|
5
|
-
} from "@cosmicdrift/kumiko-renderer";
|
|
6
|
-
import { AUDIT_I18N } from "../i18n.ts";
|
|
1
|
+
// Server + client i18n for audit (nav labels + audit-log/-detail screens).
|
|
7
2
|
|
|
8
|
-
|
|
3
|
+
type LocalizedString = { readonly en: string };
|
|
4
|
+
|
|
5
|
+
export const AUDIT_I18N: Readonly<Record<string, LocalizedString>> = {
|
|
6
|
+
"screen:audit-log.title": { en: "Audit log" },
|
|
7
|
+
"screen:audit-log-detail.title": { en: "Event" },
|
|
8
|
+
"audit.log.description": {
|
|
9
|
+
en: "All events of this tenant. A row opens the details.",
|
|
10
|
+
},
|
|
11
|
+
"audit.log.allTenants.description": {
|
|
12
|
+
en: "All events of all tenants. A row opens the details.",
|
|
13
|
+
},
|
|
14
|
+
"audit.log.detail.subtitle": {
|
|
15
|
+
en: "One event with its actor, time and stored data.",
|
|
16
|
+
},
|
|
17
|
+
"audit.errors.systemScopeRequiresSystemAdmin": {
|
|
18
|
+
en: "Only SystemAdmin may read system events.",
|
|
19
|
+
},
|
|
20
|
+
"screen:audit-log-all-tenants.title": { en: "Audit log (all tenants)" },
|
|
21
|
+
"screen:audit-log-all-tenants-detail.title": { en: "Event" },
|
|
22
|
+
"audit:nav.auditLog": { en: "Audit" },
|
|
23
|
+
"audit:nav.auditLogAllTenants": { en: "Audit log (all tenants)" },
|
|
24
|
+
"audit.log.col.tenant": { en: "Tenant" },
|
|
25
|
+
"audit.log.col.when": { en: "When" },
|
|
26
|
+
"audit.log.col.type": { en: "Event" },
|
|
27
|
+
"audit.log.col.aggregateType": { en: "Aggregate type" },
|
|
28
|
+
"audit.log.col.aggregateId": { en: "Aggregate ID" },
|
|
29
|
+
"audit.log.col.actor": { en: "Actor" },
|
|
30
|
+
"audit.log.details": { en: "Details" },
|
|
31
|
+
"audit.log.detail.payload": { en: "Event payload" },
|
|
32
|
+
"audit.log.detail.metadata": { en: "Metadata" },
|
|
33
|
+
"audit.log.detail.field.id": { en: "Event ID" },
|
|
34
|
+
};
|
|
@@ -24,23 +24,23 @@ import type { EnvelopeCipher } from "@cosmicdrift/kumiko-framework/secrets";
|
|
|
24
24
|
import { parseRoles } from "@cosmicdrift/kumiko-framework/utils";
|
|
25
25
|
import type { Redis } from "ioredis";
|
|
26
26
|
// kumiko-lint-ignore cross-feature-import bootstrap sets per-tenant config through the config feature's write handler
|
|
27
|
-
import { ConfigHandlers } from "../config/constants.ts";
|
|
27
|
+
import { ConfigHandlers } from "../config/web/constants.ts";
|
|
28
28
|
// kumiko-lint-ignore cross-feature-import bootstrap compares against the stored config row to stay idempotent
|
|
29
29
|
import { configRowHoldsValue, findConfigRow } from "../config/write-helpers.ts";
|
|
30
30
|
// kumiko-lint-ignore cross-feature-import bootstrap provisions tenant + invitation rows owned by the tenant feature
|
|
31
|
-
import { TenantHandlers } from "../tenant/constants.ts";
|
|
32
|
-
// kumiko-lint-ignore cross-feature-import bootstrap provisions tenant + invitation rows owned by the tenant feature
|
|
33
31
|
import { INVITATION_STATUS, tenantInvitationsTable } from "../tenant/invitation-table.ts";
|
|
34
32
|
// kumiko-lint-ignore cross-feature-import bootstrap checks existing memberships
|
|
35
33
|
import { tenantMembershipsTable } from "../tenant/membership-table.ts";
|
|
36
34
|
// kumiko-lint-ignore cross-feature-import bootstrap checks for an existing tenant
|
|
37
35
|
import { tenantTable } from "../tenant/schema/tenant.ts";
|
|
38
|
-
// kumiko-lint-ignore cross-feature-import
|
|
39
|
-
import
|
|
36
|
+
// kumiko-lint-ignore cross-feature-import bootstrap provisions tenant + invitation rows owned by the tenant feature
|
|
37
|
+
import { TenantHandlers } from "../tenant/web/constants.ts";
|
|
40
38
|
// kumiko-lint-ignore cross-feature-import bootstrap skips already activated users
|
|
41
39
|
import { userTable } from "../user/schema/user.ts";
|
|
42
|
-
import
|
|
40
|
+
// kumiko-lint-ignore cross-feature-import global-role options are owned by the user feature
|
|
41
|
+
import type { GlobalRole } from "../user/web/constants.ts";
|
|
43
42
|
import { hasLiveInviteToken } from "./invite-token-store.ts";
|
|
43
|
+
import { AuthHandlers } from "./web/constants.ts";
|
|
44
44
|
|
|
45
45
|
export type BootstrapInvite = {
|
|
46
46
|
readonly email: string;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.379.0",
|
|
4
|
+
"type": "fix",
|
|
5
|
+
"title": "Unknown e-mail addresses count towards the login lockout",
|
|
6
|
+
"detail": "Failed logins for unknown or deleted addresses are counted under a keyed digest of the normalized address (ctx.rateLimitDigest, derived from the JWT secret), so after the threshold they answer account_locked like a registered address and the lock no longer reveals which addresses exist. Without a digest key the old invalid_credentials answer stays."
|
|
7
|
+
},
|
|
2
8
|
{
|
|
3
9
|
"version": "0.374.0",
|
|
4
10
|
"type": "improvement",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { defineFeature, type FeatureDefinition } from "@cosmicdrift/kumiko-framework/engine";
|
|
2
2
|
import { type FeatureWithEnvSchema, featureWithEnvSchema } from "@cosmicdrift/kumiko-framework/env";
|
|
3
3
|
import * as z from "zod";
|
|
4
|
-
import { MIN_HMAC_SECRET_LENGTH } from "./constants.ts";
|
|
5
4
|
import type { AuthMailLocale } from "./email-templates.ts";
|
|
6
5
|
import { changePasswordWrite } from "./handlers/change-password.write.ts";
|
|
7
6
|
import { createConfirmAccountUnlockHandler } from "./handlers/confirm-account-unlock.write.ts";
|
|
@@ -31,13 +30,14 @@ import {
|
|
|
31
30
|
} from "./handlers/signup-request.write.ts";
|
|
32
31
|
import { createSwitchTenantMfaGateHandler } from "./handlers/switch-tenant-mfa-gate.write.ts";
|
|
33
32
|
import { createVerifyEmailHandler } from "./handlers/verify-email.write.ts";
|
|
34
|
-
import { AUTH_EMAIL_PASSWORD_MAIL_I18N } from "./mail-i18n.ts";
|
|
35
33
|
import {
|
|
36
34
|
AUTH_MAIL_VARIABLES,
|
|
37
35
|
authMailLocalizedTemplate,
|
|
38
36
|
INVITE_MAIL_VARIABLES,
|
|
39
37
|
sendsMagicLinkMail,
|
|
40
38
|
} from "./mail-notifications.ts";
|
|
39
|
+
import { MIN_HMAC_SECRET_LENGTH } from "./web/constants.ts";
|
|
40
|
+
import { AUTH_EMAIL_PASSWORD_MAIL_I18N } from "./web/mail-i18n.ts";
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* Env-vars contract for the `auth-email-password` feature.
|
package/packages/bundled-features/src/auth-email-password/handlers/confirm-account-unlock.write.ts
CHANGED
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
writeFailure,
|
|
6
6
|
} from "@cosmicdrift/kumiko-framework/errors";
|
|
7
7
|
import * as z from "zod";
|
|
8
|
-
import { AuthErrors } from "../constants.ts";
|
|
9
8
|
import { invalidUnlockToken } from "../errors.ts";
|
|
10
9
|
import { clearLockoutState } from "../lockout-store.ts";
|
|
11
10
|
import { verifyUnlockToken } from "../unlock-token.ts";
|
|
11
|
+
import { AuthErrors } from "../web/constants.ts";
|
|
12
12
|
|
|
13
13
|
export type ConfirmAccountUnlockOptions = {
|
|
14
14
|
readonly hmacSecret: string;
|
package/packages/bundled-features/src/auth-email-password/handlers/invite-accept-with-login.write.ts
CHANGED
|
@@ -52,10 +52,6 @@ import {
|
|
|
52
52
|
} from "../../user/invited-global-roles.ts";
|
|
53
53
|
// kumiko-lint-ignore cross-feature-import login-style password-check
|
|
54
54
|
import { userTable } from "../../user/schema/user.ts";
|
|
55
|
-
import {
|
|
56
|
-
AUTH_LOCKOUT_DEFAULT_DURATION_MINUTES,
|
|
57
|
-
AUTH_LOCKOUT_DEFAULT_MAX_FAILED_ATTEMPTS,
|
|
58
|
-
} from "../constants.ts";
|
|
59
55
|
import { invalidCredentials, invalidInviteToken, inviteEmailMismatch } from "../errors.ts";
|
|
60
56
|
import {
|
|
61
57
|
burnInviteToken,
|
|
@@ -64,6 +60,10 @@ import {
|
|
|
64
60
|
unburnInviteToken,
|
|
65
61
|
} from "../invite-token-store.ts";
|
|
66
62
|
import { passwordSchema } from "../password-policy.ts";
|
|
63
|
+
import {
|
|
64
|
+
AUTH_LOCKOUT_DEFAULT_DURATION_MINUTES,
|
|
65
|
+
AUTH_LOCKOUT_DEFAULT_MAX_FAILED_ATTEMPTS,
|
|
66
|
+
} from "../web/constants.ts";
|
|
67
67
|
import {
|
|
68
68
|
gateEnforceAccountStatus,
|
|
69
69
|
gateEnforceEmailVerified,
|
|
@@ -50,16 +50,16 @@ import {
|
|
|
50
50
|
reservedMembershipRoleError,
|
|
51
51
|
unassignableMembershipRoleError,
|
|
52
52
|
} from "../../tenant/membership-roles.ts";
|
|
53
|
-
// kumiko-lint-ignore cross-feature-import global-role options are owned by the user feature
|
|
54
|
-
import { GLOBAL_ROLE_OPTIONS, type GlobalRole } from "../../user/constants.ts";
|
|
55
53
|
// kumiko-lint-ignore cross-feature-import invitee lookup by email reads the user row
|
|
56
54
|
import { userTable } from "../../user/schema/user.ts";
|
|
57
|
-
import
|
|
55
|
+
// kumiko-lint-ignore cross-feature-import global-role options are owned by the user feature
|
|
56
|
+
import { GLOBAL_ROLE_OPTIONS, type GlobalRole } from "../../user/web/constants.ts";
|
|
58
57
|
import type { AuthMailLocale } from "../email-templates.ts";
|
|
59
58
|
import { inviteAlreadyAccepted } from "../errors.ts";
|
|
60
59
|
import { invalidateExistingInviteToken, storeInviteToken } from "../invite-token-store.ts";
|
|
61
60
|
import { dispatchMagicLinkMail, resolveHandlerMailLocale } from "../magic-link-mail.ts";
|
|
62
61
|
import { AuthMailNotificationTypes } from "../mail-notifications.ts";
|
|
62
|
+
import { AUTH_INVITE_DEFAULT_TTL_MINUTES } from "../web/constants.ts";
|
|
63
63
|
|
|
64
64
|
const InviteCreateSchema = z.object({
|
|
65
65
|
email: z.email(),
|
|
@@ -14,8 +14,8 @@ import { decryptStoredPii } from "../../shared/index.ts";
|
|
|
14
14
|
import { INVITATION_STATUS, tenantInvitationsTable } from "../../tenant/invitation-table.ts";
|
|
15
15
|
// kumiko-lint-ignore cross-feature-import login-style account lookup, same as invite-accept-with-login
|
|
16
16
|
import { userTable } from "../../user/schema/user.ts";
|
|
17
|
-
import { AuthErrors } from "../constants.ts";
|
|
18
17
|
import { getInvitationIdForToken } from "../invite-token-store.ts";
|
|
18
|
+
import { AuthErrors } from "../web/constants.ts";
|
|
19
19
|
|
|
20
20
|
const InviteInfoSchema = z.object({
|
|
21
21
|
token: z.string().min(1),
|
|
@@ -14,10 +14,6 @@ import * as z from "zod";
|
|
|
14
14
|
import { verifyDummyPassword, verifyPassword } from "../../shared/index.ts";
|
|
15
15
|
import { USER_STATUS, UserQueries } from "../../user/index.ts";
|
|
16
16
|
import { type AuthUserRow, parseAuthUserRow } from "../auth-user-row.ts";
|
|
17
|
-
import {
|
|
18
|
-
AUTH_LOCKOUT_DEFAULT_DURATION_MINUTES,
|
|
19
|
-
AUTH_LOCKOUT_DEFAULT_MAX_FAILED_ATTEMPTS,
|
|
20
|
-
} from "../constants.ts";
|
|
21
17
|
import {
|
|
22
18
|
accountLocked,
|
|
23
19
|
accountRestricted,
|
|
@@ -26,6 +22,10 @@ import {
|
|
|
26
22
|
noMembership,
|
|
27
23
|
} from "../errors.ts";
|
|
28
24
|
import { clearLockoutState, getLockoutState, recordFailedAttempt } from "../lockout-store.ts";
|
|
25
|
+
import {
|
|
26
|
+
AUTH_LOCKOUT_DEFAULT_DURATION_MINUTES,
|
|
27
|
+
AUTH_LOCKOUT_DEFAULT_MAX_FAILED_ATTEMPTS,
|
|
28
|
+
} from "../web/constants.ts";
|
|
29
29
|
|
|
30
30
|
export type LoginHandlerOptions = {
|
|
31
31
|
// When true, a valid (email + password) login fails with email_not_verified
|
|
@@ -105,6 +105,31 @@ export async function gateResolveAuthUser(
|
|
|
105
105
|
return ok({ ...found, passwordHash: found.passwordHash });
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
+
// Unknown and deleted addresses are counted too, under a keyed digest of the
|
|
109
|
+
// address exactly as findForAuth looks it up (no own normalization: a differently
|
|
110
|
+
// cased spelling is a different, unknown address and must not share a counter with a
|
|
111
|
+
// registered one). ctx.rateLimitDigest is derived from the JWT secret, so that after the
|
|
112
|
+
// threshold they answer account_locked exactly like a registered address.
|
|
113
|
+
// Without a digest key (no rate-limit wiring) they stay plain invalid_credentials.
|
|
114
|
+
function unknownEmailLockoutSubject(ctx: HandlerContext, email: string): string | undefined {
|
|
115
|
+
const digest = ctx.rateLimitDigest?.(email);
|
|
116
|
+
return digest === undefined ? undefined : `email:${digest}`;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export async function gateCountUnknownUser(
|
|
120
|
+
ctx: HandlerContext,
|
|
121
|
+
email: string,
|
|
122
|
+
maxFailedAttempts: number,
|
|
123
|
+
lockoutDurationMinutes: number,
|
|
124
|
+
): Promise<GateOutcome<undefined>> {
|
|
125
|
+
const subject = unknownEmailLockoutSubject(ctx, email);
|
|
126
|
+
if (!ctx.redis || subject === undefined) return ok(undefined);
|
|
127
|
+
const locked = await gateEnforceLockout(ctx, subject);
|
|
128
|
+
if (!locked.ok) return locked;
|
|
129
|
+
await recordFailedAttempt(ctx.redis, subject, maxFailedAttempts, lockoutDurationMinutes);
|
|
130
|
+
return ok(undefined);
|
|
131
|
+
}
|
|
132
|
+
|
|
108
133
|
/**
|
|
109
134
|
* Lockout BEFORE password verify — locked accounts can't be password-probed.
|
|
110
135
|
* Fail-open without Redis (IP rate-limit still covers partially).
|
|
@@ -295,6 +320,15 @@ export function createLoginHandler(opts: LoginHandlerOptions = {}) {
|
|
|
295
320
|
const foundRow = parseAuthUserRow(
|
|
296
321
|
await ctx.queryAs(systemUser, UserQueries.findForAuth, { email: event.payload.email }),
|
|
297
322
|
);
|
|
323
|
+
if (!foundRow?.passwordHash || foundRow.isDeleted) {
|
|
324
|
+
const unknown = await gateCountUnknownUser(
|
|
325
|
+
ctx,
|
|
326
|
+
event.payload.email,
|
|
327
|
+
maxFailedAttempts,
|
|
328
|
+
lockoutDurationMinutes,
|
|
329
|
+
);
|
|
330
|
+
if (!unknown.ok) return unknown.result;
|
|
331
|
+
}
|
|
298
332
|
const userGate = await gateResolveAuthUser(foundRow, event.payload.password);
|
|
299
333
|
if (!userGate.ok) return userGate.result;
|
|
300
334
|
const found = userGate.value;
|
package/packages/bundled-features/src/auth-email-password/handlers/request-account-unlock.write.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AUTH_UNLOCK_DEFAULT_TTL_MINUTES, AuthErrors } from "../constants.ts";
|
|
2
1
|
import { AuthMailNotificationTypes } from "../mail-notifications.ts";
|
|
3
2
|
import { signUnlockToken } from "../unlock-token.ts";
|
|
3
|
+
import { AUTH_UNLOCK_DEFAULT_TTL_MINUTES, AuthErrors } from "../web/constants.ts";
|
|
4
4
|
import {
|
|
5
5
|
createTokenRequestHandler,
|
|
6
6
|
type TokenRequestData,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AUTH_VERIFY_DEFAULT_TTL_MINUTES, AuthErrors } from "../constants.ts";
|
|
2
1
|
import { AuthMailNotificationTypes } from "../mail-notifications.ts";
|
|
3
2
|
import { signVerificationToken } from "../verification-token.ts";
|
|
3
|
+
import { AUTH_VERIFY_DEFAULT_TTL_MINUTES, AuthErrors } from "../web/constants.ts";
|
|
4
4
|
import {
|
|
5
5
|
createTokenRequestHandler,
|
|
6
6
|
type TokenRequestData,
|
package/packages/bundled-features/src/auth-email-password/handlers/request-password-reset.write.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AUTH_RESET_DEFAULT_TTL_MINUTES, AuthErrors } from "../constants.ts";
|
|
2
1
|
import { AuthMailNotificationTypes } from "../mail-notifications.ts";
|
|
3
2
|
import { signResetToken } from "../reset-token.ts";
|
|
3
|
+
import { AUTH_RESET_DEFAULT_TTL_MINUTES, AuthErrors } from "../web/constants.ts";
|
|
4
4
|
import {
|
|
5
5
|
createTokenRequestHandler,
|
|
6
6
|
type TokenRequestData,
|
|
@@ -2,10 +2,10 @@ import { defineWriteHandler } from "@cosmicdrift/kumiko-framework/engine";
|
|
|
2
2
|
import { UnprocessableError, writeFailure } from "@cosmicdrift/kumiko-framework/errors";
|
|
3
3
|
import * as z from "zod";
|
|
4
4
|
import { hashPassword } from "../../shared/index.ts";
|
|
5
|
-
import { AuthErrors } from "../constants.ts";
|
|
6
5
|
import { invalidResetToken } from "../errors.ts";
|
|
7
6
|
import { passwordSchema } from "../password-policy.ts";
|
|
8
7
|
import { verifyResetToken } from "../reset-token.ts";
|
|
8
|
+
import { AuthErrors } from "../web/constants.ts";
|
|
9
9
|
import { runConfirmTokenFlow } from "./confirm-token-flow.ts";
|
|
10
10
|
|
|
11
11
|
export type ResetPasswordOptions = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineWriteHandler } from "@cosmicdrift/kumiko-framework/engine";
|
|
2
2
|
import { UnprocessableError, writeFailure } from "@cosmicdrift/kumiko-framework/errors";
|
|
3
3
|
import * as z from "zod";
|
|
4
|
-
import { AuthErrors } from "../constants.ts";
|
|
5
4
|
import { invalidVerificationToken } from "../errors.ts";
|
|
6
5
|
import { verifyVerificationToken } from "../verification-token.ts";
|
|
6
|
+
import { AuthErrors } from "../web/constants.ts";
|
|
7
7
|
import { runConfirmTokenFlow } from "./confirm-token-flow.ts";
|
|
8
8
|
|
|
9
9
|
export type VerifyEmailOptions = {
|
|
@@ -20,7 +20,6 @@ export type {
|
|
|
20
20
|
BootstrapTenantOutcome,
|
|
21
21
|
} from "./bootstrap.ts";
|
|
22
22
|
export { BootstrapPlanError, BootstrapWriteError, bootstrapTenants } from "./bootstrap.ts";
|
|
23
|
-
export { AUTH_EMAIL_PASSWORD_FEATURE, AuthErrors, AuthHandlers, AuthQueries } from "./constants.ts";
|
|
24
23
|
export type { AuthMailLocale } from "./email-templates.ts";
|
|
25
24
|
export type {
|
|
26
25
|
AccountLockoutOptions,
|
|
@@ -55,3 +54,9 @@ export {
|
|
|
55
54
|
SIGNUP_TOKEN_KEY_PREFIXES,
|
|
56
55
|
storeSignupToken,
|
|
57
56
|
} from "./signup-token-store.ts";
|
|
57
|
+
export {
|
|
58
|
+
AUTH_EMAIL_PASSWORD_FEATURE,
|
|
59
|
+
AuthErrors,
|
|
60
|
+
AuthHandlers,
|
|
61
|
+
AuthQueries,
|
|
62
|
+
} from "./web/constants.ts";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveMailLocale,
|
|
13
13
|
} from "@cosmicdrift/kumiko-framework/i18n";
|
|
14
14
|
import { escapeHtml, escapeHtmlAttr } from "@cosmicdrift/kumiko-renderer/headless";
|
|
15
|
-
import { AUTH_EMAIL_PASSWORD_FEATURE } from "./constants.ts";
|
|
15
|
+
import { AUTH_EMAIL_PASSWORD_FEATURE } from "./web/constants.ts";
|
|
16
16
|
|
|
17
17
|
export const AUTH_MAIL_KINDS = {
|
|
18
18
|
passwordReset: { name: "password-reset", translationKey: "reset" },
|
|
@@ -8,7 +8,6 @@ import { generateToken } from "@cosmicdrift/kumiko-framework/api";
|
|
|
8
8
|
import type { NotifyFn } from "@cosmicdrift/kumiko-framework/engine";
|
|
9
9
|
import { Temporal } from "@cosmicdrift/kumiko-types/temporal";
|
|
10
10
|
import type { Redis } from "ioredis";
|
|
11
|
-
import { AUTH_SIGNUP_DEFAULT_TTL_MINUTES } from "./constants.ts";
|
|
12
11
|
import { dispatchMagicLinkMail } from "./magic-link-mail.ts";
|
|
13
12
|
import { AuthMailNotificationTypes } from "./mail-notifications.ts";
|
|
14
13
|
import {
|
|
@@ -16,6 +15,7 @@ import {
|
|
|
16
15
|
normalizeEmail,
|
|
17
16
|
storeSignupToken,
|
|
18
17
|
} from "./signup-token-store.ts";
|
|
18
|
+
import { AUTH_SIGNUP_DEFAULT_TTL_MINUTES } from "./web/constants.ts";
|
|
19
19
|
|
|
20
20
|
export const SIGNUP_ACTIVATION_NOTIFICATION_TYPE = AuthMailNotificationTypes.signupActivation;
|
|
21
21
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @runtime client
|
|
2
1
|
// Client-Feature-Factory für auth-email-password. Wird vom App-Code
|
|
3
2
|
// in createKumikoApp({ clientFeatures: [emailPasswordClient()] })
|
|
4
3
|
// eingehängt und bringt Session-Context + AuthGate + Default-UI-
|
|
@@ -7,7 +6,6 @@
|
|
|
7
6
|
|
|
8
7
|
import type { ClientActionHandler, TranslationsByLocale } from "@cosmicdrift/kumiko-renderer";
|
|
9
8
|
import type { ComponentType, ReactNode } from "react";
|
|
10
|
-
import { defaultTranslations, mergeTranslations } from "../i18n.ts";
|
|
11
9
|
import {
|
|
12
10
|
type AuthGateOptions,
|
|
13
11
|
type MfaSetupComponentProps,
|
|
@@ -15,6 +13,7 @@ import {
|
|
|
15
13
|
makeSessionAuthGate,
|
|
16
14
|
} from "./auth-gate.tsx";
|
|
17
15
|
import { emailPasswordClientActions } from "./client-actions.ts";
|
|
16
|
+
import { defaultTranslations, mergeTranslations } from "./i18n.ts";
|
|
18
17
|
import type { LoginScreenProps } from "./login-screen.tsx";
|
|
19
18
|
|
|
20
19
|
export type EmailPasswordClientOptions = {
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
// runtime-isolation guard complaining. Runtime may import "client" files
|
|
5
|
-
// (see RUNTIME_RULES), so server-side access (handlers, dispatcher) stays
|
|
6
|
-
// intact as well.
|
|
1
|
+
// Pure string constants — no DB/Node builtins. They live under web/ so browser
|
|
2
|
+
// code (Members screen etc.) can import them without the runtime-isolation
|
|
3
|
+
// guard complaining; runtime may import client files, so handlers keep using them.
|
|
7
4
|
export const AUTH_EMAIL_PASSWORD_FEATURE = "auth-email-password" as const;
|
|
8
5
|
|
|
9
6
|
// Minimum length for reset/verify hmacSecret — mirrors the ≥32-char
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @runtime client
|
|
2
1
|
// English UI copy for this feature. emailPasswordClient() mounts it as a
|
|
3
2
|
// LocaleProvider fallback. Apps override keys via
|
|
4
3
|
// `emailPasswordClient({ translations })`. German/Spanish ship in
|
|
@@ -150,7 +149,7 @@ export const defaultTranslations: TranslationsByLocale = {
|
|
|
150
149
|
},
|
|
151
150
|
};
|
|
152
151
|
|
|
153
|
-
//
|
|
154
|
-
// TranslationsByLocale)
|
|
155
|
-
// (auth-email-password/web)
|
|
152
|
+
// The canonical implementation lives in the renderer (next to
|
|
153
|
+
// TranslationsByLocale); the re-export keeps the existing import surface
|
|
154
|
+
// (auth-email-password/web) stable.
|
|
156
155
|
export { mergeTranslations } from "@cosmicdrift/kumiko-renderer";
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
// @runtime client
|
|
2
1
|
// Public exports für die Browser-Seite des auth-email-password Features.
|
|
3
2
|
// Wird über den Sub-Path-Export `@cosmicdrift/kumiko-bundled-features/auth-email-
|
|
4
3
|
// password/web` konsumiert — die Server-Seite (defineFeature) lebt in
|
|
5
4
|
// `@cosmicdrift/kumiko-bundled-features/auth-email-password` und hat keine
|
|
6
5
|
// React-/DOM-Deps. Trennung bleibt sauber so wie renderer vs renderer/web.
|
|
7
6
|
|
|
8
|
-
export { defaultTranslations, mergeTranslations } from "../i18n.ts";
|
|
9
7
|
export type {
|
|
10
8
|
AuthTokenFailure,
|
|
11
9
|
CurrentUserProfile,
|
|
@@ -56,6 +54,7 @@ export type { DefaultTopbarActionsProps } from "./default-topbar-actions.tsx";
|
|
|
56
54
|
export { DefaultTopbarActions } from "./default-topbar-actions.tsx";
|
|
57
55
|
export type { ForgotPasswordScreenProps } from "./forgot-password-screen.tsx";
|
|
58
56
|
export { ForgotPasswordScreen } from "./forgot-password-screen.tsx";
|
|
57
|
+
export { defaultTranslations, mergeTranslations } from "./i18n.ts";
|
|
59
58
|
export type { InviteAcceptScreenProps } from "./invite-accept-screen.tsx";
|
|
60
59
|
export { InviteAcceptScreen } from "./invite-accept-screen.tsx";
|
|
61
60
|
export type { AuthLegalLink, LoginScreenProps } from "./login-screen.tsx";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @runtime client
|
|
2
1
|
// InviteAcceptScreen — Magic-Link-Accept für Tenant-Invitations.
|
|
3
2
|
//
|
|
4
3
|
// Liest `?token=...` aus der URL und branched intern je nach session-state:
|
|
@@ -30,8 +29,8 @@ export type InviteAcceptScreenProps = {
|
|
|
30
29
|
* `(data) => "/${data.tenantId}/"`. Function-form receives the roles this
|
|
31
30
|
* flow grants in the target tenant; branch 1 reports the invitation's
|
|
32
31
|
* role, which for an existing member is not their full role set there.
|
|
33
|
-
* @deprecated Configure auth.postAuthLanding on the server; its landingPath wins.
|
|
34
|
-
* Kept as fallback. */
|
|
32
|
+
* @deprecated Removed in 0.390.0. Configure auth.postAuthLanding on the server; its landingPath wins.
|
|
33
|
+
* Kept as fallback until 0.390.0. */
|
|
35
34
|
readonly loggedInHref?:
|
|
36
35
|
| string
|
|
37
36
|
| ((args: { tenantId: string; roles: readonly string[] }) => string);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @runtime client
|
|
2
1
|
// SignupCompleteScreen — Magic-Link-Self-Signup, Step 2.
|
|
3
2
|
//
|
|
4
3
|
// Reads `?token=...` from the URL, shows a form with password + confirm.
|
|
@@ -31,8 +30,8 @@ export type SignupCompleteScreenProps = {
|
|
|
31
30
|
/** Where to send the user after activation. Function-form receives the tenantKey, the
|
|
32
31
|
* roles granted by this flow in that tenant, and the claimed `handover` entity when
|
|
33
32
|
* signup claimed a try-first grant. Default "/".
|
|
34
|
-
* @deprecated Configure auth.postAuthLanding on the server; its landingPath wins.
|
|
35
|
-
* Kept as fallback. */
|
|
33
|
+
* @deprecated Removed in 0.390.0. Configure auth.postAuthLanding on the server; its landingPath wins.
|
|
34
|
+
* Kept as fallback until 0.390.0. */
|
|
36
35
|
readonly loggedInHref?:
|
|
37
36
|
| string
|
|
38
37
|
| ((args: {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.379.0",
|
|
4
|
+
"type": "fix",
|
|
5
|
+
"title": "MFA setup uses the shared QR secret primitive",
|
|
6
|
+
"detail": "The pre-auth MFA setup screen renders the QR code and secret through the renderer's QR secret primitive instead of its own markup."
|
|
7
|
+
},
|
|
2
8
|
{
|
|
3
9
|
"version": "0.370.0",
|
|
4
10
|
"type": "improvement",
|