@cosmicdrift/kumiko-bundled-features 0.125.0 → 0.125.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-bundled-features",
|
|
3
|
-
"version": "0.125.
|
|
3
|
+
"version": "0.125.2",
|
|
4
4
|
"description": "Built-in features — tenant, user, auth, delivery. The stuff you'd rewrite anyway, already typed.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -106,11 +106,11 @@
|
|
|
106
106
|
"./step-dispatcher": "./src/step-dispatcher/index.ts"
|
|
107
107
|
},
|
|
108
108
|
"dependencies": {
|
|
109
|
-
"@cosmicdrift/kumiko-dispatcher-live": "0.125.
|
|
110
|
-
"@cosmicdrift/kumiko-framework": "0.125.
|
|
111
|
-
"@cosmicdrift/kumiko-headless": "0.125.
|
|
112
|
-
"@cosmicdrift/kumiko-renderer": "0.125.
|
|
113
|
-
"@cosmicdrift/kumiko-renderer-web": "0.125.
|
|
109
|
+
"@cosmicdrift/kumiko-dispatcher-live": "0.125.2",
|
|
110
|
+
"@cosmicdrift/kumiko-framework": "0.125.2",
|
|
111
|
+
"@cosmicdrift/kumiko-headless": "0.125.2",
|
|
112
|
+
"@cosmicdrift/kumiko-renderer": "0.125.2",
|
|
113
|
+
"@cosmicdrift/kumiko-renderer-web": "0.125.2",
|
|
114
114
|
"@mollie/api-client": "^4.5.0",
|
|
115
115
|
"@node-rs/argon2": "^2.0.2",
|
|
116
116
|
"@types/nodemailer": "^8.0.0",
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { describe, expect, test } from "bun:test";
|
|
2
2
|
import { access, validateBoot } from "@cosmicdrift/kumiko-framework/engine";
|
|
3
|
+
import { createFilesFeature } from "@cosmicdrift/kumiko-framework/files";
|
|
3
4
|
import { createComplianceProfilesFeature } from "../../compliance-profiles/feature";
|
|
4
5
|
import { createConfigFeature } from "../../config/feature";
|
|
5
6
|
import { createDataRetentionFeature } from "../../data-retention/feature";
|
|
6
7
|
import { createSessionsFeature } from "../../sessions/feature";
|
|
7
8
|
import { createUserFeature } from "../../user/feature";
|
|
9
|
+
import { createUserDataRightsDefaultsFeature } from "../../user-data-rights-defaults/feature";
|
|
8
10
|
import { createUserDataRightsFeature } from "../feature";
|
|
9
11
|
|
|
10
12
|
// Read-only GDPR inspector screens live IN user-data-rights (the boot-validator
|
|
@@ -16,13 +18,19 @@ import { createUserDataRightsFeature } from "../feature";
|
|
|
16
18
|
// so an entityList binding is rebuild-safe (unlike jobs/sessions read-models).
|
|
17
19
|
|
|
18
20
|
describe("user-data-rights read-only inspector screens", () => {
|
|
21
|
+
// A realistic assembly: mounting user-data-rights without its default hooks
|
|
22
|
+
// now fails the V3 boot gate (the framework `user` entity holds PII with no
|
|
23
|
+
// erase path). Real apps mount the defaults (which hard-require `files`)
|
|
24
|
+
// alongside — so this set mirrors that.
|
|
19
25
|
const features = [
|
|
20
26
|
createConfigFeature(),
|
|
21
27
|
createUserFeature(),
|
|
22
28
|
createSessionsFeature(),
|
|
23
29
|
createDataRetentionFeature(),
|
|
24
30
|
createComplianceProfilesFeature(),
|
|
31
|
+
createFilesFeature(),
|
|
25
32
|
createUserDataRightsFeature(),
|
|
33
|
+
createUserDataRightsDefaultsFeature(),
|
|
26
34
|
];
|
|
27
35
|
|
|
28
36
|
test("the assembled feature set boot-validates", () => {
|
|
@@ -791,6 +791,10 @@ describe("runExportJobs :: Atom 3c file-binaries", () => {
|
|
|
791
791
|
},
|
|
792
792
|
],
|
|
793
793
|
}),
|
|
794
|
+
// no-op: this fixture exercises only the export/file path; the erase
|
|
795
|
+
// side is covered by forget-*.integration.test.ts. Required so the
|
|
796
|
+
// V2 boot gate (export-without-erase) does not reject the stack.
|
|
797
|
+
delete: async () => {},
|
|
794
798
|
});
|
|
795
799
|
});
|
|
796
800
|
|