@devtable/dashboard 5.1.0 → 5.3.0

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.
@@ -30,6 +30,7 @@ export declare const SQLSnippetsModel: import("mobx-state-tree").IModelType<{
30
30
  key: string;
31
31
  value: string;
32
32
  }[];
33
+ readonly record: Record<string, string>;
33
34
  } & {
34
35
  reset(): void;
35
36
  replace(current: Array<SQLSnippetModelInstance>): void;
@@ -5,6 +5,7 @@ interface IViz {
5
5
  data: $TSFixMe;
6
6
  loading: boolean;
7
7
  height: string;
8
+ error?: string;
8
9
  }
9
10
  export declare const Viz: React.FunctionComponent<IViz>;
10
11
  export {};
@@ -3,6 +3,7 @@ import { ITemplateVariable } from '~/utils/template';
3
3
  export interface ICartesianChartSeriesItem {
4
4
  type: 'line' | 'bar' | 'scatter';
5
5
  name: string;
6
+ display_name_on_line: boolean;
6
7
  showSymbol: false;
7
8
  symbolSize: number;
8
9
  y_axis_data_key: string;
@@ -3,7 +3,9 @@ import { ContextInfoType } from '../model/context';
3
3
  import { SQLSnippetModelInstance } from '../model/sql-snippets';
4
4
  export declare function explainSQLSnippet(snippet: string, context: ContextInfoType, filterValues: FilterValuesType): any;
5
5
  export declare function formatSQL(sql: string, params?: Record<string, $TSFixMe>): any;
6
- export declare function getSQLParams(context: ContextInfoType, sqlSnippets: SQLSnippetModelInstance[], filterValues: FilterValuesType): Record<string, any> & ContextInfoType & {
6
+ export declare function getSQLParams(context: ContextInfoType, sqlSnippets: SQLSnippetModelInstance[], filterValues: FilterValuesType): {
7
+ context: ContextInfoType;
7
8
  filters: FilterValuesType;
9
+ sql_snippets: Record<string, any>;
8
10
  };
9
11
  export declare function explainSQL(sql: string, context: ContextInfoType, sqlSnippets: SQLSnippetModelInstance[], filterValues: FilterValuesType): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtable/dashboard",
3
- "version": "5.1.0",
3
+ "version": "5.3.0",
4
4
  "license": "Apache-2.0",
5
5
  "publishConfig": {
6
6
  "access": "public",