@cosmicdrift/kumiko-bundled-features 0.48.0 → 0.50.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 +2 -1
- package/src/auth-email-password/__tests__/signup-flow.integration.test.ts +51 -0
- package/src/auth-email-password/constants.ts +6 -0
- package/src/auth-email-password/errors.ts +19 -0
- package/src/auth-email-password/handlers/request-email-verification.write.ts +1 -0
- package/src/auth-email-password/handlers/request-password-reset.write.ts +1 -0
- package/src/auth-email-password/handlers/signup-confirm.write.ts +22 -12
- package/src/auth-email-password/handlers/signup-request.write.ts +12 -10
- package/src/auth-email-password/i18n.ts +4 -0
- package/src/auth-email-password/password-hashing.ts +1 -0
- package/src/auth-email-password/reset-token.ts +2 -0
- package/src/auth-email-password/seeding.ts +19 -4
- package/src/auth-email-password/signup-token-store.ts +1 -0
- package/src/auth-email-password/verification-token.ts +2 -0
- package/src/billing-foundation/aggregate-id.ts +1 -0
- package/src/cap-counter/aggregate-id.ts +2 -0
- package/src/config/__tests__/app-override-visibility.integration.test.ts +143 -0
- package/src/config/__tests__/cascade.integration.test.ts +111 -1
- package/src/config/__tests__/env-overrides.test.ts +134 -0
- package/src/config/__tests__/inherited-redaction.integration.test.ts +180 -0
- package/src/config/__tests__/read-redaction.test.ts +112 -0
- package/src/config/__tests__/settings-hub-feature-name.test.ts +14 -0
- package/src/config/constants.ts +3 -1
- package/src/config/handlers/cascade.query.ts +9 -1
- package/src/config/handlers/values.query.ts +34 -12
- package/src/config/index.ts +1 -1
- package/src/config/read-redaction.ts +54 -0
- package/src/config/resolver.ts +70 -1
- package/src/config/web/client-plugin.ts +24 -0
- package/src/config/web/i18n.ts +25 -0
- package/src/config/web/index.ts +3 -0
- package/src/custom-fields/aggregate-id.ts +1 -0
- package/src/custom-fields/wire-for-entity.ts +1 -0
- package/src/delivery/upsert-preference.ts +1 -0
- package/src/file-provider-inmemory/feature.ts +1 -1
- package/src/file-provider-s3/feature.ts +1 -1
- package/src/mail-transport-inmemory/feature.ts +1 -1
- package/src/mail-transport-smtp/feature.ts +1 -1
- package/src/step-dispatcher/mail-runner.ts +1 -0
- package/src/subscription-stripe/__tests__/plugin-methods.test.ts +1 -1
- package/src/subscription-stripe/__tests__/stripe-foundation.integration.test.ts +1 -1
- package/src/subscription-stripe/__tests__/verify-webhook.test.ts +1 -1
- package/src/subscription-stripe/constants.ts +0 -4
- package/src/subscription-stripe/runtime.ts +5 -2
- package/src/subscription-stripe/verify-webhook.ts +1 -0
- package/src/tenant/__tests__/multi-tenant.integration.test.ts +48 -0
- package/src/tenant/handlers/list.query.ts +1 -1
- package/src/tenant/handlers/memberships.query.ts +16 -15
- package/src/tenant/handlers/toggle-enabled.write.ts +1 -1
- package/src/tenant/handlers/update.write.ts +1 -1
- package/src/text-content/api.ts +1 -0
- package/src/tier-engine/aggregate-id.ts +1 -0
- package/src/user/handlers/me.query.ts +1 -1
- package/src/user-data-rights/db/queries/export-jobs.ts +1 -0
- package/src/user-data-rights/deletion-token.ts +2 -0
- package/src/user-data-rights/feature.ts +1 -1
- package/src/user-data-rights/run-export-jobs.ts +2 -0
- package/src/user-profile/handlers/change-email.write.ts +1 -0
|
@@ -302,6 +302,7 @@ interface JobRow {
|
|
|
302
302
|
readonly requestedFromTenantId: TenantId;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
+
// @wrapper-known semantic-alias
|
|
305
306
|
async function fetchPendingJobs(db: DbRunner): Promise<readonly JobRow[]> {
|
|
306
307
|
return selectMany<JobRow>(
|
|
307
308
|
db,
|
|
@@ -649,6 +650,7 @@ async function storageCleanupPass(args: {
|
|
|
649
650
|
// Tenant-Context. system-mode TenantDb bypassed den auto-tenant-filter
|
|
650
651
|
// — wir nutzen `requestedFromTenantId` als Stream-Identity damit der
|
|
651
652
|
// Stream-Counter konsistent bleibt (Memory feedback_event_store_tenant_consistency).
|
|
653
|
+
// @wrapper-known semantic-alias
|
|
652
654
|
function systemTenantDb(db: DbConnection, tenantId: TenantId) {
|
|
653
655
|
return createTenantDb(db, tenantId, "system");
|
|
654
656
|
}
|
|
@@ -9,6 +9,7 @@ import { UserProfileErrors } from "../constants";
|
|
|
9
9
|
// Gleiche Failure-Shape wie auth-email-password (anti-enumeration):
|
|
10
10
|
// dessen errors.ts ist nicht Teil des Feature-Barrels, der Reason-Code
|
|
11
11
|
// + i18nKey sind aber stabile Public-API.
|
|
12
|
+
// @wrapper-known error-helper
|
|
12
13
|
function invalidCredentials() {
|
|
13
14
|
return writeFailure(
|
|
14
15
|
new UnprocessableError(AuthErrors.invalidCredentials, {
|