@cosmicdrift/kumiko-bundled-features 0.20.0 → 0.21.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/LICENSE
CHANGED
|
@@ -21,7 +21,7 @@ managed offering of the Licensed Work.
|
|
|
21
21
|
This restriction does not apply to the Licensor, any entity controlled by,
|
|
22
22
|
controlling, or under common control with the Licensor ("Affiliates"), or
|
|
23
23
|
contractors acting on their behalf. The Licensor remains free to use the
|
|
24
|
-
Licensed Work for any purpose, including for the operation of kumiko.
|
|
24
|
+
Licensed Work for any purpose, including for the operation of kumiko.rocks.
|
|
25
25
|
|
|
26
26
|
Change Date: 2030-05-05
|
|
27
27
|
Change License: Apache License, Version 2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-bundled-features",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
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>",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"bugs": {
|
|
13
13
|
"url": "https://github.com/CosmicDriftGameStudio/kumiko-framework/issues"
|
|
14
14
|
},
|
|
15
|
-
"homepage": "https://kumiko.
|
|
15
|
+
"homepage": "https://kumiko.rocks",
|
|
16
16
|
"type": "module",
|
|
17
17
|
"kumiko": {
|
|
18
18
|
"runtime": "runtime"
|
|
@@ -60,7 +60,7 @@ export const incrementRollingCapHandler: WriteHandlerDef = {
|
|
|
60
60
|
const payload = event.payload as IncrementRollingPayload;
|
|
61
61
|
const aggregateId = rollingCapAggregateId(event.user.tenantId, payload.capName);
|
|
62
62
|
|
|
63
|
-
// unsafeAppendEvent — bundled-features-Pfad (apps mit
|
|
63
|
+
// unsafeAppendEvent — bundled-features-Pfad (apps mit bun kumiko
|
|
64
64
|
// codegen kriegen den strict-typed appendEvent-Wrapper). Schema-
|
|
65
65
|
// Validation läuft trotzdem, weil r.defineEvent das Schema
|
|
66
66
|
// registriert hat.
|
|
@@ -131,7 +131,7 @@ export function createSetWriteHandler(getRuntime: (() => GlobalFeatureToggleRunt
|
|
|
131
131
|
// This mirrors how `config` handles the same constraint for
|
|
132
132
|
// its config-changed events.
|
|
133
133
|
// unsafeAppendEvent — bundled-features ohne lokalen Wrapper. Apps
|
|
134
|
-
// mit `
|
|
134
|
+
// mit `bun kumiko codegen` kriegen `.kumiko/define.ts` als strict-
|
|
135
135
|
// path; bundled-features bleibt bei der unsafe-Variante. Schema-
|
|
136
136
|
// Validation läuft trotzdem via r.defineEvent("toggle-set", ...).
|
|
137
137
|
await ctx.unsafeAppendEvent({
|
|
@@ -10,7 +10,7 @@ import type { FeatureDefinition } from "@cosmicdrift/kumiko-framework/engine";
|
|
|
10
10
|
* compile-time-checked.
|
|
11
11
|
*
|
|
12
12
|
* Die Tier-Engine selbst ist **agnostisch** zu konkreten Tier-Werten und
|
|
13
|
-
* Cap-Dimensionen. Jede App definiert ihre TierMap: kumiko.
|
|
13
|
+
* Cap-Dimensionen. Jede App definiert ihre TierMap: kumiko.rocks hat
|
|
14
14
|
* free/pro/business/enterprise/self-host, PublicStatus hat
|
|
15
15
|
* free/starter/team/agency. Die Engine speichert nur den Tier-Namen als
|
|
16
16
|
* String und vertraut der App's TierMap, was das beim Boot bedeutet.
|