@cosmicdrift/kumiko-framework 0.358.0 → 0.359.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/dist/engine/build-app-schema.js +10 -1
- package/package.json +4 -4
- package/src/changes.json +7 -0
|
@@ -281,7 +281,16 @@ function projectScreens(featureName, screens, registry, urlPrefillFieldsByScreen
|
|
|
281
281
|
...entityEditWriteExcludedFields(featureName, screen.entity, registry),
|
|
282
282
|
};
|
|
283
283
|
}
|
|
284
|
-
if (screen.type === "actionForm"
|
|
284
|
+
if (screen.type === "actionForm") {
|
|
285
|
+
const { writeExcludedFields: _authoredExclusions, ...authoredScreen } = screen;
|
|
286
|
+
const excluded = registry.getWriteHandler(screen.handler)?.excludedFields;
|
|
287
|
+
return {
|
|
288
|
+
...authoredScreen,
|
|
289
|
+
urlPrefillFields: sortedUrlPrefillFields(urlPrefillFieldsByScreenQn.get(qualifyEntityName(featureName, "screen", shortId))),
|
|
290
|
+
...(excluded !== undefined && { writeExcludedFields: excluded }),
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
if (screen.type === "secretMint") {
|
|
285
294
|
return {
|
|
286
295
|
...screen,
|
|
287
296
|
urlPrefillFields: sortedUrlPrefillFields(urlPrefillFieldsByScreenQn.get(qualifyEntityName(featureName, "screen", shortId))),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-framework",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.359.0",
|
|
4
4
|
"description": "Framework core — engine, pipeline, API, DB, and every other bit that makes Kumiko go.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -210,8 +210,8 @@
|
|
|
210
210
|
"./package.json": "./package.json"
|
|
211
211
|
},
|
|
212
212
|
"dependencies": {
|
|
213
|
-
"@cosmicdrift/kumiko-http": "0.
|
|
214
|
-
"@cosmicdrift/kumiko-types": "0.
|
|
213
|
+
"@cosmicdrift/kumiko-http": "0.359.0",
|
|
214
|
+
"@cosmicdrift/kumiko-types": "0.359.0",
|
|
215
215
|
"bullmq": "^5.76.7",
|
|
216
216
|
"bun-types": "^1.3.13",
|
|
217
217
|
"hono": "^4.13.1",
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
"zod": "^4.4.3"
|
|
228
228
|
},
|
|
229
229
|
"devDependencies": {
|
|
230
|
-
"@cosmicdrift/kumiko-dispatcher-live": "0.
|
|
230
|
+
"@cosmicdrift/kumiko-dispatcher-live": "0.359.0",
|
|
231
231
|
"bun-types": "^1.3.13",
|
|
232
232
|
"pino-pretty": "^13.1.3"
|
|
233
233
|
},
|
package/src/changes.json
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.359.0",
|
|
4
|
+
"type": "improvement",
|
|
5
|
+
"title": "actionForm screens honour the called handler's excludedFields",
|
|
6
|
+
"detail": "buildAppSchema projects the handler's excludedFields onto actionForm screens as writeExcludedFields (a flat list, unlike entityEdit's per-verb object). The form shows these fields read-only, not required and never in the payload.",
|
|
7
|
+
"migration": "Drop a hand-written readOnly lock on an actionForm field once the handler it calls declares excludedFields for it."
|
|
8
|
+
},
|
|
2
9
|
{
|
|
3
10
|
"version": "0.358.0",
|
|
4
11
|
"type": "fix",
|