@cosmicdrift/kumiko-types 0.262.0 → 0.263.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/package.json +1 -1
- package/src/screen.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.263.0",
|
|
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 keine identitaets-sensitiven Runtime-Werte mehr (Error-Klassen leben seit #1629 in kumiko-framework, Brand-Symbole nutzen Symbol.for) und ist deshalb eine plain dependency, keine peerDependency.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
package/src/screen.ts
CHANGED
|
@@ -995,6 +995,10 @@ export type EntityEditScreenDefinition = {
|
|
|
995
995
|
readonly detailFor?: string;
|
|
996
996
|
readonly description?: string;
|
|
997
997
|
readonly agent?: AgentHandlerHints;
|
|
998
|
+
/** Derived by buildAppSchema from the navigate `params` targeting this
|
|
999
|
+
* screen — the only URL query keys the create form prefills. An authored
|
|
1000
|
+
* value is overwritten. */
|
|
1001
|
+
readonly urlPrefillFields?: readonly string[];
|
|
998
1002
|
readonly entity: string;
|
|
999
1003
|
readonly layout: EditLayout;
|
|
1000
1004
|
/** Optionaler i18n-Key (oder Roh-String) für den Submit-Button. Default
|
|
@@ -1088,6 +1092,8 @@ export type ActionFormScreenDefinition = {
|
|
|
1088
1092
|
readonly detailFor?: string;
|
|
1089
1093
|
readonly description?: string;
|
|
1090
1094
|
readonly agent?: AgentHandlerHints;
|
|
1095
|
+
/** Derived by buildAppSchema — see EntityEditScreenDefinition.urlPrefillFields. */
|
|
1096
|
+
readonly urlPrefillFields?: readonly string[];
|
|
1091
1097
|
/** Write-Handler-QN der bei Submit gerufen wird. Form-Object landet
|
|
1092
1098
|
* 1:1 als payload — Handler-Schema (Zod) validiert weiter. */
|
|
1093
1099
|
readonly handler: string;
|
|
@@ -1217,6 +1223,8 @@ export type SecretMintScreenDefinition = {
|
|
|
1217
1223
|
readonly detailFor?: string;
|
|
1218
1224
|
readonly description?: string;
|
|
1219
1225
|
readonly agent?: AgentHandlerHints;
|
|
1226
|
+
/** Derived by buildAppSchema — see EntityEditScreenDefinition.urlPrefillFields. */
|
|
1227
|
+
readonly urlPrefillFields?: readonly string[];
|
|
1220
1228
|
/** Write-handler QN dispatched on submit. */
|
|
1221
1229
|
readonly handler: string;
|
|
1222
1230
|
readonly fields: Readonly<Record<string, FieldDefinition>>;
|