@cosmicdrift/kumiko-framework 0.369.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/AGENTS.md +14 -1
- package/agents/examples/apex-surface-auth.md +2 -1
- package/agents/examples/app-config.md +98 -0
- package/agents/examples/auth-mfa.md +72 -0
- package/agents/examples/compose-stacks.md +188 -0
- package/agents/examples/env-composition.md +268 -0
- package/agents/examples/host-routing.md +181 -0
- package/agents/examples/legal-pages.md +52 -3
- package/agents/examples/managed-config.md +1 -0
- package/agents/examples/managed-pages.md +1 -0
- package/agents/examples/prod-boot-options.md +180 -0
- package/agents/examples/relations.md +4 -0
- package/agents/examples/secrets-demo.md +4 -2
- package/agents/examples/security-baseline.md +20 -17
- package/agents/examples.md +6 -1
- package/agents/features.md +14 -2
- package/dist/api/anonymous-cookie.d.ts +1 -1
- package/dist/api/anonymous-live-entities.d.ts +1 -1
- package/dist/api/auth-middleware.d.ts +2 -2
- package/dist/api/auth-routes.d.ts +7 -7
- package/dist/api/extra-route.d.ts +2 -2
- package/dist/api/index.d.ts +37 -37
- package/dist/api/jwt.d.ts +1 -1
- package/dist/api/observability-middleware.d.ts +1 -1
- package/dist/api/readiness.d.ts +1 -1
- package/dist/api/redis-sse-broker.d.ts +2 -2
- package/dist/api/request-context.d.ts +1 -1
- package/dist/api/request-id-middleware.d.ts +3 -3
- package/dist/api/route-registrars.d.ts +4 -4
- package/dist/api/routes.d.ts +1 -1
- package/dist/api/server.d.ts +16 -16
- package/dist/api/sse-broker.d.ts +1 -1
- package/dist/api/sse-route.d.ts +1 -1
- package/dist/api/websocket-route.d.ts +3 -3
- package/dist/auth/index.d.ts +2 -2
- package/dist/compliance/duration-spec.d.ts +2 -2
- package/dist/compliance/index.d.ts +6 -6
- package/dist/compliance/profiles.d.ts +1 -1
- package/dist/config/index.d.ts +44 -0
- package/dist/config/index.js +61 -0
- package/dist/crypto/blind-index.d.ts +1 -1
- package/dist/crypto/event-pii.d.ts +1 -1
- package/dist/crypto/in-memory-kms-adapter.d.ts +1 -1
- package/dist/crypto/index.d.ts +11 -11
- package/dist/crypto/is-self-pii-field.d.ts +1 -1
- package/dist/crypto/kms-wiring.d.ts +2 -2
- package/dist/crypto/owner-transition-rekey.d.ts +1 -1
- package/dist/crypto/pg-kms-adapter.d.ts +1 -1
- package/dist/crypto/pii-field-encryption.d.ts +4 -4
- package/dist/crypto/request-kms-cache.d.ts +1 -1
- package/dist/crypto/subject-resolver.d.ts +3 -3
- package/dist/db/apply-entity-event.d.ts +4 -4
- package/dist/db/assert-exists-in.d.ts +4 -4
- package/dist/db/blind-index-cleanup.d.ts +2 -2
- package/dist/db/collect-table-metas.d.ts +2 -2
- package/dist/db/compound-types.d.ts +1 -1
- package/dist/db/config-seed.d.ts +5 -5
- package/dist/db/connection.d.ts +1 -6
- package/dist/db/connection.js +15 -4
- package/dist/db/dialect.d.ts +1 -1
- package/dist/db/eagerload.d.ts +3 -3
- package/dist/db/entity-field-encryption.d.ts +3 -3
- package/dist/db/entity-field-encryption.js +3 -1
- package/dist/db/entity-table-from-registry.d.ts +3 -3
- package/dist/db/entity-table-meta.d.ts +3 -3
- package/dist/db/event-store-executor-context.d.ts +9 -9
- package/dist/db/event-store-executor-read.d.ts +2 -2
- package/dist/db/event-store-executor-write.d.ts +2 -2
- package/dist/db/event-store-executor.d.ts +8 -8
- package/dist/db/feature-table-sources.d.ts +1 -1
- package/dist/db/index.d.ts +39 -39
- package/dist/db/located-timestamp.d.ts +1 -1
- package/dist/db/lock-guard.d.ts +2 -2
- package/dist/db/migrate-generator.d.ts +2 -2
- package/dist/db/migrate-runner.d.ts +1 -1
- package/dist/db/money.d.ts +1 -1
- package/dist/db/parent-ref-clause.d.ts +4 -4
- package/dist/db/projection-registry-binding.d.ts +1 -1
- package/dist/db/queries/advisory-lock.d.ts +1 -1
- package/dist/db/queries/backfill-pii.d.ts +2 -2
- package/dist/db/queries/ddl.d.ts +1 -1
- package/dist/db/queries/entity-read.d.ts +1 -1
- package/dist/db/queries/es-ops.d.ts +1 -1
- package/dist/db/queries/event-consumer.d.ts +2 -2
- package/dist/db/queries/event-store-admin.d.ts +1 -1
- package/dist/db/queries/event-store-transfer.d.ts +1 -1
- package/dist/db/queries/event-store.d.ts +1 -1
- package/dist/db/queries/pii-backfill-state.d.ts +1 -1
- package/dist/db/queries/projection-rebuild.d.ts +1 -1
- package/dist/db/queries/raw-sql.d.ts +1 -1
- package/dist/db/queries/seed-context.d.ts +2 -2
- package/dist/db/queries/shadow-swap.d.ts +3 -3
- package/dist/db/queries/table-ops.d.ts +1 -1
- package/dist/db/queries/test-stack.d.ts +2 -2
- package/dist/db/query.d.ts +3 -3
- package/dist/db/rebuild-marker.d.ts +1 -1
- package/dist/db/reference-data.d.ts +3 -3
- package/dist/db/render-ddl.d.ts +1 -1
- package/dist/db/replay-migration-sql.d.ts +1 -1
- package/dist/db/retired-framework-tables.d.ts +1 -1
- package/dist/db/schema-inspection.d.ts +1 -1
- package/dist/db/table-builder.d.ts +4 -4
- package/dist/db/table-push.d.ts +3 -3
- package/dist/db/tenant-db-runner.d.ts +2 -2
- package/dist/db/tenant-db.d.ts +7 -9
- package/dist/db/tenant-db.js +2 -12
- package/dist/derivatives/derivatives-context.d.ts +3 -3
- package/dist/derivatives/field-variants.d.ts +1 -1
- package/dist/derivatives/index.d.ts +6 -6
- package/dist/engine/access.d.ts +1 -1
- package/dist/engine/active-membership.d.ts +2 -2
- package/dist/engine/boot-validator/access-declarations.d.ts +1 -1
- package/dist/engine/boot-validator/access-roles.d.ts +1 -1
- package/dist/engine/boot-validator/action-wiring.d.ts +1 -1
- package/dist/engine/boot-validator/api-ext.d.ts +1 -1
- package/dist/engine/boot-validator/boot-check.d.ts +1 -1
- package/dist/engine/boot-validator/card-meta-overflow.d.ts +1 -1
- package/dist/engine/boot-validator/config-deps.d.ts +1 -1
- package/dist/engine/boot-validator/detail-screens.d.ts +2 -2
- package/dist/engine/boot-validator/entity-handler.d.ts +1 -1
- package/dist/engine/boot-validator/entity-list-screens.d.ts +1 -1
- package/dist/engine/boot-validator/gdpr-storage.d.ts +1 -1
- package/dist/engine/boot-validator/global-tenancy.d.ts +1 -1
- package/dist/engine/boot-validator/handler-field-references.d.ts +1 -1
- package/dist/engine/boot-validator/i18n-keys.d.ts +1 -1
- package/dist/engine/boot-validator/index.d.ts +7 -7
- package/dist/engine/boot-validator/nav.d.ts +1 -1
- package/dist/engine/boot-validator/ownership.d.ts +2 -2
- package/dist/engine/boot-validator/parent-ref.d.ts +1 -1
- package/dist/engine/boot-validator/pii-retention.d.ts +2 -2
- package/dist/engine/boot-validator/projection-list-screens.d.ts +1 -1
- package/dist/engine/boot-validator/query-output-columns.d.ts +1 -1
- package/dist/engine/boot-validator/query-refs.d.ts +1 -1
- package/dist/engine/boot-validator/record-owned.d.ts +1 -1
- package/dist/engine/boot-validator/screens.d.ts +2 -2
- package/dist/engine/boot-validator/security-baseline.d.ts +1 -1
- package/dist/engine/boot-validator/selector-owner-panels.d.ts +1 -1
- package/dist/engine/boot-validator/transfer-graph.d.ts +2 -2
- package/dist/engine/boot-validator/url-prefill-fields.d.ts +1 -1
- package/dist/engine/boot-validator/workspaces.d.ts +1 -1
- package/dist/engine/boot-validator.d.ts +1 -1
- package/dist/engine/bridge-stub.d.ts +1 -1
- package/dist/engine/build-app-schema.d.ts +2 -2
- package/dist/engine/build-config-feature-schema.d.ts +5 -5
- package/dist/engine/build-target.d.ts +2 -2
- package/dist/engine/changeset-changes.d.ts +1 -1
- package/dist/engine/codemod/index.d.ts +2 -2
- package/dist/engine/config-helpers.d.ts +1 -1
- package/dist/engine/constants.d.ts +1 -1
- package/dist/engine/create-app.d.ts +2 -2
- package/dist/engine/cross-tenant.d.ts +2 -2
- package/dist/engine/dedupe-features.d.ts +1 -1
- package/dist/engine/define-feature.d.ts +1 -1
- package/dist/engine/define-feature.js +2 -2
- package/dist/engine/define-handler.d.ts +4 -4
- package/dist/engine/define-step.d.ts +1 -1
- package/dist/engine/define-workflow.d.ts +2 -2
- package/dist/engine/effective-features.d.ts +1 -1
- package/dist/engine/embedded-derived.d.ts +1 -1
- package/dist/engine/entity-handlers.d.ts +6 -5
- package/dist/engine/entity-handlers.js +6 -3
- package/dist/engine/event-def.d.ts +15 -0
- package/dist/engine/event-def.js +123 -0
- package/dist/engine/event-helpers.d.ts +1 -1
- package/dist/engine/extension-names.d.ts +8 -8
- package/dist/engine/extension-selector-plugins.d.ts +2 -2
- package/dist/engine/extensions/escape-hatch-usage.d.ts +1 -1
- package/dist/engine/extensions/storage-provider.d.ts +1 -1
- package/dist/engine/extensions/tenant-data.d.ts +3 -3
- package/dist/engine/extensions/tenant-resource.d.ts +2 -2
- package/dist/engine/extensions/user-data.d.ts +2 -2
- package/dist/engine/factories.d.ts +1 -1
- package/dist/engine/feature-ast/extractors/ai-steps.d.ts +2 -2
- package/dist/engine/feature-ast/extractors/events.d.ts +2 -2
- package/dist/engine/feature-ast/extractors/handlers.d.ts +4 -4
- package/dist/engine/feature-ast/extractors/hooks.d.ts +5 -5
- package/dist/engine/feature-ast/extractors/index.d.ts +14 -14
- package/dist/engine/feature-ast/extractors/jobs-routes.d.ts +3 -3
- package/dist/engine/feature-ast/extractors/projections-screens.d.ts +3 -3
- package/dist/engine/feature-ast/extractors/round1.d.ts +2 -2
- package/dist/engine/feature-ast/extractors/round2.d.ts +2 -2
- package/dist/engine/feature-ast/extractors/round3.d.ts +4 -4
- package/dist/engine/feature-ast/extractors/round5.d.ts +2 -2
- package/dist/engine/feature-ast/extractors/round6.d.ts +2 -2
- package/dist/engine/feature-ast/extractors/shared.d.ts +2 -2
- package/dist/engine/feature-ast/index.d.ts +16 -16
- package/dist/engine/feature-ast/parse.d.ts +2 -2
- package/dist/engine/feature-ast/patch.d.ts +1 -1
- package/dist/engine/feature-ast/patcher.d.ts +15 -15
- package/dist/engine/feature-ast/pattern-change-schema.d.ts +10 -10
- package/dist/engine/feature-ast/patterns.d.ts +15 -15
- package/dist/engine/feature-ast/render.d.ts +1 -1
- package/dist/engine/feature-builder-state.d.ts +5 -5
- package/dist/engine/feature-config-events-jobs.d.ts +3 -3
- package/dist/engine/feature-config-events-jobs.js +8 -130
- package/dist/engine/feature-entity-handlers.d.ts +4 -4
- package/dist/engine/feature-entity-handlers.js +11 -5
- package/dist/engine/feature-manifest.d.ts +1 -1
- package/dist/engine/feature-ui-extensions.d.ts +7 -7
- package/dist/engine/feature-ui-extensions.js +2 -2
- package/dist/engine/field-access.d.ts +1 -1
- package/dist/engine/field-helpers.d.ts +1 -1
- package/dist/engine/handler-helpers.d.ts +1 -1
- package/dist/engine/index.d.ts +89 -88
- package/dist/engine/index.js +1 -0
- package/dist/engine/instruction-fields.d.ts +1 -1
- package/dist/engine/object-form.d.ts +1 -1
- package/dist/engine/object-form.js +5 -6
- package/dist/engine/ownership.d.ts +3 -3
- package/dist/engine/pattern-library/index.d.ts +2 -2
- package/dist/engine/pattern-library/library.d.ts +2 -2
- package/dist/engine/pattern-library/mixed-schemas.d.ts +1 -1
- package/dist/engine/pattern-library/opaque-schemas.d.ts +1 -1
- package/dist/engine/pattern-library/shared-fields.d.ts +1 -1
- package/dist/engine/pattern-library/static-schemas.d.ts +1 -1
- package/dist/engine/pattern-library/types.d.ts +1 -1
- package/dist/engine/personal-data-fields.d.ts +2 -2
- package/dist/engine/pipeline.d.ts +2 -2
- package/dist/engine/project-app-schema-for-roles.d.ts +1 -1
- package/dist/engine/projection-helpers.d.ts +4 -4
- package/dist/engine/read-claim.d.ts +1 -1
- package/dist/engine/registry-facade.d.ts +2 -2
- package/dist/engine/registry-ingest.d.ts +2 -2
- package/dist/engine/registry-state.d.ts +2 -2
- package/dist/engine/registry-validate.d.ts +3 -3
- package/dist/engine/registry.d.ts +1 -1
- package/dist/engine/resolve-config-or-param.d.ts +2 -2
- package/dist/engine/role-assignment.d.ts +1 -1
- package/dist/engine/run-in.d.ts +1 -1
- package/dist/engine/run-pipeline.d.ts +3 -3
- package/dist/engine/schema-builder.d.ts +1 -1
- package/dist/engine/screen-filter-ops.d.ts +1 -1
- package/dist/engine/screen-helpers.d.ts +2 -2
- package/dist/engine/soft-delete-cleanup.d.ts +2 -2
- package/dist/engine/steps/_event-match.d.ts +1 -1
- package/dist/engine/steps/_no-return-guard.d.ts +1 -1
- package/dist/engine/steps/_read-source.d.ts +4 -4
- package/dist/engine/steps/_resolver-utils.d.ts +1 -1
- package/dist/engine/steps/aggregate-append-event.d.ts +1 -1
- package/dist/engine/steps/aggregate-create.d.ts +2 -2
- package/dist/engine/steps/aggregate-update.d.ts +3 -3
- package/dist/engine/steps/branch.d.ts +1 -1
- package/dist/engine/steps/call-feature.d.ts +2 -2
- package/dist/engine/steps/compute.d.ts +1 -1
- package/dist/engine/steps/for-each.d.ts +1 -1
- package/dist/engine/steps/mail-send.d.ts +1 -1
- package/dist/engine/steps/read-find-many.d.ts +2 -2
- package/dist/engine/steps/read-find-one.d.ts +2 -2
- package/dist/engine/steps/retry.d.ts +1 -1
- package/dist/engine/steps/return.d.ts +2 -2
- package/dist/engine/steps/unsafe-projection-delete.d.ts +2 -2
- package/dist/engine/steps/unsafe-projection-upsert.d.ts +1 -1
- package/dist/engine/steps/wait-for-event.d.ts +1 -1
- package/dist/engine/steps/wait.d.ts +1 -1
- package/dist/engine/steps/webhook-send.d.ts +1 -1
- package/dist/engine/strip-disabled-features-from-app-schema.d.ts +4 -4
- package/dist/engine/system-user.d.ts +2 -2
- package/dist/engine/template-variables.d.ts +1 -1
- package/dist/engine/tier-resolver-extension.d.ts +4 -4
- package/dist/engine/transfer-adjacency.d.ts +1 -1
- package/dist/engine/types/index.d.ts +6 -6
- package/dist/engine/validate-projection-allowlist.d.ts +1 -1
- package/dist/engine/validation.d.ts +1 -1
- package/dist/entrypoint/index.d.ts +12 -12
- package/dist/env/dry-run.d.ts +14 -1
- package/dist/env/dry-run.js +50 -0
- package/dist/env/index.d.ts +54 -16
- package/dist/env/index.js +60 -6
- package/dist/errors/classes.d.ts +3 -3
- package/dist/errors/docs-url.d.ts +1 -1
- package/dist/errors/index.d.ts +18 -18
- package/dist/errors/member-resolution.d.ts +1 -1
- package/dist/errors/serialize.d.ts +2 -2
- package/dist/errors/subject-erased.d.ts +1 -1
- package/dist/errors/to-kumiko-error.d.ts +1 -1
- package/dist/errors/write-error-info.d.ts +1 -1
- package/dist/errors/zod-bridge.d.ts +1 -1
- package/dist/es-ops/context.d.ts +4 -4
- package/dist/es-ops/index.d.ts +4 -4
- package/dist/es-ops/operations-schema.d.ts +1 -1
- package/dist/es-ops/runner.d.ts +3 -3
- package/dist/es-ops/runner.js +9 -1
- package/dist/es-ops/types.d.ts +2 -2
- package/dist/event-store/admin-api.d.ts +3 -3
- package/dist/event-store/archive.d.ts +2 -2
- package/dist/event-store/event-store.d.ts +2 -2
- package/dist/event-store/events-schema.d.ts +1 -1
- package/dist/event-store/index.d.ts +15 -15
- package/dist/event-store/provenance-append.d.ts +3 -3
- package/dist/event-store/rebuild-dead-letter.d.ts +2 -2
- package/dist/event-store/row-to-stored-event.d.ts +2 -2
- package/dist/event-store/snapshot.d.ts +2 -2
- package/dist/event-store/tenant-db-append.d.ts +2 -2
- package/dist/event-store/transfer.d.ts +3 -3
- package/dist/event-store/upcaster-dead-letter.d.ts +2 -2
- package/dist/event-store/upcaster.d.ts +3 -3
- package/dist/files/assert-file-refs-belong-to-tenant.d.ts +2 -2
- package/dist/files/bind-pending-file-refs.d.ts +3 -3
- package/dist/files/create-file-ref-from-bytes.d.ts +4 -4
- package/dist/files/create-file-ref.d.ts +3 -3
- package/dist/files/dispose-removed-file-refs.d.ts +2 -2
- package/dist/files/feature.d.ts +3 -3
- package/dist/files/file-handle.d.ts +1 -1
- package/dist/files/file-ref-entity.d.ts +1 -1
- package/dist/files/file-ref-table.d.ts +1 -1
- package/dist/files/file-routes.d.ts +5 -5
- package/dist/files/in-memory-provider.d.ts +1 -1
- package/dist/files/index.d.ts +20 -20
- package/dist/files/load-save-file-refs.d.ts +2 -2
- package/dist/files/local-provider.d.ts +1 -1
- package/dist/files/provider-resolver.d.ts +5 -5
- package/dist/files/purge-expired-file-ref-bytes.d.ts +2 -2
- package/dist/files/record-read-check.d.ts +1 -1
- package/dist/files/record-write-check.d.ts +3 -3
- package/dist/files/storage-tracking.d.ts +2 -2
- package/dist/files/types.d.ts +1 -1
- package/dist/files/zip-stream.d.ts +1 -1
- package/dist/i18n/index.d.ts +4 -4
- package/dist/i18n/mail-registry.d.ts +1 -1
- package/dist/i18n/required-surface-keys.d.ts +1 -1
- package/dist/i18n/settings-hub-keys.d.ts +1 -1
- package/dist/internal/stack-support.d.ts +12 -12
- package/dist/internal/testing.d.ts +4 -4
- package/dist/jobs/index.d.ts +2 -2
- package/dist/jobs/job-runner.d.ts +1 -1
- package/dist/jobs/max-per-tenant.d.ts +1 -1
- package/dist/lifecycle/index.d.ts +2 -2
- package/dist/lifecycle/lifecycle.d.ts +1 -1
- package/dist/lifecycle/signal-handlers.d.ts +1 -1
- package/dist/logging/index.d.ts +4 -4
- package/dist/logging/pino-logger.d.ts +1 -1
- package/dist/logging/utils.d.ts +1 -1
- package/dist/migrations/index.d.ts +4 -4
- package/dist/migrations/kumiko-drift.d.ts +1 -1
- package/dist/migrations/pending-rebuilds.d.ts +5 -5
- package/dist/migrations/pii-event-backfill.d.ts +4 -4
- package/dist/migrations/projection-table-index.d.ts +1 -1
- package/dist/observability/console-provider.d.ts +1 -1
- package/dist/observability/context.d.ts +1 -1
- package/dist/observability/escape-hatch-report.d.ts +3 -3
- package/dist/observability/fallback.d.ts +1 -1
- package/dist/observability/index.d.ts +16 -16
- package/dist/observability/metric-validator.d.ts +1 -1
- package/dist/observability/metrics-handle.d.ts +1 -1
- package/dist/observability/metrics-wiring.d.ts +2 -2
- package/dist/observability/noop-provider.d.ts +1 -1
- package/dist/observability/prometheus-meter.d.ts +1 -1
- package/dist/observability/recording-meter.d.ts +1 -1
- package/dist/observability/recording-tracer.d.ts +1 -1
- package/dist/observability/redis-wrapper.d.ts +1 -1
- package/dist/observability/sensitive-filter.d.ts +1 -1
- package/dist/observability/standard-metrics.d.ts +1 -1
- package/dist/pipeline/active-membership.d.ts +4 -4
- package/dist/pipeline/append-event-core.d.ts +3 -3
- package/dist/pipeline/auth-claims-resolver.d.ts +2 -2
- package/dist/pipeline/cascade-handler.d.ts +3 -3
- package/dist/pipeline/dispatch-batch.d.ts +2 -2
- package/dist/pipeline/dispatch-query.d.ts +4 -4
- package/dist/pipeline/dispatch-shared.d.ts +17 -17
- package/dist/pipeline/dispatch-stream.d.ts +2 -2
- package/dist/pipeline/dispatch-write.d.ts +4 -4
- package/dist/pipeline/dispatcher-utils.d.ts +2 -2
- package/dist/pipeline/dispatcher.d.ts +12 -12
- package/dist/pipeline/event-consumer-state.d.ts +1 -1
- package/dist/pipeline/event-dispatcher-admin.d.ts +1 -1
- package/dist/pipeline/event-dispatcher-delivery.d.ts +7 -7
- package/dist/pipeline/event-dispatcher.d.ts +7 -7
- package/dist/pipeline/event-retention.d.ts +1 -1
- package/dist/pipeline/handler-access-error.d.ts +2 -2
- package/dist/pipeline/index.d.ts +42 -42
- package/dist/pipeline/irreversible-operation-gate.d.ts +1 -1
- package/dist/pipeline/lifecycle-pipeline.d.ts +2 -2
- package/dist/pipeline/member-read-only-transaction.d.ts +2 -2
- package/dist/pipeline/member-reader.d.ts +5 -5
- package/dist/pipeline/msp-rebuild.d.ts +4 -4
- package/dist/pipeline/multi-stream-apply-context.d.ts +3 -3
- package/dist/pipeline/notify-scope.d.ts +3 -3
- package/dist/pipeline/pending-gap-ranges.d.ts +2 -2
- package/dist/pipeline/pre-handler-gates.d.ts +3 -3
- package/dist/pipeline/pre-transaction-reservations.d.ts +4 -4
- package/dist/pipeline/projection-rebuild.d.ts +3 -3
- package/dist/pipeline/projection-state.d.ts +1 -1
- package/dist/pipeline/projections-runner.d.ts +3 -3
- package/dist/pipeline/projections-runner.js +3 -4
- package/dist/pipeline/system-hooks.d.ts +4 -4
- package/dist/pipeline/system-identity-switch.d.ts +3 -3
- package/dist/pipeline/tenant-timezone-cache.d.ts +1 -1
- package/dist/pipeline/write-origin.d.ts +3 -3
- package/dist/pipeline/write-result-masking.d.ts +2 -2
- package/dist/random/index.d.ts +2 -2
- package/dist/rate-limit/bucket.d.ts +1 -1
- package/dist/rate-limit/index.d.ts +3 -3
- package/dist/rate-limit/middleware.d.ts +3 -3
- package/dist/redis/cache-sync-bus.d.ts +2 -2
- package/dist/redis/cache-sync-topics.d.ts +1 -1
- package/dist/redis/index.d.ts +8 -8
- package/dist/redis/pubsub-signal.d.ts +1 -1
- package/dist/schema-cli.d.ts +1 -1
- package/dist/schema-cli.js +9 -1
- package/dist/search/derive-search-adapter-config.d.ts +2 -2
- package/dist/search/in-memory-adapter.d.ts +1 -1
- package/dist/search/index.d.ts +6 -6
- package/dist/search/meilisearch-adapter.d.ts +2 -2
- package/dist/search/purge-subject.d.ts +4 -4
- package/dist/search/reindex-entity.d.ts +3 -3
- package/dist/secrets/dek-cache.d.ts +1 -1
- package/dist/secrets/env-master-key-provider.d.ts +1 -1
- package/dist/secrets/env-master-key-provider.js +26 -11
- package/dist/secrets/envelope-cipher.d.ts +2 -2
- package/dist/secrets/envelope.d.ts +1 -1
- package/dist/secrets/index.d.ts +9 -9
- package/dist/secrets/rotation.d.ts +1 -1
- package/dist/secrets/stored-envelope.d.ts +1 -1
- package/dist/seeding/entity-seed.d.ts +1 -1
- package/dist/seeding/index.d.ts +3 -3
- package/dist/seeding/seed-users.d.ts +1 -1
- package/dist/time/index.d.ts +6 -6
- package/dist/ui-types/app-schema.d.ts +5 -5
- package/dist/ui-types/index.d.ts +23 -23
- package/dist/upgrade-cli.js +13 -3
- package/dist/utils/index.d.ts +9 -9
- package/package.json +19 -66
- package/presets/biome-app.json +80 -0
- package/presets/tsconfig.app.json +19 -0
- package/src/changes.json +78 -2
- package/src/scripts/codemod/README.md +18 -0
- package/src/scripts/codemod/codemod-support.ts +1 -1
- package/src/scripts/codemod/db-factory.ts +1 -1
- package/src/scripts/codemod/feature-factory.ts +1 -1
- package/src/scripts/codemod/import-extensions.ts +118 -0
- package/src/scripts/codemod/migrate-cross-tenant.ts +2 -2
- package/src/scripts/codemod/migrate-db-raw.ts +1 -1
- package/src/scripts/codemod/migrate-open-to-all.ts +1 -1
- package/src/scripts/codemod/object-form.ts +1 -1
- package/src/scripts/codemod/s3-imports.ts +1 -1
- package/src/scripts/codemod/tenant-db-options.ts +1 -1
- package/src/scripts/codemod/testing-move.ts +2 -2
- package/dist/db/bun-db-deprecated.d.ts +0 -10
- package/dist/db/bun-db-deprecated.js +0 -5
- package/dist/stack/index.d.ts +0 -10
- package/dist/stack/index.js +0 -11
- package/dist/testing/e2e-generator.d.ts +0 -5
- package/dist/testing/e2e-generator.js +0 -5
- package/dist/testing/handler-context.d.ts +0 -5
- package/dist/testing/handler-context.js +0 -5
- package/dist/testing/index.d.ts +0 -10
- package/dist/testing/index.js +0 -10
- package/dist/testing/real-providers.d.ts +0 -5
- package/dist/testing/real-providers.js +0 -5
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { EventStoreExecutor } from "@cosmicdrift/kumiko-types/event-store-executor-types";
|
|
2
|
-
import type { LocalKeyKmsAdapter } from "../crypto/index.
|
|
3
|
-
import type { EntityDefinition } from "../engine/types/index.
|
|
4
|
-
import type { EntityCache } from "../pipeline/entity-cache.
|
|
5
|
-
import type { SearchAdapter } from "../search/types.
|
|
6
|
-
import type { EnvelopeCipher } from "../secrets/envelope-cipher.
|
|
7
|
-
import { type Table } from "./event-store-executor-context.
|
|
2
|
+
import type { LocalKeyKmsAdapter } from "../crypto/index.ts";
|
|
3
|
+
import type { EntityDefinition } from "../engine/types/index.ts";
|
|
4
|
+
import type { EntityCache } from "../pipeline/entity-cache.ts";
|
|
5
|
+
import type { SearchAdapter } from "../search/types.ts";
|
|
6
|
+
import type { EnvelopeCipher } from "../secrets/envelope-cipher.ts";
|
|
7
|
+
import { type Table } from "./event-store-executor-context.ts";
|
|
8
8
|
export type { EventStoreExecutor, LockGuardOption, WritePurpose, } from "@cosmicdrift/kumiko-types/event-store-executor-types";
|
|
9
9
|
export { WritePurposes } from "@cosmicdrift/kumiko-types/event-store-executor-types";
|
|
10
|
-
export type { EntityLifecycleVerb } from "./event-store-executor-context.
|
|
11
|
-
export { entityEventName } from "./event-store-executor-context.
|
|
10
|
+
export type { EntityLifecycleVerb } from "./event-store-executor-context.ts";
|
|
11
|
+
export { entityEventName } from "./event-store-executor-context.ts";
|
|
12
12
|
export type EventStoreExecutorOptions = {
|
|
13
13
|
searchAdapter?: SearchAdapter;
|
|
14
14
|
entityName: string;
|
package/dist/db/index.d.ts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
export { assertExistsIn } from "./assert-exists-in.
|
|
2
|
-
export { nullBlindIndexesForSubject, recordEventsOwnedExclusivelyByTenant, recordRowExistsInTenant, recordRowOwningTenantId, subjectRowExistsInTenant, } from "./blind-index-cleanup.
|
|
3
|
-
export { collectTableMetas } from "./collect-table-metas.
|
|
4
|
-
export { flattenCompoundTypes, rehydrateCompoundTypes } from "./compound-types.
|
|
5
|
-
export { seedConfigValues } from "./config-seed.
|
|
6
|
-
export type { CreateDbConnectionOptions, DbConnection, DbConnectionHandle, DbConnectionOptions, DbRow, DbRunner, DbTx, } from "./connection.
|
|
7
|
-
export { createDbConnection, DEFAULT_OUTSIDE_TRANSACTION_POOL_MAX, dbConnectionOptionsFromEnv, outsideTransactionPoolOptionsFromEnv, } from "./connection.
|
|
8
|
-
export type { CursorQueryOptions, CursorResult, DecodedKeysetCursor } from "./cursor.
|
|
9
|
-
export { decodeCursor, decodeKeysetCursor, encodeCursor, encodeKeysetCursor } from "./cursor.
|
|
10
|
-
export type { SchemaTable, SelectQuery, TableColumns } from "./dialect.
|
|
11
|
-
export { bigint, bigserial, boolean, extractTableName, index, instant, instantToDriver, integer, jsonb, moneyAmount, numeric, primaryKey, serial, sql, table, text, timestamp, uniqueIndex, uuid, } from "./dialect.
|
|
12
|
-
export type { EagerLoadEntityResolver, EagerLoadViewer, EagerloadedRow } from "./eagerload.
|
|
13
|
-
export { collectReferenceFields, enrichRowWithReferences, enrichWithReferences, } from "./eagerload.
|
|
14
|
-
export { collectEncryptedFieldNames, configuredEntityFieldEncryption, configureEntityFieldEncryption, decryptEntityFieldValues, encryptEntityFieldValues, } from "./entity-field-encryption.
|
|
15
|
-
export { entityTableFromRegistry } from "./entity-table-from-registry.
|
|
16
|
-
export type { BuildEntityTableMetaOptions, ColumnMeta, CompositePrimaryKeyMeta, EntityTableMeta, IndexMeta, PgType, UnmanagedTableInput, } from "./entity-table-meta.
|
|
17
|
-
export { buildEntityTableMeta, defineUnmanagedTable, deriveEntityTableMeta, } from "./entity-table-meta.
|
|
18
|
-
export type { EntityLifecycleVerb, EventStoreExecutor, EventStoreExecutorOptions, LockGuardOption, WritePurpose, } from "./event-store-executor.
|
|
19
|
-
export { createEventStoreExecutor, entityEventName, WritePurposes, } from "./event-store-executor.
|
|
20
|
-
export { enumerateFeatureTableSources, type FeatureTableSource, } from "./feature-table-sources.
|
|
21
|
-
export { flattenLocatedTimestamp, rehydrateLocatedTimestamp } from "./located-timestamp.
|
|
22
|
-
export { assertUniqueTableNames, assertValidMigrationName, diffSnapshots, type GenerateMigrationInput, type GenerateMigrationOutput, generateMigration, loadSnapshotJson, renderMigrationSql, type SchemaDiff, type Snapshot, snapshotFromMetas, writeSnapshotJson, } from "./migrate-generator.
|
|
23
|
-
export { type AppliedMigration, type ApplyResult, type BaselineResult, baselineMigrations, fetchAppliedMigrations, loadMigrationsFromDir, type Migration, MigrationChecksumMismatchError, readMigrationSqlTexts, runMigrations, runMigrationsFromDir, splitSqlStatements, } from "./migrate-runner.
|
|
24
|
-
export { flattenMoney, type MoneyRead, moneyPayloadToMinorUnits, rehydrateMoney } from "./money.
|
|
25
|
-
export { constraintOf, extractPgError, isTableAlreadyExists, isUniqueViolation, type PgErrorInfo, } from "./pg-error.
|
|
26
|
-
export { acquireNamespacedAdvisoryLock } from "./queries/advisory-lock.
|
|
27
|
-
export { toPostgresArrayLiteral } from "./queries/postgres-array-literal.
|
|
28
|
-
export { executeRawQuery, executeRawQueryRead } from "./queries/raw-sql.
|
|
29
|
-
export type { DeleteManyBatchedOptions, DeleteManyBatchedResult, IncrementCounterOptions, InnerJoinRow, InnerJoinSpec, InsertOnConflictDoNothingOptions, JoinColumnPair, JsonTextMatch, SelectOptions, TableInfo, UpsertOnConflictOptions, WhereObject, WhereOperator, WhereValue, } from "./query.
|
|
30
|
-
export { aggregateWhere, asEntityTableMeta, asRawClient, countWhere, deleteMany, deleteManyBatched, extractTableInfo, fetchOne, incrementCounter, insertMany, insertOnConflictDoNothing, insertOne, instantToTimestamptzParam, isTimestamptzType, requireEntityTableMeta, runInSavepoint, runInSavepointIfSupported, runnerCanBeginTransaction, selectInnerJoin, selectMany, transaction, unsafeReadRetrying, updateMany, upsertByPk, upsertOnConflict, } from "./query.
|
|
31
|
-
export { readRebuildMarker, rebuildTablesFromDiff, writeRebuildMarker, } from "./rebuild-marker.
|
|
32
|
-
export { seedReferenceData } from "./reference-data.
|
|
33
|
-
export { renderTableDdl, renderTablesDdl } from "./render-ddl.
|
|
34
|
-
export { diffReplayAgainstSnapshot, type ReplayedSchema, type ReplayedTable, type ReplayMismatch, replayMigrationsDir, } from "./replay-migration-sql.
|
|
35
|
-
export { findCommentedDropTables, isRetiredFrameworkTable, type RetiredFrameworkTable, retiredFrameworkTables, } from "./retired-framework-tables.
|
|
36
|
-
export { tableExists } from "./schema-inspection.
|
|
37
|
-
export { buildBaseColumns, buildEntityTable, declareGlobalTenancy, type EntityTable, physicalColumnName, toSnakeCase, toTableName, } from "./table-builder.
|
|
38
|
-
export type { CreateTenantDbOptions, TenantDb, TenantDbGrants, TenantDbMode, UncheckedSystemDb, } from "./tenant-db.
|
|
39
|
-
export { castTenantRows, createSystemDbView, createTenantDb, runInOwnTransaction, SYSTEM_SCOPE_CHECK_BRAND, scopeTenantDbToTenant, } from "./tenant-db.
|
|
1
|
+
export { assertExistsIn } from "./assert-exists-in.ts";
|
|
2
|
+
export { nullBlindIndexesForSubject, recordEventsOwnedExclusivelyByTenant, recordRowExistsInTenant, recordRowOwningTenantId, subjectRowExistsInTenant, } from "./blind-index-cleanup.ts";
|
|
3
|
+
export { collectTableMetas } from "./collect-table-metas.ts";
|
|
4
|
+
export { flattenCompoundTypes, rehydrateCompoundTypes } from "./compound-types.ts";
|
|
5
|
+
export { seedConfigValues } from "./config-seed.ts";
|
|
6
|
+
export type { CreateDbConnectionOptions, DbConnection, DbConnectionHandle, DbConnectionOptions, DbRow, DbRunner, DbTx, } from "./connection.ts";
|
|
7
|
+
export { createDbConnection, DEFAULT_OUTSIDE_TRANSACTION_POOL_MAX, dbConnectionOptionsFromEnv, outsideTransactionPoolOptionsFromEnv, } from "./connection.ts";
|
|
8
|
+
export type { CursorQueryOptions, CursorResult, DecodedKeysetCursor } from "./cursor.ts";
|
|
9
|
+
export { decodeCursor, decodeKeysetCursor, encodeCursor, encodeKeysetCursor } from "./cursor.ts";
|
|
10
|
+
export type { SchemaTable, SelectQuery, TableColumns } from "./dialect.ts";
|
|
11
|
+
export { bigint, bigserial, boolean, extractTableName, index, instant, instantToDriver, integer, jsonb, moneyAmount, numeric, primaryKey, serial, sql, table, text, timestamp, uniqueIndex, uuid, } from "./dialect.ts";
|
|
12
|
+
export type { EagerLoadEntityResolver, EagerLoadViewer, EagerloadedRow } from "./eagerload.ts";
|
|
13
|
+
export { collectReferenceFields, enrichRowWithReferences, enrichWithReferences, } from "./eagerload.ts";
|
|
14
|
+
export { collectEncryptedFieldNames, configuredEntityFieldEncryption, configureEntityFieldEncryption, decryptEntityFieldValues, encryptEntityFieldValues, } from "./entity-field-encryption.ts";
|
|
15
|
+
export { entityTableFromRegistry } from "./entity-table-from-registry.ts";
|
|
16
|
+
export type { BuildEntityTableMetaOptions, ColumnMeta, CompositePrimaryKeyMeta, EntityTableMeta, IndexMeta, PgType, UnmanagedTableInput, } from "./entity-table-meta.ts";
|
|
17
|
+
export { buildEntityTableMeta, defineUnmanagedTable, deriveEntityTableMeta, } from "./entity-table-meta.ts";
|
|
18
|
+
export type { EntityLifecycleVerb, EventStoreExecutor, EventStoreExecutorOptions, LockGuardOption, WritePurpose, } from "./event-store-executor.ts";
|
|
19
|
+
export { createEventStoreExecutor, entityEventName, WritePurposes, } from "./event-store-executor.ts";
|
|
20
|
+
export { enumerateFeatureTableSources, type FeatureTableSource, } from "./feature-table-sources.ts";
|
|
21
|
+
export { flattenLocatedTimestamp, rehydrateLocatedTimestamp } from "./located-timestamp.ts";
|
|
22
|
+
export { assertUniqueTableNames, assertValidMigrationName, diffSnapshots, type GenerateMigrationInput, type GenerateMigrationOutput, generateMigration, loadSnapshotJson, renderMigrationSql, type SchemaDiff, type Snapshot, snapshotFromMetas, writeSnapshotJson, } from "./migrate-generator.ts";
|
|
23
|
+
export { type AppliedMigration, type ApplyResult, type BaselineResult, baselineMigrations, fetchAppliedMigrations, loadMigrationsFromDir, type Migration, MigrationChecksumMismatchError, readMigrationSqlTexts, runMigrations, runMigrationsFromDir, splitSqlStatements, } from "./migrate-runner.ts";
|
|
24
|
+
export { flattenMoney, type MoneyRead, moneyPayloadToMinorUnits, rehydrateMoney } from "./money.ts";
|
|
25
|
+
export { constraintOf, extractPgError, isTableAlreadyExists, isUniqueViolation, type PgErrorInfo, } from "./pg-error.ts";
|
|
26
|
+
export { acquireNamespacedAdvisoryLock } from "./queries/advisory-lock.ts";
|
|
27
|
+
export { toPostgresArrayLiteral } from "./queries/postgres-array-literal.ts";
|
|
28
|
+
export { executeRawQuery, executeRawQueryRead } from "./queries/raw-sql.ts";
|
|
29
|
+
export type { DeleteManyBatchedOptions, DeleteManyBatchedResult, IncrementCounterOptions, InnerJoinRow, InnerJoinSpec, InsertOnConflictDoNothingOptions, JoinColumnPair, JsonTextMatch, SelectOptions, TableInfo, UpsertOnConflictOptions, WhereObject, WhereOperator, WhereValue, } from "./query.ts";
|
|
30
|
+
export { aggregateWhere, asEntityTableMeta, asRawClient, countWhere, deleteMany, deleteManyBatched, extractTableInfo, fetchOne, incrementCounter, insertMany, insertOnConflictDoNothing, insertOne, instantToTimestamptzParam, isTimestamptzType, requireEntityTableMeta, runInSavepoint, runInSavepointIfSupported, runnerCanBeginTransaction, selectInnerJoin, selectMany, transaction, unsafeReadRetrying, updateMany, upsertByPk, upsertOnConflict, } from "./query.ts";
|
|
31
|
+
export { readRebuildMarker, rebuildTablesFromDiff, writeRebuildMarker, } from "./rebuild-marker.ts";
|
|
32
|
+
export { seedReferenceData } from "./reference-data.ts";
|
|
33
|
+
export { renderTableDdl, renderTablesDdl } from "./render-ddl.ts";
|
|
34
|
+
export { diffReplayAgainstSnapshot, type ReplayedSchema, type ReplayedTable, type ReplayMismatch, replayMigrationsDir, } from "./replay-migration-sql.ts";
|
|
35
|
+
export { findCommentedDropTables, isRetiredFrameworkTable, type RetiredFrameworkTable, retiredFrameworkTables, } from "./retired-framework-tables.ts";
|
|
36
|
+
export { tableExists } from "./schema-inspection.ts";
|
|
37
|
+
export { buildBaseColumns, buildEntityTable, declareGlobalTenancy, type EntityTable, physicalColumnName, toSnakeCase, toTableName, } from "./table-builder.ts";
|
|
38
|
+
export type { CreateTenantDbOptions, TenantDb, TenantDbGrants, TenantDbMode, UncheckedSystemDb, } from "./tenant-db.ts";
|
|
39
|
+
export { castTenantRows, createSystemDbView, createTenantDb, runInOwnTransaction, SYSTEM_SCOPE_CHECK_BRAND, scopeTenantDbToTenant, } from "./tenant-db.ts";
|
package/dist/db/lock-guard.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SessionUser } from "../engine/types/index.
|
|
2
|
-
import type { LockGuardOption } from "./event-store-executor.
|
|
1
|
+
import type { SessionUser } from "../engine/types/index.ts";
|
|
2
|
+
import type { LockGuardOption } from "./event-store-executor.ts";
|
|
3
3
|
export declare function isFrameworkSystemUser(user: SessionUser): boolean;
|
|
4
4
|
export declare function isLockGuardBypassed(user: SessionUser, options: LockGuardOption | undefined): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ColumnMeta, EntityTableMeta, IndexMeta } from "./entity-table-meta.
|
|
2
|
-
import { type RetiredFrameworkTable } from "./retired-framework-tables.
|
|
1
|
+
import type { ColumnMeta, EntityTableMeta, IndexMeta } from "./entity-table-meta.ts";
|
|
2
|
+
import { type RetiredFrameworkTable } from "./retired-framework-tables.ts";
|
|
3
3
|
declare const SNAPSHOT_VERSION: 1;
|
|
4
4
|
export type Snapshot = {
|
|
5
5
|
readonly version: typeof SNAPSHOT_VERSION;
|
package/dist/db/money.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EntityDefinition } from "../engine/types/index.
|
|
1
|
+
import type { EntityDefinition } from "../engine/types/index.ts";
|
|
2
2
|
export declare function toMinorUnits(amount: number): number;
|
|
3
3
|
export declare function moneyPayloadToMinorUnits(raw: unknown): number | undefined;
|
|
4
4
|
export declare function flattenMoney(payload: Record<string, unknown>, entity: EntityDefinition): Record<string, unknown>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ParentVisibilityOption } from "@cosmicdrift/kumiko-types/event-store-executor-types";
|
|
2
|
-
import { type OwnershipClause } from "../engine/ownership.
|
|
3
|
-
import type { EntityDefinition, SessionUser } from "../engine/types/index.
|
|
4
|
-
import type { Table } from "./event-store-executor-context.
|
|
5
|
-
import type { TenantDb } from "./tenant-db.
|
|
2
|
+
import { type OwnershipClause } from "../engine/ownership.ts";
|
|
3
|
+
import type { EntityDefinition, SessionUser } from "../engine/types/index.ts";
|
|
4
|
+
import type { Table } from "./event-store-executor-context.ts";
|
|
5
|
+
import type { TenantDb } from "./tenant-db.ts";
|
|
6
6
|
export type { ParentVisibilityOption } from "@cosmicdrift/kumiko-types/event-store-executor-types";
|
|
7
7
|
export declare function buildParentRefClause(entity: EntityDefinition, table: Table, tableName: string, user: SessionUser, db: TenantDb, option: ParentVisibilityOption | undefined, opts: {
|
|
8
8
|
readonly includeDeleted?: boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { Registry } from "../engine/types/index.
|
|
1
|
+
import type { Registry } from "../engine/types/index.ts";
|
|
2
2
|
export declare function bindProjectionRegistry(target: object, registry: Registry): void;
|
|
3
3
|
export declare function projectionRegistryOf(target: object): Registry | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { AnyDb } from "../query.
|
|
1
|
+
import type { AnyDb } from "../query.ts";
|
|
2
2
|
/** pg_advisory_xact_lock keyed on namespace+key hash — xact-scoped, auto-released at commit/rollback. */
|
|
3
3
|
export declare function acquireNamespacedAdvisoryLock(db: AnyDb, namespace: number, key: string): Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Registry } from "../../engine/types/index.
|
|
2
|
-
import type { DbRunner } from "../connection.
|
|
1
|
+
import type { Registry } from "../../engine/types/index.ts";
|
|
2
|
+
import type { DbRunner } from "../connection.ts";
|
|
3
3
|
export type PiiBackfillFailure = {
|
|
4
4
|
readonly eventId: string;
|
|
5
5
|
readonly reason: string;
|
package/dist/db/queries/ddl.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnyDb } from "../query.
|
|
1
|
+
import type { AnyDb } from "../query.ts";
|
|
2
2
|
export declare function executeDdlStatement(db: AnyDb, sqlText: string): Promise<void>;
|
|
3
3
|
export declare function alterTableAddColumn(db: AnyDb, tableName: string, columnName: string, columnType: string, defaultClause: string, notNull: string, ifNotExists?: boolean): Promise<void>;
|
|
4
4
|
export declare function createIndexIfNotExists(db: AnyDb, indexKind: "UNIQUE INDEX" | "INDEX", indexName: string, tableName: string, columnList: string, whereSql?: string): Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { AnyDb } from "../query.
|
|
1
|
+
import type { AnyDb } from "../query.ts";
|
|
2
2
|
export declare function selectRowForUpdateById(db: AnyDb, tableName: string, id: string | number): Promise<readonly Record<string, unknown>[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnyDb } from "../query.
|
|
1
|
+
import type { AnyDb } from "../query.ts";
|
|
2
2
|
/** Stabiler Lock-Key für pg_advisory_xact_lock — multi-replica seed boots. */
|
|
3
3
|
export declare const ES_OPS_ADVISORY_LOCK_KEY = 1702063984;
|
|
4
4
|
export declare function acquireEsOpsAdvisoryLock(db: AnyDb): Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ConsumerStatuses, PendingGapEntry } from "../../pipeline/event-consumer-state.
|
|
2
|
-
import type { AnyDb } from "../query.
|
|
1
|
+
import type { ConsumerStatuses, PendingGapEntry } from "../../pipeline/event-consumer-state.ts";
|
|
2
|
+
import type { AnyDb } from "../query.ts";
|
|
3
3
|
export declare function selectSnapshotXmin(db: AnyDb): Promise<string>;
|
|
4
4
|
export declare function selectSnapshotXmax(db: AnyDb): Promise<string>;
|
|
5
5
|
/** Serialise against consumer-bootstrap INSERTs during event retention prune. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DbRunner } from "@cosmicdrift/kumiko-types/db-connection";
|
|
2
|
-
import type { AnyDb } from "../query.
|
|
2
|
+
import type { AnyDb } from "../query.ts";
|
|
3
3
|
export declare function claimXactId(db: AnyDb): Promise<void>;
|
|
4
4
|
export declare function runAtomicEventWrite<T>(db: DbRunner, write: (runner: DbRunner) => Promise<T>): Promise<T>;
|
|
5
5
|
/** NOTIFY on commit — wakes LISTEN subscribers (event-dispatcher). */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnyDb } from "../query.
|
|
1
|
+
import type { AnyDb } from "../query.ts";
|
|
2
2
|
export declare function markProjectionRebuilding(db: AnyDb, projectionName: string): Promise<void>;
|
|
3
3
|
export declare function selectEventsForProjectionRebuildBatch(db: AnyDb, aggregateTypes: readonly string[], eventTypes: readonly string[], afterId: bigint, limit: number): Promise<ReadonlyArray<Record<string, unknown>>>;
|
|
4
4
|
export declare function countSubscribedEvents(db: AnyDb, aggregateTypes: readonly string[], eventTypes: readonly string[]): Promise<bigint>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnyDb } from "../query.
|
|
1
|
+
import type { AnyDb } from "../query.ts";
|
|
2
2
|
/** Escape hatch for caller-built SQL that may write (or lock). No closed-connection retry —
|
|
3
3
|
* retrying an ambiguous write risks double-apply (#1358). Prefer {@link executeRawQueryRead}
|
|
4
4
|
* for SELECT-only paths. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DbRunner } from "../connection.
|
|
2
|
-
import type { AnyDb } from "../query.
|
|
1
|
+
import type { DbRunner } from "../connection.ts";
|
|
2
|
+
import type { AnyDb } from "../query.ts";
|
|
3
3
|
export type SeedUserRow = {
|
|
4
4
|
readonly id: string;
|
|
5
5
|
readonly email: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ProjectionRowIdOf } from "@cosmicdrift/kumiko-types/projection";
|
|
2
|
-
import type { DbConnection, DbTx } from "../connection.
|
|
3
|
-
import type { EntityTableMeta } from "../entity-table-meta.
|
|
4
|
-
import { type AnyDb } from "../query.
|
|
2
|
+
import type { DbConnection, DbTx } from "../connection.ts";
|
|
3
|
+
import type { EntityTableMeta } from "../entity-table-meta.ts";
|
|
4
|
+
import { type AnyDb } from "../query.ts";
|
|
5
5
|
export declare const PROJECTION_REBUILD_SCHEMA = "kumiko_rebuild";
|
|
6
6
|
export declare function ensureRebuildSchema(db: AnyDb): Promise<void>;
|
|
7
7
|
export declare function rebuildMetaOrThrow(table: unknown, projectionName: string): EntityTableMeta;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnyDb } from "../query.
|
|
1
|
+
import type { AnyDb } from "../query.ts";
|
|
2
2
|
/** Double-quote + escape — Postgres identifier rules. */
|
|
3
3
|
export declare function quoteTableIdent(name: string): string;
|
|
4
4
|
export declare function truncateTable(db: AnyDb, tableName: string): Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { AnyDb } from "../query.
|
|
2
|
-
export { alterTableAddColumn, createIndexIfNotExists, executeDdlStatement } from "./ddl.
|
|
1
|
+
import type { AnyDb } from "../query.ts";
|
|
2
|
+
export { alterTableAddColumn, createIndexIfNotExists, executeDdlStatement } from "./ddl.ts";
|
|
3
3
|
export declare function truncateTablesRestartIdentity(db: AnyDb, tableNames: readonly string[]): Promise<void>;
|
|
4
4
|
export declare function databaseExists(db: AnyDb, dbName: string): Promise<boolean>;
|
|
5
5
|
export declare function createDatabase(db: AnyDb, dbName: string): Promise<void>;
|
package/dist/db/query.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import type { AggregateRow, AggregateSpec } from "@cosmicdrift/kumiko-types/aggr
|
|
|
2
2
|
import type { DbRunner, DbTx } from "@cosmicdrift/kumiko-types/db-connection";
|
|
3
3
|
import { Temporal } from "@cosmicdrift/kumiko-types/temporal";
|
|
4
4
|
import type { SelectOptions, WhereObject } from "@cosmicdrift/kumiko-types/where-clause-types";
|
|
5
|
-
import type { EntityTableMeta } from "./entity-table-meta.
|
|
6
|
-
import { type NotExecutorOnly } from "./table-builder.
|
|
7
|
-
import { asEntityTableMeta, requireEntityTableMeta } from "./table-introspection.
|
|
5
|
+
import type { EntityTableMeta } from "./entity-table-meta.ts";
|
|
6
|
+
import { type NotExecutorOnly } from "./table-builder.ts";
|
|
7
|
+
import { asEntityTableMeta, requireEntityTableMeta } from "./table-introspection.ts";
|
|
8
8
|
export { asEntityTableMeta, requireEntityTableMeta };
|
|
9
9
|
export type ReservedClient = {
|
|
10
10
|
unsafe: RawClient["unsafe"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type SchemaDiff } from "./migrate-generator.
|
|
1
|
+
import { type SchemaDiff } from "./migrate-generator.ts";
|
|
2
2
|
export declare function rebuildTablesFromDiff(diff: SchemaDiff): readonly string[];
|
|
3
3
|
export declare function writeRebuildMarker(migrationsDir: string, sqlFilename: string, tables: readonly string[]): void;
|
|
4
4
|
export declare function readRebuildMarker(migrationsDir: string, migrationId: string): readonly string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ReferenceDataDef } from "../engine/types/index.
|
|
2
|
-
import type { DbConnection } from "./connection.
|
|
3
|
-
import type { TableColumns } from "./dialect.
|
|
1
|
+
import type { ReferenceDataDef } from "../engine/types/index.ts";
|
|
2
|
+
import type { DbConnection } from "./connection.ts";
|
|
3
|
+
import type { TableColumns } from "./dialect.ts";
|
|
4
4
|
type Table = TableColumns<any>;
|
|
5
5
|
/**
|
|
6
6
|
* Seed reference data at boot time.
|
package/dist/db/render-ddl.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EntityTableMeta, IndexMeta } from "./entity-table-meta.
|
|
1
|
+
import type { EntityTableMeta, IndexMeta } from "./entity-table-meta.ts";
|
|
2
2
|
export declare function renderIndex(tableName: string, idx: IndexMeta): string;
|
|
3
3
|
export declare function renderTableDdl(meta: EntityTableMeta): readonly string[];
|
|
4
4
|
export declare function renderTablesDdl(metas: readonly EntityTableMeta[]): readonly string[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { DbConnection, DbTx } from "./connection.
|
|
1
|
+
import type { DbConnection, DbTx } from "./connection.ts";
|
|
2
2
|
export declare function tableExists(db: DbConnection | DbTx, fullyQualifiedName: string): Promise<boolean>;
|
|
3
3
|
export declare function columnNamesOf(db: DbConnection | DbTx, tableName: string): Promise<ReadonlySet<string>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="temporal-polyfill/global" preserve="true" />
|
|
2
2
|
import type { ExecutorOnly } from "@cosmicdrift/kumiko-types/executor-brand";
|
|
3
3
|
import type { TenancyBrand } from "@cosmicdrift/kumiko-types/tenancy-brand";
|
|
4
|
-
import type { EntityDefinition, EntityRelations, FieldDefinition, FieldsMap } from "../engine/types/index.
|
|
5
|
-
import type { Table } from "./event-store-executor-context.
|
|
6
|
-
export { toSnakeCase } from "../utils/case.
|
|
7
|
-
import { type ColumnBuilder, type ColumnHandle, type SchemaTable, type TableColumns } from "./dialect.
|
|
4
|
+
import type { EntityDefinition, EntityRelations, FieldDefinition, FieldsMap } from "../engine/types/index.ts";
|
|
5
|
+
import type { Table } from "./event-store-executor-context.ts";
|
|
6
|
+
export { toSnakeCase } from "../utils/case.ts";
|
|
7
|
+
import { type ColumnBuilder, type ColumnHandle, type SchemaTable, type TableColumns } from "./dialect.ts";
|
|
8
8
|
export declare const SOFT_DELETE_LIVE_ROW_PREDICATE = "\"is_deleted\" = false";
|
|
9
9
|
export declare function physicalColumnName(table: Table, field: string): string;
|
|
10
10
|
export type AnyPgColumn = ColumnHandle;
|
package/dist/db/table-push.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { EntityDefinition } from "../engine/types/index.
|
|
2
|
-
import type { DbConnection } from "./connection.
|
|
3
|
-
import type { ColumnMeta, EntityTableMeta, IndexMeta } from "./entity-table-meta.
|
|
1
|
+
import type { EntityDefinition } from "../engine/types/index.ts";
|
|
2
|
+
import type { DbConnection } from "./connection.ts";
|
|
3
|
+
import type { ColumnMeta, EntityTableMeta, IndexMeta } from "./entity-table-meta.ts";
|
|
4
4
|
/**
|
|
5
5
|
* Bypass: creates an entity-table directly without going through the
|
|
6
6
|
* full registry. Reserved for framework-internal meta-tables and
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TenantDb } from "@cosmicdrift/kumiko-types/tenant-db-types";
|
|
2
|
-
import { InternalError } from "../errors/index.
|
|
3
|
-
import type { DbRunner } from "./connection.
|
|
2
|
+
import { InternalError } from "../errors/index.ts";
|
|
3
|
+
import type { DbRunner } from "./connection.ts";
|
|
4
4
|
export declare function bindTenantDbRunner(tenantDb: TenantDb, runner: DbRunner): void;
|
|
5
5
|
export declare function tenantDbRunner(tenantDb: TenantDb): DbRunner;
|
|
6
6
|
export declare function denyTenantDbWrites(tenantDb: TenantDb, reason: string): void;
|
package/dist/db/tenant-db.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ import type { EntityTableMeta } from "@cosmicdrift/kumiko-types/entity-table-met
|
|
|
2
2
|
import type { EscapeHatchDeclaration, EscapeHatchReporter, EscapeHatchTarget } from "@cosmicdrift/kumiko-types/handlers";
|
|
3
3
|
import type { SchemaTable } from "@cosmicdrift/kumiko-types/schema-table-types";
|
|
4
4
|
import { type TenantDb, type TenantDbMode, type UncheckedSystemDb } from "@cosmicdrift/kumiko-types/tenant-db-types";
|
|
5
|
-
import { asRawClient } from "../db/query.
|
|
6
|
-
import type { EntityDefinition } from "../engine/types/fields.
|
|
7
|
-
import { type TenantId } from "../engine/types/identifiers.
|
|
8
|
-
import type { Registry } from "../engine/types/index.
|
|
9
|
-
import { type Meter, type Tracer } from "../observability/index.
|
|
10
|
-
import type { DbRunner } from "./connection.
|
|
11
|
-
import { tableNameOf } from "./table-introspection.
|
|
5
|
+
import { asRawClient } from "../db/query.ts";
|
|
6
|
+
import type { EntityDefinition } from "../engine/types/fields.ts";
|
|
7
|
+
import { type TenantId } from "../engine/types/identifiers.ts";
|
|
8
|
+
import type { Registry } from "../engine/types/index.ts";
|
|
9
|
+
import { type Meter, type Tracer } from "../observability/index.ts";
|
|
10
|
+
import type { DbRunner } from "./connection.ts";
|
|
11
|
+
import { tableNameOf } from "./table-introspection.ts";
|
|
12
12
|
type Table = SchemaTable;
|
|
13
13
|
export { SYSTEM_SCOPE_CHECK_BRAND, type TenantDb, type TenantDbMode, type UncheckedSystemDb, } from "@cosmicdrift/kumiko-types/tenant-db-types";
|
|
14
14
|
export declare function assertPersonalDataWrite(db: TenantDb, tableName: string, keys: readonly string[], entity: EntityDefinition): void;
|
|
@@ -47,7 +47,5 @@ export type CreateTenantDbOptions = {
|
|
|
47
47
|
readonly grants?: TenantDbGrants;
|
|
48
48
|
};
|
|
49
49
|
export declare function createTenantDb(options: CreateTenantDbOptions): TenantDb;
|
|
50
|
-
/** @deprecated Positional form, use createTenantDb({ db, tenantId, ... }). Run `bun kumiko-upgrade --apply` to rewrite call sites. Removed in the first release after 2026-10-29. */
|
|
51
|
-
export declare function createTenantDb(db: DbRunner, tenantId: TenantId, mode?: TenantDbMode, tracer?: Tracer, meter?: Meter, signal?: AbortSignal, grants?: TenantDbGrants): TenantDb;
|
|
52
50
|
export declare function createProjectingTenantDb(db: DbRunner, tenantId: TenantId, projectionRegistry: Registry | undefined): TenantDb;
|
|
53
51
|
export { asRawClient };
|
package/dist/db/tenant-db.js
CHANGED
|
@@ -311,18 +311,8 @@ export async function runInOwnTransaction(tenantDb, fn) {
|
|
|
311
311
|
}
|
|
312
312
|
return rebind(fn);
|
|
313
313
|
}
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
function isCreateTenantDbOptions(value) {
|
|
317
|
-
return (typeof value === "object" &&
|
|
318
|
-
value !== null &&
|
|
319
|
-
Object.hasOwn(value, "tenantId") &&
|
|
320
|
-
Object.hasOwn(value, "db"));
|
|
321
|
-
}
|
|
322
|
-
export function createTenantDb(dbOrOptions, tenantId, mode, tracer, meter, signal, grants) {
|
|
323
|
-
if (isCreateTenantDbOptions(dbOrOptions))
|
|
324
|
-
return buildTenantDb(dbOrOptions);
|
|
325
|
-
return buildTenantDb({ db: dbOrOptions, tenantId, mode, tracer, meter, signal, grants });
|
|
314
|
+
export function createTenantDb(options) {
|
|
315
|
+
return buildTenantDb(options);
|
|
326
316
|
}
|
|
327
317
|
// Untyped JS callers or an `as` cast can still hand in undefined; a scoped handle
|
|
328
318
|
// without a tenant would bind `tenant_id = NULL` instead of failing loudly.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DerivativeRendererPlugin, DerivativesContext } from "@cosmicdrift/kumiko-types/derivatives-types";
|
|
2
|
-
import { type AnyDb } from "../db/query.
|
|
3
|
-
import type { Registry, TenantId } from "../engine/types/index.
|
|
4
|
-
import type { FileContext } from "../files/file-handle.
|
|
2
|
+
import { type AnyDb } from "../db/query.ts";
|
|
3
|
+
import type { Registry, TenantId } from "../engine/types/index.ts";
|
|
4
|
+
import type { FileContext } from "../files/file-handle.ts";
|
|
5
5
|
export type DerivativesContextDeps = {
|
|
6
6
|
readonly files: FileContext;
|
|
7
7
|
readonly registry: Registry;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { VariantSpec } from "@cosmicdrift/kumiko-types/derivatives-types";
|
|
2
|
-
import type { Registry } from "../engine/types/index.
|
|
2
|
+
import type { Registry } from "../engine/types/index.ts";
|
|
3
3
|
export declare function resolveFieldVariant(registry: Registry, entityType: string | null, fieldName: string | null, name: string): VariantSpec | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type { StoredFileStore } from "./delete-stored-file.
|
|
2
|
-
export { deleteFileRefBytes, deleteStoredFileAndDerivatives, listDerivativeKeys, } from "./delete-stored-file.
|
|
3
|
-
export type { DerivativesContextDeps } from "./derivatives-context.
|
|
4
|
-
export { createDerivativesContext, resolveRenderer } from "./derivatives-context.
|
|
5
|
-
export { resolveFieldVariant } from "./field-variants.
|
|
6
|
-
export { canonicalJson, derivativeListPrefix, isDerivativeKeyOf, parseDerivativeKey, specHash, VARIANT_NAME_PATTERN, variantSuffix, } from "./variant-key.
|
|
1
|
+
export type { StoredFileStore } from "./delete-stored-file.ts";
|
|
2
|
+
export { deleteFileRefBytes, deleteStoredFileAndDerivatives, listDerivativeKeys, } from "./delete-stored-file.ts";
|
|
3
|
+
export type { DerivativesContextDeps } from "./derivatives-context.ts";
|
|
4
|
+
export { createDerivativesContext, resolveRenderer } from "./derivatives-context.ts";
|
|
5
|
+
export { resolveFieldVariant } from "./field-variants.ts";
|
|
6
|
+
export { canonicalJson, derivativeListPrefix, isDerivativeKeyOf, parseDerivativeKey, specHash, VARIANT_NAME_PATTERN, variantSuffix, } from "./variant-key.ts";
|
package/dist/engine/access.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { AccessRule, SessionUser } from "./types/index.
|
|
1
|
+
import type { AccessRule, SessionUser } from "./types/index.ts";
|
|
2
2
|
export declare function hasAccess(user: Pick<SessionUser, "roles">, access: AccessRule | undefined): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DbConnection } from "../db/connection.
|
|
2
|
-
import type { TenantId } from "./types/identifiers.
|
|
1
|
+
import type { DbConnection } from "../db/connection.ts";
|
|
2
|
+
import type { TenantId } from "./types/identifiers.ts";
|
|
3
3
|
export type PrincipalStatus = "active" | "blocked" | "unknown";
|
|
4
4
|
export type PrincipalProfile = {
|
|
5
5
|
readonly globalRoles: readonly string[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { FeatureDefinition } from "../types/index.
|
|
1
|
+
import type { FeatureDefinition } from "../types/index.ts";
|
|
2
2
|
export declare function validateAccessDeclarations(feature: FeatureDefinition): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { FeatureDefinition } from "../types/index.
|
|
1
|
+
import type { FeatureDefinition } from "../types/index.ts";
|
|
2
2
|
export declare function warnOnUniqueAccessRoles(features: readonly FeatureDefinition[]): void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FeatureDefinition } from "../types/index.
|
|
1
|
+
import type { FeatureDefinition } from "../types/index.ts";
|
|
2
2
|
export declare function validateActionWiring(feature: FeatureDefinition): void;
|
|
3
3
|
export declare function validateFieldWiring(feature: FeatureDefinition): void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FeatureDefinition } from "../types/index.
|
|
1
|
+
import type { FeatureDefinition } from "../types/index.ts";
|
|
2
2
|
export declare function validateApiExposureMatching(feature: FeatureDefinition, allExposedApis: ReadonlyMap<string, string>, featureMap: ReadonlyMap<string, FeatureDefinition>): void;
|
|
3
3
|
export declare function validateExtensionUsages(feature: FeatureDefinition, extensionProviders: ReadonlyMap<string, string>): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { FeatureDefinition } from "../types/index.
|
|
1
|
+
import type { FeatureDefinition } from "../types/index.ts";
|
|
2
2
|
export declare function validateFeatureBootChecks(features: readonly FeatureDefinition[]): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FeatureDefinition } from "../types/index.
|
|
1
|
+
import type { FeatureDefinition } from "../types/index.ts";
|
|
2
2
|
export declare function warnOnToggleableDependencies(features: readonly FeatureDefinition[], featureMap: ReadonlyMap<string, FeatureDefinition>): void;
|
|
3
3
|
export declare function validateConfigKeyBounds(feature: FeatureDefinition): void;
|
|
4
4
|
export declare function validateConfigKeyComputed(feature: FeatureDefinition): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { FeatureDefinition } from "../types/index.
|
|
2
|
-
import type { ScreenDefinition } from "../types/screen.
|
|
1
|
+
import type { FeatureDefinition } from "../types/index.ts";
|
|
2
|
+
import type { ScreenDefinition } from "../types/screen.ts";
|
|
3
3
|
export declare function collectDetailForScreens(features: readonly FeatureDefinition[], featureMap: ReadonlyMap<string, FeatureDefinition>): Map<string, {
|
|
4
4
|
readonly featureName: string;
|
|
5
5
|
readonly screen: ScreenDefinition;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FeatureDefinition, QueryHandlerDef } from "../types/index.
|
|
1
|
+
import type { FeatureDefinition, QueryHandlerDef } from "../types/index.ts";
|
|
2
2
|
export declare const FILE_FIELD_TYPES: Set<string>;
|
|
3
3
|
export declare const PII_DIRECT_NAME_HINTS: ReadonlySet<string>;
|
|
4
4
|
export declare const PII_USER_OWNED_NAME_HINTS: ReadonlySet<string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FeatureDefinition } from "../types/index.
|
|
1
|
+
import type { FeatureDefinition } from "../types/index.ts";
|
|
2
2
|
/** Operator lists default searchable; low-cardinality audit trails stay opt-out. */
|
|
3
3
|
export declare const SEARCHABLE_FALSE_WHITELIST: Set<string>;
|
|
4
4
|
export declare const LIST_ROW_META_COLUMN_NAMES: Set<string>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { FeatureDefinition } from "../types/index.
|
|
1
|
+
import type { FeatureDefinition } from "../types/index.ts";
|
|
2
2
|
export declare function validateGdprStoragePersistence(features: readonly FeatureDefinition[]): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { FeatureDefinition } from "../types/index.
|
|
1
|
+
import type { FeatureDefinition } from "../types/index.ts";
|
|
2
2
|
export declare function validateGlobalTenancyEntities(features: readonly FeatureDefinition[]): void;
|