@cosmicdrift/kumiko-types 0.211.0 → 0.212.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/nav-icon.ts +2 -0
- package/src/screen.ts +11 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.212.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/nav-icon.ts
CHANGED
package/src/screen.ts
CHANGED
|
@@ -209,12 +209,19 @@ export type RowActionNavigate = {
|
|
|
209
209
|
readonly id: string;
|
|
210
210
|
readonly label: string;
|
|
211
211
|
/** Screen-id (kurz, unqualified) zu dem navigiert wird. Boot-
|
|
212
|
-
* Validator prüft Existenz im selben Feature.
|
|
213
|
-
|
|
212
|
+
* Validator prüft Existenz im selben Feature. Genau eines von
|
|
213
|
+
* `screen`/`entity` muss gesetzt sein. */
|
|
214
|
+
readonly screen?: string;
|
|
215
|
+
/** Entity-Name statt Screen-Id (fw#2228) — löst zur Boot-Zeit auf den
|
|
216
|
+
* Screen auf, der `detailFor: "<entity>"` deklariert (siehe ObjectTarget/
|
|
217
|
+
* resolveTarget in @cosmicdrift/kumiko-renderer's nav.tsx), egal in
|
|
218
|
+
* welchem Feature dieser liegt. Genau eines von `screen`/`entity` muss
|
|
219
|
+
* gesetzt sein. */
|
|
220
|
+
readonly entity?: string;
|
|
214
221
|
/** Feldname dessen Wert als entityId in den URL-Pfad eingebettet wird
|
|
215
222
|
* (`/<workspace>/<screen>/<entityId>`). entityEdit liest die Id
|
|
216
|
-
* AUSSCHLIESSLICH aus dem Pfad. Default: "id" wenn der Ziel-Screen
|
|
217
|
-
*
|
|
223
|
+
* AUSSCHLIESSLICH aus dem Pfad. Default: "id" wenn der Ziel-Screen ein
|
|
224
|
+
* entityEdit ist ODER wenn `entity` (statt `screen`) gesetzt ist. */
|
|
218
225
|
readonly entityId?: string;
|
|
219
226
|
/** Declarative URL search params extracted from the clicked row.
|
|
220
227
|
* Both actionForm and entityEdit-create targets read `params` as
|