@gooddata/sdk-code-schemas 11.57.0-alpha.6 → 11.57.0-alpha.7

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.
@@ -1041,7 +1041,7 @@ declare interface Dashboard {
1041
1041
  */
1042
1042
  parameters?: {
1043
1043
  [k: string]: unknown;
1044
- };
1044
+ } | unknown[] | string | number | boolean | null;
1045
1045
  } | Id16)[];
1046
1046
  /**
1047
1047
  * A list of tabs in this dashboard. Each tab has its own layout, filters, and filter configurations. Mutually exclusive with sections and filters at dashboard level.
@@ -1096,9 +1096,7 @@ declare type DashboardAttributeFilter1 = {
1096
1096
  * Controls which filter presentation types are available to the user in View mode. 'list' means only elements/list selection, 'text' means only text-based filtering, 'listOrText' means both types are available.
1097
1097
  */
1098
1098
  selection_type?: "list" | "text" | "listOrText";
1099
- state?: {
1100
- [k: string]: unknown;
1101
- };
1099
+ state?: DashboardStateSelect;
1102
1100
  /**
1103
1101
  * An ids of the parent local attribute or label filter
1104
1102
  */
@@ -1131,9 +1129,7 @@ declare type DashboardAttributeFilter1 = {
1131
1129
  * Controls which filter presentation types are available to the user in View mode. 'list' means only elements/list selection, 'text' means only text-based filtering, 'listOrText' means both types are available.
1132
1130
  */
1133
1131
  selection_type?: "list" | "text" | "listOrText";
1134
- state?: {
1135
- [k: string]: unknown;
1136
- };
1132
+ state?: DashboardStateMultiselect;
1137
1133
  /**
1138
1134
  * An ids of the parent local attribute or label filter
1139
1135
  */
@@ -1191,6 +1187,28 @@ declare interface DashboardRelativeDateFilter {
1191
1187
  [k: string]: unknown;
1192
1188
  }
1193
1189
 
1190
+ /**
1191
+ * State of the multiselect
1192
+ */
1193
+ declare type DashboardStateMultiselect = {
1194
+ include: string[];
1195
+ [k: string]: unknown;
1196
+ } | {
1197
+ exclude: string[];
1198
+ [k: string]: unknown;
1199
+ };
1200
+
1201
+ /**
1202
+ * State of the single select
1203
+ */
1204
+ declare interface DashboardStateSelect {
1205
+ /**
1206
+
1207
+ */
1208
+ include: [] | [string];
1209
+ [k: string]: unknown;
1210
+ }
1211
+
1194
1212
  /**
1195
1213
  * A dashboard text filter
1196
1214
  */
@@ -3213,6 +3231,7 @@ export declare const metadata_v1: {
3213
3231
  };
3214
3232
  parameters: {
3215
3233
  description: string;
3234
+ type: string[];
3216
3235
  };
3217
3236
  };
3218
3237
  required: string[];
@@ -5983,7 +6002,7 @@ export declare const metadata_v1: {
5983
6002
  description: string;
5984
6003
  };
5985
6004
  state: {
5986
- ref: string;
6005
+ $ref: string;
5987
6006
  };
