@cosmicdrift/kumiko-bundled-features 0.368.0 → 0.370.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/account-security/constants.d.ts +4 -0
- package/dist/account-security/constants.js +5 -0
- package/dist/account-security/feature.d.ts +14 -0
- package/dist/account-security/feature.js +62 -0
- package/dist/account-security/i18n.d.ts +6 -0
- package/dist/account-security/i18n.js +6 -0
- package/dist/account-security/index.d.ts +3 -0
- package/dist/account-security/index.js +3 -0
- package/dist/admin-shell/feature.d.ts +1 -1
- package/dist/admin-shell/index.d.ts +4 -4
- package/dist/admin-shell/overview-panels.d.ts +1 -1
- package/dist/admin-shell/web/index.d.ts +1 -1
- package/dist/agent-tools/agent-manifest.d.ts +1 -1
- package/dist/agent-tools/index.d.ts +8 -8
- package/dist/agent-tools/manifest-deny-qns.d.ts +1 -1
- package/dist/agent-tools/tool-catalog.d.ts +1 -1
- package/dist/agent-tools/tool-dispatch.d.ts +1 -1
- package/dist/audit/handlers/resolve-audit-tenant.d.ts +1 -1
- package/dist/audit/index.d.ts +3 -3
- package/dist/audit/web/index.d.ts +1 -1
- package/dist/auth-email-password/bootstrap.d.ts +1 -1
- package/dist/auth-email-password/feature.d.ts +7 -6
- package/dist/auth-email-password/feature.js +3 -1
- package/dist/auth-email-password/handlers/confirm-token-flow.d.ts +1 -1
- package/dist/auth-email-password/handlers/invite-accept-with-login.write.d.ts +1 -1
- package/dist/auth-email-password/handlers/invite-create.write.d.ts +2 -2
- package/dist/auth-email-password/handlers/invite-signup-complete.write.d.ts +1 -1
- package/dist/auth-email-password/handlers/login.write.d.ts +1 -1
- package/dist/auth-email-password/handlers/request-account-unlock.write.d.ts +1 -1
- package/dist/auth-email-password/handlers/request-email-verification.write.d.ts +1 -1
- package/dist/auth-email-password/handlers/request-password-reset.write.d.ts +1 -1
- package/dist/auth-email-password/handlers/signup-confirm.write.d.ts +1 -1
- package/dist/auth-email-password/handlers/signup-request.write.d.ts +1 -1
- package/dist/auth-email-password/handlers/switch-tenant-mfa-gate.write.d.ts +1 -1
- package/dist/auth-email-password/handlers/token-request-handler.d.ts +2 -2
- package/dist/auth-email-password/index.d.ts +13 -13
- package/dist/auth-email-password/lockout-store.d.ts +1 -1
- package/dist/auth-email-password/magic-link-mail.d.ts +1 -1
- package/dist/auth-email-password/seeding.d.ts +3 -3
- package/dist/auth-email-password/signed-token.d.ts +1 -1
- package/dist/auth-email-password/signup-token-store.d.ts +1 -1
- package/dist/auth-email-password/testing.d.ts +1 -1
- package/dist/auth-email-password/web/auth-gate.d.ts +1 -1
- package/dist/auth-email-password/web/client-plugin.d.ts +2 -2
- package/dist/auth-email-password/web/index.d.ts +42 -42
- package/dist/auth-email-password/web/session-bootstrap-error.d.ts +1 -1
- package/dist/auth-email-password/web/session.d.ts +1 -1
- package/dist/auth-email-password/web/signup-complete-screen.d.ts +1 -1
- package/dist/auth-foundation/feature.d.ts +2 -6
- package/dist/auth-foundation/feature.js +0 -2
- package/dist/auth-foundation/index.d.ts +3 -3
- package/dist/auth-foundation/index.js +1 -1
- package/dist/auth-foundation/resolve-anonymous-access.d.ts +1 -1
- package/dist/auth-mfa/env.d.ts +13 -0
- package/dist/auth-mfa/env.js +24 -0
- package/dist/auth-mfa/errors.d.ts +1 -1
- package/dist/auth-mfa/feature-exports.d.ts +12 -0
- package/dist/auth-mfa/feature-exports.js +72 -0
- package/dist/auth-mfa/feature.d.ts +6 -12
- package/dist/auth-mfa/feature.js +53 -70
- package/dist/auth-mfa/handlers/reencrypt.job.d.ts +1 -1
- package/dist/auth-mfa/index.d.ts +12 -9
- package/dist/auth-mfa/index.js +4 -2
- package/dist/auth-mfa/mfa-challenge-token.d.ts +1 -1
- package/dist/auth-mfa/mfa-preauth-setup-token.d.ts +1 -1
- package/dist/auth-mfa/mfa-status-checker.d.ts +1 -1
- package/dist/auth-mfa/mfa-verify-attempts.d.ts +1 -1
- package/dist/auth-mfa/testing.d.ts +1 -1
- package/dist/auth-mfa/token-secrets.d.ts +7 -0
- package/dist/auth-mfa/token-secrets.js +13 -0
- package/dist/auth-mfa/verify-factor.d.ts +1 -1
- package/dist/auth-mfa/web/index.d.ts +15 -15
- package/dist/auth-mfa/web/mfa-client.d.ts +1 -1
- package/dist/auth-mfa-user-data/index.d.ts +0 -4
- package/dist/auth-mfa-user-data/index.js +0 -2
- package/dist/billing-foundation/checkout-core.d.ts +2 -2
- package/dist/billing-foundation/consumer-protection/confirmation-mail.d.ts +2 -2
- package/dist/billing-foundation/consumer-protection/consent-gate.d.ts +1 -1
- package/dist/billing-foundation/consumer-protection/consent-text.d.ts +2 -2
- package/dist/billing-foundation/consumer-protection/issue-confirmation.d.ts +1 -1
- package/dist/billing-foundation/consumer-protection/register-consent.d.ts +1 -1
- package/dist/billing-foundation/consumer-protection/register-termination.d.ts +1 -1
- package/dist/billing-foundation/consumer-protection/termination-mail.d.ts +3 -3
- package/dist/billing-foundation/consumer-protection/termination-notify.d.ts +5 -5
- package/dist/billing-foundation/consumer-protection/termination-pages.d.ts +2 -2
- package/dist/billing-foundation/consumer-protection/termination-record.d.ts +3 -3
- package/dist/billing-foundation/consumer-protection/termination-request.d.ts +2 -2
- package/dist/billing-foundation/consumer-protection/termination-texts.d.ts +2 -2
- package/dist/billing-foundation/feature.d.ts +1 -3
- package/dist/billing-foundation/feature.js +0 -2
- package/dist/billing-foundation/handlers/billing-plans.query.d.ts +1 -1
- package/dist/billing-foundation/handlers/create-checkout-session.write.d.ts +1 -1
- package/dist/billing-foundation/handlers/create-portal-session.write.d.ts +1 -1
- package/dist/billing-foundation/handlers/start-plan-checkout.write.d.ts +1 -1
- package/dist/billing-foundation/handlers/switch-plan.write.d.ts +1 -1
- package/dist/billing-foundation/index.d.ts +16 -16
- package/dist/billing-foundation/index.js +1 -1
- package/dist/billing-foundation/plan-catalog.d.ts +1 -1
- package/dist/billing-foundation/subscription-tier-sync.d.ts +3 -1
- package/dist/billing-foundation/subscription-tier-sync.js +3 -2
- package/dist/billing-foundation/types.d.ts +3 -3
- package/dist/billing-foundation/validate-options.d.ts +1 -1
- package/dist/billing-foundation/web/checkout-consent-dialog.d.ts +1 -1
- package/dist/billing-foundation/web/index.d.ts +6 -6
- package/dist/cap-counter/calendar-cap-usage-reservation.d.ts +4 -4
- package/dist/cap-counter/cap-reservation.d.ts +1 -1
- package/dist/cap-counter/enforce-cap.d.ts +1 -1
- package/dist/cap-counter/feature.d.ts +0 -4
- package/dist/cap-counter/feature.js +0 -2
- package/dist/cap-counter/index.d.ts +13 -13
- package/dist/cap-counter/index.js +1 -1
- package/dist/cap-counter/value-cap-guard.d.ts +1 -1
- package/dist/cap-counter/with-cap-enforcement.d.ts +1 -1
- package/dist/cap-overview/feature.d.ts +1 -1
- package/dist/cap-overview/handlers/caps-usage.query.d.ts +1 -1
- package/dist/cap-overview/handlers/tenant-caps-list.query.d.ts +1 -1
- package/dist/cap-overview/index.d.ts +6 -6
- package/dist/cap-overview/screens.d.ts +1 -1
- package/dist/cap-overview/types.d.ts +1 -1
- package/dist/cap-overview/usage-math.d.ts +1 -1
- package/dist/cap-overview/web/cap-usage-bar.d.ts +1 -1
- package/dist/cap-overview/web/index.d.ts +4 -4
- package/dist/channel-discord/discord-channel.d.ts +1 -1
- package/dist/channel-discord/feature.d.ts +1 -1
- package/dist/channel-discord/index.d.ts +2 -2
- package/dist/channel-email/email-channel.d.ts +15 -7
- package/dist/channel-email/email-channel.js +17 -3
- package/dist/channel-email/env.d.ts +14 -0
- package/dist/channel-email/env.js +27 -0
- package/dist/channel-email/feature.d.ts +14 -3
- package/dist/channel-email/feature.js +6 -2
- package/dist/channel-email/index.d.ts +6 -5
- package/dist/channel-email/index.js +2 -1
- package/dist/channel-email/pii-guard.d.ts +1 -1
- package/dist/channel-email/smtp-transport.d.ts +1 -1
- package/dist/channel-email/types.d.ts +1 -1
- package/dist/channel-in-app/in-app-channel.d.ts +1 -1
- package/dist/channel-in-app/index.d.ts +4 -4
- package/dist/channel-push/feature.d.ts +1 -1
- package/dist/channel-push/index.d.ts +3 -3
- package/dist/channel-push/push-channel.d.ts +2 -2
- package/dist/channel-slack/feature.d.ts +1 -1
- package/dist/channel-slack/index.d.ts +2 -2
- package/dist/channel-slack/slack-channel.d.ts +1 -1
- package/dist/channel-teams/feature.d.ts +1 -1
- package/dist/channel-teams/index.d.ts +2 -2
- package/dist/channel-teams/teams-channel.d.ts +1 -1
- package/dist/channel-telegram/feature.d.ts +1 -1
- package/dist/channel-telegram/index.d.ts +2 -2
- package/dist/channel-telegram/telegram-channel.d.ts +1 -1
- package/dist/compliance-profiles/feature.d.ts +1 -1
- package/dist/compliance-profiles/index.d.ts +3 -3
- package/dist/compliance-profiles/web/index.d.ts +2 -2
- package/dist/compliance-profiles-ops/index.d.ts +0 -8
- package/dist/compliance-profiles-ops/index.js +0 -2
- package/dist/config/feature.d.ts +1 -1
- package/dist/config/handlers/reencrypt.job.d.ts +1 -1
- package/dist/config/index.d.ts +8 -8
- package/dist/config/web/client-plugin.d.ts +1 -1
- package/dist/config/web/i18n.js +1 -2
- package/dist/config/web/index.d.ts +2 -2
- package/dist/crypto-shredding/env/index.d.ts +21 -0
- package/dist/crypto-shredding/env/index.js +78 -0
- package/dist/crypto-shredding/feature.d.ts +17 -2
- package/dist/crypto-shredding/feature.js +5 -1
- package/dist/crypto-shredding/index.d.ts +4 -3
- package/dist/crypto-shredding/index.js +1 -0
- package/dist/custom-fields/feature.d.ts +0 -17
- package/dist/custom-fields/feature.js +0 -2
- package/dist/custom-fields/index.d.ts +10 -10
- package/dist/custom-fields/index.js +1 -1
- package/dist/custom-fields/lib/define-or-resurrect.d.ts +2 -2
- package/dist/custom-fields/lib/field-access.d.ts +1 -1
- package/dist/custom-fields/lib/field-definition-row.d.ts +1 -1
- package/dist/custom-fields/lib/quota.d.ts +1 -1
- package/dist/custom-fields/web/index.d.ts +3 -3
- package/dist/data-retention/_internal/parse-override.d.ts +1 -1
- package/dist/data-retention/feature.d.ts +7 -7
- package/dist/data-retention/handlers/policy-for.query.d.ts +1 -1
- package/dist/data-retention/index.d.ts +3 -3
- package/dist/data-retention/resolve-for-tenant.d.ts +2 -2
- package/dist/data-retention/resolve-tenant-preset.d.ts +1 -1
- package/dist/data-retention/resolver.d.ts +1 -1
- package/dist/data-retention/run-retention-cleanup.d.ts +2 -2
- package/dist/delivery/attachment-ref.d.ts +1 -1
- package/dist/delivery/attempt-log.d.ts +1 -1
- package/dist/delivery/channel-context.d.ts +2 -2
- package/dist/delivery/chat-webhook-channel.d.ts +2 -2
- package/dist/delivery/constants.d.ts +1 -1
- package/dist/delivery/delivery-service.d.ts +2 -2
- package/dist/delivery/feature.js +3 -1
- package/dist/delivery/handlers/log.query.d.ts +1 -1
- package/dist/delivery/handlers/unsubscribe-page-chrome.query.d.ts +5 -0
- package/dist/delivery/handlers/unsubscribe-page-chrome.query.js +44 -0
- package/dist/delivery/index.d.ts +20 -19
- package/dist/delivery/index.js +3 -2
- package/dist/delivery/notify-factory.d.ts +1 -1
- package/dist/delivery/public-names.d.ts +1 -0
- package/dist/delivery/public-names.js +1 -0
- package/dist/delivery/testing.d.ts +3 -3
- package/dist/delivery/types.d.ts +3 -3
- package/dist/delivery/unsubscribe-link.d.ts +1 -1
- package/dist/delivery/unsubscribe-page-strings.d.ts +4 -0
- package/dist/delivery/unsubscribe-page-strings.js +4 -0
- package/dist/delivery/unsubscribe-page.d.ts +27 -0
- package/dist/delivery/unsubscribe-page.js +192 -0
- package/dist/delivery/unsubscribe.d.ts +22 -1
- package/dist/delivery/unsubscribe.js +152 -65
- package/dist/delivery/web/index.d.ts +2 -2
- package/dist/derivatives-sharp/feature.d.ts +0 -4
- package/dist/derivatives-sharp/feature.js +0 -2
- package/dist/derivatives-sharp/index.d.ts +2 -2
- package/dist/derivatives-sharp/index.js +1 -1
- package/dist/document-ingest-foundation/feature.d.ts +0 -7
- package/dist/document-ingest-foundation/feature.js +0 -2
- package/dist/document-ingest-foundation/index.d.ts +7 -7
- package/dist/document-ingest-foundation/index.js +1 -1
- package/dist/document-ingest-foundation/pages.d.ts +1 -1
- package/dist/document-ingest-foundation/providers.d.ts +1 -1
- package/dist/document-ingest-foundation/write-document-extract.d.ts +1 -1
- package/dist/feature-toggles/compose-tier-resolver.d.ts +1 -1
- package/dist/feature-toggles/feature.d.ts +5 -5
- package/dist/feature-toggles/handlers/set.write.d.ts +1 -1
- package/dist/feature-toggles/index.d.ts +3 -3
- package/dist/feature-toggles/toggle-sync-signal.d.ts +1 -1
- package/dist/feature-toggles/web/index.d.ts +1 -1
- package/dist/file-derivatives/feature.d.ts +0 -2
- package/dist/file-derivatives/feature.js +0 -2
- package/dist/file-derivatives/index.d.ts +4 -4
- package/dist/file-derivatives/index.js +1 -1
- package/dist/file-foundation/feature.d.ts +0 -6
- package/dist/file-foundation/feature.js +0 -2
- package/dist/file-foundation/index.d.ts +2 -2
- package/dist/file-foundation/index.js +1 -1
- package/dist/file-provider-inmemory/feature.d.ts +0 -4
- package/dist/file-provider-inmemory/feature.js +0 -2
- package/dist/file-provider-inmemory/index.d.ts +1 -1
- package/dist/file-provider-inmemory/index.js +1 -1
- package/dist/file-provider-s3/env-feature.d.ts +12 -2
- package/dist/file-provider-s3/env-feature.js +9 -6
- package/dist/file-provider-s3/env-schema.d.ts +38 -0
- package/dist/file-provider-s3/env-schema.js +51 -0
- package/dist/file-provider-s3/feature.d.ts +1 -14
- package/dist/file-provider-s3/feature.js +0 -2
- package/dist/file-provider-s3/index.d.ts +2 -1
- package/dist/file-provider-s3/index.js +2 -1
- package/dist/file-provider-s3/lib/env-helper.d.ts +1 -1
- package/dist/file-provider-s3/lib/index.d.ts +3 -3
- package/dist/files/index.d.ts +1 -1
- package/dist/files-tenant-data/index.d.ts +2 -2
- package/dist/folders/feature.d.ts +0 -4
- package/dist/folders/feature.js +0 -2
- package/dist/folders/index.d.ts +7 -7
- package/dist/folders/index.js +1 -1
- package/dist/folders/web/folder-manager.d.ts +1 -1
- package/dist/folders/web/index.d.ts +5 -5
- package/dist/folders-user-data/index.d.ts +0 -4
- package/dist/folders-user-data/index.js +0 -2
- package/dist/form-draft/db/queries/cleanup.d.ts +1 -1
- package/dist/form-draft/feature.d.ts +0 -4
- package/dist/form-draft/feature.js +0 -2
- package/dist/form-draft/handlers/cleanup.job.d.ts +1 -1
- package/dist/form-draft/handlers/get.query.d.ts +1 -1
- package/dist/form-draft/index.d.ts +10 -10
- package/dist/form-draft/index.js +1 -1
- package/dist/form-draft/lookup.d.ts +1 -1
- package/dist/form-draft/release-file-refs.d.ts +1 -1
- package/dist/form-draft-user-data/index.d.ts +0 -4
- package/dist/form-draft-user-data/index.js +0 -2
- package/dist/foundation-shared/build-info-env.d.ts +7 -0
- package/dist/foundation-shared/build-info-env.js +15 -0
- package/dist/foundation-shared/demo-admin-env.d.ts +12 -0
- package/dist/foundation-shared/demo-admin-env.js +21 -0
- package/dist/foundation-shared/index.d.ts +5 -3
- package/dist/foundation-shared/index.js +2 -0
- package/dist/host-routing/constants.d.ts +8 -0
- package/dist/host-routing/constants.js +19 -0
- package/dist/host-routing/dispatch.d.ts +24 -0
- package/dist/host-routing/dispatch.js +102 -0
- package/dist/host-routing/feature.d.ts +3 -0
- package/dist/host-routing/feature.js +102 -0
- package/dist/host-routing/host.d.ts +14 -0
- package/dist/host-routing/host.js +37 -0
- package/dist/host-routing/index.d.ts +5 -0
- package/dist/host-routing/index.js +4 -0
- package/dist/host-routing/options.d.ts +27 -0
- package/dist/host-routing/options.js +1 -0
- package/dist/host-routing/validate-options.d.ts +2 -0
- package/dist/host-routing/validate-options.js +29 -0
- package/dist/inbound-mail-foundation/connect-routes.d.ts +2 -2
- package/dist/inbound-mail-foundation/feature.d.ts +0 -4
- package/dist/inbound-mail-foundation/feature.js +0 -2
- package/dist/inbound-mail-foundation/handlers/account-state.d.ts +1 -1
- package/dist/inbound-mail-foundation/index.d.ts +12 -12
- package/dist/inbound-mail-foundation/index.js +1 -1
- package/dist/inbound-mail-foundation/oauth-access-token.d.ts +1 -1
- package/dist/inbound-mail-foundation/provider-factory.d.ts +1 -1
- package/dist/inbound-mail-foundation/types.d.ts +1 -1
- package/dist/inbound-mail-foundation/watch-supervisor.d.ts +2 -2
- package/dist/inbound-provider-imap/feature.d.ts +1 -5
- package/dist/inbound-provider-imap/feature.js +0 -2
- package/dist/inbound-provider-imap/imap-client.d.ts +1 -1
- package/dist/inbound-provider-imap/index.d.ts +3 -3
- package/dist/inbound-provider-imap/index.js +1 -1
- package/dist/inbound-provider-inmemory/feature.d.ts +0 -4
- package/dist/inbound-provider-inmemory/feature.js +0 -2
- package/dist/inbound-provider-inmemory/index.d.ts +1 -1
- package/dist/inbound-provider-inmemory/index.js +1 -1
- package/dist/jobs/handlers/tenant-runs.query.d.ts +1 -1
- package/dist/jobs/index.d.ts +9 -9
- package/dist/jobs/web/index.d.ts +1 -1
- package/dist/ledger/feature.d.ts +0 -4
- package/dist/ledger/feature.js +0 -2
- package/dist/ledger/index.d.ts +10 -10
- package/dist/ledger/index.js +1 -1
- package/dist/ledger/recurring.d.ts +2 -2
- package/dist/ledger/reports.d.ts +2 -2
- package/dist/ledger/web/index.d.ts +3 -3
- package/dist/legal-pages/constants.d.ts +12 -0
- package/dist/legal-pages/constants.js +16 -0
- package/dist/legal-pages/feature.d.ts +6 -3
- package/dist/legal-pages/feature.js +5 -2
- package/dist/legal-pages/index.d.ts +5 -3
- package/dist/legal-pages/index.js +3 -1
- package/dist/legal-pages/layout.d.ts +10 -0
- package/dist/legal-pages/layout.js +32 -0
- package/dist/legal-pages/lib/boot-check.d.ts +1 -1
- package/dist/legal-pages/lib/validate-routes.d.ts +1 -1
- package/dist/legal-pages/markdown.d.ts +2 -2
- package/dist/legal-pages/seed.d.ts +12 -0
- package/dist/legal-pages/seed.js +38 -0
- package/dist/legal-pages/web/index.d.ts +1 -1
- package/dist/mail-foundation/feature.d.ts +4 -7
- package/dist/mail-foundation/feature.js +16 -14
- package/dist/mail-foundation/i18n.d.ts +14 -0
- package/dist/mail-foundation/i18n.js +8 -0
- package/dist/mail-foundation/index.d.ts +1 -1
- package/dist/mail-foundation/index.js +1 -1
- package/dist/mail-transport-inmemory/feature.d.ts +0 -4
- package/dist/mail-transport-inmemory/feature.js +6 -2
- package/dist/mail-transport-inmemory/index.d.ts +1 -1
- package/dist/mail-transport-inmemory/index.js +1 -1
- package/dist/mail-transport-smtp/config-keys.d.ts +7 -0
- package/dist/mail-transport-smtp/config-keys.js +65 -0
- package/dist/mail-transport-smtp/feature.d.ts +0 -16
- package/dist/mail-transport-smtp/feature.js +5 -35
- package/dist/mail-transport-smtp/i18n.d.ts +41 -0
- package/dist/mail-transport-smtp/i18n.js +28 -0
- package/dist/mail-transport-smtp/index.d.ts +1 -1
- package/dist/mail-transport-smtp/index.js +1 -1
- package/dist/managed-pages/branding.d.ts +1 -1
- package/dist/managed-pages/feature.d.ts +1 -1
- package/dist/managed-pages/handlers/branding.query.d.ts +1 -1
- package/dist/managed-pages/index.d.ts +5 -5
- package/dist/managed-pages/web/index.d.ts +2 -2
- package/dist/metrics/compute.d.ts +2 -2
- package/dist/metrics/default-metrics.d.ts +9 -9
- package/dist/metrics/feature.d.ts +1 -1
- package/dist/metrics/filters.d.ts +1 -1
- package/dist/metrics/index.d.ts +5 -5
- package/dist/metrics/types.d.ts +1 -1
- package/dist/metrics/validate.d.ts +1 -1
- package/dist/metrics/window.d.ts +2 -2
- package/dist/notes-history/feature.d.ts +0 -4
- package/dist/notes-history/feature.js +0 -2
- package/dist/notes-history/handlers/add-note.write.d.ts +1 -1
- package/dist/notes-history/index.d.ts +6 -6
- package/dist/notes-history/index.js +1 -1
- package/dist/notes-history/web/index.d.ts +3 -3
- package/dist/notes-history-user-data/index.d.ts +1 -5
- package/dist/notes-history-user-data/index.js +0 -2
- package/dist/page-render/index.d.ts +7 -7
- package/dist/page-render/layout.d.ts +1 -1
- package/dist/page-render/web.d.ts +5 -5
- package/dist/personal-access-tokens/feature.d.ts +3 -3
- package/dist/personal-access-tokens/handlers/available-scopes.query.d.ts +1 -1
- package/dist/personal-access-tokens/i18n.d.ts +1 -1
- package/dist/personal-access-tokens/index.d.ts +13 -13
- package/dist/personal-access-tokens/resolver.d.ts +1 -1
- package/dist/personal-access-tokens/screens.d.ts +1 -1
- package/dist/presets/dsgvo-self-service.d.ts +3 -1
- package/dist/presets/dsgvo-self-service.js +2 -0
- package/dist/presets/index.d.ts +2 -2
- package/dist/presets/security-baseline.d.ts +2 -0
- package/dist/presets/security-baseline.js +2 -0
- package/dist/rate-limiting/index.d.ts +2 -2
- package/dist/readiness/feature.d.ts +0 -8
- package/dist/readiness/feature.js +0 -2
- package/dist/readiness/index.d.ts +3 -3
- package/dist/readiness/index.js +1 -1
- package/dist/renderer-foundation/api.d.ts +2 -2
- package/dist/renderer-foundation/constants.d.ts +2 -2
- package/dist/renderer-foundation/feature.d.ts +1 -1
- package/dist/renderer-foundation/index.d.ts +5 -5
- package/dist/renderer-foundation/types.d.ts +24 -2
- package/dist/renderer-pdf/feature.d.ts +1 -1
- package/dist/renderer-pdf/index.d.ts +2 -2
- package/dist/renderer-pdf/render-table-pdf.d.ts +1 -1
- package/dist/secrets/constants.d.ts +7 -0
- package/dist/secrets/constants.js +7 -0
- package/dist/secrets/db/queries/read.d.ts +1 -1
- package/dist/secrets/feature.d.ts +5 -3
- package/dist/secrets/feature.js +19 -5
- package/dist/secrets/handlers/delete.write.js +4 -3
- package/dist/secrets/handlers/rotate.job.d.ts +1 -1
- package/dist/secrets/handlers/set.write.js +4 -3
- package/dist/secrets/index.d.ts +7 -7
- package/dist/secrets/index.js +1 -1
- package/dist/secrets/secrets-context.d.ts +1 -1
- package/dist/seo/feature.d.ts +3 -3
- package/dist/seo/index.d.ts +6 -6
- package/dist/sessions/feature.d.ts +1 -1
- package/dist/sessions/index.d.ts +8 -8
- package/dist/sessions/session-callbacks.d.ts +1 -1
- package/dist/sessions/testing.d.ts +1 -1
- package/dist/shared/index.d.ts +31 -31
- package/dist/step-dispatcher/dispatch-payload.d.ts +2 -2
- package/dist/step-dispatcher/index.d.ts +3 -3
- package/dist/subscription-mollie/feature.d.ts +2 -2
- package/dist/subscription-mollie/index.d.ts +3 -3
- package/dist/subscription-mollie/verify-webhook.d.ts +1 -1
- package/dist/subscription-stripe/feature.d.ts +17 -1
- package/dist/subscription-stripe/feature.js +19 -1
- package/dist/subscription-stripe/index.d.ts +2 -2
- package/dist/subscription-stripe/index.js +1 -1
- package/dist/subscription-stripe/plugin-methods.d.ts +1 -1
- package/dist/subscription-stripe/verify-webhook.d.ts +1 -1
- package/dist/tags/feature.d.ts +0 -4
- package/dist/tags/feature.js +0 -2
- package/dist/tags/handlers/assign-tag.write.d.ts +1 -1
- package/dist/tags/handlers/remove-tag.write.d.ts +1 -1
- package/dist/tags/index.d.ts +11 -11
- package/dist/tags/index.js +1 -1
- package/dist/tags/web/index.d.ts +9 -9
- package/dist/template-resolver/api.d.ts +4 -4
- package/dist/template-resolver/constants.d.ts +1 -2
- package/dist/template-resolver/constants.js +0 -1
- package/dist/template-resolver/document-sanitizer.d.ts +1 -1
- package/dist/template-resolver/handlers/bundle-import.d.ts +3 -3
- package/dist/template-resolver/handlers/collection-shared.d.ts +2 -2
- package/dist/template-resolver/handlers/copy-locale.write.d.ts +1 -1
- package/dist/template-resolver/handlers/diff-to-system.query.d.ts +1 -1
- package/dist/template-resolver/handlers/find-by-id.query.d.ts +1 -1
- package/dist/template-resolver/handlers/import-bundle-system.write.d.ts +1 -1
- package/dist/template-resolver/handlers/import-bundle.write.d.ts +1 -1
- package/dist/template-resolver/handlers/layout-source.query.d.ts +3 -3
- package/dist/template-resolver/handlers/override-diff.d.ts +2 -2
- package/dist/template-resolver/handlers/overview.query.d.ts +3 -3
- package/dist/template-resolver/handlers/preview.query.d.ts +1 -1
- package/dist/template-resolver/handlers/resource-link-pdf.write.d.ts +1 -1
- package/dist/template-resolver/handlers/resource-upload.write.d.ts +1 -1
- package/dist/template-resolver/handlers/send-test.write.d.ts +1 -1
- package/dist/template-resolver/handlers/send-test.write.js +4 -2
- package/dist/template-resolver/handlers/shared.d.ts +1 -1
- package/dist/template-resolver/handlers/template-gates.d.ts +4 -4
- package/dist/template-resolver/handlers/template-write.d.ts +4 -4
- package/dist/template-resolver/handlers/tenant-overrides.query.d.ts +1 -1
- package/dist/template-resolver/handlers/toggle-status.write.d.ts +1 -1
- package/dist/template-resolver/handlers/upsert-system.write.d.ts +1 -1
- package/dist/template-resolver/handlers/upsert-tenant.write.d.ts +1 -1
- package/dist/template-resolver/handlers/usage.query.d.ts +1 -1
- package/dist/template-resolver/handlers/validate.query.d.ts +3 -3
- package/dist/template-resolver/index.d.ts +25 -25
- package/dist/template-resolver/layout-appearance.d.ts +1 -1
- package/dist/template-resolver/layout-regions.d.ts +2 -2
- package/dist/template-resolver/linked-resources.d.ts +1 -1
- package/dist/template-resolver/preview-display-html.d.ts +1 -1
- package/dist/template-resolver/resource-image.d.ts +1 -1
- package/dist/template-resolver/seeding.d.ts +2 -2
- package/dist/template-resolver/store-template-resource.d.ts +1 -1
- package/dist/template-resolver/template-draft.d.ts +2 -2
- package/dist/template-resolver/template-meta.d.ts +2 -2
- package/dist/template-resolver/template-preview.d.ts +7 -6
- package/dist/template-resolver/template-preview.js +19 -12
- package/dist/template-resolver/template-resources.d.ts +1 -1
- package/dist/template-resolver/template-usage.d.ts +3 -1
- package/dist/template-resolver/template-usage.js +1 -0
- package/dist/template-resolver/template-validation.d.ts +1 -1
- package/dist/template-resolver/testing.d.ts +1 -1
- package/dist/template-resolver/user-content-table.d.ts +1 -1
- package/dist/template-resolver/web/document-editor-extensions.d.ts +1 -1
- package/dist/template-resolver/web/document-editor-extensions.js +6 -2
- package/dist/template-resolver/web/document-editor.d.ts +1 -1
- package/dist/template-resolver/web/document-tiptap-editor.d.ts +1 -1
- package/dist/template-resolver/web/document-tiptap-editor.js +13 -10
- package/dist/template-resolver/web/editor-handle.d.ts +1 -1
- package/dist/template-resolver/web/index.d.ts +7 -7
- package/dist/template-resolver/web/placeholder-line-editor-lazy.d.ts +2 -2
- package/dist/template-resolver/web/placeholder-line-editor.d.ts +1 -1
- package/dist/template-resolver-user-data/index.d.ts +0 -4
- package/dist/template-resolver-user-data/index.js +0 -2
- package/dist/tenant/feature.d.ts +1 -1
- package/dist/tenant/index.d.ts +10 -10
- package/dist/tenant/is-tenant-serving-public-content.d.ts +1 -1
- package/dist/tenant/testing.d.ts +1 -1
- package/dist/tenant/web/index.d.ts +3 -3
- package/dist/tenant-handover/feature.d.ts +1 -1
- package/dist/tenant-handover/index.d.ts +3 -3
- package/dist/tenant-handover/signup-handover-provider.d.ts +1 -1
- package/dist/tenant-lifecycle/feature.d.ts +2 -2
- package/dist/tenant-lifecycle/index.d.ts +3 -3
- package/dist/tenant-lifecycle/run-tenant-destroy.d.ts +1 -1
- package/dist/tenant-lifecycle/stages.d.ts +1 -1
- package/dist/tenant-lifecycle/testing.d.ts +1 -1
- package/dist/tenant-settings/feature.d.ts +1 -3
- package/dist/tenant-settings/feature.js +0 -2
- package/dist/tenant-settings/index.d.ts +4 -4
- package/dist/tenant-settings/index.js +1 -1
- package/dist/tier-engine/entity.d.ts +1 -1
- package/dist/tier-engine/feature.d.ts +2 -4
- package/dist/tier-engine/feature.js +0 -2
- package/dist/tier-engine/handlers/get-tenant-tier.query.d.ts +1 -1
- package/dist/tier-engine/i18n.d.ts +0 -2
- package/dist/tier-engine/i18n.js +4 -4
- package/dist/tier-engine/index.d.ts +8 -8
- package/dist/tier-engine/index.js +1 -1
- package/dist/tier-engine/tier-option-gate.d.ts +1 -1
- package/dist/tier-engine/tier-resolver.d.ts +1 -1
- package/dist/tier-engine/web/client-plugin.js +3 -2
- package/dist/tier-engine/web/index.d.ts +1 -1
- package/dist/user/index.d.ts +8 -8
- package/dist/user/invited-global-roles.d.ts +1 -1
- package/dist/user/principal-status.d.ts +1 -1
- package/dist/user/seeding.d.ts +1 -1
- package/dist/user/testing.d.ts +1 -1
- package/dist/user-data-rights/deletion-token.d.ts +1 -1
- package/dist/user-data-rights/feature.d.ts +5 -5
- package/dist/user-data-rights/feature.js +7 -4
- package/dist/user-data-rights/handlers/request-deletion.write.d.ts +1 -1
- package/dist/user-data-rights/handlers/run-forget-cleanup.write.d.ts +3 -3
- package/dist/user-data-rights/index.d.ts +13 -13
- package/dist/user-data-rights/lib/default-mailers.d.ts +7 -4
- package/dist/user-data-rights/lib/default-mailers.js +25 -3
- package/dist/user-data-rights/web/client-plugin.d.ts +1 -1
- package/dist/user-data-rights/web/index.d.ts +8 -8
- package/dist/user-data-rights-defaults/index.d.ts +11 -11
- package/dist/user-profile/index.d.ts +2 -2
- package/dist/user-profile/web/index.d.ts +2 -2
- package/dist/waitlist/constants.d.ts +9 -0
- package/dist/waitlist/constants.js +11 -0
- package/dist/waitlist/entity.d.ts +38 -6
- package/dist/waitlist/entity.js +4 -2
- package/dist/waitlist/entries-admin.d.ts +4 -0
- package/dist/waitlist/entries-admin.js +42 -0
- package/dist/waitlist/feature.d.ts +1 -1
- package/dist/waitlist/feature.js +16 -1
- package/dist/waitlist/handlers/export-purge.write.d.ts +12 -0
- package/dist/waitlist/handlers/export-purge.write.js +61 -0
- package/dist/waitlist/handlers/invite.write.d.ts +1 -1
- package/dist/waitlist/handlers/submit.write.d.ts +1 -1
- package/dist/waitlist/i18n.js +4 -0
- package/dist/waitlist/import.d.ts +24 -0
- package/dist/waitlist/import.js +51 -0
- package/dist/waitlist/index.d.ts +7 -5
- package/dist/waitlist/index.js +2 -0
- package/dist/waitlist/legacy-migrate.d.ts +27 -0
- package/dist/waitlist/legacy-migrate.js +173 -0
- package/dist/waitlist/lib.d.ts +2 -2
- package/dist/waitlist/link-on-signup.d.ts +3 -0
- package/dist/waitlist/link-on-signup.js +83 -0
- package/dist/waitlist/options.d.ts +11 -3
- package/dist/waitlist/payloads.d.ts +3 -0
- package/dist/waitlist/payloads.js +1 -0
- package/dist/workflow-runner/feature.d.ts +0 -4
- package/dist/workflow-runner/feature.js +0 -2
- package/dist/workflow-runner/index.d.ts +4 -4
- package/dist/workflow-runner/index.js +1 -1
- package/package.json +43 -27
- package/src/account-security/changes.json +8 -0
- package/src/auth-email-password/changes.json +6 -0
- package/src/auth-foundation/changes.json +8 -0
- package/src/auth-mfa/changes.json +6 -0
- package/src/auth-mfa-user-data/changes.json +10 -1
- package/src/billing-foundation/changes.json +8 -0
- package/src/cap-counter/changes.json +8 -0
- package/src/channel-email/changes.json +13 -0
- package/src/compliance-profiles-ops/changes.json +10 -0
- package/src/crypto-shredding/changes.json +6 -0
- package/src/custom-fields/changes.json +8 -0
- package/src/delivery/changes.json +12 -0
- package/src/derivatives-sharp/changes.json +8 -0
- package/src/document-ingest-foundation/changes.json +8 -0
- package/src/file-derivatives/changes.json +8 -0
- package/src/file-foundation/changes.json +8 -0
- package/src/file-provider-inmemory/changes.json +10 -1
- package/src/file-provider-s3/changes.json +22 -0
- package/src/folders/changes.json +8 -0
- package/src/folders-user-data/changes.json +10 -1
- package/src/form-draft/changes.json +8 -0
- package/src/form-draft-user-data/changes.json +10 -1
- package/src/foundation-shared/changes.json +8 -1
- package/src/host-routing/changes.json +8 -0
- package/src/inbound-mail-foundation/changes.json +8 -0
- package/src/inbound-provider-imap/changes.json +8 -0
- package/src/inbound-provider-inmemory/changes.json +10 -1
- package/src/ledger/changes.json +8 -0
- package/src/legal-pages/changes.json +6 -0
- package/src/mail-foundation/changes.json +10 -1
- package/src/mail-transport-inmemory/changes.json +10 -1
- package/src/mail-transport-smtp/changes.json +15 -0
- package/src/notes-history/changes.json +8 -0
- package/src/notes-history-user-data/changes.json +8 -0
- package/src/presets/changes.json +6 -0
- package/src/readiness/changes.json +10 -1
- package/src/secrets/changes.json +18 -0
- package/src/subscription-stripe/changes.json +6 -0
- package/src/tags/changes.json +8 -0
- package/src/template-resolver/changes.json +6 -0
- package/src/template-resolver-user-data/changes.json +10 -0
- package/src/tenant-settings/changes.json +10 -1
- package/src/tier-engine/changes.json +8 -0
- package/src/user-data-rights/changes.json +6 -0
- package/src/waitlist/changes.json +7 -0
- package/src/workflow-runner/changes.json +8 -0
- package/dist/file-provider-s3-env/index.d.ts +0 -8
- package/dist/file-provider-s3-env/index.js +0 -7
- package/dist/files-provider-s3/index.d.ts +0 -5
- package/dist/files-provider-s3/index.js +0 -5
- package/src/file-provider-s3-env/changes.json +0 -1
- package/src/files-provider-s3/changes.json +0 -1
|
@@ -11,24 +11,8 @@ export declare function createMailTransportSmtpFeature(): import("@cosmicdrift/k
|
|
|
11
11
|
readonly host: import("@cosmicdrift/kumiko-types/config").ConfigKeyHandle<"text">;
|
|
12
12
|
readonly port: import("@cosmicdrift/kumiko-types/config").ConfigKeyHandle<"number">;
|
|
13
13
|
readonly secure: import("@cosmicdrift/kumiko-types/config").ConfigKeyHandle<"boolean">;
|
|
14
|
-
readonly from: import("@cosmicdrift/kumiko-types/config").ConfigKeyHandle<"text">;
|
|
15
14
|
readonly authUser: import("@cosmicdrift/kumiko-types/config").ConfigKeyHandle<"text">;
|
|
16
|
-
};
|
|
17
|
-
/** Secret-handle for the SMTP password. */
|
|
18
|
-
password: import("@cosmicdrift/kumiko-types/feature").SecretKeyHandle;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
/** @deprecated Use createMailTransportSmtpFeature(). Run `bun kumiko-upgrade --apply`. Removed in the first release after 2026-10-29. */
|
|
22
|
-
export declare const mailTransportSmtpFeature: import("@cosmicdrift/kumiko-types/feature").FeatureDefinition & {
|
|
23
|
-
readonly exports: {
|
|
24
|
-
/** Config-key-handles — typed reads via `ctx.config(...)` in
|
|
25
|
-
* consumer handlers. */
|
|
26
|
-
configKeys: {
|
|
27
|
-
readonly host: import("@cosmicdrift/kumiko-types/config").ConfigKeyHandle<"text">;
|
|
28
|
-
readonly port: import("@cosmicdrift/kumiko-types/config").ConfigKeyHandle<"number">;
|
|
29
|
-
readonly secure: import("@cosmicdrift/kumiko-types/config").ConfigKeyHandle<"boolean">;
|
|
30
15
|
readonly from: import("@cosmicdrift/kumiko-types/config").ConfigKeyHandle<"text">;
|
|
31
|
-
readonly authUser: import("@cosmicdrift/kumiko-types/config").ConfigKeyHandle<"text">;
|
|
32
16
|
};
|
|
33
17
|
/** Secret-handle for the SMTP password. */
|
|
34
18
|
password: import("@cosmicdrift/kumiko-types/feature").SecretKeyHandle;
|
|
@@ -28,9 +28,11 @@ import { createSmtpTransport, } from "@cosmicdrift/kumiko-bundled-features/chann
|
|
|
28
28
|
import { BlockedHostError, HostResolutionError, mailAllowedPrivateHostsEnvSchema, readAllowedPrivateMailHostsFromEnv, requireDefined, requireNonEmpty, requireSecretSet, resolveMailConnectTarget, } from "@cosmicdrift/kumiko-bundled-features/foundation-shared";
|
|
29
29
|
import { MAIL_TRANSPORT_EXTENSION, } from "@cosmicdrift/kumiko-bundled-features/mail-foundation";
|
|
30
30
|
import { requireSecretsContext } from "@cosmicdrift/kumiko-bundled-features/secrets";
|
|
31
|
-
import {
|
|
31
|
+
import { defineFeature } from "@cosmicdrift/kumiko-framework/engine";
|
|
32
32
|
import { UnconfiguredError } from "@cosmicdrift/kumiko-framework/errors";
|
|
33
33
|
import { createFallbackLogger } from "@cosmicdrift/kumiko-framework/logging";
|
|
34
|
+
import { SMTP_CONFIG_KEYS } from "./config-keys.js";
|
|
35
|
+
import { MAIL_TRANSPORT_SMTP_I18N } from "./i18n.js";
|
|
34
36
|
const FEATURE_NAME = "mail-transport-smtp";
|
|
35
37
|
const log = createFallbackLogger(FEATURE_NAME);
|
|
36
38
|
// Operator escape hatch for an internal relay or a dev/test SMTP server
|
|
@@ -77,38 +79,8 @@ export function createMailTransportSmtpFeature() {
|
|
|
77
79
|
// required: true ↔ the missing-secret throw in readPassword — keep in sync.
|
|
78
80
|
required: true,
|
|
79
81
|
});
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
keys: {
|
|
83
|
-
host: createTenantConfig("text", {
|
|
84
|
-
required: true,
|
|
85
|
-
default: "",
|
|
86
|
-
write: access.roles("TenantAdmin", "SystemAdmin"),
|
|
87
|
-
read: access.roles("TenantAdmin", "SystemAdmin"),
|
|
88
|
-
}),
|
|
89
|
-
port: createTenantConfig("number", {
|
|
90
|
-
default: 587,
|
|
91
|
-
bounds: { min: 1, max: 65535 },
|
|
92
|
-
write: access.roles("TenantAdmin", "SystemAdmin"),
|
|
93
|
-
}),
|
|
94
|
-
secure: createTenantConfig("boolean", {
|
|
95
|
-
default: false,
|
|
96
|
-
write: access.roles("TenantAdmin", "SystemAdmin"),
|
|
97
|
-
}),
|
|
98
|
-
from: createTenantConfig("text", {
|
|
99
|
-
required: true,
|
|
100
|
-
default: "",
|
|
101
|
-
write: access.roles("TenantAdmin", "SystemAdmin"),
|
|
102
|
-
read: access.roles("TenantAdmin", "SystemAdmin"),
|
|
103
|
-
}),
|
|
104
|
-
authUser: createTenantConfig("text", {
|
|
105
|
-
required: true,
|
|
106
|
-
default: "",
|
|
107
|
-
write: access.roles("TenantAdmin", "SystemAdmin"),
|
|
108
|
-
read: access.roles("TenantAdmin", "SystemAdmin"),
|
|
109
|
-
}),
|
|
110
|
-
},
|
|
111
|
-
});
|
|
82
|
+
const configKeys = r.config({ keys: SMTP_CONFIG_KEYS });
|
|
83
|
+
r.translations({ keys: MAIL_TRANSPORT_SMTP_I18N });
|
|
112
84
|
// Plugin: register against mail-foundation's "mailTransport" extension.
|
|
113
85
|
// `entityName` "smtp" is what tenants set in mail-foundation's
|
|
114
86
|
// `provider` config-key to pick this transport.
|
|
@@ -127,8 +99,6 @@ export function createMailTransportSmtpFeature() {
|
|
|
127
99
|
}
|
|
128
100
|
// The typed handles below come from one shared instance; each factory call builds its own handle objects.
|
|
129
101
|
const sharedMailTransportSmtpFeature = createMailTransportSmtpFeature();
|
|
130
|
-
/** @deprecated Use createMailTransportSmtpFeature(). Run `bun kumiko-upgrade --apply`. Removed in the first release after 2026-10-29. */
|
|
131
|
-
export const mailTransportSmtpFeature = sharedMailTransportSmtpFeature;
|
|
132
102
|
/** Typed handle for the SMTP password — exported so seeds + tests can
|
|
133
103
|
* set it via `secrets:write:set` with the full qualified-name. */
|
|
134
104
|
export const SMTP_PASSWORD = sharedMailTransportSmtpFeature.exports.password;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare const MAIL_TRANSPORT_SMTP_I18N: {
|
|
2
|
+
readonly "mail-transport-smtp.settings": {
|
|
3
|
+
readonly en: "SMTP server";
|
|
4
|
+
};
|
|
5
|
+
readonly "mail-transport-smtp.settings.secrets": {
|
|
6
|
+
readonly en: "SMTP sign-in";
|
|
7
|
+
};
|
|
8
|
+
readonly "mail-transport-smtp.settings.description": {
|
|
9
|
+
readonly en: "The connection details come from your mail provider, for example Brevo, Postmark, Amazon SES or your own server.";
|
|
10
|
+
};
|
|
11
|
+
readonly "mail-transport-smtp.host": {
|
|
12
|
+
readonly en: "Server address";
|
|
13
|
+
};
|
|
14
|
+
readonly "mail-transport-smtp.host.description": {
|
|
15
|
+
readonly en: "Host name of the SMTP server, for example smtp.example.com.";
|
|
16
|
+
};
|
|
17
|
+
readonly "mail-transport-smtp.port": {
|
|
18
|
+
readonly en: "Port number";
|
|
19
|
+
};
|
|
20
|
+
readonly "mail-transport-smtp.port.description": {
|
|
21
|
+
readonly en: "Usually 587. Use 465 when your provider asks for SSL/TLS.";
|
|
22
|
+
};
|
|
23
|
+
readonly "mail-transport-smtp.secure": {
|
|
24
|
+
readonly en: "SSL/TLS from the start";
|
|
25
|
+
};
|
|
26
|
+
readonly "mail-transport-smtp.secure.description": {
|
|
27
|
+
readonly en: "Turn on for port 465. Leave off for 587, which switches to encryption by itself.";
|
|
28
|
+
};
|
|
29
|
+
readonly "mail-transport-smtp.authUser": {
|
|
30
|
+
readonly en: "User name";
|
|
31
|
+
};
|
|
32
|
+
readonly "mail-transport-smtp.authUser.description": {
|
|
33
|
+
readonly en: "Login name at the SMTP server, often an email address.";
|
|
34
|
+
};
|
|
35
|
+
readonly "mail-transport-smtp.from": {
|
|
36
|
+
readonly en: "Sender address";
|
|
37
|
+
};
|
|
38
|
+
readonly "mail-transport-smtp.from.description": {
|
|
39
|
+
readonly en: "The address mails are sent from, for example status@example.com. Your provider must allow it.";
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export const MAIL_TRANSPORT_SMTP_I18N = {
|
|
2
|
+
// Also the option label of mail-foundation's provider select.
|
|
3
|
+
"mail-transport-smtp.settings": { en: "SMTP server" },
|
|
4
|
+
"mail-transport-smtp.settings.secrets": { en: "SMTP sign-in" },
|
|
5
|
+
"mail-transport-smtp.settings.description": {
|
|
6
|
+
en: "The connection details come from your mail provider, for example Brevo, Postmark, Amazon SES or your own server.",
|
|
7
|
+
},
|
|
8
|
+
"mail-transport-smtp.host": { en: "Server address" },
|
|
9
|
+
"mail-transport-smtp.host.description": {
|
|
10
|
+
en: "Host name of the SMTP server, for example smtp.example.com.",
|
|
11
|
+
},
|
|
12
|
+
"mail-transport-smtp.port": { en: "Port number" },
|
|
13
|
+
"mail-transport-smtp.port.description": {
|
|
14
|
+
en: "Usually 587. Use 465 when your provider asks for SSL/TLS.",
|
|
15
|
+
},
|
|
16
|
+
"mail-transport-smtp.secure": { en: "SSL/TLS from the start" },
|
|
17
|
+
"mail-transport-smtp.secure.description": {
|
|
18
|
+
en: "Turn on for port 465. Leave off for 587, which switches to encryption by itself.",
|
|
19
|
+
},
|
|
20
|
+
"mail-transport-smtp.authUser": { en: "User name" },
|
|
21
|
+
"mail-transport-smtp.authUser.description": {
|
|
22
|
+
en: "Login name at the SMTP server, often an email address.",
|
|
23
|
+
},
|
|
24
|
+
"mail-transport-smtp.from": { en: "Sender address" },
|
|
25
|
+
"mail-transport-smtp.from.description": {
|
|
26
|
+
en: "The address mails are sent from, for example status@example.com. Your provider must allow it.",
|
|
27
|
+
},
|
|
28
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { createMailTransportSmtpFeature, mailTransportSmtpEnvSchema,
|
|
1
|
+
export { createMailTransportSmtpFeature, mailTransportSmtpEnvSchema, SMTP_PASSWORD, setSmtpMailHostLookup, } from "./feature.ts";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Public API of the mail-transport-smtp bundled-feature.
|
|
2
|
-
export { createMailTransportSmtpFeature, mailTransportSmtpEnvSchema,
|
|
2
|
+
export { createMailTransportSmtpFeature, mailTransportSmtpEnvSchema, SMTP_PASSWORD, setSmtpMailHostLookup, } from "./feature.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ConfigAccessor, type ConfigKeyDefinition } from "@cosmicdrift/kumiko-framework/engine";
|
|
2
|
-
import { type BrandingTokens } from "../page-render/index.
|
|
2
|
+
import { type BrandingTokens } from "../page-render/index.ts";
|
|
3
3
|
export declare const LAYOUT_PRESETS: readonly ["minimal", "centered", "wide"];
|
|
4
4
|
export declare const MANAGED_PAGES_CSS_FEATURE = "managed-pages-css";
|
|
5
5
|
export declare const BRANDING_KEYS: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type FeatureDefinition } from "@cosmicdrift/kumiko-framework/engine";
|
|
2
|
-
import { type BrandingTokens } from "../page-render/index.
|
|
2
|
+
import { type BrandingTokens } from "../page-render/index.ts";
|
|
3
3
|
export type ManagedPagesWrapLayout = (opts: {
|
|
4
4
|
readonly title: string;
|
|
5
5
|
readonly bodyHtml: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
export declare function createBrandingQuery(opts: {
|
|
3
3
|
readonly allowCustomCss: boolean;
|
|
4
|
-
}): import("@cosmicdrift/kumiko-types/define-handler").QueryHandlerDefinition<"branding", z.ZodObject<{}, z.core.$strip>, import("../index.
|
|
4
|
+
}): import("@cosmicdrift/kumiko-types/define-handler").QueryHandlerDefinition<"branding", z.ZodObject<{}, z.core.$strip>, import("../index.ts").BrandingTokens, import("@cosmicdrift/kumiko-types/event-type-map").KumikoEventTypeMap>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { type BrandingTokens, brandingHeaderHtml, brandingStyleBlock, EMPTY_BRANDING, sanitizeTenantCss, TENANT_CONTENT_ATTR, tenantStyleBlock, } from "../page-render/index.
|
|
2
|
-
export { BRANDING_QN, MANAGED_PAGES_CSS_FEATURE } from "./branding.
|
|
3
|
-
export { createManagedPagesCssFeature } from "./css-gate.
|
|
4
|
-
export { createManagedPagesFeature, type ManagedPagesOptions, type ManagedPagesWrapLayout, } from "./feature.
|
|
5
|
-
export { type PageRow, pageEntity, pagesTable } from "./table.
|
|
1
|
+
export { type BrandingTokens, brandingHeaderHtml, brandingStyleBlock, EMPTY_BRANDING, sanitizeTenantCss, TENANT_CONTENT_ATTR, tenantStyleBlock, } from "../page-render/index.ts";
|
|
2
|
+
export { BRANDING_QN, MANAGED_PAGES_CSS_FEATURE } from "./branding.ts";
|
|
3
|
+
export { createManagedPagesCssFeature } from "./css-gate.ts";
|
|
4
|
+
export { createManagedPagesFeature, type ManagedPagesOptions, type ManagedPagesWrapLayout, } from "./feature.ts";
|
|
5
|
+
export { type PageRow, pageEntity, pagesTable } from "./table.ts";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { type ManagedPagesClientOptions, managedPagesClient } from "./client-plugin.
|
|
2
|
-
export { defaultTranslations } from "./i18n.
|
|
1
|
+
export { type ManagedPagesClientOptions, managedPagesClient } from "./client-plugin.tsx";
|
|
2
|
+
export { defaultTranslations } from "./i18n.ts";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { WhereObject } from "@cosmicdrift/kumiko-framework/db";
|
|
2
2
|
import type { Temporal } from "@cosmicdrift/kumiko-types/temporal";
|
|
3
3
|
import type { TenantDb } from "@cosmicdrift/kumiko-types/tenant-db-types";
|
|
4
|
-
import { type MetricRange } from "./constants.
|
|
5
|
-
import type { MetricDefinition, MetricResult } from "./types.
|
|
4
|
+
import { type MetricRange } from "./constants.ts";
|
|
5
|
+
import type { MetricDefinition, MetricResult } from "./types.ts";
|
|
6
6
|
export type MetricRunParams = {
|
|
7
7
|
readonly range: MetricRange;
|
|
8
8
|
readonly timeZone: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const jobRunsByStatusMetric: import("./types.
|
|
2
|
-
export declare const failedJobRunsMetric: import("./types.
|
|
3
|
-
export declare const tenantJobFailuresMetric: import("./types.
|
|
4
|
-
export declare const deliveriesByChannelMetric: import("./types.
|
|
5
|
-
export declare const failedDeliveriesMetric: import("./types.
|
|
6
|
-
export declare const activeUsersMetric: import("./types.
|
|
7
|
-
export declare const activeTenantsMetric: import("./types.
|
|
8
|
-
export declare const auditWritesMetric: import("./types.
|
|
9
|
-
export declare const DEFAULT_METRICS: readonly [import("./types.
|
|
1
|
+
export declare const jobRunsByStatusMetric: import("./types.ts").MetricDefinition;
|
|
2
|
+
export declare const failedJobRunsMetric: import("./types.ts").MetricDefinition;
|
|
3
|
+
export declare const tenantJobFailuresMetric: import("./types.ts").MetricDefinition;
|
|
4
|
+
export declare const deliveriesByChannelMetric: import("./types.ts").MetricDefinition;
|
|
5
|
+
export declare const failedDeliveriesMetric: import("./types.ts").MetricDefinition;
|
|
6
|
+
export declare const activeUsersMetric: import("./types.ts").MetricDefinition;
|
|
7
|
+
export declare const activeTenantsMetric: import("./types.ts").MetricDefinition;
|
|
8
|
+
export declare const auditWritesMetric: import("./types.ts").MetricDefinition;
|
|
9
|
+
export declare const DEFAULT_METRICS: readonly [import("./types.ts").MetricDefinition, import("./types.ts").MetricDefinition, import("./types.ts").MetricDefinition, import("./types.ts").MetricDefinition, import("./types.ts").MetricDefinition, import("./types.ts").MetricDefinition, import("./types.ts").MetricDefinition, import("./types.ts").MetricDefinition];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type FeatureDefinition } from "@cosmicdrift/kumiko-framework/engine";
|
|
2
|
-
import type { MetricsFeatureOptions } from "./types.
|
|
2
|
+
import type { MetricsFeatureOptions } from "./types.ts";
|
|
3
3
|
export declare function createMetricsFeature(options: MetricsFeatureOptions): FeatureDefinition;
|
|
4
4
|
export declare function createSystemMetricsFeature(options: MetricsFeatureOptions): FeatureDefinition;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type WhereObject } from "@cosmicdrift/kumiko-framework/db";
|
|
2
2
|
import type { HandlerContext } from "@cosmicdrift/kumiko-framework/engine";
|
|
3
3
|
import * as z from "zod";
|
|
4
|
-
import type { MetricDefinition, MetricFilterResolver } from "./types.
|
|
4
|
+
import type { MetricDefinition, MetricFilterResolver } from "./types.ts";
|
|
5
5
|
export declare const RESERVED_PAYLOAD_KEYS: readonly string[];
|
|
6
6
|
declare const INTEGER_RANGES: {
|
|
7
7
|
readonly smallint: {
|
package/dist/metrics/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { METRIC_RANGES, METRICS_FEATURE, METRICS_SYSTEM_FEATURE, type MetricRange, type MetricScope, metricQueryName, } from "./constants.
|
|
2
|
-
export { activeTenantsMetric, activeUsersMetric, auditWritesMetric, DEFAULT_METRICS, deliveriesByChannelMetric, failedDeliveriesMetric, failedJobRunsMetric, jobRunsByStatusMetric, tenantJobFailuresMetric, } from "./default-metrics.
|
|
3
|
-
export { createMetricsFeature, createSystemMetricsFeature } from "./feature.
|
|
4
|
-
export { METRICS_I18N } from "./i18n.
|
|
5
|
-
export { defineMetric, type MetricDefinition, type MetricFilterResolver, type MetricPoint, type MetricResult, type MetricRow, type MetricSegment, type MetricSeries, type MetricsFeatureOptions, } from "./types.
|
|
1
|
+
export { METRIC_RANGES, METRICS_FEATURE, METRICS_SYSTEM_FEATURE, type MetricRange, type MetricScope, metricQueryName, } from "./constants.ts";
|
|
2
|
+
export { activeTenantsMetric, activeUsersMetric, auditWritesMetric, DEFAULT_METRICS, deliveriesByChannelMetric, failedDeliveriesMetric, failedJobRunsMetric, jobRunsByStatusMetric, tenantJobFailuresMetric, } from "./default-metrics.ts";
|
|
3
|
+
export { createMetricsFeature, createSystemMetricsFeature } from "./feature.ts";
|
|
4
|
+
export { METRICS_I18N } from "./i18n.ts";
|
|
5
|
+
export { defineMetric, type MetricDefinition, type MetricFilterResolver, type MetricPoint, type MetricResult, type MetricRow, type MetricSegment, type MetricSeries, type MetricsFeatureOptions, } from "./types.ts";
|
package/dist/metrics/types.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { AggregateMeasure, AggregateTimeBucket } from "@cosmicdrift/kumiko-
|
|
|
4
4
|
import type { SchemaTable } from "@cosmicdrift/kumiko-types/schema-table-types";
|
|
5
5
|
import type { Temporal } from "@cosmicdrift/kumiko-types/temporal";
|
|
6
6
|
import type { WhereObject } from "@cosmicdrift/kumiko-types/where-clause-types";
|
|
7
|
-
import type { MetricRange, MetricScope } from "./constants.
|
|
7
|
+
import type { MetricRange, MetricScope } from "./constants.ts";
|
|
8
8
|
/** Maps a payload value (e.g. a folder id) to the values `column` may have (e.g. the folder and its subfolders' loan ids). Runs with the tenant handler context, so reads stay tenant-scoped; the result only narrows. An empty result yields no rows. */
|
|
9
9
|
export type MetricFilterResolver = {
|
|
10
10
|
readonly column: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { MetricDefinition } from "./types.
|
|
1
|
+
import type { MetricDefinition } from "./types.ts";
|
|
2
2
|
export declare function metricHasTenantColumn(metric: MetricDefinition): boolean;
|
|
3
3
|
export declare function validateMetrics(metrics: readonly MetricDefinition[]): void;
|
package/dist/metrics/window.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AggregateTimeBucket } from "@cosmicdrift/kumiko-types/aggregate-types";
|
|
2
2
|
import { Temporal } from "@cosmicdrift/kumiko-types/temporal";
|
|
3
|
-
import type { MetricRange } from "./constants.
|
|
4
|
-
import type { MetricDefinition } from "./types.
|
|
3
|
+
import type { MetricRange } from "./constants.ts";
|
|
4
|
+
import type { MetricDefinition } from "./types.ts";
|
|
5
5
|
export type MetricWindow = {
|
|
6
6
|
readonly start: Temporal.Instant;
|
|
7
7
|
readonly end: Temporal.Instant;
|
|
@@ -39,8 +39,4 @@ export type NotesHistoryFeatureOptions = {
|
|
|
39
39
|
readonly parents?: readonly string[];
|
|
40
40
|
};
|
|
41
41
|
export declare function createNotesHistoryFeature(opts?: NotesHistoryFeatureOptions): typeof defaultNotesHistoryFeature;
|
|
42
|
-
/** @deprecated Use createNotesHistoryFeature(). Run `bun kumiko-upgrade --apply`. Removed in the first release after 2026-10-29. */
|
|
43
|
-
export declare const notesHistoryFeature: import("@cosmicdrift/kumiko-types/feature").FeatureDefinition & {
|
|
44
|
-
readonly exports: void;
|
|
45
|
-
};
|
|
46
42
|
export {};
|
|
@@ -69,5 +69,3 @@ export function createNotesHistoryFeature(opts = {}) {
|
|
|
69
69
|
}
|
|
70
70
|
return defineFeature(NOTES_HISTORY_FEATURE_NAME, (r) => registerNotesHistory(r, resolveAccess(opts), opts.ownership, opts.parents));
|
|
71
71
|
}
|
|
72
|
-
/** @deprecated Use createNotesHistoryFeature(). Run `bun kumiko-upgrade --apply`. Removed in the first release after 2026-10-29. */
|
|
73
|
-
export const notesHistoryFeature = createNotesHistoryFeature();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { AccessRule, WriteHandlerDef } from "@cosmicdrift/kumiko-framework/engine";
|
|
2
|
-
import { noteEntryExecutor } from "../executor.
|
|
2
|
+
import { noteEntryExecutor } from "../executor.ts";
|
|
3
3
|
export declare function createAddNoteHandler(access?: AccessRule, entryExecutor?: typeof noteEntryExecutor): WriteHandlerDef;
|
|
4
4
|
export declare const addNoteHandler: WriteHandlerDef;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { DEFAULT_NOTES_HISTORY_ACCESS, DEFAULT_NOTES_HISTORY_ROLES, NOTES_HISTORY_FEATURE_NAME, NOTES_SECTION_EXTENSION_NAME, NotesHistoryHandlers, NotesHistoryQueries, } from "./constants.
|
|
2
|
-
export { noteEntryEntity, noteMentionEntity } from "./entity.
|
|
3
|
-
export { noteEntryExecutor, noteEntryTable, noteMentionExecutor, noteMentionTable, } from "./executor.
|
|
4
|
-
export { createNotesHistoryFeature, type NotesHistoryFeatureOptions,
|
|
5
|
-
export { addNoteHandler, createAddNoteHandler, } from "./handlers/add-note.write.
|
|
6
|
-
export { type AddNotePayload, addNotePayloadSchema } from "./schemas.
|
|
1
|
+
export { DEFAULT_NOTES_HISTORY_ACCESS, DEFAULT_NOTES_HISTORY_ROLES, NOTES_HISTORY_FEATURE_NAME, NOTES_SECTION_EXTENSION_NAME, NotesHistoryHandlers, NotesHistoryQueries, } from "./constants.ts";
|
|
2
|
+
export { noteEntryEntity, noteMentionEntity } from "./entity.ts";
|
|
3
|
+
export { noteEntryExecutor, noteEntryTable, noteMentionExecutor, noteMentionTable, } from "./executor.ts";
|
|
4
|
+
export { createNotesHistoryFeature, type NotesHistoryFeatureOptions, } from "./feature.ts";
|
|
5
|
+
export { addNoteHandler, createAddNoteHandler, } from "./handlers/add-note.write.ts";
|
|
6
|
+
export { type AddNotePayload, addNotePayloadSchema } from "./schemas.ts";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { DEFAULT_NOTES_HISTORY_ACCESS, DEFAULT_NOTES_HISTORY_ROLES, NOTES_HISTORY_FEATURE_NAME, NOTES_SECTION_EXTENSION_NAME, NotesHistoryHandlers, NotesHistoryQueries, } from "./constants.js";
|
|
2
2
|
export { noteEntryEntity, noteMentionEntity } from "./entity.js";
|
|
3
3
|
export { noteEntryExecutor, noteEntryTable, noteMentionExecutor, noteMentionTable, } from "./executor.js";
|
|
4
|
-
export { createNotesHistoryFeature,
|
|
4
|
+
export { createNotesHistoryFeature, } from "./feature.js";
|
|
5
5
|
export { addNoteHandler, createAddNoteHandler, } from "./handlers/add-note.write.js";
|
|
6
6
|
export { addNotePayloadSchema } from "./schemas.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { NOTES_SECTION_EXTENSION_NAME, NotesHistoryHandlers, NotesHistoryQueries, } from "../constants.
|
|
2
|
-
export { notesHistoryClient } from "./client-plugin.
|
|
3
|
-
export { NotesSection } from "./notes-section.
|
|
1
|
+
export { NOTES_SECTION_EXTENSION_NAME, NotesHistoryHandlers, NotesHistoryQueries, } from "../constants.ts";
|
|
2
|
+
export { notesHistoryClient } from "./client-plugin.tsx";
|
|
3
|
+
export { NotesSection } from "./notes-section.tsx";
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
export { eraseNoteBodiesReachingSubject } from "./hooks.
|
|
1
|
+
export { eraseNoteBodiesReachingSubject } from "./hooks.ts";
|
|
2
2
|
export declare function createNotesHistoryUserDataFeature(): import("@cosmicdrift/kumiko-types/feature").FeatureDefinition & {
|
|
3
3
|
readonly exports: void;
|
|
4
4
|
};
|
|
5
|
-
/** @deprecated Use createNotesHistoryUserDataFeature(). Run `bun kumiko-upgrade --apply`. Removed in the first release after 2026-10-29. */
|
|
6
|
-
export declare const notesHistoryUserDataFeature: import("@cosmicdrift/kumiko-types/feature").FeatureDefinition & {
|
|
7
|
-
readonly exports: void;
|
|
8
|
-
};
|
|
@@ -26,5 +26,3 @@ export function createNotesHistoryUserDataFeature() {
|
|
|
26
26
|
});
|
|
27
27
|
}, { dedupeOptions: {} });
|
|
28
28
|
}
|
|
29
|
-
/** @deprecated Use createNotesHistoryUserDataFeature(). Run `bun kumiko-upgrade --apply`. Removed in the first release after 2026-10-29. */
|
|
30
|
-
export const notesHistoryUserDataFeature = createNotesHistoryUserDataFeature();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { type BrandingTokens, brandingHeaderHtml, brandingStyleBlock, EMPTY_BRANDING, isSafeHexColor, isSafeHttpsUrl, layoutMaxWidth, } from "./branding.
|
|
2
|
-
export { type CachedSecurePageResponseInit, cachedSecurePageResponse, } from "./cached-page-response.
|
|
3
|
-
export { sanitizeTenantCss } from "./css-sanitize.
|
|
4
|
-
export { type PublicPageWrapLayout, type SeoHeadInput, TENANT_CONTENT_ATTR, tenantStyleBlock, wrapInLayout, } from "./layout.
|
|
5
|
-
export { renderSafeMarkdown } from "./markdown.
|
|
6
|
-
export { securePageHeaders } from "./security-headers.
|
|
7
|
-
export { redirectToCanonicalPath, slashVariantOf } from "./trailing-slash.
|
|
1
|
+
export { type BrandingTokens, brandingHeaderHtml, brandingStyleBlock, EMPTY_BRANDING, isSafeHexColor, isSafeHttpsUrl, layoutMaxWidth, } from "./branding.ts";
|
|
2
|
+
export { type CachedSecurePageResponseInit, cachedSecurePageResponse, } from "./cached-page-response.ts";
|
|
3
|
+
export { sanitizeTenantCss } from "./css-sanitize.ts";
|
|
4
|
+
export { type PublicPageWrapLayout, type SeoHeadInput, TENANT_CONTENT_ATTR, tenantStyleBlock, wrapInLayout, } from "./layout.ts";
|
|
5
|
+
export { renderSafeMarkdown } from "./markdown.ts";
|
|
6
|
+
export { securePageHeaders } from "./security-headers.ts";
|
|
7
|
+
export { redirectToCanonicalPath, slashVariantOf } from "./trailing-slash.ts";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ApexHead } from "@cosmicdrift/kumiko-headless/apex";
|
|
2
|
-
import { type BrandingTokens } from "./branding.
|
|
2
|
+
import { type BrandingTokens } from "./branding.ts";
|
|
3
3
|
export type SeoHeadInput = Omit<ApexHead, "title" | "description" | "lang">;
|
|
4
4
|
export type PublicPageWrapLayout = (opts: {
|
|
5
5
|
readonly title: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { type BrandingTokens, brandingHeaderHtml, brandingStyleBlock, EMPTY_BRANDING, isSafeHexColor, isSafeHttpsUrl, layoutMaxWidth, } from "./branding.
|
|
2
|
-
export { sanitizeTenantCss } from "./css-sanitize.
|
|
3
|
-
export { TENANT_CONTENT_ATTR, tenantStyleBlock, wrapInLayout } from "./layout.
|
|
4
|
-
export { renderSafeMarkdown } from "./markdown.
|
|
5
|
-
export { securePageHeaders } from "./security-headers.
|
|
1
|
+
export { type BrandingTokens, brandingHeaderHtml, brandingStyleBlock, EMPTY_BRANDING, isSafeHexColor, isSafeHttpsUrl, layoutMaxWidth, } from "./branding.ts";
|
|
2
|
+
export { sanitizeTenantCss } from "./css-sanitize.ts";
|
|
3
|
+
export { TENANT_CONTENT_ATTR, tenantStyleBlock, wrapInLayout } from "./layout.ts";
|
|
4
|
+
export { renderSafeMarkdown } from "./markdown.ts";
|
|
5
|
+
export { securePageHeaders } from "./security-headers.ts";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type FeatureDefinition, type ProjectionListScreenDefinition } from "@cosmicdrift/kumiko-framework/engine";
|
|
2
|
-
import { type PatRateLimit } from "./constants.
|
|
3
|
-
import { type CreatePatOptions } from "./handlers/create.write.
|
|
4
|
-
import type { PatScopeConfig } from "./scopes.
|
|
2
|
+
import { type PatRateLimit } from "./constants.ts";
|
|
3
|
+
import { type CreatePatOptions } from "./handlers/create.write.ts";
|
|
4
|
+
import type { PatScopeConfig } from "./scopes.ts";
|
|
5
5
|
export type BindPatAutoRevokeOnPasswordChange = (revoker: (userId: string) => Promise<number>) => void;
|
|
6
6
|
export declare function bindPatAutoRevokeOnPasswordChangeFromFeature(feature: FeatureDefinition): BindPatAutoRevokeOnPasswordChange | undefined;
|
|
7
7
|
export type PersonalAccessTokensOptions = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
-
import type { PatScopeConfig } from "../scopes.
|
|
2
|
+
import type { PatScopeConfig } from "../scopes.ts";
|
|
3
3
|
export declare function buildAvailableScopesQuery(scopes: PatScopeConfig): import("@cosmicdrift/kumiko-types/define-handler").QueryHandlerDefinition<"available-scopes", z.ZodObject<{}, z.core.$strip>, {
|
|
4
4
|
name: string;
|
|
5
5
|
label: string;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { FeatureDefinition } from "@cosmicdrift/kumiko-framework/engine";
|
|
2
|
-
import { type PatRateLimit } from "./constants.
|
|
3
|
-
export type { PatRateLimit } from "./constants.
|
|
4
|
-
export { PAT_DEFAULT_RATE_LIMIT, PAT_FEATURE, PatHandlers, PatQueries } from "./constants.
|
|
5
|
-
export type { BindPatAutoRevokeOnPasswordChange, PersonalAccessTokensOptions } from "./feature.
|
|
6
|
-
export { bindPatAutoRevokeOnPasswordChangeFromFeature, createPersonalAccessTokensFeature, } from "./feature.
|
|
7
|
-
export type { CreatePatOptions, PatMfaVerifyResult } from "./handlers/create.write.
|
|
8
|
-
export { hashPatToken, mintPatToken } from "./hash.
|
|
9
|
-
export { PAT_REVOKED_AGGREGATE_TYPE, PAT_REVOKED_EVENT_QN, PAT_REVOKED_EVENT_SHORT, type PatRevokedPayload, patRevokedSchema, } from "./pat-revoked-event.
|
|
10
|
-
export { createPatResolver } from "./resolver.
|
|
11
|
-
export { revokeAllPatTokensForUser } from "./revoke-for-user.
|
|
12
|
-
export { apiTokenEntity, apiTokenTable } from "./schema/api-token.
|
|
13
|
-
export type { PatScopeConfig, PatScopeDef } from "./scopes.
|
|
14
|
-
export { expandScopes } from "./scopes.
|
|
2
|
+
import { type PatRateLimit } from "./constants.ts";
|
|
3
|
+
export type { PatRateLimit } from "./constants.ts";
|
|
4
|
+
export { PAT_DEFAULT_RATE_LIMIT, PAT_FEATURE, PatHandlers, PatQueries } from "./constants.ts";
|
|
5
|
+
export type { BindPatAutoRevokeOnPasswordChange, PersonalAccessTokensOptions } from "./feature.ts";
|
|
6
|
+
export { bindPatAutoRevokeOnPasswordChangeFromFeature, createPersonalAccessTokensFeature, } from "./feature.ts";
|
|
7
|
+
export type { CreatePatOptions, PatMfaVerifyResult } from "./handlers/create.write.ts";
|
|
8
|
+
export { hashPatToken, mintPatToken } from "./hash.ts";
|
|
9
|
+
export { PAT_REVOKED_AGGREGATE_TYPE, PAT_REVOKED_EVENT_QN, PAT_REVOKED_EVENT_SHORT, type PatRevokedPayload, patRevokedSchema, } from "./pat-revoked-event.ts";
|
|
10
|
+
export { createPatResolver } from "./resolver.ts";
|
|
11
|
+
export { revokeAllPatTokensForUser } from "./revoke-for-user.ts";
|
|
12
|
+
export { apiTokenEntity, apiTokenTable } from "./schema/api-token.ts";
|
|
13
|
+
export type { PatScopeConfig, PatScopeDef } from "./scopes.ts";
|
|
14
|
+
export { expandScopes } from "./scopes.ts";
|
|
15
15
|
export declare function patRateLimitFromFeature(feature: FeatureDefinition): PatRateLimit;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TokenVerifier } from "@cosmicdrift/kumiko-framework/api";
|
|
2
2
|
import type { DbConnection } from "@cosmicdrift/kumiko-framework/db";
|
|
3
|
-
import { type PatScopeConfig } from "./scopes.
|
|
3
|
+
import { type PatScopeConfig } from "./scopes.ts";
|
|
4
4
|
export declare function createPatResolver(opts: {
|
|
5
5
|
readonly db: DbConnection;
|
|
6
6
|
readonly scopes: PatScopeConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ProjectionListScreenDefinition, type SecretMintScreenDefinition } from "@cosmicdrift/kumiko-framework/engine";
|
|
2
|
-
import type { PatScopeConfig } from "./scopes.
|
|
2
|
+
import type { PatScopeConfig } from "./scopes.ts";
|
|
3
3
|
export declare const patListScreen: ProjectionListScreenDefinition;
|
|
4
4
|
export declare function patGrantOptions(scopes: PatScopeConfig): string[];
|
|
5
5
|
export declare function createPatMintScreen(scopes: PatScopeConfig): SecretMintScreenDefinition;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { FeatureDefinition } from "@cosmicdrift/kumiko-framework/engine";
|
|
2
|
-
import { type UserDataRightsOptions } from "../user-data-rights/index.
|
|
2
|
+
import { type UserDataRightsOptions } from "../user-data-rights/index.ts";
|
|
3
3
|
export type DsgvoSelfServiceOptions = {
|
|
4
4
|
/** Passed through to createUserDataRightsFeature — export/deletion mail
|
|
5
5
|
* callbacks + Apex deletion HMAC. Default {} (no-op mail side). */
|
|
6
6
|
readonly userDataRights?: UserDataRightsOptions;
|
|
7
7
|
};
|
|
8
|
+
/** @deprecated Removed in the next release. Use `composeGdprStack({ selfService: { userDataRights } })`
|
|
9
|
+
* from `@cosmicdrift/kumiko-dev-server/compose-stacks`. */
|
|
8
10
|
export declare function dsgvoSelfServiceFeatures(opts?: DsgvoSelfServiceOptions): FeatureDefinition[];
|
|
@@ -11,6 +11,8 @@ import { createUserProfileFeature } from "../user-profile/index.js";
|
|
|
11
11
|
// comment. text-content + legal-pages stay out deliberately — legal-pages
|
|
12
12
|
// has an app-specific wrapLayout, text-content is a standalone foundation;
|
|
13
13
|
// both are spread in by the app itself.
|
|
14
|
+
/** @deprecated Removed in the next release. Use `composeGdprStack({ selfService: { userDataRights } })`
|
|
15
|
+
* from `@cosmicdrift/kumiko-dev-server/compose-stacks`. */
|
|
14
16
|
export function dsgvoSelfServiceFeatures(opts = {}) {
|
|
15
17
|
return [
|
|
16
18
|
createDataRetentionFeature(),
|
package/dist/presets/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { type DsgvoSelfServiceOptions, dsgvoSelfServiceFeatures } from "./dsgvo-self-service.
|
|
2
|
-
export { type SecurityBaselineOptions, securityBaselineFeatures } from "./security-baseline.
|
|
1
|
+
export { type DsgvoSelfServiceOptions, dsgvoSelfServiceFeatures } from "./dsgvo-self-service.ts";
|
|
2
|
+
export { type SecurityBaselineOptions, securityBaselineFeatures } from "./security-baseline.ts";
|
|
@@ -2,4 +2,6 @@ import type { FeatureDefinition } from "@cosmicdrift/kumiko-framework/engine";
|
|
|
2
2
|
export type SecurityBaselineOptions = {
|
|
3
3
|
readonly includeSessions?: boolean;
|
|
4
4
|
};
|
|
5
|
+
/** @deprecated Removed in the next release. Use `composeSecurityStack({ includeSessions })`
|
|
6
|
+
* from `@cosmicdrift/kumiko-dev-server/compose-stacks`. */
|
|
5
7
|
export declare function securityBaselineFeatures(opts?: SecurityBaselineOptions): FeatureDefinition[];
|
|
@@ -3,6 +3,8 @@ import { createCryptoShreddingFeature } from "../crypto-shredding/index.js";
|
|
|
3
3
|
import { createRateLimitingFeature } from "../rate-limiting/index.js";
|
|
4
4
|
import { createSessionsFeature } from "../sessions/index.js";
|
|
5
5
|
// Host app must mount user, tenant, auth-foundation (sessions/audit requires).
|
|
6
|
+
/** @deprecated Removed in the next release. Use `composeSecurityStack({ includeSessions })`
|
|
7
|
+
* from `@cosmicdrift/kumiko-dev-server/compose-stacks`. */
|
|
6
8
|
export function securityBaselineFeatures(opts = {}) {
|
|
7
9
|
return [
|
|
8
10
|
...(opts.includeSessions !== false ? [createSessionsFeature()] : []),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { RATE_LIMITING_FEATURE, RateLimitErrors, RateLimitQueries } from "./constants.
|
|
2
|
-
export { createRateLimitingFeature } from "./feature.
|
|
1
|
+
export { RATE_LIMITING_FEATURE, RateLimitErrors, RateLimitQueries } from "./constants.ts";
|
|
2
|
+
export { createRateLimitingFeature } from "./feature.ts";
|
|
@@ -5,11 +5,3 @@ export declare function createReadinessFeature(): import("@cosmicdrift/kumiko-ty
|
|
|
5
5
|
};
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
-
/** @deprecated Use createReadinessFeature(). Run `bun kumiko-upgrade --apply`. Removed in the first release after 2026-10-29. */
|
|
9
|
-
export declare const readinessFeature: import("@cosmicdrift/kumiko-types/feature").FeatureDefinition & {
|
|
10
|
-
readonly exports: {
|
|
11
|
-
queries: {
|
|
12
|
-
status: import("@cosmicdrift/kumiko-types/handlers").HandlerRef;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -25,5 +25,3 @@ export function createReadinessFeature() {
|
|
|
25
25
|
return { queries };
|
|
26
26
|
}, { dedupeOptions: {} });
|
|
27
27
|
}
|
|
28
|
-
/** @deprecated Use createReadinessFeature(). Run `bun kumiko-upgrade --apply`. Removed in the first release after 2026-10-29. */
|
|
29
|
-
export const readinessFeature = createReadinessFeature();
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { READINESS_FEATURE, ReadinessQueries } from "./constants.
|
|
2
|
-
export { createReadinessFeature
|
|
3
|
-
export type { ReadinessMissingSecret } from "./handlers/status.query.
|
|
1
|
+
export { READINESS_FEATURE, ReadinessQueries } from "./constants.ts";
|
|
2
|
+
export { createReadinessFeature } from "./feature.ts";
|
|
3
|
+
export type { ReadinessMissingSecret } from "./handlers/status.query.ts";
|
package/dist/readiness/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { READINESS_FEATURE, ReadinessQueries } from "./constants.js";
|
|
2
|
-
export { createReadinessFeature
|
|
2
|
+
export { createReadinessFeature } from "./feature.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TenantId } from "@cosmicdrift/kumiko-framework/engine";
|
|
2
|
-
import { type RenderKind } from "./constants.
|
|
3
|
-
import { type RendererPlugin } from "./types.
|
|
2
|
+
import { type RenderKind } from "./constants.ts";
|
|
3
|
+
import { type RendererPlugin } from "./types.ts";
|
|
4
4
|
export type RendererFoundationApi = {
|
|
5
5
|
/**
|
|
6
6
|
* Selects + returns a RendererPlugin for (tenantId × kind). Callers
|