@cosmicdrift/kumiko-types 0.400.0 → 0.402.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.
|
@@ -14,13 +14,20 @@ export type ReadGateDef = {
|
|
|
14
14
|
readonly entity: string;
|
|
15
15
|
readonly field: string;
|
|
16
16
|
};
|
|
17
|
+
/** Like `anyLink`, but every live link row must be readable, and there must be at least one.
|
|
18
|
+
* For records whose links each widen the audience (a contract plus a contact shared across
|
|
19
|
+
* teams). Not combinable with `anyLink`. */
|
|
20
|
+
readonly allLinks?: {
|
|
21
|
+
readonly entity: string;
|
|
22
|
+
readonly field: string;
|
|
23
|
+
};
|
|
17
24
|
/** Row readable only if the file_ref in `field` is live and readable through its owner: owner
|
|
18
25
|
* row readable (ownership, parentRef, handler gate) and the field read access on the file_ref's
|
|
19
26
|
* fieldName passes. A file owned by this row itself passes this part. */
|
|
20
27
|
readonly fileOwner?: {
|
|
21
28
|
readonly field: string;
|
|
22
29
|
};
|
|
23
|
-
/** Roles that skip `anyLink` (they also see unlinked rows). `fileOwner` still applies; only
|
|
30
|
+
/** Roles that skip `anyLink` / `allLinks` (they also see unlinked rows). `fileOwner` still applies; only
|
|
24
31
|
* the framework SYSTEM user skips both. */
|
|
25
32
|
readonly linkExemptRoles?: readonly string[];
|
|
26
33
|
};
|
package/dist/nav.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export type ContentCollectionDefinition = {
|
|
|
28
28
|
readonly variableSchema?: Readonly<Record<string, string>>;
|
|
29
29
|
readonly nav: {
|
|
30
30
|
readonly label: string;
|
|
31
|
+
readonly entryLabel?: string;
|
|
31
32
|
readonly icon?: NavIconKey;
|
|
32
33
|
readonly parent?: string;
|
|
33
34
|
readonly order?: number;
|
|
@@ -158,6 +158,8 @@ export type MetricSpec = {
|
|
|
158
158
|
readonly tone?: DashboardStatTone;
|
|
159
159
|
/** Icon chip of the tile; only drawn with `metricsStyle: "tiles"`. */
|
|
160
160
|
readonly icon?: NavIconKey;
|
|
161
|
+
/** Formats the displayed value (e.g. `date`, `enumOption`); the tone still resolves on the raw value. */
|
|
162
|
+
readonly format?: FormatSpec;
|
|
161
163
|
};
|
|
162
164
|
export type ProjectionDetailScreenDefinition = {
|
|
163
165
|
readonly id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.402.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": "MIT",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|