@cosmicdrift/kumiko-types 0.165.1 → 0.165.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/entity-table-meta-types.ts +2 -2
- package/src/feature.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-types",
|
|
3
|
-
"version": "0.165.
|
|
3
|
+
"version": "0.165.2",
|
|
4
4
|
"description": "Framework-Type-Definitions für Kumiko — FeatureDefinition, BootCheck-Types und die reinen Engine-Types. Erlaubt Downstream-Konsumenten, gegen die Type-Contracts zu bauen, ohne das ganze Framework-Package zu importieren. Enthaelt auch die identitaets-sensitiven Error-Klassen (event-store-errors.ts, kms-adapter-types.ts) als Runtime-Code — kumiko-framework/kumiko-bundled-features deklarieren dieses Package deshalb als peerDependency (Single-Copy-Zwang), nicht als plain dependency.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Plain-data types for EntityTableMeta — split from the runtime
|
|
2
|
-
// (
|
|
2
|
+
// (deriveEntityTableMeta, resolveTableName, defineUnmanagedTable) in
|
|
3
3
|
// entity-table-meta.ts. Prep step for the types-only package extraction
|
|
4
4
|
// (#1283) — this file must have ONLY `import type`, no value imports
|
|
5
5
|
// (crypto/DB deps).
|
|
@@ -73,7 +73,7 @@ export type EntityTableMeta = {
|
|
|
73
73
|
// discriminator to render warnings ("X tables are unmanaged").
|
|
74
74
|
readonly source: "managed" | "unmanaged";
|
|
75
75
|
// PII-subject-annotated field names (pii/userOwned/tenantOwned). Set by
|
|
76
|
-
//
|
|
76
|
+
// deriveEntityTableMeta so the registry can reject r.storeTable stores
|
|
77
77
|
// whose direct writes would skip the executor's encryption (#820).
|
|
78
78
|
readonly piiSubjectFields?: readonly string[];
|
|
79
79
|
};
|
package/src/feature.ts
CHANGED
|
@@ -791,7 +791,7 @@ export type FeatureRegistrar<TFeature extends string = string> = {
|
|
|
791
791
|
//
|
|
792
792
|
// EntityTableMeta carries the same column-shape that r.entity() builds,
|
|
793
793
|
// minus the audit-trail + base-columns scaffolding. The `meta` argument
|
|
794
|
-
// is the result of `defineUnmanagedTable(...)` / `
|
|
794
|
+
// is the result of `defineUnmanagedTable(...)` / `deriveEntityTableMeta(...)`
|
|
795
795
|
// from `@cosmicdrift/kumiko-framework/db`.
|
|
796
796
|
//
|
|
797
797
|
// The required `reason` string is the marker that justifies the bypass —
|