@vizzly/services 0.15.0-dev-e4e46cdb5d41c2a0c5b2637632228c4a6a4654e0 → 0.15.0-dev-6f309335ad30223a136cf38b60f5e283e6f1dd6a
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/dist/index.js +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/WaterfallChart/toQueries.d.ts +9 -3
- package/dist/shared-logic/src/Component/types.d.ts +2 -0
- package/dist/shared-logic/src/ComponentInterface/types/namespaces.types.d.ts +16 -15
- package/dist/shared-logic/src/DataPanelConfig/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Component } from '../../../../../shared-logic/src/Component/types';
|
|
2
|
+
import { DataSet } from '../../../../../shared-logic/src/DataSet/types';
|
|
3
|
+
import { Query as QueryType } from '../../../../../shared-logic/src/Query/types';
|
|
4
|
+
import { QueryEngineConfig } from '../../../../../shared-logic/src/QueryEngineConfig/types';
|
|
5
|
+
import { Result } from '../../../../../shared-logic/src/Result/types';
|
|
6
|
+
import { Params } from '../../../types';
|
|
7
|
+
export declare const toQueries: (attributes: Component.WaterfallChartAttributes, dataSet: DataSet, queryEngineConfig: QueryEngineConfig, params: Params) => {
|
|
8
|
+
queries: QueryType[];
|
|
9
|
+
resultFields: Result.Field[][];
|
|
4
10
|
};
|
|
@@ -8,6 +8,7 @@ import { TableFieldsV2 } from '../DataTable/types';
|
|
|
8
8
|
import { Dictionary } from 'lodash';
|
|
9
9
|
import { MovingAverage, TrendType } from '../Trends/types';
|
|
10
10
|
import { DataSet } from '../DataSet/types';
|
|
11
|
+
import { RulesField } from '../CustomField/types';
|
|
11
12
|
export declare type getNumberFormatter = (formatterId: string | undefined | null) => (number: number) => string;
|
|
12
13
|
export declare type FormatType = string | null;
|
|
13
14
|
export declare type ApproxAxisLabelCount = 'auto' | number;
|
|
@@ -475,6 +476,7 @@ export declare namespace Component {
|
|
|
475
476
|
headline?: Headline;
|
|
476
477
|
increaseColor: string;
|
|
477
478
|
decreaseColor: string;
|
|
479
|
+
comparison: RulesField | null;
|
|
478
480
|
};
|
|
479
481
|
export type ViewType = 'areaChart' | 'barChart' | 'basicTable' | 'bubbleChart' | 'bubbleChartV2' | 'comboChart' | 'comboChartV2' | 'custom' | 'dataTable' | 'funnelChart' | 'horizontalBarChart' | 'lineChart' | 'lineChartV2' | 'areaChartV2' | 'barChartV2' | 'mercatorMap' | 'pieChart' | 'sunburstChart' | 'progress' | 'richText' | 'scatterChart' | 'singleStat' | 'waterfallChart' | 'radarChart';
|
|
480
482
|
export type Attributes = AreaChartAttributes | BarChartAttributes | BasicTableAttributes | BubbleChartAttributes | BubbleChartV2Attributes | ComboChartAttributes | CustomViewAttributes | DataTableAttributes | FunnelChartAttributes | HorizontalBarChartAttributes | LineChartAttributes | LineChartV2Attributes | BarChartV2Attributes | AreaChartV2Attributes | MercatorMapAttributes | PieChartAttributes | SunburstChartAttributes | ProgressAttributes | RichTextAttributes | ScatterChartAttributes | SingleStatAttributes | WaterfallChartAttributes | RadarChartAttributes | ComboChartV2Attributes;
|
|
@@ -25,29 +25,30 @@ export declare type Pagination = {
|
|
|
25
25
|
options: number[];
|
|
26
26
|
};
|
|
27
27
|
export interface DataPanelNamespaces {
|
|
28
|
+
combo_chart_dimension?: Section<'comboChartDimension'>;
|
|
29
|
+
comparison?: Section<'comparison'>;
|
|
30
|
+
custom_metrics?: Section<'customMetrics'>;
|
|
28
31
|
data_set: Section<'dataSet'>;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
field_y_axis?: Section<'fieldCollector'>;
|
|
32
|
-
field_z_axis?: Section<'fieldCollector'>;
|
|
33
|
-
field_rows?: Section<'fieldCollector'>;
|
|
32
|
+
dateComparison?: Section<'dateComparison'>;
|
|
33
|
+
drilldown?: Section<'drilldown'>;
|
|
34
34
|
field_columns?: Section<'fieldCollector'>;
|
|
35
|
-
|
|
35
|
+
field_country?: Section<'fieldCollector'>;
|
|
36
36
|
field_grouping?: Section<'fieldCollector'>;
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
field_metrics?: Section<'fieldCollector'>;
|
|
38
|
+
field_rows?: Section<'fieldCollector'>;
|
|
39
39
|
field_x_axis?: Section<'fieldCollector'>;
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
field_y_axis?: Section<'fieldCollector'>;
|
|
41
|
+
field_z_axis?: Section<'fieldCollector'>;
|
|
42
|
+
fields?: Section<'fields'>;
|
|
42
43
|
filter?: Section<'filter'>;
|
|
43
|
-
custom_metrics?: Section<'customMetrics'>;
|
|
44
|
-
limit?: Section<'limit'>;
|
|
45
|
-
pagination?: Section<'pagination'>;
|
|
46
|
-
combo_chart_dimension?: Section<'comboChartDimension'>;
|
|
47
|
-
comparison?: Section<'comparison'>;
|
|
48
44
|
labelled_metrics?: Section<'labelledMetrics'> & {
|
|
49
45
|
subSectionDefinition: SubSectionDef;
|
|
50
46
|
};
|
|
47
|
+
limit?: Section<'limit'>;
|
|
48
|
+
pagination?: Section<'pagination'>;
|
|
49
|
+
progress_goals?: Section<'progressGoals'>;
|
|
50
|
+
sort?: Section<'sort'>;
|
|
51
|
+
views: Section<'views'>;
|
|
51
52
|
}
|
|
52
53
|
export declare type Namespace = keyof FormatPanelNamespaces | keyof DataPanelNamespaces;
|
|
53
54
|
export interface FormatPanelNamespaces {
|
|
@@ -40,6 +40,6 @@ export interface ProgressGoalSection<T> extends Omit<Section<T>, 'type'> {
|
|
|
40
40
|
}
|
|
41
41
|
export declare type ProgressGoalsSection = Section<'progressGoals'> & ProgressGoalSection<'progressGoals'>;
|
|
42
42
|
export declare type PaginationSection = Section<'pagination'> & Pagination;
|
|
43
|
-
export declare type DataPanelSection =
|
|
43
|
+
export declare type DataPanelSection = DimensionSection | FieldCollectorSection | LabelledMetricSection | MetricsSection | PaginationSection | ProgressGoalsSection | Section<'comboChartDimension'> | Section<'comparison'> | Section<'country'> | Section<'customMetrics'> | Section<'dataSet'> | Section<'dateComparison'> | Section<'drilldown'> | Section<'fields'> | Section<'filter'> | Section<'limit'> | Section<'sort'> | Section<'timeDimension'> | Section<'views'> | Section<'xAxis'>;
|
|
44
44
|
export declare type DataPanelConfig = Array<DataPanelSection>;
|
|
45
45
|
export {};
|
package/package.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"fix-type-alias": "tsc-alias -p tsconfig.json",
|
|
27
27
|
"prepare": "yarn build"
|
|
28
28
|
},
|
|
29
|
-
"version": "0.15.0-dev-
|
|
29
|
+
"version": "0.15.0-dev-6f309335ad30223a136cf38b60f5e283e6f1dd6a",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@vizzly/api-client": "0.0.57",
|
|
32
32
|
"@vizzly/joi": "^17.11.0",
|