@cosmicdrift/kumiko-types 0.244.0 → 0.246.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-types",
3
- "version": "0.244.0",
3
+ "version": "0.246.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/fields.ts CHANGED
@@ -316,6 +316,12 @@ export type SelectFieldDef<TOptions extends readonly string[] = readonly string[
316
316
  readonly sensitive?: boolean;
317
317
  readonly default?: TOptions[number];
318
318
  readonly access?: FieldAccess;
319
+ /** Renderer metadata: `"radio"` always renders the option set as a visible
320
+ * radio group, `"dropdown"` always renders the combobox. Omitted = the
321
+ * renderer's own heuristic picks (radio group for a few short labels,
322
+ * dropdown otherwise). A `"radio"` group with many or long labels wraps —
323
+ * the author owns that trade-off, the renderer does not override it. */
324
+ readonly display?: "radio" | "dropdown";
319
325
  } & ResolvedPiiFlags;
320
326
 
321
327
  // Mehrere Werte aus einer festen Options-Liste — UI rendert als
package/src/screen.ts CHANGED
@@ -928,6 +928,11 @@ export type EntityEditScreenDefinition = {
928
928
  * reusable feature when the target feature is guaranteed to be
929
929
  * mounted alongside it. */
930
930
  readonly redirect?: string;
931
+ /** Parent list screen (short id) for breadcrumb + nav highlighting when
932
+ * this screen has no nav entry of its own. Same field/semantics as on
933
+ * `custom`/`projectionDetail`; an explicit value here wins over the
934
+ * entity-list heuristic (rowAction target / same-entity entityList). */
935
+ readonly listScreenId?: string;
931
936
  /** Optionaler per-Field-Label-i18n-Key (Field-Name → Key), überschreibt
932
937
  * die Default-Konvention `<feature>:entity:<entity>:field:<name>`.
933
938
  * Primär für configEdit: dessen Pseudo-Entity `__config-edit__` hat
@@ -1013,6 +1018,11 @@ export type ActionFormScreenDefinition = {
1013
1018
  * reusable feature when the target feature is guaranteed to be
1014
1019
  * mounted alongside it. */
1015
1020
  readonly cancelTarget?: string | false;
1021
+ /** Parent list screen (short id) for breadcrumb + nav highlighting when
1022
+ * this screen has no nav entry of its own. Same field/semantics as on
1023
+ * `custom`/`projectionDetail`/`entityEdit`; an explicit value here wins
1024
+ * over the rowAction heuristic. */
1025
+ readonly listScreenId?: string;
1016
1026
  readonly slots?: ScreenSlots;
1017
1027
  readonly access?: AccessRule;
1018
1028
  };