@gooddata/sdk-code-schemas 11.29.0-alpha.5 → 11.29.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.
- package/esm/sdk-code-schemas.d.ts +567 -59
- package/esm/v1/metadata.d.ts +185 -42
- package/esm/v1/metadata.d.ts.map +1 -1
- package/esm/v1/metadata.json +325 -4
- package/esm/v1/schema.d.ts +325 -2
- package/esm/v1/schema.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -62,7 +62,7 @@ declare interface All1 {
|
|
|
62
62
|
/**
|
|
63
63
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
64
64
|
*/
|
|
65
|
-
dimensionality?: (
|
|
65
|
+
dimensionality?: (LabelIdentifier10 | string)[];
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
declare type AllNoCondition = AllNoCondition1;
|
|
@@ -225,7 +225,7 @@ declare interface AttributeField {
|
|
|
225
225
|
/**
|
|
226
226
|
* Attribute or label identifier to use for this field.
|
|
227
227
|
*/
|
|
228
|
-
using: (
|
|
228
|
+
using: (AttributeIdentifier8 | LabelIdentifier6 | FactIdentifier) & string;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
declare type AttributeFieldGuard = AttributeField | AttributeFieldGuard1;
|
|
@@ -266,8 +266,8 @@ declare interface AttributeFilter {
|
|
|
266
266
|
/**
|
|
267
267
|
* Attribute or label to use in this filter.
|
|
268
268
|
*/
|
|
269
|
-
using:
|
|
270
|
-
display_as?:
|
|
269
|
+
using: AttributeIdentifier9 | LabelIdentifier7;
|
|
270
|
+
display_as?: DisplayAsLabelIdentifier4;
|
|
271
271
|
state?: State;
|
|
272
272
|
}
|
|
273
273
|
|
|
@@ -276,8 +276,8 @@ declare interface AttributeFilter1 {
|
|
|
276
276
|
/**
|
|
277
277
|
* Attribute or label to use in this filter.
|
|
278
278
|
*/
|
|
279
|
-
using:
|
|
280
|
-
display_as?:
|
|
279
|
+
using: AttributeIdentifier9 | LabelIdentifier7;
|
|
280
|
+
display_as?: DisplayAsLabelIdentifier4;
|
|
281
281
|
state?: State;
|
|
282
282
|
}
|
|
283
283
|
|
|
@@ -296,7 +296,7 @@ declare interface AttributeHierarchy {
|
|
|
296
296
|
/**
|
|
297
297
|
* A list of sorted attributes use in attribute hierarchy. The first attribute is the top level attribute.
|
|
298
298
|
*/
|
|
299
|
-
attributes: [
|
|
299
|
+
attributes: [AttributeIdentifier6, ...AttributeIdentifier6[]];
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
/**
|
|
@@ -310,20 +310,40 @@ declare type AttributeIdentifier = string;
|
|
|
310
310
|
declare type AttributeIdentifier1 = string;
|
|
311
311
|
|
|
312
312
|
/**
|
|
313
|
-
*
|
|
313
|
+
* Attribute or label to use in this filter.
|
|
314
314
|
*/
|
|
315
315
|
declare type AttributeIdentifier10 = string;
|
|
316
316
|
|
|
317
317
|
/**
|
|
318
|
-
*
|
|
318
|
+
* Attribute or label to use in this filter.
|
|
319
319
|
*/
|
|
320
320
|
declare type AttributeIdentifier11 = string;
|
|
321
321
|
|
|
322
322
|
/**
|
|
323
|
-
*
|
|
323
|
+
* Attribute identifier to use for this filter.
|
|
324
324
|
*/
|
|
325
325
|
declare type AttributeIdentifier12 = string;
|
|
326
326
|
|
|
327
|
+
/**
|
|
328
|
+
* Attribute identifier to use for this filter.
|
|
329
|
+
*/
|
|
330
|
+
declare type AttributeIdentifier13 = string;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* A attribute identifier in the form of attribute/\{id\}.
|
|
334
|
+
*/
|
|
335
|
+
declare type AttributeIdentifier14 = string;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* A attribute identifier in the form of attribute/\{id\}.
|
|
339
|
+
*/
|
|
340
|
+
declare type AttributeIdentifier15 = string;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* A attribute identifier in the form of attribute/\{id\}.
|
|
344
|
+
*/
|
|
345
|
+
declare type AttributeIdentifier16 = string;
|
|
346
|
+
|
|
327
347
|
/**
|
|
328
348
|
* Attribute or label to use in this filter.
|
|
329
349
|
*/
|
|
@@ -335,12 +355,12 @@ declare type AttributeIdentifier2 = string;
|
|
|
335
355
|
declare type AttributeIdentifier3 = string;
|
|
336
356
|
|
|
337
357
|
/**
|
|
338
|
-
*
|
|
358
|
+
* Attribute or label to use in this filter.
|
|
339
359
|
*/
|
|
340
360
|
declare type AttributeIdentifier4 = string;
|
|
341
361
|
|
|
342
362
|
/**
|
|
343
|
-
*
|
|
363
|
+
* Attribute or label to use in this filter.
|
|
344
364
|
*/
|
|
345
365
|
declare type AttributeIdentifier5 = string;
|
|
346
366
|
|
|
@@ -350,17 +370,17 @@ declare type AttributeIdentifier5 = string;
|
|
|
350
370
|
declare type AttributeIdentifier6 = string;
|
|
351
371
|
|
|
352
372
|
/**
|
|
353
|
-
*
|
|
373
|
+
* A attribute identifier in the form of attribute/\{id\}.
|
|
354
374
|
*/
|
|
355
375
|
declare type AttributeIdentifier7 = string;
|
|
356
376
|
|
|
357
377
|
/**
|
|
358
|
-
*
|
|
378
|
+
* A attribute identifier in the form of attribute/\{id\}.
|
|
359
379
|
*/
|
|
360
380
|
declare type AttributeIdentifier8 = string;
|
|
361
381
|
|
|
362
382
|
/**
|
|
363
|
-
* Attribute
|
|
383
|
+
* Attribute or label to use in this filter.
|
|
364
384
|
*/
|
|
365
385
|
declare type AttributeIdentifier9 = string;
|
|
366
386
|
|
|
@@ -369,7 +389,7 @@ declare interface AttributeSort {
|
|
|
369
389
|
/**
|
|
370
390
|
* Local attribute or label to use in this sort.
|
|
371
391
|
*/
|
|
372
|
-
by: string |
|
|
392
|
+
by: string | AttributeIdentifier15 | LabelIdentifier12;
|
|
373
393
|
/**
|
|
374
394
|
* Sort direction.
|
|
375
395
|
*/
|
|
@@ -437,7 +457,7 @@ declare interface BOTTOM {
|
|
|
437
457
|
/**
|
|
438
458
|
* Attribute identifier to use for this filter.
|
|
439
459
|
*/
|
|
440
|
-
attribute?:
|
|
460
|
+
attribute?: AttributeIdentifier12;
|
|
441
461
|
/**
|
|
442
462
|
* Number of bottom N values to use in this filter.
|
|
443
463
|
*/
|
|
@@ -571,7 +591,7 @@ declare interface CalculatedMetricField {
|
|
|
571
591
|
/**
|
|
572
592
|
* Attribute identifier to use for this field.
|
|
573
593
|
*/
|
|
574
|
-
using: (
|
|
594
|
+
using: (AttributeIdentifier14 | FactIdentifier1 | LabelIdentifier11) & string;
|
|
575
595
|
}
|
|
576
596
|
|
|
577
597
|
declare type CalculatedMetricFieldGuard = CalculatedMetricField | CalculatedMetricFieldGuard1;
|
|
@@ -730,7 +750,7 @@ declare interface Comparison1 {
|
|
|
730
750
|
/**
|
|
731
751
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
732
752
|
*/
|
|
733
|
-
dimensionality?: (
|
|
753
|
+
dimensionality?: (LabelIdentifier10 | string)[];
|
|
734
754
|
}
|
|
735
755
|
|
|
736
756
|
declare type ComparisonCondition = ComparisonCondition1;
|
|
@@ -880,7 +900,7 @@ declare interface Dashboard {
|
|
|
880
900
|
* A dashboard absolute date filter
|
|
881
901
|
*/
|
|
882
902
|
declare interface DashboardAbsoluteDateFilter {
|
|
883
|
-
type: "date_filter" | "attribute_filter" | "filter_group";
|
|
903
|
+
type: "date_filter" | "attribute_filter" | "text_filter" | "filter_group";
|
|
884
904
|
[k: string]: unknown;
|
|
885
905
|
}
|
|
886
906
|
|
|
@@ -960,7 +980,7 @@ declare type DashboardAttributeFilter1 = {
|
|
|
960
980
|
* A group of dashboard filters displayed together in the filter bar
|
|
961
981
|
*/
|
|
962
982
|
declare interface DashboardFilterGroup {
|
|
963
|
-
type: "date_filter" | "attribute_filter" | "filter_group";
|
|
983
|
+
type: "date_filter" | "attribute_filter" | "text_filter" | "filter_group";
|
|
964
984
|
}
|
|
965
985
|
|
|
966
986
|
declare interface DashboardFilters {
|
|
@@ -970,7 +990,7 @@ declare interface DashboardFilters {
|
|
|
970
990
|
* This interface was referenced by `DashboardFilters1`'s JSON-Schema definition
|
|
971
991
|
* via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
|
|
972
992
|
*/
|
|
973
|
-
[k: string]: DashboardAbsoluteDateFilter | DashboardRelativeDateFilter | DashboardAttributeFilter | DashboardFilterGroup;
|
|
993
|
+
[k: string]: DashboardAbsoluteDateFilter | DashboardRelativeDateFilter | DashboardAttributeFilter | DashboardTextFilter | DashboardFilterGroup;
|
|
974
994
|
}
|
|
975
995
|
|
|
976
996
|
/**
|
|
@@ -983,17 +1003,76 @@ declare interface DashboardFilters1 {
|
|
|
983
1003
|
* This interface was referenced by `DashboardFilters1`'s JSON-Schema definition
|
|
984
1004
|
* via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
|
|
985
1005
|
*/
|
|
986
|
-
[k: string]: DashboardAbsoluteDateFilter | DashboardRelativeDateFilter | DashboardAttributeFilter | DashboardFilterGroup;
|
|
1006
|
+
[k: string]: DashboardAbsoluteDateFilter | DashboardRelativeDateFilter | DashboardAttributeFilter | DashboardTextFilter | DashboardFilterGroup;
|
|
987
1007
|
}
|
|
988
1008
|
|
|
989
1009
|
/**
|
|
990
1010
|
* A dashboard relative date filter
|
|
991
1011
|
*/
|
|
992
1012
|
declare interface DashboardRelativeDateFilter {
|
|
993
|
-
type: "date_filter" | "attribute_filter" | "filter_group";
|
|
1013
|
+
type: "date_filter" | "attribute_filter" | "text_filter" | "filter_group";
|
|
994
1014
|
[k: string]: unknown;
|
|
995
1015
|
}
|
|
996
1016
|
|
|
1017
|
+
/**
|
|
1018
|
+
* A dashboard text filter
|
|
1019
|
+
*/
|
|
1020
|
+
declare type DashboardTextFilter = DashboardTextFilter1 | DashboardTextFilter2;
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* A dashboard text filter
|
|
1024
|
+
*/
|
|
1025
|
+
declare interface DashboardTextFilter1 {
|
|
1026
|
+
/**
|
|
1027
|
+
* Optional title of the filter
|
|
1028
|
+
*/
|
|
1029
|
+
title?: string;
|
|
1030
|
+
type: "text_filter";
|
|
1031
|
+
/**
|
|
1032
|
+
* Attribute or label to use in this filter.
|
|
1033
|
+
*/
|
|
1034
|
+
using: AttributeIdentifier4 | LabelIdentifier4;
|
|
1035
|
+
condition: "is" | "isNot";
|
|
1036
|
+
values: (string | null)[];
|
|
1037
|
+
case_sensitive?: boolean;
|
|
1038
|
+
display_as?: DisplayAsLabelIdentifier2;
|
|
1039
|
+
/**
|
|
1040
|
+
* Setting filter mode to readonly will disable the filter. Setting it to hidden will hide the filter from the dashboard. Setting it to active will enable the filter.
|
|
1041
|
+
*/
|
|
1042
|
+
mode?: "readonly" | "hidden" | "active";
|
|
1043
|
+
/**
|
|
1044
|
+
* An ids of the parent local attribute, text, or date filter
|
|
1045
|
+
*/
|
|
1046
|
+
parents?: (LocalAttributeFilter2 | LocalDateFilter2)[];
|
|
1047
|
+
/**
|
|
1048
|
+
* An id of the attributes, labels, facts or metrics to validate the filter by
|
|
1049
|
+
*/
|
|
1050
|
+
metric_filters?: string[];
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* A dashboard text filter
|
|
1055
|
+
*/
|
|
1056
|
+
declare interface DashboardTextFilter2 {
|
|
1057
|
+
/**
|
|
1058
|
+
* Optional title of the filter
|
|
1059
|
+
*/
|
|
1060
|
+
title?: string;
|
|
1061
|
+
type: "text_filter";
|
|
1062
|
+
/**
|
|
1063
|
+
* Attribute or label to use in this filter.
|
|
1064
|
+
*/
|
|
1065
|
+
using: AttributeIdentifier5 | LabelIdentifier5;
|
|
1066
|
+
condition: "contains" | "doesNotContain" | "startsWith" | "doesNotStartWith" | "endsWith" | "doesNotEndWith";
|
|
1067
|
+
value: string;
|
|
1068
|
+
case_sensitive?: boolean;
|
|
1069
|
+
display_as?: DisplayAsLabelIdentifier3;
|
|
1070
|
+
/**
|
|
1071
|
+
* Setting filter mode to readonly will disable the filter. Setting it to hidden will hide the filter from the dashboard. Setting it to active will enable the filter.
|
|
1072
|
+
*/
|
|
1073
|
+
mode?: "readonly" | "hidden" | "active";
|
|
1074
|
+
}
|
|
1075
|
+
|
|
997
1076
|
declare type Dataset = NormalDataset | SQLDataset;
|
|
998
1077
|
|
|
999
1078
|
declare interface DateDataset {
|
|
@@ -1136,6 +1215,26 @@ declare type DisplayAsLabelIdentifier1 = string;
|
|
|
1136
1215
|
*/
|
|
1137
1216
|
declare type DisplayAsLabelIdentifier2 = string;
|
|
1138
1217
|
|
|
1218
|
+
/**
|
|
1219
|
+
* Configures the label used for representing attribute filter elements in UI.
|
|
1220
|
+
*/
|
|
1221
|
+
declare type DisplayAsLabelIdentifier3 = string;
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* Configures the label used for representing attribute filter elements in UI.
|
|
1225
|
+
*/
|
|
1226
|
+
declare type DisplayAsLabelIdentifier4 = string;
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* Configures the label used for representing attribute filter elements in UI.
|
|
1230
|
+
*/
|
|
1231
|
+
declare type DisplayAsLabelIdentifier5 = string;
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* Configures the label used for representing attribute filter elements in UI.
|
|
1235
|
+
*/
|
|
1236
|
+
declare type DisplayAsLabelIdentifier6 = string;
|
|
1237
|
+
|
|
1139
1238
|
declare type EmptyBucket = null;
|
|
1140
1239
|
|
|
1141
1240
|
declare interface Fact {
|
|
@@ -1190,7 +1289,7 @@ declare type FactIdentifier1 = string;
|
|
|
1190
1289
|
* This interface was referenced by `Fields2`'s JSON-Schema definition
|
|
1191
1290
|
* via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
|
|
1192
1291
|
*/
|
|
1193
|
-
declare type Field =
|
|
1292
|
+
declare type Field = AttributeIdentifier7 | Field1 | Field2 | Field3 | StructuredField;
|
|
1194
1293
|
|
|
1195
1294
|
/**
|
|
1196
1295
|
* A label identifier in the form of label/\{id\}.
|
|
@@ -1252,17 +1351,19 @@ declare interface Fields2 {
|
|
|
1252
1351
|
* This interface was referenced by `QueryFilters2`'s JSON-Schema definition
|
|
1253
1352
|
* via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
|
|
1254
1353
|
*/
|
|
1255
|
-
declare type Filter = Filter1 | Filter2 | Filter3 | Filter4 | Filter5;
|
|
1354
|
+
declare type Filter = Filter1 | Filter2 | Filter3 | Filter4 | Filter5 | Filter6;
|
|
1256
1355
|
|
|
1257
1356
|
declare type Filter1 = DateFilter;
|
|
1258
1357
|
|
|
1259
1358
|
declare type Filter2 = AttributeFilter1;
|
|
1260
1359
|
|
|
1261
|
-
declare type Filter3 =
|
|
1360
|
+
declare type Filter3 = TextFilter;
|
|
1262
1361
|
|
|
1263
|
-
declare type Filter4 =
|
|
1362
|
+
declare type Filter4 = MetricValueFilter;
|
|
1264
1363
|
|
|
1265
|
-
declare type Filter5 =
|
|
1364
|
+
declare type Filter5 = RankingFilter;
|
|
1365
|
+
|
|
1366
|
+
declare type Filter6 = {
|
|
1266
1367
|
[k: string]: unknown;
|
|
1267
1368
|
};
|
|
1268
1369
|
|
|
@@ -1968,6 +2069,26 @@ declare type LabelIdentifier = string;
|
|
|
1968
2069
|
*/
|
|
1969
2070
|
declare type LabelIdentifier1 = string;
|
|
1970
2071
|
|
|
2072
|
+
/**
|
|
2073
|
+
* A label identifier in the form of label/\{id\}.
|
|
2074
|
+
*/
|
|
2075
|
+
declare type LabelIdentifier10 = string;
|
|
2076
|
+
|
|
2077
|
+
/**
|
|
2078
|
+
* Attribute identifier to use for this field.
|
|
2079
|
+
*/
|
|
2080
|
+
declare type LabelIdentifier11 = string;
|
|
2081
|
+
|
|
2082
|
+
/**
|
|
2083
|
+
* Local attribute or label to use in this sort.
|
|
2084
|
+
*/
|
|
2085
|
+
declare type LabelIdentifier12 = string;
|
|
2086
|
+
|
|
2087
|
+
/**
|
|
2088
|
+
* Local attribute or label to use in this sort.
|
|
2089
|
+
*/
|
|
2090
|
+
declare type LabelIdentifier13 = string;
|
|
2091
|
+
|
|
1971
2092
|
/**
|
|
1972
2093
|
* Attribute or label to use in this filter.
|
|
1973
2094
|
*/
|
|
@@ -1979,7 +2100,7 @@ declare type LabelIdentifier2 = string;
|
|
|
1979
2100
|
declare type LabelIdentifier3 = string;
|
|
1980
2101
|
|
|
1981
2102
|
/**
|
|
1982
|
-
* Attribute or label
|
|
2103
|
+
* Attribute or label to use in this filter.
|
|
1983
2104
|
*/
|
|
1984
2105
|
declare type LabelIdentifier4 = string;
|
|
1985
2106
|
|
|
@@ -1989,22 +2110,22 @@ declare type LabelIdentifier4 = string;
|
|
|
1989
2110
|
declare type LabelIdentifier5 = string;
|
|
1990
2111
|
|
|
1991
2112
|
/**
|
|
1992
|
-
*
|
|
2113
|
+
* Attribute or label identifier to use for this field.
|
|
1993
2114
|
*/
|
|
1994
2115
|
declare type LabelIdentifier6 = string;
|
|
1995
2116
|
|
|
1996
2117
|
/**
|
|
1997
|
-
* Attribute
|
|
2118
|
+
* Attribute or label to use in this filter.
|
|
1998
2119
|
*/
|
|
1999
2120
|
declare type LabelIdentifier7 = string;
|
|
2000
2121
|
|
|
2001
2122
|
/**
|
|
2002
|
-
*
|
|
2123
|
+
* Attribute or label to use in this filter.
|
|
2003
2124
|
*/
|
|
2004
2125
|
declare type LabelIdentifier8 = string;
|
|
2005
2126
|
|
|
2006
2127
|
/**
|
|
2007
|
-
*
|
|
2128
|
+
* Attribute or label to use in this filter.
|
|
2008
2129
|
*/
|
|
2009
2130
|
declare type LabelIdentifier9 = string;
|
|
2010
2131
|
|
|
@@ -2096,6 +2217,11 @@ declare type LocalAttributeFilter = string;
|
|
|
2096
2217
|
*/
|
|
2097
2218
|
declare type LocalAttributeFilter1 = string;
|
|
2098
2219
|
|
|
2220
|
+
/**
|
|
2221
|
+
* Local attribute, text, or date filter to use as parent
|
|
2222
|
+
*/
|
|
2223
|
+
declare type LocalAttributeFilter2 = string;
|
|
2224
|
+
|
|
2099
2225
|
declare interface LocalDateFilter {
|
|
2100
2226
|
/**
|
|
2101
2227
|
* Local date filter to use as parent
|
|
@@ -2120,6 +2246,18 @@ declare interface LocalDateFilter1 {
|
|
|
2120
2246
|
[k: string]: unknown;
|
|
2121
2247
|
}
|
|
2122
2248
|
|
|
2249
|
+
declare interface LocalDateFilter2 {
|
|
2250
|
+
/**
|
|
2251
|
+
* Local date filter to use as parent
|
|
2252
|
+
*/
|
|
2253
|
+
using: string;
|
|
2254
|
+
/**
|
|
2255
|
+
* Whether the parent filter is common date or special date
|
|
2256
|
+
*/
|
|
2257
|
+
common: boolean;
|
|
2258
|
+
[k: string]: unknown;
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2123
2261
|
declare type LocationBucket = string;
|
|
2124
2262
|
|
|
2125
2263
|
/**
|
|
@@ -5230,6 +5368,236 @@ export declare const metadata_v1: {
|
|
|
5230
5368
|
mode: string;
|
|
5231
5369
|
};
|
|
5232
5370
|
};
|
|
5371
|
+
dashboardTextFilter: {
|
|
5372
|
+
type: string;
|
|
5373
|
+
title: string;
|
|
5374
|
+
description: string;
|
|
5375
|
+
additionalProperties: boolean;
|
|
5376
|
+
properties: {
|
|
5377
|
+
title: {
|
|
5378
|
+
type: string;
|
|
5379
|
+
description: string;
|
|
5380
|
+
};
|
|
5381
|
+
using: {
|
|
5382
|
+
description: string;
|
|
5383
|
+
oneOf: {
|
|
5384
|
+
$ref: string;
|
|
5385
|
+
}[];
|
|
5386
|
+
$semantic: {
|
|
5387
|
+
type: string;
|
|
5388
|
+
};
|
|
5389
|
+
};
|
|
5390
|
+
case_sensitive: {
|
|
5391
|
+
type: string;
|
|
5392
|
+
};
|
|
5393
|
+
display_as: {
|
|
5394
|
+
type: string;
|
|
5395
|
+
description: string;
|
|
5396
|
+
$ref: string;
|
|
5397
|
+
};
|
|
5398
|
+
mode: {
|
|
5399
|
+
type: string;
|
|
5400
|
+
enum: string[];
|
|
5401
|
+
description: string;
|
|
5402
|
+
};
|
|
5403
|
+
parents: {
|
|
5404
|
+
type: string;
|
|
5405
|
+
description: string;
|
|
5406
|
+
uniqueItems: boolean;
|
|
5407
|
+
items: {
|
|
5408
|
+
oneOf: ({
|
|
5409
|
+
properties?: undefined;
|
|
5410
|
+
required?: undefined;
|
|
5411
|
+
type: string;
|
|
5412
|
+
title: string;
|
|
5413
|
+
description: string;
|
|
5414
|
+
$semantic: {
|
|
5415
|
+
type: string;
|
|
5416
|
+
sources: string[];
|
|
5417
|
+
};
|
|
5418
|
+
} | {
|
|
5419
|
+
$semantic?: undefined;
|
|
5420
|
+
description?: undefined;
|
|
5421
|
+
type: string;
|
|
5422
|
+
title: string;
|
|
5423
|
+
properties: {
|
|
5424
|
+
using: {
|
|
5425
|
+
type: string;
|
|
5426
|
+
description: string;
|
|
5427
|
+
$semantic: {
|
|
5428
|
+
type: string;
|
|
5429
|
+
source: string;
|
|
5430
|
+
};
|
|
5431
|
+
};
|
|
5432
|
+
common: {
|
|
5433
|
+
type: string;
|
|
5434
|
+
description: string;
|
|
5435
|
+
};
|
|
5436
|
+
};
|
|
5437
|
+
required: string[];
|
|
5438
|
+
})[];
|
|
5439
|
+
};
|
|
5440
|
+
};
|
|
5441
|
+
metric_filters: {
|
|
5442
|
+
type: string;
|
|
5443
|
+
description: string;
|
|
5444
|
+
uniqueItems: boolean;
|
|
5445
|
+
items: {
|
|
5446
|
+
type: string;
|
|
5447
|
+
$semantic: {
|
|
5448
|
+
type: string;
|
|
5449
|
+
sources: string[];
|
|
5450
|
+
typePrefix: boolean;
|
|
5451
|
+
};
|
|
5452
|
+
};
|
|
5453
|
+
};
|
|
5454
|
+
};
|
|
5455
|
+
oneOf: ({
|
|
5456
|
+
properties: {
|
|
5457
|
+
title: {
|
|
5458
|
+
type: string;
|
|
5459
|
+
description: string;
|
|
5460
|
+
};
|
|
5461
|
+
type: {
|
|
5462
|
+
type: string;
|
|
5463
|
+
enum: string[];
|
|
5464
|
+
};
|
|
5465
|
+
using: {
|
|
5466
|
+
description: string;
|
|
5467
|
+
oneOf: {
|
|
5468
|
+
$ref: string;
|
|
5469
|
+
}[];
|
|
5470
|
+
$semantic: {
|
|
5471
|
+
type: string;
|
|
5472
|
+
};
|
|
5473
|
+
};
|
|
5474
|
+
condition: {
|
|
5475
|
+
enum: string[];
|
|
5476
|
+
};
|
|
5477
|
+
values: {
|
|
5478
|
+
type: string;
|
|
5479
|
+
items: {
|
|
5480
|
+
type: string[];
|
|
5481
|
+
};
|
|
5482
|
+
};
|
|
5483
|
+
case_sensitive: {
|
|
5484
|
+
type: string;
|
|
5485
|
+
};
|
|
5486
|
+
display_as: {
|
|
5487
|
+
type: string;
|
|
5488
|
+
description: string;
|
|
5489
|
+
$ref: string;
|
|
5490
|
+
};
|
|
5491
|
+
mode: {
|
|
5492
|
+
type: string;
|
|
5493
|
+
enum: string[];
|
|
5494
|
+
description: string;
|
|
5495
|
+
};
|
|
5496
|
+
parents: {
|
|
5497
|
+
type: string;
|
|
5498
|
+
description: string;
|
|
5499
|
+
uniqueItems: boolean;
|
|
5500
|
+
items: {
|
|
5501
|
+
oneOf: ({
|
|
5502
|
+
properties?: undefined;
|
|
5503
|
+
required?: undefined;
|
|
5504
|
+
type: string;
|
|
5505
|
+
title: string;
|
|
5506
|
+
description: string;
|
|
5507
|
+
$semantic: {
|
|
5508
|
+
type: string;
|
|
5509
|
+
sources: string[];
|
|
5510
|
+
};
|
|
5511
|
+
} | {
|
|
5512
|
+
$semantic?: undefined;
|
|
5513
|
+
description?: undefined;
|
|
5514
|
+
type: string;
|
|
5515
|
+
title: string;
|
|
5516
|
+
properties: {
|
|
5517
|
+
using: {
|
|
5518
|
+
type: string;
|
|
5519
|
+
description: string;
|
|
5520
|
+
$semantic: {
|
|
5521
|
+
type: string;
|
|
5522
|
+
source: string;
|
|
5523
|
+
};
|
|
5524
|
+
};
|
|
5525
|
+
common: {
|
|
5526
|
+
type: string;
|
|
5527
|
+
description: string;
|
|
5528
|
+
};
|
|
5529
|
+
};
|
|
5530
|
+
required: string[];
|
|
5531
|
+
})[];
|
|
5532
|
+
};
|
|
5533
|
+
};
|
|
5534
|
+
metric_filters: {
|
|
5535
|
+
type: string;
|
|
5536
|
+
description: string;
|
|
5537
|
+
uniqueItems: boolean;
|
|
5538
|
+
items: {
|
|
5539
|
+
type: string;
|
|
5540
|
+
$semantic: {
|
|
5541
|
+
type: string;
|
|
5542
|
+
sources: string[];
|
|
5543
|
+
typePrefix: boolean;
|
|
5544
|
+
};
|
|
5545
|
+
};
|
|
5546
|
+
};
|
|
5547
|
+
value?: undefined;
|
|
5548
|
+
};
|
|
5549
|
+
required: string[];
|
|
5550
|
+
} | {
|
|
5551
|
+
properties: {
|
|
5552
|
+
values?: undefined;
|
|
5553
|
+
parents?: undefined;
|
|
5554
|
+
metric_filters?: undefined;
|
|
5555
|
+
title: {
|
|
5556
|
+
type: string;
|
|
5557
|
+
description: string;
|
|
5558
|
+
};
|
|
5559
|
+
type: {
|
|
5560
|
+
type: string;
|
|
5561
|
+
enum: string[];
|
|
5562
|
+
};
|
|
5563
|
+
using: {
|
|
5564
|
+
description: string;
|
|
5565
|
+
oneOf: {
|
|
5566
|
+
$ref: string;
|
|
5567
|
+
}[];
|
|
5568
|
+
$semantic: {
|
|
5569
|
+
type: string;
|
|
5570
|
+
};
|
|
5571
|
+
};
|
|
5572
|
+
condition: {
|
|
5573
|
+
enum: string[];
|
|
5574
|
+
};
|
|
5575
|
+
value: {
|
|
5576
|
+
type: string;
|
|
5577
|
+
};
|
|
5578
|
+
case_sensitive: {
|
|
5579
|
+
type: string;
|
|
5580
|
+
};
|
|
5581
|
+
display_as: {
|
|
5582
|
+
type: string;
|
|
5583
|
+
description: string;
|
|
5584
|
+
$ref: string;
|
|
5585
|
+
};
|
|
5586
|
+
mode: {
|
|
5587
|
+
type: string;
|
|
5588
|
+
enum: string[];
|
|
5589
|
+
description: string;
|
|
5590
|
+
};
|
|
5591
|
+
};
|
|
5592
|
+
required: string[];
|
|
5593
|
+
})[];
|
|
5594
|
+
required: string[];
|
|
5595
|
+
$semantic: {
|
|
5596
|
+
type: string;
|
|
5597
|
+
source: string;
|
|
5598
|
+
mode: string;
|
|
5599
|
+
};
|
|
5600
|
+
};
|
|
5233
5601
|
dashboardFilterGroup: {
|
|
5234
5602
|
type: string;
|
|
5235
5603
|
title: string;
|
|
@@ -5603,6 +5971,99 @@ export declare const metadata_v1: {
|
|
|
5603
5971
|
mode: string;
|
|
5604
5972
|
}[];
|
|
5605
5973
|
};
|
|
5974
|
+
queryTextFilter: {
|
|
5975
|
+
title: string;
|
|
5976
|
+
type: string;
|
|
5977
|
+
additionalProperties: boolean;
|
|
5978
|
+
properties: {
|
|
5979
|
+
type: {
|
|
5980
|
+
type: string;
|
|
5981
|
+
enum: string[];
|
|
5982
|
+
};
|
|
5983
|
+
using: {
|
|
5984
|
+
description: string;
|
|
5985
|
+
oneOf: {
|
|
5986
|
+
$ref: string;
|
|
5987
|
+
}[];
|
|
5988
|
+
};
|
|
5989
|
+
case_sensitive: {
|
|
5990
|
+
type: string;
|
|
5991
|
+
};
|
|
5992
|
+
display_as: {
|
|
5993
|
+
type: string;
|
|
5994
|
+
description: string;
|
|
5995
|
+
$ref: string;
|
|
5996
|
+
};
|
|
5997
|
+
};
|
|
5998
|
+
oneOf: ({
|
|
5999
|
+
properties: {
|
|
6000
|
+
value?: undefined;
|
|
6001
|
+
type: {
|
|
6002
|
+
type: string;
|
|
6003
|
+
enum: string[];
|
|
6004
|
+
};
|
|
6005
|
+
using: {
|
|
6006
|
+
description: string;
|
|
6007
|
+
oneOf: {
|
|
6008
|
+
$ref: string;
|
|
6009
|
+
}[];
|
|
6010
|
+
};
|
|
6011
|
+
condition: {
|
|
6012
|
+
enum: string[];
|
|
6013
|
+
};
|
|
6014
|
+
values: {
|
|
6015
|
+
type: string;
|
|
6016
|
+
items: {
|
|
6017
|
+
type: string[];
|
|
6018
|
+
};
|
|
6019
|
+
};
|
|
6020
|
+
case_sensitive: {
|
|
6021
|
+
type: string;
|
|
6022
|
+
};
|
|
6023
|
+
display_as: {
|
|
6024
|
+
type: string;
|
|
6025
|
+
description: string;
|
|
6026
|
+
$ref: string;
|
|
6027
|
+
};
|
|
6028
|
+
};
|
|
6029
|
+
required: string[];
|
|
6030
|
+
} | {
|
|
6031
|
+
properties: {
|
|
6032
|
+
values?: undefined;
|
|
6033
|
+
type: {
|
|
6034
|
+
type: string;
|
|
6035
|
+
enum: string[];
|
|
6036
|
+
};
|
|
6037
|
+
using: {
|
|
6038
|
+
description: string;
|
|
6039
|
+
oneOf: {
|
|
6040
|
+
$ref: string;
|
|
6041
|
+
}[];
|
|
6042
|
+
};
|
|
6043
|
+
condition: {
|
|
6044
|
+
enum: string[];
|
|
6045
|
+
};
|
|
6046
|
+
value: {
|
|
6047
|
+
type: string;
|
|
6048
|
+
};
|
|
6049
|
+
case_sensitive: {
|
|
6050
|
+
type: string;
|
|
6051
|
+
};
|
|
6052
|
+
display_as: {
|
|
6053
|
+
type: string;
|
|
6054
|
+
description: string;
|
|
6055
|
+
$ref: string;
|
|
6056
|
+
};
|
|
6057
|
+
};
|
|
6058
|
+
required: string[];
|
|
6059
|
+
})[];
|
|
6060
|
+
required: string[];
|
|
6061
|
+
$semantic: {
|
|
6062
|
+
type: string;
|
|
6063
|
+
source: string;
|
|
6064
|
+
mode: string;
|
|
6065
|
+
}[];
|
|
6066
|
+
};
|
|
5606
6067
|
queryMetricValueFilter: {
|
|
5607
6068
|
title: string;
|
|
5608
6069
|
type: string;
|
|
@@ -5642,6 +6103,7 @@ export declare const metadata_v1: {
|
|
|
5642
6103
|
properties: {
|
|
5643
6104
|
from?: undefined;
|
|
5644
6105
|
to?: undefined;
|
|
6106
|
+
value?: undefined;
|
|
5645
6107
|
type: {
|
|
5646
6108
|
type: string;
|
|
5647
6109
|
enum: string[];
|
|
@@ -5691,7 +6153,6 @@ export declare const metadata_v1: {
|
|
|
5691
6153
|
})[];
|
|
5692
6154
|
};
|
|
5693
6155
|
};
|
|
5694
|
-
value?: undefined;
|
|
5695
6156
|
condition?: undefined;
|
|
5696
6157
|
};
|
|
5697
6158
|
required: string[];
|
|
@@ -5784,8 +6245,8 @@ export declare const metadata_v1: {
|
|
|
5784
6245
|
then: {
|
|
5785
6246
|
additionalProperties: boolean;
|
|
5786
6247
|
properties: {
|
|
5787
|
-
conditions?: undefined;
|
|
5788
6248
|
value?: undefined;
|
|
6249
|
+
conditions?: undefined;
|
|
5789
6250
|
type: {
|
|
5790
6251
|
type: string;
|
|
5791
6252
|
enum: string[];
|
|
@@ -8877,7 +9338,7 @@ declare interface MetricSort {
|
|
|
8877
9338
|
/**
|
|
8878
9339
|
* Local attribute or label to use in this sort.
|
|
8879
9340
|
*/
|
|
8880
|
-
by: string |
|
|
9341
|
+
by: string | AttributeIdentifier16 | LabelIdentifier13;
|
|
8881
9342
|
/**
|
|
8882
9343
|
* Value of attribute or label to use for this sort.
|
|
8883
9344
|
*/
|
|
@@ -8891,7 +9352,7 @@ declare interface MetricSort {
|
|
|
8891
9352
|
/**
|
|
8892
9353
|
* Local attribute or label to use in this sort.
|
|
8893
9354
|
*/
|
|
8894
|
-
by: string |
|
|
9355
|
+
by: string | AttributeIdentifier16 | LabelIdentifier13;
|
|
8895
9356
|
/**
|
|
8896
9357
|
* Value of attribute or label to use for this sort.
|
|
8897
9358
|
*/
|
|
@@ -8927,7 +9388,7 @@ declare interface MultipleConditions1 {
|
|
|
8927
9388
|
/**
|
|
8928
9389
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
8929
9390
|
*/
|
|
8930
|
-
dimensionality?: (
|
|
9391
|
+
dimensionality?: (LabelIdentifier10 | string)[];
|
|
8931
9392
|
}
|
|
8932
9393
|
|
|
8933
9394
|
declare interface NormalDataset {
|
|
@@ -9472,7 +9933,7 @@ declare interface Range1 {
|
|
|
9472
9933
|
/**
|
|
9473
9934
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
9474
9935
|
*/
|
|
9475
|
-
dimensionality?: (
|
|
9936
|
+
dimensionality?: (LabelIdentifier10 | string)[];
|
|
9476
9937
|
}
|
|
9477
9938
|
|
|
9478
9939
|
declare type Range_2 = Range1;
|
|
@@ -9978,6 +10439,32 @@ declare type Tags8 = string[];
|
|
|
9978
10439
|
*/
|
|
9979
10440
|
declare type Tags9 = string[];
|
|
9980
10441
|
|
|
10442
|
+
declare type TextFilter = TextFilter1 | TextFilter2;
|
|
10443
|
+
|
|
10444
|
+
declare interface TextFilter1 {
|
|
10445
|
+
type: "text_filter";
|
|
10446
|
+
/**
|
|
10447
|
+
* Attribute or label to use in this filter.
|
|
10448
|
+
*/
|
|
10449
|
+
using: AttributeIdentifier10 | LabelIdentifier8;
|
|
10450
|
+
condition: "is" | "isNot";
|
|
10451
|
+
values: (string | null)[];
|
|
10452
|
+
case_sensitive?: boolean;
|
|
10453
|
+
display_as?: DisplayAsLabelIdentifier5;
|
|
10454
|
+
}
|
|
10455
|
+
|
|
10456
|
+
declare interface TextFilter2 {
|
|
10457
|
+
type: "text_filter";
|
|
10458
|
+
/**
|
|
10459
|
+
* Attribute or label to use in this filter.
|
|
10460
|
+
*/
|
|
10461
|
+
using: AttributeIdentifier11 | LabelIdentifier9;
|
|
10462
|
+
condition: "contains" | "doesNotContain" | "startsWith" | "doesNotStartWith" | "endsWith" | "doesNotEndWith";
|
|
10463
|
+
value: string;
|
|
10464
|
+
case_sensitive?: boolean;
|
|
10465
|
+
display_as?: DisplayAsLabelIdentifier6;
|
|
10466
|
+
}
|
|
10467
|
+
|
|
9981
10468
|
declare interface TOP {
|
|
9982
10469
|
type: "ranking_filter";
|
|
9983
10470
|
/**
|
|
@@ -9987,7 +10474,7 @@ declare interface TOP {
|
|
|
9987
10474
|
/**
|
|
9988
10475
|
* Attribute identifier to use for this filter.
|
|
9989
10476
|
*/
|
|
9990
|
-
attribute?:
|
|
10477
|
+
attribute?: AttributeIdentifier13;
|
|
9991
10478
|
/**
|
|
9992
10479
|
* Number of bottom N values to use in this filter.
|
|
9993
10480
|
*/
|
|
@@ -10131,6 +10618,14 @@ export declare namespace v1 {
|
|
|
10131
10618
|
LabelIdentifier3,
|
|
10132
10619
|
DisplayAsLabelIdentifier1,
|
|
10133
10620
|
LocalAttributeFilter1,
|
|
10621
|
+
DashboardTextFilter,
|
|
10622
|
+
AttributeIdentifier4,
|
|
10623
|
+
LabelIdentifier4,
|
|
10624
|
+
DisplayAsLabelIdentifier2,
|
|
10625
|
+
LocalAttributeFilter2,
|
|
10626
|
+
AttributeIdentifier5,
|
|
10627
|
+
LabelIdentifier5,
|
|
10628
|
+
DisplayAsLabelIdentifier3,
|
|
10134
10629
|
Id12,
|
|
10135
10630
|
Id13,
|
|
10136
10631
|
Id14,
|
|
@@ -10142,7 +10637,7 @@ export declare namespace v1 {
|
|
|
10142
10637
|
Metadata20,
|
|
10143
10638
|
Id16,
|
|
10144
10639
|
Tags10,
|
|
10145
|
-
|
|
10640
|
+
AttributeIdentifier6,
|
|
10146
10641
|
Metadata21,
|
|
10147
10642
|
Metadata23,
|
|
10148
10643
|
Visualisation,
|
|
@@ -10150,26 +10645,34 @@ export declare namespace v1 {
|
|
|
10150
10645
|
Id17,
|
|
10151
10646
|
Tags11,
|
|
10152
10647
|
Field,
|
|
10153
|
-
|
|
10648
|
+
AttributeIdentifier7,
|
|
10154
10649
|
Field1,
|
|
10155
10650
|
Field2,
|
|
10156
10651
|
Field3,
|
|
10157
10652
|
StructuredField,
|
|
10158
10653
|
AttributeFieldGuard,
|
|
10159
|
-
|
|
10160
|
-
|
|
10654
|
+
AttributeIdentifier8,
|
|
10655
|
+
LabelIdentifier6,
|
|
10161
10656
|
FactIdentifier,
|
|
10162
10657
|
MetricFieldGuard,
|
|
10163
10658
|
Filter,
|
|
10164
10659
|
Filter1,
|
|
10165
10660
|
DateFilter,
|
|
10166
10661
|
DateFilter1,
|
|
10167
|
-
|
|
10168
|
-
|
|
10169
|
-
|
|
10662
|
+
AttributeIdentifier9,
|
|
10663
|
+
LabelIdentifier7,
|
|
10664
|
+
DisplayAsLabelIdentifier4,
|
|
10170
10665
|
DateFilter2,
|
|
10171
10666
|
Filter2,
|
|
10172
10667
|
Filter3,
|
|
10668
|
+
TextFilter,
|
|
10669
|
+
AttributeIdentifier10,
|
|
10670
|
+
LabelIdentifier8,
|
|
10671
|
+
DisplayAsLabelIdentifier5,
|
|
10672
|
+
AttributeIdentifier11,
|
|
10673
|
+
LabelIdentifier9,
|
|
10674
|
+
DisplayAsLabelIdentifier6,
|
|
10675
|
+
Filter4,
|
|
10173
10676
|
MetricValueFilter,
|
|
10174
10677
|
MultipleConditions,
|
|
10175
10678
|
MetricIdentifier,
|
|
@@ -10177,36 +10680,36 @@ export declare namespace v1 {
|
|
|
10177
10680
|
AllNoCondition,
|
|
10178
10681
|
ComparisonCondition,
|
|
10179
10682
|
RangeCondition,
|
|
10180
|
-
|
|
10683
|
+
LabelIdentifier10,
|
|
10181
10684
|
Comparison,
|
|
10182
10685
|
MetricIdentifier1,
|
|
10183
10686
|
Range_2 as Range,
|
|
10184
10687
|
MetricIdentifier2,
|
|
10185
10688
|
All,
|
|
10186
10689
|
MetricIdentifier3,
|
|
10187
|
-
|
|
10690
|
+
Filter5,
|
|
10188
10691
|
RankingFilter,
|
|
10189
10692
|
MetricIdentifier4,
|
|
10190
|
-
|
|
10693
|
+
AttributeIdentifier12,
|
|
10191
10694
|
MetricIdentifier5,
|
|
10192
|
-
|
|
10193
|
-
|
|
10695
|
+
AttributeIdentifier13,
|
|
10696
|
+
Filter6,
|
|
10194
10697
|
MetricIdentifier6,
|
|
10195
10698
|
CalculatedMetricFieldGuard,
|
|
10196
|
-
|
|
10699
|
+
AttributeIdentifier14,
|
|
10197
10700
|
FactIdentifier1,
|
|
10198
|
-
|
|
10701
|
+
LabelIdentifier11,
|
|
10199
10702
|
InlineMetricFieldGuard,
|
|
10200
10703
|
ArithmeticMetricFieldGuard,
|
|
10201
10704
|
PoPMetricFieldGuard,
|
|
10202
10705
|
PreviousPeriodMetricFieldGuard,
|
|
10203
10706
|
Sort,
|
|
10204
10707
|
Sort1,
|
|
10205
|
-
|
|
10206
|
-
|
|
10708
|
+
AttributeIdentifier15,
|
|
10709
|
+
LabelIdentifier12,
|
|
10207
10710
|
Sort2,
|
|
10208
|
-
|
|
10209
|
-
|
|
10711
|
+
AttributeIdentifier16,
|
|
10712
|
+
LabelIdentifier13,
|
|
10210
10713
|
Sort3,
|
|
10211
10714
|
Sorts,
|
|
10212
10715
|
WidthValueOrAuto,
|
|
@@ -10336,6 +10839,9 @@ export declare namespace v1 {
|
|
|
10336
10839
|
DashboardRelativeDateFilter,
|
|
10337
10840
|
LocalDateFilter,
|
|
10338
10841
|
LocalDateFilter1,
|
|
10842
|
+
DashboardTextFilter1,
|
|
10843
|
+
LocalDateFilter2,
|
|
10844
|
+
DashboardTextFilter2,
|
|
10339
10845
|
DashboardFilterGroup,
|
|
10340
10846
|
Tab,
|
|
10341
10847
|
DashboardFilters1,
|
|
@@ -10355,6 +10861,8 @@ export declare namespace v1 {
|
|
|
10355
10861
|
AttributeFilter,
|
|
10356
10862
|
State,
|
|
10357
10863
|
AttributeFilter1,
|
|
10864
|
+
TextFilter1,
|
|
10865
|
+
TextFilter2,
|
|
10358
10866
|
MultipleConditions1,
|
|
10359
10867
|
AllNoCondition1,
|
|
10360
10868
|
ComparisonCondition1,
|