@gooddata/sdk-code-schemas 11.29.0-alpha.6 → 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 +412 -110
- package/esm/v1/metadata.d.ts +166 -47
- package/esm/v1/metadata.d.ts.map +1 -1
- package/esm/v1/metadata.json +171 -71
- package/esm/v1/schema.d.ts +203 -48
- package/esm/v1/schema.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -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;
|
|
@@ -1002,16 +1022,56 @@ declare type DashboardTextFilter = DashboardTextFilter1 | DashboardTextFilter2;
|
|
|
1002
1022
|
/**
|
|
1003
1023
|
* A dashboard text filter
|
|
1004
1024
|
*/
|
|
1005
|
-
declare
|
|
1006
|
-
|
|
1007
|
-
|
|
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
|
+
}
|
|
1008
1052
|
|
|
1009
1053
|
/**
|
|
1010
1054
|
* A dashboard text filter
|
|
1011
1055
|
*/
|
|
1012
|
-
declare
|
|
1013
|
-
|
|
1014
|
-
|
|
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
|
+
}
|
|
1015
1075
|
|
|
1016
1076
|
declare type Dataset = NormalDataset | SQLDataset;
|
|
1017
1077
|
|
|
@@ -1155,6 +1215,26 @@ declare type DisplayAsLabelIdentifier1 = string;
|
|
|
1155
1215
|
*/
|
|
1156
1216
|
declare type DisplayAsLabelIdentifier2 = string;
|
|
1157
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
|
+
|
|
1158
1238
|
declare type EmptyBucket = null;
|
|
1159
1239
|
|
|
1160
1240
|
declare interface Fact {
|
|
@@ -1209,7 +1289,7 @@ declare type FactIdentifier1 = string;
|
|
|
1209
1289
|
* This interface was referenced by `Fields2`'s JSON-Schema definition
|
|
1210
1290
|
* via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
|
|
1211
1291
|
*/
|
|
1212
|
-
declare type Field =
|
|
1292
|
+
declare type Field = AttributeIdentifier7 | Field1 | Field2 | Field3 | StructuredField;
|
|
1213
1293
|
|
|
1214
1294
|
/**
|
|
1215
1295
|
* A label identifier in the form of label/\{id\}.
|
|
@@ -1989,6 +2069,26 @@ declare type LabelIdentifier = string;
|
|
|
1989
2069
|
*/
|
|
1990
2070
|
declare type LabelIdentifier1 = string;
|
|
1991
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
|
+
|
|
1992
2092
|
/**
|
|
1993
2093
|
* Attribute or label to use in this filter.
|
|
1994
2094
|
*/
|
|
@@ -2000,7 +2100,7 @@ declare type LabelIdentifier2 = string;
|
|
|
2000
2100
|
declare type LabelIdentifier3 = string;
|
|
2001
2101
|
|
|
2002
2102
|
/**
|
|
2003
|
-
* Attribute or label
|
|
2103
|
+
* Attribute or label to use in this filter.
|
|
2004
2104
|
*/
|
|
2005
2105
|
declare type LabelIdentifier4 = string;
|
|
2006
2106
|
|
|
@@ -2010,22 +2110,22 @@ declare type LabelIdentifier4 = string;
|
|
|
2010
2110
|
declare type LabelIdentifier5 = string;
|
|
2011
2111
|
|
|
2012
2112
|
/**
|
|
2013
|
-
*
|
|
2113
|
+
* Attribute or label identifier to use for this field.
|
|
2014
2114
|
*/
|
|
2015
2115
|
declare type LabelIdentifier6 = string;
|
|
2016
2116
|
|
|
2017
2117
|
/**
|
|
2018
|
-
* Attribute
|
|
2118
|
+
* Attribute or label to use in this filter.
|
|
2019
2119
|
*/
|
|
2020
2120
|
declare type LabelIdentifier7 = string;
|
|
2021
2121
|
|
|
2022
2122
|
/**
|
|
2023
|
-
*
|
|
2123
|
+
* Attribute or label to use in this filter.
|
|
2024
2124
|
*/
|
|
2025
2125
|
declare type LabelIdentifier8 = string;
|
|
2026
2126
|
|
|
2027
2127
|
/**
|
|
2028
|
-
*
|
|
2128
|
+
* Attribute or label to use in this filter.
|
|
2029
2129
|
*/
|
|
2030
2130
|
declare type LabelIdentifier9 = string;
|
|
2031
2131
|
|
|
@@ -2117,6 +2217,11 @@ declare type LocalAttributeFilter = string;
|
|
|
2117
2217
|
*/
|
|
2118
2218
|
declare type LocalAttributeFilter1 = string;
|
|
2119
2219
|
|
|
2220
|
+
/**
|
|
2221
|
+
* Local attribute, text, or date filter to use as parent
|
|
2222
|
+
*/
|
|
2223
|
+
declare type LocalAttributeFilter2 = string;
|
|
2224
|
+
|
|
2120
2225
|
declare interface LocalDateFilter {
|
|
2121
2226
|
/**
|
|
2122
2227
|
* Local date filter to use as parent
|
|
@@ -2141,6 +2246,18 @@ declare interface LocalDateFilter1 {
|
|
|
2141
2246
|
[k: string]: unknown;
|
|
2142
2247
|
}
|
|
2143
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
|
+
|
|
2144
2261
|
declare type LocationBucket = string;
|
|
2145
2262
|
|
|
2146
2263
|
/**
|
|
@@ -5261,10 +5378,6 @@ export declare const metadata_v1: {
|
|
|
5261
5378
|
type: string;
|
|
5262
5379
|
description: string;
|
|
5263
5380
|
};
|
|
5264
|
-
type: {
|
|
5265
|
-
type: string;
|
|
5266
|
-
enum: string[];
|
|
5267
|
-
};
|
|
5268
5381
|
using: {
|
|
5269
5382
|
description: string;
|
|
5270
5383
|
oneOf: {
|
|
@@ -5274,21 +5387,13 @@ export declare const metadata_v1: {
|
|
|
5274
5387
|
type: string;
|
|
5275
5388
|
};
|
|
5276
5389
|
};
|
|
5277
|
-
|
|
5278
|
-
type: string;
|
|
5279
|
-
enum: string[];
|
|
5280
|
-
};
|
|
5281
|
-
values: {
|
|
5282
|
-
type: string;
|
|
5283
|
-
items: {
|
|
5284
|
-
type: string[];
|
|
5285
|
-
};
|
|
5286
|
-
};
|
|
5287
|
-
value: {
|
|
5390
|
+
case_sensitive: {
|
|
5288
5391
|
type: string;
|
|
5289
5392
|
};
|
|
5290
|
-
|
|
5393
|
+
display_as: {
|
|
5291
5394
|
type: string;
|
|
5395
|
+
description: string;
|
|
5396
|
+
$ref: string;
|
|
5292
5397
|
};
|
|
5293
5398
|
mode: {
|
|
5294
5399
|
type: string;
|
|
@@ -5347,19 +5452,145 @@ export declare const metadata_v1: {
|
|
|
5347
5452
|
};
|
|
5348
5453
|
};
|
|
5349
5454
|
};
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
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;
|
|
5355
5472
|
};
|
|
5356
5473
|
};
|
|
5357
|
-
|
|
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;
|
|
5358
5548
|
};
|
|
5359
|
-
|
|
5360
|
-
|
|
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
|
+
};
|
|
5361
5591
|
};
|
|
5362
|
-
|
|
5592
|
+
required: string[];
|
|
5593
|
+
})[];
|
|
5363
5594
|
required: string[];
|
|
5364
5595
|
$semantic: {
|
|
5365
5596
|
type: string;
|
|
@@ -5755,36 +5986,77 @@ export declare const metadata_v1: {
|
|
|
5755
5986
|
$ref: string;
|
|
5756
5987
|
}[];
|
|
5757
5988
|
};
|
|
5758
|
-
|
|
5759
|
-
type: string;
|
|
5760
|
-
enum: string[];
|
|
5761
|
-
};
|
|
5762
|
-
values: {
|
|
5763
|
-
type: string;
|
|
5764
|
-
items: {
|
|
5765
|
-
type: string[];
|
|
5766
|
-
};
|
|
5767
|
-
};
|
|
5768
|
-
value: {
|
|
5989
|
+
case_sensitive: {
|
|
5769
5990
|
type: string;
|
|
5770
5991
|
};
|
|
5771
|
-
|
|
5992
|
+
display_as: {
|
|
5772
5993
|
type: string;
|
|
5994
|
+
description: string;
|
|
5995
|
+
$ref: string;
|
|
5773
5996
|
};
|
|
5774
5997
|
};
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
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[];
|
|
5780
6018
|
};
|
|
5781
6019
|
};
|
|
5782
|
-
|
|
6020
|
+
case_sensitive: {
|
|
6021
|
+
type: string;
|
|
6022
|
+
};
|
|
6023
|
+
display_as: {
|
|
6024
|
+
type: string;
|
|
6025
|
+
description: string;
|
|
6026
|
+
$ref: string;
|
|
6027
|
+
};
|
|
5783
6028
|
};
|
|
5784
|
-
|
|
5785
|
-
|
|
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
|
+
};
|
|
5786
6057
|
};
|
|
5787
|
-
|
|
6058
|
+
required: string[];
|
|
6059
|
+
})[];
|
|
5788
6060
|
required: string[];
|
|
5789
6061
|
$semantic: {
|
|
5790
6062
|
type: string;
|
|
@@ -5831,6 +6103,7 @@ export declare const metadata_v1: {
|
|
|
5831
6103
|
properties: {
|
|
5832
6104
|
from?: undefined;
|
|
5833
6105
|
to?: undefined;
|
|
6106
|
+
value?: undefined;
|
|
5834
6107
|
type: {
|
|
5835
6108
|
type: string;
|
|
5836
6109
|
enum: string[];
|
|
@@ -5880,7 +6153,6 @@ export declare const metadata_v1: {
|
|
|
5880
6153
|
})[];
|
|
5881
6154
|
};
|
|
5882
6155
|
};
|
|
5883
|
-
value?: undefined;
|
|
5884
6156
|
condition?: undefined;
|
|
5885
6157
|
};
|
|
5886
6158
|
required: string[];
|
|
@@ -5973,8 +6245,8 @@ export declare const metadata_v1: {
|
|
|
5973
6245
|
then: {
|
|
5974
6246
|
additionalProperties: boolean;
|
|
5975
6247
|
properties: {
|
|
5976
|
-
conditions?: undefined;
|
|
5977
6248
|
value?: undefined;
|
|
6249
|
+
conditions?: undefined;
|
|
5978
6250
|
type: {
|
|
5979
6251
|
type: string;
|
|
5980
6252
|
enum: string[];
|
|
@@ -9066,7 +9338,7 @@ declare interface MetricSort {
|
|
|
9066
9338
|
/**
|
|
9067
9339
|
* Local attribute or label to use in this sort.
|
|
9068
9340
|
*/
|
|
9069
|
-
by: string |
|
|
9341
|
+
by: string | AttributeIdentifier16 | LabelIdentifier13;
|
|
9070
9342
|
/**
|
|
9071
9343
|
* Value of attribute or label to use for this sort.
|
|
9072
9344
|
*/
|
|
@@ -9080,7 +9352,7 @@ declare interface MetricSort {
|
|
|
9080
9352
|
/**
|
|
9081
9353
|
* Local attribute or label to use in this sort.
|
|
9082
9354
|
*/
|
|
9083
|
-
by: string |
|
|
9355
|
+
by: string | AttributeIdentifier16 | LabelIdentifier13;
|
|
9084
9356
|
/**
|
|
9085
9357
|
* Value of attribute or label to use for this sort.
|
|
9086
9358
|
*/
|
|
@@ -9116,7 +9388,7 @@ declare interface MultipleConditions1 {
|
|
|
9116
9388
|
/**
|
|
9117
9389
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
9118
9390
|
*/
|
|
9119
|
-
dimensionality?: (
|
|
9391
|
+
dimensionality?: (LabelIdentifier10 | string)[];
|
|
9120
9392
|
}
|
|
9121
9393
|
|
|
9122
9394
|
declare interface NormalDataset {
|
|
@@ -9661,7 +9933,7 @@ declare interface Range1 {
|
|
|
9661
9933
|
/**
|
|
9662
9934
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
9663
9935
|
*/
|
|
9664
|
-
dimensionality?: (
|
|
9936
|
+
dimensionality?: (LabelIdentifier10 | string)[];
|
|
9665
9937
|
}
|
|
9666
9938
|
|
|
9667
9939
|
declare type Range_2 = Range1;
|
|
@@ -10169,13 +10441,29 @@ declare type Tags9 = string[];
|
|
|
10169
10441
|
|
|
10170
10442
|
declare type TextFilter = TextFilter1 | TextFilter2;
|
|
10171
10443
|
|
|
10172
|
-
declare
|
|
10173
|
-
|
|
10174
|
-
|
|
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
|
+
}
|
|
10175
10455
|
|
|
10176
|
-
declare
|
|
10177
|
-
|
|
10178
|
-
|
|
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
|
+
}
|
|
10179
10467
|
|
|
10180
10468
|
declare interface TOP {
|
|
10181
10469
|
type: "ranking_filter";
|
|
@@ -10186,7 +10474,7 @@ declare interface TOP {
|
|
|
10186
10474
|
/**
|
|
10187
10475
|
* Attribute identifier to use for this filter.
|
|
10188
10476
|
*/
|
|
10189
|
-
attribute?:
|
|
10477
|
+
attribute?: AttributeIdentifier13;
|
|
10190
10478
|
/**
|
|
10191
10479
|
* Number of bottom N values to use in this filter.
|
|
10192
10480
|
*/
|
|
@@ -10331,8 +10619,13 @@ export declare namespace v1 {
|
|
|
10331
10619
|
DisplayAsLabelIdentifier1,
|
|
10332
10620
|
LocalAttributeFilter1,
|
|
10333
10621
|
DashboardTextFilter,
|
|
10334
|
-
|
|
10335
|
-
|
|
10622
|
+
AttributeIdentifier4,
|
|
10623
|
+
LabelIdentifier4,
|
|
10624
|
+
DisplayAsLabelIdentifier2,
|
|
10625
|
+
LocalAttributeFilter2,
|
|
10626
|
+
AttributeIdentifier5,
|
|
10627
|
+
LabelIdentifier5,
|
|
10628
|
+
DisplayAsLabelIdentifier3,
|
|
10336
10629
|
Id12,
|
|
10337
10630
|
Id13,
|
|
10338
10631
|
Id14,
|
|
@@ -10344,7 +10637,7 @@ export declare namespace v1 {
|
|
|
10344
10637
|
Metadata20,
|
|
10345
10638
|
Id16,
|
|
10346
10639
|
Tags10,
|
|
10347
|
-
|
|
10640
|
+
AttributeIdentifier6,
|
|
10348
10641
|
Metadata21,
|
|
10349
10642
|
Metadata23,
|
|
10350
10643
|
Visualisation,
|
|
@@ -10352,29 +10645,33 @@ export declare namespace v1 {
|
|
|
10352
10645
|
Id17,
|
|
10353
10646
|
Tags11,
|
|
10354
10647
|
Field,
|
|
10355
|
-
|
|
10648
|
+
AttributeIdentifier7,
|
|
10356
10649
|
Field1,
|
|
10357
10650
|
Field2,
|
|
10358
10651
|
Field3,
|
|
10359
10652
|
StructuredField,
|
|
10360
10653
|
AttributeFieldGuard,
|
|
10361
|
-
|
|
10362
|
-
|
|
10654
|
+
AttributeIdentifier8,
|
|
10655
|
+
LabelIdentifier6,
|
|
10363
10656
|
FactIdentifier,
|
|
10364
10657
|
MetricFieldGuard,
|
|
10365
10658
|
Filter,
|
|
10366
10659
|
Filter1,
|
|
10367
10660
|
DateFilter,
|
|
10368
10661
|
DateFilter1,
|
|
10369
|
-
|
|
10370
|
-
|
|
10371
|
-
|
|
10662
|
+
AttributeIdentifier9,
|
|
10663
|
+
LabelIdentifier7,
|
|
10664
|
+
DisplayAsLabelIdentifier4,
|
|
10372
10665
|
DateFilter2,
|
|
10373
10666
|
Filter2,
|
|
10374
10667
|
Filter3,
|
|
10375
10668
|
TextFilter,
|
|
10376
|
-
|
|
10377
|
-
|
|
10669
|
+
AttributeIdentifier10,
|
|
10670
|
+
LabelIdentifier8,
|
|
10671
|
+
DisplayAsLabelIdentifier5,
|
|
10672
|
+
AttributeIdentifier11,
|
|
10673
|
+
LabelIdentifier9,
|
|
10674
|
+
DisplayAsLabelIdentifier6,
|
|
10378
10675
|
Filter4,
|
|
10379
10676
|
MetricValueFilter,
|
|
10380
10677
|
MultipleConditions,
|
|
@@ -10383,7 +10680,7 @@ export declare namespace v1 {
|
|
|
10383
10680
|
AllNoCondition,
|
|
10384
10681
|
ComparisonCondition,
|
|
10385
10682
|
RangeCondition,
|
|
10386
|
-
|
|
10683
|
+
LabelIdentifier10,
|
|
10387
10684
|
Comparison,
|
|
10388
10685
|
MetricIdentifier1,
|
|
10389
10686
|
Range_2 as Range,
|
|
@@ -10393,26 +10690,26 @@ export declare namespace v1 {
|
|
|
10393
10690
|
Filter5,
|
|
10394
10691
|
RankingFilter,
|
|
10395
10692
|
MetricIdentifier4,
|
|
10396
|
-
|
|
10693
|
+
AttributeIdentifier12,
|
|
10397
10694
|
MetricIdentifier5,
|
|
10398
|
-
|
|
10695
|
+
AttributeIdentifier13,
|
|
10399
10696
|
Filter6,
|
|
10400
10697
|
MetricIdentifier6,
|
|
10401
10698
|
CalculatedMetricFieldGuard,
|
|
10402
|
-
|
|
10699
|
+
AttributeIdentifier14,
|
|
10403
10700
|
FactIdentifier1,
|
|
10404
|
-
|
|
10701
|
+
LabelIdentifier11,
|
|
10405
10702
|
InlineMetricFieldGuard,
|
|
10406
10703
|
ArithmeticMetricFieldGuard,
|
|
10407
10704
|
PoPMetricFieldGuard,
|
|
10408
10705
|
PreviousPeriodMetricFieldGuard,
|
|
10409
10706
|
Sort,
|
|
10410
10707
|
Sort1,
|
|
10411
|
-
|
|
10412
|
-
|
|
10708
|
+
AttributeIdentifier15,
|
|
10709
|
+
LabelIdentifier12,
|
|
10413
10710
|
Sort2,
|
|
10414
|
-
|
|
10415
|
-
|
|
10711
|
+
AttributeIdentifier16,
|
|
10712
|
+
LabelIdentifier13,
|
|
10416
10713
|
Sort3,
|
|
10417
10714
|
Sorts,
|
|
10418
10715
|
WidthValueOrAuto,
|
|
@@ -10542,6 +10839,9 @@ export declare namespace v1 {
|
|
|
10542
10839
|
DashboardRelativeDateFilter,
|
|
10543
10840
|
LocalDateFilter,
|
|
10544
10841
|
LocalDateFilter1,
|
|
10842
|
+
DashboardTextFilter1,
|
|
10843
|
+
LocalDateFilter2,
|
|
10844
|
+
DashboardTextFilter2,
|
|
10545
10845
|
DashboardFilterGroup,
|
|
10546
10846
|
Tab,
|
|
10547
10847
|
DashboardFilters1,
|
|
@@ -10561,6 +10861,8 @@ export declare namespace v1 {
|
|
|
10561
10861
|
AttributeFilter,
|
|
10562
10862
|
State,
|
|
10563
10863
|
AttributeFilter1,
|
|
10864
|
+
TextFilter1,
|
|
10865
|
+
TextFilter2,
|
|
10564
10866
|
MultipleConditions1,
|
|
10565
10867
|
AllNoCondition1,
|
|
10566
10868
|
ComparisonCondition1,
|