@gooddata/sdk-code-schemas 11.36.0-alpha.3 → 11.36.0-alpha.6
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/esm/sdk-code-schemas.d.ts +14 -0
- package/esm/v1/metadata.d.ts +4 -0
- package/esm/v1/metadata.json +10 -0
- package/esm/v1/schema.d.ts +10 -0
- package/package.json +4 -5
|
@@ -875,6 +875,10 @@ declare interface ContainerWidget {
|
|
|
875
875
|
declare interface Dashboard {
|
|
876
876
|
id: Id8;
|
|
877
877
|
type: "dashboard";
|
|
878
|
+
/**
|
|
879
|
+
* Dashboard model version. "2" (default if omitted) — legacy shape: root-level sections/filters are also mirrored into a default tab, producing a declarative model with duplicated content for backward compatibility with older SDK readers. "3" — clean shape: tabs are the sole source of layout and filters; root sections/filters in YAML are still allowed as an authoring shortcut but are wrapped into a single synthetic tab without duplication. Use "3" for new dashboards; "2" exists to keep existing files round-trippable.
|
|
880
|
+
*/
|
|
881
|
+
version?: "2" | "3";
|
|
878
882
|
/**
|
|
879
883
|
* An optional human readable title for the dashboard. Will be derived from id if not provided explicitly.
|
|
880
884
|
*/
|
|
@@ -2834,6 +2838,11 @@ export declare const metadata_v1: {
|
|
|
2834
2838
|
type: string;
|
|
2835
2839
|
enum: string[];
|
|
2836
2840
|
};
|
|
2841
|
+
version: {
|
|
2842
|
+
type: string;
|
|
2843
|
+
enum: string[];
|
|
2844
|
+
description: string;
|
|
2845
|
+
};
|
|
2837
2846
|
title: {
|
|
2838
2847
|
$ref: string;
|
|
2839
2848
|
description: string;
|
|
@@ -6903,6 +6912,11 @@ export declare const metadata_v1: {
|
|
|
6903
6912
|
type: string;
|
|
6904
6913
|
enum: string[];
|
|
6905
6914
|
};
|
|
6915
|
+
version: {
|
|
6916
|
+
type: string;
|
|
6917
|
+
enum: string[];
|
|
6918
|
+
description: string;
|
|
6919
|
+
};
|
|
6906
6920
|
title: {
|
|
6907
6921
|
$ref: string;
|
|
6908
6922
|
description: string;
|
package/esm/v1/metadata.d.ts
CHANGED
|
@@ -1478,6 +1478,10 @@ export interface Metadata13 {
|
|
|
1478
1478
|
export interface Dashboard {
|
|
1479
1479
|
id: Id8;
|
|
1480
1480
|
type: "dashboard";
|
|
1481
|
+
/**
|
|
1482
|
+
* Dashboard model version. "2" (default if omitted) — legacy shape: root-level sections/filters are also mirrored into a default tab, producing a declarative model with duplicated content for backward compatibility with older SDK readers. "3" — clean shape: tabs are the sole source of layout and filters; root sections/filters in YAML are still allowed as an authoring shortcut but are wrapped into a single synthetic tab without duplication. Use "3" for new dashboards; "2" exists to keep existing files round-trippable.
|
|
1483
|
+
*/
|
|
1484
|
+
version?: "2" | "3";
|
|
1481
1485
|
/**
|
|
1482
1486
|
* An optional human readable title for the dashboard. Will be derived from id if not provided explicitly.
|
|
1483
1487
|
*/
|
package/esm/v1/metadata.json
CHANGED
|
@@ -427,6 +427,11 @@
|
|
|
427
427
|
]
|
|
428
428
|
},
|
|
429
429
|
"type": { "type": "string", "enum": ["dashboard"] },
|
|
430
|
+
"version": {
|
|
431
|
+
"type": "string",
|
|
432
|
+
"enum": ["2", "3"],
|
|
433
|
+
"description": "Dashboard model version. \"2\" (default if omitted) — legacy shape: root-level sections/filters are also mirrored into a default tab, producing a declarative model with duplicated content for backward compatibility with older SDK readers. \"3\" — clean shape: tabs are the sole source of layout and filters; root sections/filters in YAML are still allowed as an authoring shortcut but are wrapped into a single synthetic tab without duplication. Use \"3\" for new dashboards; \"2\" exists to keep existing files round-trippable."
|
|
434
|
+
},
|
|
430
435
|
"title": {
|
|
431
436
|
"$ref": "#/$global/gaac/title",
|
|
432
437
|
"description": "An optional human readable title for the dashboard. Will be derived from id if not provided explicitly."
|
|
@@ -4508,6 +4513,11 @@
|
|
|
4508
4513
|
]
|
|
4509
4514
|
},
|
|
4510
4515
|
"type": { "type": "string", "enum": ["dashboard"] },
|
|
4516
|
+
"version": {
|
|
4517
|
+
"type": "string",
|
|
4518
|
+
"enum": ["2", "3"],
|
|
4519
|
+
"description": "Dashboard model version. \"2\" (default if omitted) — legacy shape: root-level sections/filters are also mirrored into a default tab, producing a declarative model with duplicated content for backward compatibility with older SDK readers. \"3\" — clean shape: tabs are the sole source of layout and filters; root sections/filters in YAML are still allowed as an authoring shortcut but are wrapped into a single synthetic tab without duplication. Use \"3\" for new dashboards; \"2\" exists to keep existing files round-trippable."
|
|
4520
|
+
},
|
|
4511
4521
|
"title": {
|
|
4512
4522
|
"$ref": "#/$global/gaac/title",
|
|
4513
4523
|
"description": "An optional human readable title for the dashboard. Will be derived from id if not provided explicitly."
|
package/esm/v1/schema.d.ts
CHANGED
|
@@ -364,6 +364,11 @@ export declare const metadata_v1: {
|
|
|
364
364
|
type: string;
|
|
365
365
|
enum: string[];
|
|
366
366
|
};
|
|
367
|
+
version: {
|
|
368
|
+
type: string;
|
|
369
|
+
enum: string[];
|
|
370
|
+
description: string;
|
|
371
|
+
};
|
|
367
372
|
title: {
|
|
368
373
|
$ref: string;
|
|
369
374
|
description: string;
|
|
@@ -4433,6 +4438,11 @@ export declare const metadata_v1: {
|
|
|
4433
4438
|
type: string;
|
|
4434
4439
|
enum: string[];
|
|
4435
4440
|
};
|
|
4441
|
+
version: {
|
|
4442
|
+
type: string;
|
|
4443
|
+
enum: string[];
|
|
4444
|
+
description: string;
|
|
4445
|
+
};
|
|
4436
4446
|
title: {
|
|
4437
4447
|
$ref: string;
|
|
4438
4448
|
description: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-code-schemas",
|
|
3
|
-
"version": "11.36.0-alpha.
|
|
3
|
+
"version": "11.36.0-alpha.6",
|
|
4
4
|
"description": "GoodData AAC JSON Schema types and compiled schemas",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "GoodData",
|
|
@@ -48,12 +48,11 @@
|
|
|
48
48
|
"oxfmt": "0.45.0",
|
|
49
49
|
"oxlint": "^1.43.0",
|
|
50
50
|
"oxlint-tsgolint": "0.11.4",
|
|
51
|
-
"
|
|
52
|
-
"readdirp": "^4.0.0",
|
|
51
|
+
"readdirp": "4.1.2",
|
|
53
52
|
"typescript": "5.9.3",
|
|
54
53
|
"vitest": "4.1.0",
|
|
55
|
-
"@gooddata/
|
|
56
|
-
"@gooddata/
|
|
54
|
+
"@gooddata/eslint-config": "11.36.0-alpha.6",
|
|
55
|
+
"@gooddata/oxlint-config": "11.36.0-alpha.6"
|
|
57
56
|
},
|
|
58
57
|
"scripts": {
|
|
59
58
|
"_phase:build": "npm run build",
|