@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.
@@ -1,4 +1,10 @@
1
- export declare const toQueries: (attributes: import("../../../../../shared-logic/src/Component/types").Component.AreaChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.BasicTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.BubbleChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.DataTableAttributes | import("../../../../../shared-logic/src/Component/types").Component.FunnelChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.HorizontalBarChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.LineChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.BarChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.AreaChartV2Attributes | import("../../../../../shared-logic/src/Component/types").Component.PieChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.SunburstChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RichTextAttributes | import("../../../../../shared-logic/src/Component/types").Component.WaterfallChartAttributes | import("../../../../../shared-logic/src/Component/types").Component.RadarChartAttributes, dataSet: import("../../../../../shared-logic/src/DataSet/types").DataSet<import("../../../../../shared-logic/src/DataSet/types").DataSet.Field>, queryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig, params: import("../../../types").Params) => {
2
- queries: import("../../../../../shared-logic/src/Query/types").Query[];
3
- resultFields: import("../../../../../shared-logic/src/Result/types").Result.Field[][];
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
- views: Section<'views'>;
30
- fields?: Section<'fields'>;
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
- field_metrics?: Section<'fieldCollector'>;
35
+ field_country?: Section<'fieldCollector'>;
36
36
  field_grouping?: Section<'fieldCollector'>;
37
- progress_goals?: Section<'progressGoals'>;
38
- drilldown?: Section<'drilldown'>;
37
+ field_metrics?: Section<'fieldCollector'>;
38
+ field_rows?: Section<'fieldCollector'>;
39
39
  field_x_axis?: Section<'fieldCollector'>;
40
- field_country?: Section<'fieldCollector'>;
41
- sort?: Section<'sort'>;
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 = Section<'dataSet'> | MetricsSection | FieldCollectorSection | LabelledMetricSection | Section<'customMetrics'> | DimensionSection | Section<'drilldown'> | Section<'comparison'> | Section<'comboChartDimension'> | Section<'timeDimension'> | Section<'xAxis'> | Section<'views'> | Section<'sort'> | Section<'filter'> | Section<'limit'> | PaginationSection | Section<'fields'> | Section<'country'> | ProgressGoalsSection;
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-e4e46cdb5d41c2a0c5b2637632228c4a6a4654e0",
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",