@vizzly/services 0.15.0-dev-d02b0d08e606abd3a489988143a482c934dbec4e → 0.15.0-dev-9c2a4f1386148486e4dbc207863e04087ddc6226

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,16 +1,19 @@
1
1
  import type { Component } from '../../../shared-logic/src/Component/types';
2
2
  import { ViewConfiguration as ViewConfigurationImported } from 'shared-logic/src/ViewConfiguration/types';
3
- import { Vizzly } from '..';
4
3
  export type ViewConfiguration = ViewConfigurationImported;
4
+ import { QueryEngineConfig } from '../../../shared-logic/src/QueryEngineConfig/types';
5
+ import { Client } from '../../../shared-logic/src/VizzlyConfig/types';
5
6
  type RequiredAttributes<T extends Component.Attributes> = {
6
7
  dataSetId: T['dataSetId'];
7
8
  };
8
9
  export declare class View<T extends Component.Attributes> {
9
10
  attributes: T;
10
- protected vizzly: Vizzly;
11
+ static queryEngineConfig: QueryEngineConfig | null;
11
12
  constructor(attributes: Partial<T> & {
12
13
  type: T['type'];
13
14
  } & RequiredAttributes<T>);
15
+ getQueryEngineConfig(): import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig;
16
+ static setQueryEngineConfig(queryEngineConfigOrClient: QueryEngineConfig | Client | null): void;
14
17
  updateAttributes(newAttributes: Partial<T>): void;
15
18
  }
16
19
  export type AnyView = AreaChart | AreaChartV2 | LineChart | LineChartV2 | BarChart | BarChartV2 | PieChart | BubbleChart | BubbleChartV2 | ScatterChart | ComboChart | ComboChartV2 | PivotTable | BasicTable | HorizontalBarChart | HorizontalBarChartV2 | MercatorMap | SingleStat | Progress | RichText | WaterfallChart | FunnelChart | SunburstChart | RadarChart;
@@ -112,6 +112,7 @@ declare class VizzlyServices {
112
112
  static Editor: typeof Editor;
113
113
  static Header: typeof Header;
114
114
  static Library: typeof Library;
115
+ static View: typeof Views.View;
115
116
  static AreaChart: typeof Views.AreaChart;
116
117
  static AreaChartV2: typeof Views.AreaChartV2;
117
118
  static LineChart: typeof Views.LineChart;
@@ -0,0 +1,2 @@
1
+ import { QueryEngineConfig } from './types';
2
+ export declare const queryEngineConfig: () => QueryEngineConfig;
@@ -0,0 +1,3 @@
1
+ import { Client } from '../VizzlyConfig/types';
2
+ import { QueryEngineConfig } from './types';
3
+ export declare const getQueryEngineConfig: (client: Client | "js") => QueryEngineConfig;
@@ -0,0 +1,3 @@
1
+ import { QueryEngineConfig } from './types';
2
+ export declare const localQueryEngineConfig: import("@vizzly/semantic-layer-public/dist/types").QueryEngineConfig;
3
+ export declare const queryEngineConfig: () => QueryEngineConfig;
@@ -0,0 +1,2 @@
1
+ import { QueryEngineConfig } from './types';
2
+ export declare const queryEngineConfig: () => QueryEngineConfig;
@@ -0,0 +1,2 @@
1
+ import { QueryEngineConfig } from './types';
2
+ export declare const queryEngineConfig: () => QueryEngineConfig;
@@ -0,0 +1,2 @@
1
+ import { QueryEngineConfig } from './types';
2
+ export declare const queryEngineConfig: () => QueryEngineConfig;
@@ -0,0 +1,2 @@
1
+ import { QueryEngineConfig } from './types';
2
+ export declare const queryEngineConfig: () => QueryEngineConfig;
@@ -0,0 +1,2 @@
1
+ import { QueryEngineConfig } from './types';
2
+ export declare const queryEngineConfig: () => QueryEngineConfig;
@@ -0,0 +1,2 @@
1
+ import { QueryEngineConfig } from './types';
2
+ export declare const queryEngineConfig: () => QueryEngineConfig;
@@ -0,0 +1 @@
1
+ export type { Client } from '@vizzly/sqlbuilder-public';
package/package.json CHANGED
@@ -31,7 +31,7 @@
31
31
  "fix-type-alias": "tsc-alias -p tsconfig.types.json",
32
32
  "prepare": "yarn build"
33
33
  },
34
- "version": "0.15.0-dev-d02b0d08e606abd3a489988143a482c934dbec4e",
34
+ "version": "0.15.0-dev-9c2a4f1386148486e4dbc207863e04087ddc6226",
35
35
  "dependencies": {
36
36
  "@vizzly/api-client": "0.0.57",
37
37
  "@vizzly/joi": "^17.11.0",