@lightdash/common 0.1474.1 → 0.1476.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,6 +42,7 @@ export declare enum QueryExecutionContext {
42
42
  DASHBOARD = "dashboardView",
43
43
  AUTOREFRESHED_DASHBOARD = "autorefreshedDashboard",
44
44
  EXPLORE = "exploreView",
45
+ FILTER_AUTOCOMPLETE = "filterAutocomplete",
45
46
  CHART = "chartView",
46
47
  SQL_CHART = "sqlChartView",
47
48
  SQL_RUNNER = "sqlRunner",
@@ -6,6 +6,7 @@ var QueryExecutionContext;
6
6
  QueryExecutionContext["DASHBOARD"] = "dashboardView";
7
7
  QueryExecutionContext["AUTOREFRESHED_DASHBOARD"] = "autorefreshedDashboard";
8
8
  QueryExecutionContext["EXPLORE"] = "exploreView";
9
+ QueryExecutionContext["FILTER_AUTOCOMPLETE"] = "filterAutocomplete";
9
10
  QueryExecutionContext["CHART"] = "chartView";
10
11
  QueryExecutionContext["SQL_CHART"] = "sqlChartView";
11
12
  QueryExecutionContext["SQL_RUNNER"] = "sqlRunner";
@@ -1,8 +1,18 @@
1
1
  import { type WeekDay } from '../utils/timeFrames';
2
+ import { type QueryExecutionContext } from './analytics';
2
3
  import { type AnyType } from './any';
3
4
  import { type SupportedDbtAdapter } from './dbt';
4
5
  import { type DimensionType, type Metric } from './field';
5
6
  import { type CreateWarehouseCredentials } from './projects';
7
+ export type RunQueryTags = {
8
+ project_uuid?: string;
9
+ user_uuid?: string;
10
+ organization_uuid?: string;
11
+ chart_uuid?: string;
12
+ dashboard_uuid?: string;
13
+ explore_name?: string;
14
+ query_context: QueryExecutionContext;
15
+ };
6
16
  export type WarehouseTableSchema = {
7
17
  [column: string]: DimensionType;
8
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/common",
3
- "version": "0.1474.1",
3
+ "version": "0.1476.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [