@cosmicdrift/kumiko-types 0.361.0 → 0.362.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/screen.d.ts +3 -1
- package/package.json +1 -1
- package/src/changes.json +12 -0
package/dist/screen.d.ts
CHANGED
|
@@ -411,6 +411,8 @@ export type EntityListScreenDefinition = {
|
|
|
411
411
|
readonly createScreen?: string;
|
|
412
412
|
/** Set by the role projection when `createScreen` is not reachable for the role: the renderer then shows no create button instead of falling back to the entity's edit screen. Not for app authors. */
|
|
413
413
|
readonly createUnavailable?: boolean;
|
|
414
|
+
/** `false` hides this list's "+ New" button (and the empty-state create CTA) while the entity's edit screen keeps its create branch for other entry points, e.g. a prefilled action. Default `true`. */
|
|
415
|
+
readonly allowCreate?: boolean;
|
|
414
416
|
readonly columns: readonly ListColumnSpec[];
|
|
415
417
|
readonly rowRenderer?: PlatformComponent;
|
|
416
418
|
readonly cardRenderer?: PlatformComponent;
|
|
@@ -732,7 +734,7 @@ export type DashboardStatPanel = DashboardPanelQueryOptions & DashboardPanelGate
|
|
|
732
734
|
/** Formats a numeric value as currency (minor units); ignored for string values. The sparkline is not formatted. */
|
|
733
735
|
readonly valueFormat?: DashboardValueFormat;
|
|
734
736
|
/** Fixed tone when `toneField` is unset or yields none; not applied while the value is 0. */
|
|
735
|
-
readonly tone?: "default" | "positive" | "warn" | "negative";
|
|
737
|
+
readonly tone?: "default" | "positive" | "ok" | "warn" | "negative";
|
|
736
738
|
/** Record field holding `{ atMs, value | null }[]` (MetricResult.points),
|
|
737
739
|
* drawn as a sparkline next to the value. */
|
|
738
740
|
readonly sparklineField?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.362.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/changes.json
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.362.0",
|
|
4
|
+
"type": "improvement",
|
|
5
|
+
"title": "EntityListScreenDefinition.allowCreate",
|
|
6
|
+
"detail": "allowCreate false hides the list's create button and empty-state create action; the entity's edit screen keeps its create branch."
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"version": "0.362.0",
|
|
10
|
+
"type": "improvement",
|
|
11
|
+
"title": "Stat tone \"ok\"",
|
|
12
|
+
"detail": "DashboardStatPanel.tone accepts \"ok\" for a status-green value."
|
|
13
|
+
},
|
|
2
14
|
{
|
|
3
15
|
"version": "0.361.0",
|
|
4
16
|
"type": "improvement",
|