@gooddata/sdk-code-schemas 11.29.0-alpha.0 → 11.29.0-alpha.10
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 +569 -59
- package/esm/v1/metadata.d.ts +189 -42
- package/esm/v1/metadata.d.ts.map +1 -1
- package/esm/v1/metadata.json +323 -4
- package/esm/v1/schema.d.ts +323 -2
- package/esm/v1/schema.d.ts.map +1 -1
- package/package.json +6 -6
package/esm/v1/metadata.d.ts
CHANGED
|
@@ -322,6 +322,38 @@ export type DisplayAsLabelIdentifier1 = string;
|
|
|
322
322
|
* Local attribute or date filter to use as parent
|
|
323
323
|
*/
|
|
324
324
|
export type LocalAttributeFilter1 = string;
|
|
325
|
+
/**
|
|
326
|
+
* A dashboard text filter
|
|
327
|
+
*/
|
|
328
|
+
export type DashboardTextFilter = DashboardTextFilter1 | DashboardTextFilter2;
|
|
329
|
+
/**
|
|
330
|
+
* Attribute or label to use in this filter.
|
|
331
|
+
*/
|
|
332
|
+
export type AttributeIdentifier4 = string;
|
|
333
|
+
/**
|
|
334
|
+
* Attribute or label to use in this filter.
|
|
335
|
+
*/
|
|
336
|
+
export type LabelIdentifier4 = string;
|
|
337
|
+
/**
|
|
338
|
+
* Configures the label used for representing attribute filter elements in UI.
|
|
339
|
+
*/
|
|
340
|
+
export type DisplayAsLabelIdentifier2 = string;
|
|
341
|
+
/**
|
|
342
|
+
* Local attribute, text, or date filter to use as parent
|
|
343
|
+
*/
|
|
344
|
+
export type LocalAttributeFilter2 = string;
|
|
345
|
+
/**
|
|
346
|
+
* Attribute or label to use in this filter.
|
|
347
|
+
*/
|
|
348
|
+
export type AttributeIdentifier5 = string;
|
|
349
|
+
/**
|
|
350
|
+
* Attribute or label to use in this filter.
|
|
351
|
+
*/
|
|
352
|
+
export type LabelIdentifier5 = string;
|
|
353
|
+
/**
|
|
354
|
+
* Configures the label used for representing attribute filter elements in UI.
|
|
355
|
+
*/
|
|
356
|
+
export type DisplayAsLabelIdentifier3 = string;
|
|
325
357
|
/**
|
|
326
358
|
* An unique identifier of the plugin.
|
|
327
359
|
*/
|
|
@@ -363,7 +395,7 @@ export type Tags10 = string[];
|
|
|
363
395
|
/**
|
|
364
396
|
* A attribute identifier in the form of attribute/\{id\}.
|
|
365
397
|
*/
|
|
366
|
-
export type
|
|
398
|
+
export type AttributeIdentifier6 = string;
|
|
367
399
|
/**
|
|
368
400
|
* JSON schema for Gooddata Analytics
|
|
369
401
|
*/
|
|
@@ -389,11 +421,11 @@ export type Tags11 = string[];
|
|
|
389
421
|
* This interface was referenced by `Fields2`'s JSON-Schema definition
|
|
390
422
|
* via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
|
|
391
423
|
*/
|
|
392
|
-
export type Field =
|
|
424
|
+
export type Field = AttributeIdentifier7 | Field1 | Field2 | Field3 | StructuredField;
|
|
393
425
|
/**
|
|
394
426
|
* A attribute identifier in the form of attribute/\{id\}.
|
|
395
427
|
*/
|
|
396
|
-
export type
|
|
428
|
+
export type AttributeIdentifier7 = string;
|
|
397
429
|
/**
|
|
398
430
|
* A label identifier in the form of label/\{id\}.
|
|
399
431
|
*/
|
|
@@ -411,11 +443,11 @@ export type AttributeFieldGuard = AttributeField | AttributeFieldGuard1;
|
|
|
411
443
|
/**
|
|
412
444
|
* A attribute identifier in the form of attribute/\{id\}.
|
|
413
445
|
*/
|
|
414
|
-
export type
|
|
446
|
+
export type AttributeIdentifier8 = string;
|
|
415
447
|
/**
|
|
416
448
|
* Attribute or label identifier to use for this field.
|
|
417
449
|
*/
|
|
418
|
-
export type
|
|
450
|
+
export type LabelIdentifier6 = string;
|
|
419
451
|
/**
|
|
420
452
|
* Attribute or label identifier to use for this field.
|
|
421
453
|
*/
|
|
@@ -429,7 +461,7 @@ export type MetricFieldGuard = MetricField | MetricFieldGuard1;
|
|
|
429
461
|
* This interface was referenced by `QueryFilters2`'s JSON-Schema definition
|
|
430
462
|
* via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
|
|
431
463
|
*/
|
|
432
|
-
export type Filter = Filter1 | Filter2 | Filter3 | Filter4 | Filter5;
|
|
464
|
+
export type Filter = Filter1 | Filter2 | Filter3 | Filter4 | Filter5 | Filter6;
|
|
433
465
|
export type Filter1 = DateFilter;
|
|
434
466
|
export type DateFilter = DateFilter1 | DateFilter2;
|
|
435
467
|
export type DateFilter1 = {
|
|
@@ -465,15 +497,15 @@ export type DateFilter1 = {
|
|
|
465
497
|
/**
|
|
466
498
|
* Attribute or label to use in this filter.
|
|
467
499
|
*/
|
|
468
|
-
export type
|
|
500
|
+
export type AttributeIdentifier9 = string;
|
|
469
501
|
/**
|
|
470
502
|
* Attribute or label to use in this filter.
|
|
471
503
|
*/
|
|
472
|
-
export type
|
|
504
|
+
export type LabelIdentifier7 = string;
|
|
473
505
|
/**
|
|
474
506
|
* Configures the label used for representing attribute filter elements in UI.
|
|
475
507
|
*/
|
|
476
|
-
export type
|
|
508
|
+
export type DisplayAsLabelIdentifier4 = string;
|
|
477
509
|
export type DateFilter2 = {
|
|
478
510
|
type: "date_filter";
|
|
479
511
|
/**
|
|
@@ -501,7 +533,33 @@ export type DateFilter2 = {
|
|
|
501
533
|
[k: string]: unknown;
|
|
502
534
|
};
|
|
503
535
|
export type Filter2 = AttributeFilter1;
|
|
504
|
-
export type Filter3 =
|
|
536
|
+
export type Filter3 = TextFilter;
|
|
537
|
+
export type TextFilter = TextFilter1 | TextFilter2;
|
|
538
|
+
/**
|
|
539
|
+
* Attribute or label to use in this filter.
|
|
540
|
+
*/
|
|
541
|
+
export type AttributeIdentifier10 = string;
|
|
542
|
+
/**
|
|
543
|
+
* Attribute or label to use in this filter.
|
|
544
|
+
*/
|
|
545
|
+
export type LabelIdentifier8 = string;
|
|
546
|
+
/**
|
|
547
|
+
* Configures the label used for representing attribute filter elements in UI.
|
|
548
|
+
*/
|
|
549
|
+
export type DisplayAsLabelIdentifier5 = string;
|
|
550
|
+
/**
|
|
551
|
+
* Attribute or label to use in this filter.
|
|
552
|
+
*/
|
|
553
|
+
export type AttributeIdentifier11 = string;
|
|
554
|
+
/**
|
|
555
|
+
* Attribute or label to use in this filter.
|
|
556
|
+
*/
|
|
557
|
+
export type LabelIdentifier9 = string;
|
|
558
|
+
/**
|
|
559
|
+
* Configures the label used for representing attribute filter elements in UI.
|
|
560
|
+
*/
|
|
561
|
+
export type DisplayAsLabelIdentifier6 = string;
|
|
562
|
+
export type Filter4 = MetricValueFilter;
|
|
505
563
|
export type MetricValueFilter = MultipleConditions | Comparison | Range | All;
|
|
506
564
|
export type MultipleConditions = MultipleConditions1;
|
|
507
565
|
/**
|
|
@@ -515,7 +573,7 @@ export type RangeCondition = RangeCondition1;
|
|
|
515
573
|
/**
|
|
516
574
|
* A label identifier in the form of label/\{id\}.
|
|
517
575
|
*/
|
|
518
|
-
export type
|
|
576
|
+
export type LabelIdentifier10 = string;
|
|
519
577
|
export type Comparison = Comparison1;
|
|
520
578
|
/**
|
|
521
579
|
* Metric or local metric to use in this filter.
|
|
@@ -534,7 +592,7 @@ export type All = All1;
|
|
|
534
592
|
* Metric or local metric to use in this filter.
|
|
535
593
|
*/
|
|
536
594
|
export type MetricIdentifier3 = string;
|
|
537
|
-
export type
|
|
595
|
+
export type Filter5 = RankingFilter;
|
|
538
596
|
export type RankingFilter = BOTTOM | TOP;
|
|
539
597
|
/**
|
|
540
598
|
* Metric identifier to use for this filter.
|
|
@@ -543,7 +601,7 @@ export type MetricIdentifier4 = string;
|
|
|
543
601
|
/**
|
|
544
602
|
* Attribute identifier to use for this filter.
|
|
545
603
|
*/
|
|
546
|
-
export type
|
|
604
|
+
export type AttributeIdentifier12 = string;
|
|
547
605
|
/**
|
|
548
606
|
* Metric identifier to use for this filter.
|
|
549
607
|
*/
|
|
@@ -551,8 +609,8 @@ export type MetricIdentifier5 = string;
|
|
|
551
609
|
/**
|
|
552
610
|
* Attribute identifier to use for this filter.
|
|
553
611
|
*/
|
|
554
|
-
export type
|
|
555
|
-
export type
|
|
612
|
+
export type AttributeIdentifier13 = string;
|
|
613
|
+
export type Filter6 = {
|
|
556
614
|
[k: string]: unknown;
|
|
557
615
|
};
|
|
558
616
|
/**
|
|
@@ -563,7 +621,7 @@ export type CalculatedMetricFieldGuard = CalculatedMetricField | CalculatedMetri
|
|
|
563
621
|
/**
|
|
564
622
|
* A attribute identifier in the form of attribute/\{id\}.
|
|
565
623
|
*/
|
|
566
|
-
export type
|
|
624
|
+
export type AttributeIdentifier14 = string;
|
|
567
625
|
/**
|
|
568
626
|
* Attribute identifier to use for this field.
|
|
569
627
|
*/
|
|
@@ -571,7 +629,7 @@ export type FactIdentifier1 = string;
|
|
|
571
629
|
/**
|
|
572
630
|
* Attribute identifier to use for this field.
|
|
573
631
|
*/
|
|
574
|
-
export type
|
|
632
|
+
export type LabelIdentifier11 = string;
|
|
575
633
|
export type InlineMetricFieldGuard = InlineMetricField | InlineMetricFieldGuard1;
|
|
576
634
|
export type ArithmeticMetricFieldGuard = ArithmeticMetricField | ArithmeticMetricFieldGuard1;
|
|
577
635
|
export type PoPMetricFieldGuard = PoPMetricField | PoPMetricFieldGuard1;
|
|
@@ -581,20 +639,20 @@ export type Sort1 = AttributeSort;
|
|
|
581
639
|
/**
|
|
582
640
|
* A attribute identifier in the form of attribute/\{id\}.
|
|
583
641
|
*/
|
|
584
|
-
export type
|
|
642
|
+
export type AttributeIdentifier15 = string;
|
|
585
643
|
/**
|
|
586
644
|
* Local attribute or label to use in this sort.
|
|
587
645
|
*/
|
|
588
|
-
export type
|
|
646
|
+
export type LabelIdentifier12 = string;
|
|
589
647
|
export type Sort2 = MetricSort;
|
|
590
648
|
/**
|
|
591
649
|
* A attribute identifier in the form of attribute/\{id\}.
|
|
592
650
|
*/
|
|
593
|
-
export type
|
|
651
|
+
export type AttributeIdentifier16 = string;
|
|
594
652
|
/**
|
|
595
653
|
* Local attribute or label to use in this sort.
|
|
596
654
|
*/
|
|
597
|
-
export type
|
|
655
|
+
export type LabelIdentifier13 = string;
|
|
598
656
|
export type Sort3 = {
|
|
599
657
|
[k: string]: unknown;
|
|
600
658
|
};
|
|
@@ -1631,20 +1689,20 @@ export interface DashboardFilters {
|
|
|
1631
1689
|
* This interface was referenced by `DashboardFilters1`'s JSON-Schema definition
|
|
1632
1690
|
* via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
|
|
1633
1691
|
*/
|
|
1634
|
-
[k: string]: DashboardAbsoluteDateFilter | DashboardRelativeDateFilter | DashboardAttributeFilter | DashboardFilterGroup;
|
|
1692
|
+
[k: string]: DashboardAbsoluteDateFilter | DashboardRelativeDateFilter | DashboardAttributeFilter | DashboardTextFilter | DashboardFilterGroup;
|
|
1635
1693
|
}
|
|
1636
1694
|
/**
|
|
1637
1695
|
* A dashboard absolute date filter
|
|
1638
1696
|
*/
|
|
1639
1697
|
export interface DashboardAbsoluteDateFilter {
|
|
1640
|
-
type: "date_filter" | "attribute_filter" | "filter_group";
|
|
1698
|
+
type: "date_filter" | "attribute_filter" | "text_filter" | "filter_group";
|
|
1641
1699
|
[k: string]: unknown;
|
|
1642
1700
|
}
|
|
1643
1701
|
/**
|
|
1644
1702
|
* A dashboard relative date filter
|
|
1645
1703
|
*/
|
|
1646
1704
|
export interface DashboardRelativeDateFilter {
|
|
1647
|
-
type: "date_filter" | "attribute_filter" | "filter_group";
|
|
1705
|
+
type: "date_filter" | "attribute_filter" | "text_filter" | "filter_group";
|
|
1648
1706
|
[k: string]: unknown;
|
|
1649
1707
|
}
|
|
1650
1708
|
export interface LocalDateFilter {
|
|
@@ -1669,11 +1727,76 @@ export interface LocalDateFilter1 {
|
|
|
1669
1727
|
common: boolean;
|
|
1670
1728
|
[k: string]: unknown;
|
|
1671
1729
|
}
|
|
1730
|
+
/**
|
|
1731
|
+
* A dashboard text filter
|
|
1732
|
+
*/
|
|
1733
|
+
export interface DashboardTextFilter1 {
|
|
1734
|
+
/**
|
|
1735
|
+
* Optional title of the filter
|
|
1736
|
+
*/
|
|
1737
|
+
title?: string;
|
|
1738
|
+
type: "text_filter";
|
|
1739
|
+
/**
|
|
1740
|
+
* Attribute or label to use in this filter.
|
|
1741
|
+
*/
|
|
1742
|
+
using: AttributeIdentifier4 | LabelIdentifier4;
|
|
1743
|
+
condition: "is" | "isNot";
|
|
1744
|
+
values: (string | null)[];
|
|
1745
|
+
case_sensitive?: boolean;
|
|
1746
|
+
display_as?: DisplayAsLabelIdentifier2;
|
|
1747
|
+
/**
|
|
1748
|
+
* 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.
|
|
1749
|
+
*/
|
|
1750
|
+
mode?: "readonly" | "hidden" | "active";
|
|
1751
|
+
/**
|
|
1752
|
+
* An ids of the parent local attribute, text, or date filter
|
|
1753
|
+
*/
|
|
1754
|
+
parents?: (LocalAttributeFilter2 | LocalDateFilter2)[];
|
|
1755
|
+
/**
|
|
1756
|
+
* An id of the attributes, labels, facts or metrics to validate the filter by
|
|
1757
|
+
*/
|
|
1758
|
+
metric_filters?: string[];
|
|
1759
|
+
[k: string]: unknown;
|
|
1760
|
+
}
|
|
1761
|
+
export interface LocalDateFilter2 {
|
|
1762
|
+
/**
|
|
1763
|
+
* Local date filter to use as parent
|
|
1764
|
+
*/
|
|
1765
|
+
using: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* Whether the parent filter is common date or special date
|
|
1768
|
+
*/
|
|
1769
|
+
common: boolean;
|
|
1770
|
+
[k: string]: unknown;
|
|
1771
|
+
}
|
|
1772
|
+
/**
|
|
1773
|
+
* A dashboard text filter
|
|
1774
|
+
*/
|
|
1775
|
+
export interface DashboardTextFilter2 {
|
|
1776
|
+
/**
|
|
1777
|
+
* Optional title of the filter
|
|
1778
|
+
*/
|
|
1779
|
+
title?: string;
|
|
1780
|
+
type: "text_filter";
|
|
1781
|
+
/**
|
|
1782
|
+
* Attribute or label to use in this filter.
|
|
1783
|
+
*/
|
|
1784
|
+
using: AttributeIdentifier5 | LabelIdentifier5;
|
|
1785
|
+
condition: "contains" | "doesNotContain" | "startsWith" | "doesNotStartWith" | "endsWith" | "doesNotEndWith";
|
|
1786
|
+
value: string;
|
|
1787
|
+
case_sensitive?: boolean;
|
|
1788
|
+
display_as?: DisplayAsLabelIdentifier3;
|
|
1789
|
+
/**
|
|
1790
|
+
* 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.
|
|
1791
|
+
*/
|
|
1792
|
+
mode?: "readonly" | "hidden" | "active";
|
|
1793
|
+
[k: string]: unknown;
|
|
1794
|
+
}
|
|
1672
1795
|
/**
|
|
1673
1796
|
* A group of dashboard filters displayed together in the filter bar
|
|
1674
1797
|
*/
|
|
1675
1798
|
export interface DashboardFilterGroup {
|
|
1676
|
-
type: "date_filter" | "attribute_filter" | "filter_group";
|
|
1799
|
+
type: "date_filter" | "attribute_filter" | "text_filter" | "filter_group";
|
|
1677
1800
|
}
|
|
1678
1801
|
export interface Tab {
|
|
1679
1802
|
id: Id14;
|
|
@@ -1697,7 +1820,7 @@ export interface DashboardFilters1 {
|
|
|
1697
1820
|
* This interface was referenced by `DashboardFilters1`'s JSON-Schema definition
|
|
1698
1821
|
* via the `patternProperty` "^(?!\.)[.A-Za-z0-9_-]\{1,255\}$".
|
|
1699
1822
|
*/
|
|
1700
|
-
[k: string]: DashboardAbsoluteDateFilter | DashboardRelativeDateFilter | DashboardAttributeFilter | DashboardFilterGroup;
|
|
1823
|
+
[k: string]: DashboardAbsoluteDateFilter | DashboardRelativeDateFilter | DashboardAttributeFilter | DashboardTextFilter | DashboardFilterGroup;
|
|
1701
1824
|
}
|
|
1702
1825
|
/**
|
|
1703
1826
|
* A permission object
|
|
@@ -1748,7 +1871,7 @@ export interface AttributeHierarchy {
|
|
|
1748
1871
|
/**
|
|
1749
1872
|
* A list of sorted attributes use in attribute hierarchy. The first attribute is the top level attribute.
|
|
1750
1873
|
*/
|
|
1751
|
-
attributes: [
|
|
1874
|
+
attributes: [AttributeIdentifier6, ...AttributeIdentifier6[]];
|
|
1752
1875
|
}
|
|
1753
1876
|
export interface Metadata22 {
|
|
1754
1877
|
type: "dataset" | "date" | "metric" | "dashboard" | "plugin" | "table" | "bar_chart" | "column_chart" | "line_chart" | "area_chart" | "scatter_chart" | "bubble_chart" | "pie_chart" | "donut_chart" | "treemap_chart" | "pyramid_chart" | "funnel_chart" | "heatmap_chart" | "bullet_chart" | "waterfall_chart" | "dependency_wheel_chart" | "sankey_chart" | "headline_chart" | "combo_chart" | "geo_chart" | "geo_area_chart" | "repeater_chart" | "attribute_hierarchy";
|
|
@@ -1827,7 +1950,7 @@ export interface AttributeField {
|
|
|
1827
1950
|
/**
|
|
1828
1951
|
* Attribute or label identifier to use for this field.
|
|
1829
1952
|
*/
|
|
1830
|
-
using: (
|
|
1953
|
+
using: (AttributeIdentifier8 | LabelIdentifier6 | FactIdentifier) & string;
|
|
1831
1954
|
}
|
|
1832
1955
|
export interface AttributeFieldGuard1 {
|
|
1833
1956
|
/**
|
|
@@ -1882,8 +2005,8 @@ export interface AttributeFilter {
|
|
|
1882
2005
|
/**
|
|
1883
2006
|
* Attribute or label to use in this filter.
|
|
1884
2007
|
*/
|
|
1885
|
-
using:
|
|
1886
|
-
display_as?:
|
|
2008
|
+
using: AttributeIdentifier9 | LabelIdentifier7;
|
|
2009
|
+
display_as?: DisplayAsLabelIdentifier4;
|
|
1887
2010
|
state?: State;
|
|
1888
2011
|
}
|
|
1889
2012
|
export interface State {
|
|
@@ -1895,10 +2018,34 @@ export interface AttributeFilter1 {
|
|
|
1895
2018
|
/**
|
|
1896
2019
|
* Attribute or label to use in this filter.
|
|
1897
2020
|
*/
|
|
1898
|
-
using:
|
|
1899
|
-
display_as?:
|
|
2021
|
+
using: AttributeIdentifier9 | LabelIdentifier7;
|
|
2022
|
+
display_as?: DisplayAsLabelIdentifier4;
|
|
1900
2023
|
state?: State;
|
|
1901
2024
|
}
|
|
2025
|
+
export interface TextFilter1 {
|
|
2026
|
+
type: "text_filter";
|
|
2027
|
+
/**
|
|
2028
|
+
* Attribute or label to use in this filter.
|
|
2029
|
+
*/
|
|
2030
|
+
using: AttributeIdentifier10 | LabelIdentifier8;
|
|
2031
|
+
condition: "is" | "isNot";
|
|
2032
|
+
values: (string | null)[];
|
|
2033
|
+
case_sensitive?: boolean;
|
|
2034
|
+
display_as?: DisplayAsLabelIdentifier5;
|
|
2035
|
+
[k: string]: unknown;
|
|
2036
|
+
}
|
|
2037
|
+
export interface TextFilter2 {
|
|
2038
|
+
type: "text_filter";
|
|
2039
|
+
/**
|
|
2040
|
+
* Attribute or label to use in this filter.
|
|
2041
|
+
*/
|
|
2042
|
+
using: AttributeIdentifier11 | LabelIdentifier9;
|
|
2043
|
+
condition: "contains" | "doesNotContain" | "startsWith" | "doesNotStartWith" | "endsWith" | "doesNotEndWith";
|
|
2044
|
+
value: string;
|
|
2045
|
+
case_sensitive?: boolean;
|
|
2046
|
+
display_as?: DisplayAsLabelIdentifier6;
|
|
2047
|
+
[k: string]: unknown;
|
|
2048
|
+
}
|
|
1902
2049
|
export interface MultipleConditions1 {
|
|
1903
2050
|
type: "metric_value_filter";
|
|
1904
2051
|
/**
|
|
@@ -1916,7 +2063,7 @@ export interface MultipleConditions1 {
|
|
|
1916
2063
|
/**
|
|
1917
2064
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
1918
2065
|
*/
|
|
1919
|
-
dimensionality?: (
|
|
2066
|
+
dimensionality?: (LabelIdentifier10 | string)[];
|
|
1920
2067
|
}
|
|
1921
2068
|
export interface AllNoCondition1 {
|
|
1922
2069
|
}
|
|
@@ -1959,7 +2106,7 @@ export interface Comparison1 {
|
|
|
1959
2106
|
/**
|
|
1960
2107
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
1961
2108
|
*/
|
|
1962
|
-
dimensionality?: (
|
|
2109
|
+
dimensionality?: (LabelIdentifier10 | string)[];
|
|
1963
2110
|
}
|
|
1964
2111
|
export interface Range1 {
|
|
1965
2112
|
type: "metric_value_filter";
|
|
@@ -1986,7 +2133,7 @@ export interface Range1 {
|
|
|
1986
2133
|
/**
|
|
1987
2134
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
1988
2135
|
*/
|
|
1989
|
-
dimensionality?: (
|
|
2136
|
+
dimensionality?: (LabelIdentifier10 | string)[];
|
|
1990
2137
|
}
|
|
1991
2138
|
/**
|
|
1992
2139
|
* For MVF with operator "All" (no filtering). Such filter can be present without a condition and is treated as a no-op.
|
|
@@ -2004,7 +2151,7 @@ export interface All1 {
|
|
|
2004
2151
|
/**
|
|
2005
2152
|
* Optional array of attribute or label references or local identifiers to apply dimensionality to the filter.
|
|
2006
2153
|
*/
|
|
2007
|
-
dimensionality?: (
|
|
2154
|
+
dimensionality?: (LabelIdentifier10 | string)[];
|
|
2008
2155
|
}
|
|
2009
2156
|
export interface BOTTOM {
|
|
2010
2157
|
type: "ranking_filter";
|
|
@@ -2015,7 +2162,7 @@ export interface BOTTOM {
|
|
|
2015
2162
|
/**
|
|
2016
2163
|
* Attribute identifier to use for this filter.
|
|
2017
2164
|
*/
|
|
2018
|
-
attribute?:
|
|
2165
|
+
attribute?: AttributeIdentifier12;
|
|
2019
2166
|
/**
|
|
2020
2167
|
* Number of bottom N values to use in this filter.
|
|
2021
2168
|
*/
|
|
@@ -2034,7 +2181,7 @@ export interface TOP {
|
|
|
2034
2181
|
/**
|
|
2035
2182
|
* Attribute identifier to use for this filter.
|
|
2036
2183
|
*/
|
|
2037
|
-
attribute?:
|
|
2184
|
+
attribute?: AttributeIdentifier13;
|
|
2038
2185
|
/**
|
|
2039
2186
|
* Number of bottom N values to use in this filter.
|
|
2040
2187
|
*/
|
|
@@ -2085,7 +2232,7 @@ export interface CalculatedMetricField {
|
|
|
2085
2232
|
/**
|
|
2086
2233
|
* Attribute identifier to use for this field.
|
|
2087
2234
|
*/
|
|
2088
|
-
using: (
|
|
2235
|
+
using: (AttributeIdentifier14 | FactIdentifier1 | LabelIdentifier11) & string;
|
|
2089
2236
|
}
|
|
2090
2237
|
/**
|
|
2091
2238
|
* A list of filters in this query.
|
|
@@ -2289,7 +2436,7 @@ export interface AttributeSort {
|
|
|
2289
2436
|
/**
|
|
2290
2437
|
* Local attribute or label to use in this sort.
|
|
2291
2438
|
*/
|
|
2292
|
-
by: string |
|
|
2439
|
+
by: string | AttributeIdentifier15 | LabelIdentifier12;
|
|
2293
2440
|
/**
|
|
2294
2441
|
* Sort direction.
|
|
2295
2442
|
*/
|
|
@@ -2313,7 +2460,7 @@ export interface MetricSort {
|
|
|
2313
2460
|
/**
|
|
2314
2461
|
* Local attribute or label to use in this sort.
|
|
2315
2462
|
*/
|
|
2316
|
-
by: string |
|
|
2463
|
+
by: string | AttributeIdentifier16 | LabelIdentifier13;
|
|
2317
2464
|
/**
|
|
2318
2465
|
* Value of attribute or label to use for this sort.
|
|
2319
2466
|
*/
|
|
@@ -2327,7 +2474,7 @@ export interface MetricSort {
|
|
|
2327
2474
|
/**
|
|
2328
2475
|
* Local attribute or label to use in this sort.
|
|
2329
2476
|
*/
|
|
2330
|
-
by: string |
|
|
2477
|
+
by: string | AttributeIdentifier16 | LabelIdentifier13;
|
|
2331
2478
|
/**
|
|
2332
2479
|
* Value of attribute or label to use for this sort.
|
|
2333
2480
|
*/
|