@lightdash/common 0.1474.1 → 0.1476.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.
@@ -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",
|
package/dist/types/analytics.js
CHANGED
@@ -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
|
};
|