5988
6007
  parents: {
5989
6008
  type: string;
@@ -6082,7 +6101,7 @@ export declare const metadata_v1: {
6082
6101
  description: string;
6083
6102
  };
6084
6103
  state: {
6085
- ref: string;
6104
+ $ref: string;
6086
6105
  };
6087
6106
  parents: {
6088
6107
  type: string;
@@ -6565,6 +6584,60 @@ export declare const metadata_v1: {
6565
6584
  type: string;
6566
6585
  enum: string[];
6567
6586
  };
6587
+ dashboardStateSelect: {
6588
+ description: string;
6589
+ type: string;
6590
+ properties: {
6591
+ include: {
6592
+ type: string;
6593
+ items: {
6594
+ type: string;
6595
+ $semantic: {
6596
+ type: string;
6597
+ from: string;
6598
+ };
6599
+ };
6600
+ maxItems: number;
6601
+ };
6602
+ };
6603
+ required: string[];
6604
+ };
6605
+ dashboardStateMultiselect: {
6606
+ description: string;
6607
+ oneOf: ({
6608
+ type: string;
6609
+ properties: {
6610
+ include: {
6611
+ type: string;
6612
+ items: {
6613
+ type: string;
6614
+ $semantic: {
6615
+ type: string;
6616
+ from: string;
6617
+ };
6618
+ };
6619
+ };
6620
+ exclude?: undefined;
6621
+ };
6622
+ required: string[];
6623
+ } | {
6624
+ type: string;
6625
+ properties: {
6626
+ include?: undefined;
6627
+ exclude: {
6628
+ type: string;
6629
+ items: {
6630
+ type: string;
6631
+ $semantic: {
6632
+ type: string;
6633
+ from: string;
6634
+ };
6635
+ };
6636
+ };
6637
+ };
6638
+ required: string[];
6639
+ })[];
6640
+ };
6568
6641
  mvfCondition: {
6569
6642
  title: string;
6570
6643
  type: string;
@@ -7776,6 +7849,7 @@ export declare const metadata_v1: {
7776
7849
  };
7777
7850
  parameters: {
7778
7851
  description: string;
7852
+ type: string[];
7779
7853
  };
7780
7854
  };
7781
7855
  required: string[];
@@ -12048,6 +12122,7 @@ export declare namespace v1 {
12048
12122
  LabelIdentifier3,
12049
12123
  ComputedAttributeIdentifier3,
12050
12124
  DisplayAsLabelIdentifier1,
12125
+ DashboardStateMultiselect,
12051
12126
  LocalAttributeFilter1,
12052
12127
  DashboardTextFilter,
12053
12128
  AttributeIdentifier4,
@@ -12295,6 +12370,7 @@ export declare namespace v1 {
12295
12370
  DashboardFilters,
12296
12371
  DashboardAbsoluteDateFilter,
12297
12372
  DashboardRelativeDateFilter,
12373
+ DashboardStateSelect,
12298
12374
  LocalDateFilter,
12299
12375
  LocalDateFilter1,
12300
12376
  DashboardTextFilter1,
@@ -304,9 +304,7 @@ export type DashboardAttributeFilter1 = {
304
304
  * Controls which filter presentation types are available to the user in View mode. 'list' means only elements/list selection, 'text' means only text-based filtering, 'listOrText' means both types are available.
305
305
  */
306
306
  selection_type?: "list" | "text" | "listOrText";
307
- state?: {
308
- [k: string]: unknown;
309
- };
307
+ state?: DashboardStateSelect;
310
308
  /**
311
309
  * An ids of the parent local attribute or label filter
312
310
  */
@@ -339,9 +337,7 @@ export type DashboardAttributeFilter1 = {
339
337
  * Controls which filter presentation types are available to the user in View mode. 'list' means only elements/list selection, 'text' means only text-based filtering, 'listOrText' means both types are available.
340
338
  */
341
339
  selection_type?: "list" | "text" | "listOrText";
342
- state?: {
343
- [k: string]: unknown;
344
- };
340
+ state?: DashboardStateMultiselect;
345
341
  /**
346
342
  * An ids of the parent local attribute or label filter
347
343
  */
@@ -388,6 +384,16 @@ export type ComputedAttributeIdentifier3 = string;
388
384
  * If specified, the attribute filter will display the elements in selected label form.
389
385
  */
390
386
  export type DisplayAsLabelIdentifier1 = string;
387
+ /**
388
+ * State of the multiselect
389
+ */
390
+ export type DashboardStateMultiselect = {
391
+ include: string[];
392
+ [k: string]: unknown;
393
+ } | {
394
+ exclude: string[];
395
+ [k: string]: unknown;
396
+ };
391
397
  /**
392
398
  * Local attribute or date filter to use as parent
393
399
  */
@@ -1702,7 +1708,7 @@ export interface Dashboard {
1702
1708
  */
1703
1709
  parameters?: {
1704
1710
  [k: string]: unknown;
1705
- };
1711
+ } | unknown[] | string | number | boolean | null;
1706
1712
  } | Id16)[];
1707
1713
  /**
1708
1714
  * A list of tabs in this dashboard. Each tab has its own layout, filters, and filter configurations. Mutually exclusive with sections and filters at dashboard level.
@@ -1988,6 +1994,16 @@ export interface DashboardRelativeDateFilter {
1988
1994
  type: "date_filter" | "attribute_filter" | "text_filter" | "metric_value_filter" | "filter_group";
1989
1995
  [k: string]: unknown;
1990
1996
  }
1997
+ /**
1998
+ * State of the single select
1999
+ */
2000
+ export interface DashboardStateSelect {
2001
+ /**
2002
+
2003
+ */
2004
+ include: [] | [string];
2005
+ [k: string]: unknown;
2006
+ }
1991
2007
  export interface LocalDateFilter {
1992
2008
  /**
1993
2009
  * Local date filter to use as parent