@lightdash/common 2.216.0 → 2.217.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.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +12 -12
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +56 -56
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +63 -63
- package/dist/cjs/ee/AiAgent/utils.d.ts +25 -25
- package/dist/cjs/ee/apps/sdkFeatures.d.ts.map +1 -1
- package/dist/cjs/ee/apps/sdkFeatures.js +8 -1
- package/dist/cjs/ee/apps/sdkFeatures.js.map +1 -1
- package/dist/cjs/ee/apps/types.d.ts +2 -0
- package/dist/cjs/ee/apps/types.d.ts.map +1 -1
- package/dist/cjs/ee/apps/types.js +5 -1
- package/dist/cjs/ee/apps/types.js.map +1 -1
- package/dist/cjs/ee/homepage/schema.d.ts +140 -0
- package/dist/cjs/ee/homepage/schema.d.ts.map +1 -1
- package/dist/cjs/ee/homepage/schema.js +9 -9
- package/dist/cjs/ee/homepage/schema.js.map +1 -1
- package/dist/cjs/ee/types/managedAgent.d.ts +1 -0
- package/dist/cjs/ee/types/managedAgent.d.ts.map +1 -1
- package/dist/cjs/ee/types/managedAgent.js.map +1 -1
- package/dist/cjs/types/api.d.ts +2 -1
- package/dist/cjs/types/api.d.ts.map +1 -1
- package/dist/cjs/types/api.js.map +1 -1
- package/dist/cjs/types/contentAsCode/base.d.ts +2 -1
- package/dist/cjs/types/contentAsCode/base.d.ts.map +1 -1
- package/dist/cjs/types/contentAsCode/base.js +1 -0
- package/dist/cjs/types/contentAsCode/base.js.map +1 -1
- package/dist/cjs/types/contentAsCode/core.d.ts +1 -0
- package/dist/cjs/types/contentAsCode/core.d.ts.map +1 -1
- package/dist/cjs/types/contentAsCode/core.js +1 -0
- package/dist/cjs/types/contentAsCode/core.js.map +1 -1
- package/dist/cjs/types/contentAsCode/homepages.d.ts +78 -0
- package/dist/cjs/types/contentAsCode/homepages.d.ts.map +1 -0
- package/dist/cjs/types/contentAsCode/homepages.js +96 -0
- package/dist/cjs/types/contentAsCode/homepages.js.map +1 -0
- package/dist/cjs/types/contentAsCode/index.d.ts +1 -0
- package/dist/cjs/types/contentAsCode/index.d.ts.map +1 -1
- package/dist/cjs/types/contentAsCode/index.js +1 -0
- package/dist/cjs/types/contentAsCode/index.js.map +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +25 -25
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +56 -56
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +63 -63
- package/dist/esm/ee/AiAgent/utils.d.ts +28 -28
- package/dist/esm/ee/apps/sdkFeatures.d.ts.map +1 -1
- package/dist/esm/ee/apps/sdkFeatures.js +8 -1
- package/dist/esm/ee/apps/sdkFeatures.js.map +1 -1
- package/dist/esm/ee/apps/types.d.ts +2 -0
- package/dist/esm/ee/apps/types.d.ts.map +1 -1
- package/dist/esm/ee/apps/types.js +4 -0
- package/dist/esm/ee/apps/types.js.map +1 -1
- package/dist/esm/ee/homepage/schema.d.ts +140 -0
- package/dist/esm/ee/homepage/schema.d.ts.map +1 -1
- package/dist/esm/ee/homepage/schema.js +4 -4
- package/dist/esm/ee/homepage/schema.js.map +1 -1
- package/dist/esm/ee/types/managedAgent.d.ts +1 -0
- package/dist/esm/ee/types/managedAgent.d.ts.map +1 -1
- package/dist/esm/ee/types/managedAgent.js.map +1 -1
- package/dist/esm/types/api.d.ts +2 -1
- package/dist/esm/types/api.d.ts.map +1 -1
- package/dist/esm/types/api.js.map +1 -1
- package/dist/esm/types/contentAsCode/base.d.ts +2 -1
- package/dist/esm/types/contentAsCode/base.d.ts.map +1 -1
- package/dist/esm/types/contentAsCode/base.js +1 -0
- package/dist/esm/types/contentAsCode/base.js.map +1 -1
- package/dist/esm/types/contentAsCode/core.d.ts +1 -0
- package/dist/esm/types/contentAsCode/core.d.ts.map +1 -1
- package/dist/esm/types/contentAsCode/core.js +1 -0
- package/dist/esm/types/contentAsCode/core.js.map +1 -1
- package/dist/esm/types/contentAsCode/homepages.d.ts +78 -0
- package/dist/esm/types/contentAsCode/homepages.d.ts.map +1 -0
- package/dist/esm/types/contentAsCode/homepages.js +92 -0
- package/dist/esm/types/contentAsCode/homepages.js.map +1 -0
- package/dist/esm/types/contentAsCode/index.d.ts +1 -0
- package/dist/esm/types/contentAsCode/index.d.ts.map +1 -1
- package/dist/esm/types/contentAsCode/index.js +1 -0
- package/dist/esm/types/contentAsCode/index.js.map +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +25 -25
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +56 -56
- package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +63 -63
- package/dist/types/ee/AiAgent/utils.d.ts +28 -28
- package/dist/types/ee/apps/sdkFeatures.d.ts.map +1 -1
- package/dist/types/ee/apps/sdkFeatures.js +8 -1
- package/dist/types/ee/apps/sdkFeatures.js.map +1 -1
- package/dist/types/ee/apps/types.d.ts +2 -0
- package/dist/types/ee/apps/types.d.ts.map +1 -1
- package/dist/types/ee/apps/types.js +4 -0
- package/dist/types/ee/apps/types.js.map +1 -1
- package/dist/types/ee/homepage/schema.d.ts +140 -0
- package/dist/types/ee/homepage/schema.d.ts.map +1 -1
- package/dist/types/ee/homepage/schema.js +4 -4
- package/dist/types/ee/homepage/schema.js.map +1 -1
- package/dist/types/ee/types/managedAgent.d.ts +1 -0
- package/dist/types/ee/types/managedAgent.d.ts.map +1 -1
- package/dist/types/ee/types/managedAgent.js.map +1 -1
- package/dist/types/types/api.d.ts +2 -1
- package/dist/types/types/api.d.ts.map +1 -1
- package/dist/types/types/api.js.map +1 -1
- package/dist/types/types/contentAsCode/base.d.ts +2 -1
- package/dist/types/types/contentAsCode/base.d.ts.map +1 -1
- package/dist/types/types/contentAsCode/base.js +1 -0
- package/dist/types/types/contentAsCode/base.js.map +1 -1
- package/dist/types/types/contentAsCode/core.d.ts +1 -0
- package/dist/types/types/contentAsCode/core.d.ts.map +1 -1
- package/dist/types/types/contentAsCode/core.js +1 -0
- package/dist/types/types/contentAsCode/core.js.map +1 -1
- package/dist/types/types/contentAsCode/homepages.d.ts +78 -0
- package/dist/types/types/contentAsCode/homepages.d.ts.map +1 -0
- package/dist/types/types/contentAsCode/homepages.js +92 -0
- package/dist/types/types/contentAsCode/homepages.js.map +1 -0
- package/dist/types/types/contentAsCode/index.d.ts +1 -0
- package/dist/types/types/contentAsCode/index.d.ts.map +1 -1
- package/dist/types/types/contentAsCode/index.js +1 -0
- package/dist/types/types/contentAsCode/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -27,13 +27,31 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
27
27
|
tableCalculations: ({
|
|
28
28
|
name: string;
|
|
29
29
|
displayName: string;
|
|
30
|
-
type: "
|
|
30
|
+
type: "percent_of_column_total";
|
|
31
31
|
fieldId: string;
|
|
32
|
+
partitionBy: string[] | null;
|
|
33
|
+
} | {
|
|
34
|
+
name: string;
|
|
35
|
+
displayName: string;
|
|
36
|
+
type: "window_function";
|
|
37
|
+
windowFunction: import("../../../..").WindowFunctionType;
|
|
38
|
+
fieldId: string | null;
|
|
32
39
|
orderBy: {
|
|
33
40
|
fieldId: string;
|
|
34
41
|
order: "asc" | "desc" | null;
|
|
35
|
-
}[];
|
|
42
|
+
}[] | null;
|
|
36
43
|
partitionBy: string[] | null;
|
|
44
|
+
frame: {
|
|
45
|
+
frameType: "range" | "rows";
|
|
46
|
+
start: {
|
|
47
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
48
|
+
offset: number | null;
|
|
49
|
+
} | null;
|
|
50
|
+
end: {
|
|
51
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
52
|
+
offset: number | null;
|
|
53
|
+
};
|
|
54
|
+
} | null;
|
|
37
55
|
} | {
|
|
38
56
|
name: string;
|
|
39
57
|
displayName: string;
|
|
@@ -54,8 +72,12 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
54
72
|
} | {
|
|
55
73
|
name: string;
|
|
56
74
|
displayName: string;
|
|
57
|
-
type: "
|
|
75
|
+
type: "percent_of_previous_value";
|
|
58
76
|
fieldId: string;
|
|
77
|
+
orderBy: {
|
|
78
|
+
fieldId: string;
|
|
79
|
+
order: "asc" | "desc" | null;
|
|
80
|
+
}[];
|
|
59
81
|
partitionBy: string[] | null;
|
|
60
82
|
} | {
|
|
61
83
|
name: string;
|
|
@@ -67,28 +89,6 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
67
89
|
displayName: string;
|
|
68
90
|
type: "running_total";
|
|
69
91
|
fieldId: string;
|
|
70
|
-
} | {
|
|
71
|
-
name: string;
|
|
72
|
-
displayName: string;
|
|
73
|
-
type: "window_function";
|
|
74
|
-
windowFunction: import("../../../..").WindowFunctionType;
|
|
75
|
-
fieldId: string | null;
|
|
76
|
-
orderBy: {
|
|
77
|
-
fieldId: string;
|
|
78
|
-
order: "asc" | "desc" | null;
|
|
79
|
-
}[] | null;
|
|
80
|
-
partitionBy: string[] | null;
|
|
81
|
-
frame: {
|
|
82
|
-
frameType: "range" | "rows";
|
|
83
|
-
start: {
|
|
84
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
85
|
-
offset: number | null;
|
|
86
|
-
} | null;
|
|
87
|
-
end: {
|
|
88
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
89
|
-
offset: number | null;
|
|
90
|
-
};
|
|
91
|
-
} | null;
|
|
92
92
|
})[] | null;
|
|
93
93
|
filters: import("../../../..").Filters;
|
|
94
94
|
};
|
|
@@ -2543,31 +2543,18 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2543
2543
|
tableCalculations: ({
|
|
2544
2544
|
name: string;
|
|
2545
2545
|
displayName: string;
|
|
2546
|
-
type: "
|
|
2546
|
+
type: "percent_change_from_previous";
|
|
2547
2547
|
fieldId: string;
|
|
2548
|
-
partitionBy: string[] | null;
|
|
2549
|
-
} | {
|
|
2550
|
-
name: string;
|
|
2551
|
-
displayName: string;
|
|
2552
|
-
type: "window_function";
|
|
2553
|
-
windowFunction: import("../../../..").WindowFunctionType;
|
|
2554
|
-
fieldId: string | null;
|
|
2555
2548
|
orderBy: {
|
|
2556
2549
|
fieldId: string;
|
|
2557
2550
|
order: "asc" | "desc" | null;
|
|
2558
|
-
}[]
|
|
2551
|
+
}[];
|
|
2559
2552
|
partitionBy: string[] | null;
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
} | null;
|
|
2566
|
-
end: {
|
|
2567
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2568
|
-
offset: number | null;
|
|
2569
|
-
};
|
|
2570
|
-
} | null;
|
|
2553
|
+
} | {
|
|
2554
|
+
name: string;
|
|
2555
|
+
displayName: string;
|
|
2556
|
+
type: "running_total";
|
|
2557
|
+
fieldId: string;
|
|
2571
2558
|
} | {
|
|
2572
2559
|
name: string;
|
|
2573
2560
|
displayName: string;
|
|
@@ -2578,7 +2565,7 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2578
2565
|
} | {
|
|
2579
2566
|
name: string;
|
|
2580
2567
|
displayName: string;
|
|
2581
|
-
type: "
|
|
2568
|
+
type: "percent_of_previous_value";
|
|
2582
2569
|
fieldId: string;
|
|
2583
2570
|
orderBy: {
|
|
2584
2571
|
fieldId: string;
|
|
@@ -2588,12 +2575,8 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2588
2575
|
} | {
|
|
2589
2576
|
name: string;
|
|
2590
2577
|
displayName: string;
|
|
2591
|
-
type: "
|
|
2578
|
+
type: "percent_of_column_total";
|
|
2592
2579
|
fieldId: string;
|
|
2593
|
-
orderBy: {
|
|
2594
|
-
fieldId: string;
|
|
2595
|
-
order: "asc" | "desc" | null;
|
|
2596
|
-
}[];
|
|
2597
2580
|
partitionBy: string[] | null;
|
|
2598
2581
|
} | {
|
|
2599
2582
|
name: string;
|
|
@@ -2603,8 +2586,25 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2603
2586
|
} | {
|
|
2604
2587
|
name: string;
|
|
2605
2588
|
displayName: string;
|
|
2606
|
-
type: "
|
|
2607
|
-
|
|
2589
|
+
type: "window_function";
|
|
2590
|
+
windowFunction: import("../../../..").WindowFunctionType;
|
|
2591
|
+
fieldId: string | null;
|
|
2592
|
+
orderBy: {
|
|
2593
|
+
fieldId: string;
|
|
2594
|
+
order: "asc" | "desc" | null;
|
|
2595
|
+
}[] | null;
|
|
2596
|
+
partitionBy: string[] | null;
|
|
2597
|
+
frame: {
|
|
2598
|
+
frameType: "range" | "rows";
|
|
2599
|
+
start: {
|
|
2600
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2601
|
+
offset: number | null;
|
|
2602
|
+
} | null;
|
|
2603
|
+
end: {
|
|
2604
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2605
|
+
offset: number | null;
|
|
2606
|
+
};
|
|
2607
|
+
} | null;
|
|
2608
2608
|
})[] | null;
|
|
2609
2609
|
filters: import("../../../..").Filters;
|
|
2610
2610
|
};
|
|
@@ -2779,31 +2779,18 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2779
2779
|
tableCalculations: ({
|
|
2780
2780
|
name: string;
|
|
2781
2781
|
displayName: string;
|
|
2782
|
-
type: "
|
|
2782
|
+
type: "percent_change_from_previous";
|
|
2783
2783
|
fieldId: string;
|
|
2784
|
-
partitionBy: string[] | null;
|
|
2785
|
-
} | {
|
|
2786
|
-
name: string;
|
|
2787
|
-
displayName: string;
|
|
2788
|
-
type: "window_function";
|
|
2789
|
-
windowFunction: import("../../../..").WindowFunctionType;
|
|
2790
|
-
fieldId: string | null;
|
|
2791
2784
|
orderBy: {
|
|
2792
2785
|
fieldId: string;
|
|
2793
2786
|
order: "asc" | "desc" | null;
|
|
2794
|
-
}[]
|
|
2787
|
+
}[];
|
|
2795
2788
|
partitionBy: string[] | null;
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
} | null;
|
|
2802
|
-
end: {
|
|
2803
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2804
|
-
offset: number | null;
|
|
2805
|
-
};
|
|
2806
|
-
} | null;
|
|
2789
|
+
} | {
|
|
2790
|
+
name: string;
|
|
2791
|
+
displayName: string;
|
|
2792
|
+
type: "running_total";
|
|
2793
|
+
fieldId: string;
|
|
2807
2794
|
} | {
|
|
2808
2795
|
name: string;
|
|
2809
2796
|
displayName: string;
|
|
@@ -2814,7 +2801,7 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2814
2801
|
} | {
|
|
2815
2802
|
name: string;
|
|
2816
2803
|
displayName: string;
|
|
2817
|
-
type: "
|
|
2804
|
+
type: "percent_of_previous_value";
|
|
2818
2805
|
fieldId: string;
|
|
2819
2806
|
orderBy: {
|
|
2820
2807
|
fieldId: string;
|
|
@@ -2824,12 +2811,8 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2824
2811
|
} | {
|
|
2825
2812
|
name: string;
|
|
2826
2813
|
displayName: string;
|
|
2827
|
-
type: "
|
|
2814
|
+
type: "percent_of_column_total";
|
|
2828
2815
|
fieldId: string;
|
|
2829
|
-
orderBy: {
|
|
2830
|
-
fieldId: string;
|
|
2831
|
-
order: "asc" | "desc" | null;
|
|
2832
|
-
}[];
|
|
2833
2816
|
partitionBy: string[] | null;
|
|
2834
2817
|
} | {
|
|
2835
2818
|
name: string;
|
|
@@ -2839,8 +2822,25 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2839
2822
|
} | {
|
|
2840
2823
|
name: string;
|
|
2841
2824
|
displayName: string;
|
|
2842
|
-
type: "
|
|
2843
|
-
|
|
2825
|
+
type: "window_function";
|
|
2826
|
+
windowFunction: import("../../../..").WindowFunctionType;
|
|
2827
|
+
fieldId: string | null;
|
|
2828
|
+
orderBy: {
|
|
2829
|
+
fieldId: string;
|
|
2830
|
+
order: "asc" | "desc" | null;
|
|
2831
|
+
}[] | null;
|
|
2832
|
+
partitionBy: string[] | null;
|
|
2833
|
+
frame: {
|
|
2834
|
+
frameType: "range" | "rows";
|
|
2835
|
+
start: {
|
|
2836
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2837
|
+
offset: number | null;
|
|
2838
|
+
} | null;
|
|
2839
|
+
end: {
|
|
2840
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2841
|
+
offset: number | null;
|
|
2842
|
+
};
|
|
2843
|
+
} | null;
|
|
2844
2844
|
})[] | null;
|
|
2845
2845
|
filters: {
|
|
2846
2846
|
type: "and" | "or";
|
|
@@ -967,17 +967,22 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
967
967
|
limit: number | null;
|
|
968
968
|
};
|
|
969
969
|
tableCalculations: ({
|
|
970
|
+
name: string;
|
|
971
|
+
displayName: string;
|
|
972
|
+
type: "percent_of_previous_value";
|
|
973
|
+
fieldId: string;
|
|
974
|
+
orderBy: {
|
|
975
|
+
fieldId: string;
|
|
976
|
+
order: "asc" | "desc" | null;
|
|
977
|
+
}[];
|
|
978
|
+
partitionBy: string[] | null;
|
|
979
|
+
} | {
|
|
970
980
|
name: string;
|
|
971
981
|
displayName: string;
|
|
972
982
|
type: "formula";
|
|
973
983
|
formula: string;
|
|
974
984
|
format: "number" | "percent" | null;
|
|
975
985
|
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
976
|
-
} | {
|
|
977
|
-
name: string;
|
|
978
|
-
displayName: string;
|
|
979
|
-
type: "rank_in_column";
|
|
980
|
-
fieldId: string;
|
|
981
986
|
} | {
|
|
982
987
|
name: string;
|
|
983
988
|
displayName: string;
|
|
@@ -991,19 +996,14 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
991
996
|
} | {
|
|
992
997
|
name: string;
|
|
993
998
|
displayName: string;
|
|
994
|
-
type: "
|
|
999
|
+
type: "percent_of_column_total";
|
|
995
1000
|
fieldId: string;
|
|
996
|
-
orderBy: {
|
|
997
|
-
fieldId: string;
|
|
998
|
-
order: "asc" | "desc" | null;
|
|
999
|
-
}[];
|
|
1000
1001
|
partitionBy: string[] | null;
|
|
1001
1002
|
} | {
|
|
1002
1003
|
name: string;
|
|
1003
1004
|
displayName: string;
|
|
1004
|
-
type: "
|
|
1005
|
+
type: "rank_in_column";
|
|
1005
1006
|
fieldId: string;
|
|
1006
|
-
partitionBy: string[] | null;
|
|
1007
1007
|
} | {
|
|
1008
1008
|
name: string;
|
|
1009
1009
|
displayName: string;
|
|
@@ -1047,12 +1047,6 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1047
1047
|
limit: number | null;
|
|
1048
1048
|
};
|
|
1049
1049
|
customMetrics: ({
|
|
1050
|
-
kind: "periodComparison";
|
|
1051
|
-
baseMetricId: string;
|
|
1052
|
-
timeDimensionId: string;
|
|
1053
|
-
granularity: import("../../../..").TimeFrames;
|
|
1054
|
-
periodOffset: number;
|
|
1055
|
-
} | {
|
|
1056
1050
|
kind: "aggregation";
|
|
1057
1051
|
name: string;
|
|
1058
1052
|
label: string;
|
|
@@ -1062,17 +1056,6 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1062
1056
|
type: import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.MEDIAN;
|
|
1063
1057
|
filters: {
|
|
1064
1058
|
filter: {
|
|
1065
|
-
fieldId: string;
|
|
1066
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1067
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1068
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1069
|
-
} | {
|
|
1070
|
-
fieldId: string;
|
|
1071
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1072
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1073
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
1074
|
-
values: string[];
|
|
1075
|
-
} | {
|
|
1076
1059
|
fieldId: string;
|
|
1077
1060
|
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1078
1061
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
@@ -1083,6 +1066,17 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1083
1066
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1084
1067
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
1085
1068
|
values: boolean[];
|
|
1069
|
+
} | {
|
|
1070
|
+
fieldId: string;
|
|
1071
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1072
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1073
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1074
|
+
} | {
|
|
1075
|
+
fieldId: string;
|
|
1076
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1077
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1078
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
1079
|
+
values: string[];
|
|
1086
1080
|
} | {
|
|
1087
1081
|
fieldId: string;
|
|
1088
1082
|
fieldType: import("../../../..").DimensionType.NUMBER | import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.SUM_DISTINCT | import("../../../..").MetricType.AVERAGE_DISTINCT | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.NUMBER | import("../../../..").MetricType.MEDIAN;
|
|
@@ -1152,19 +1146,30 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1152
1146
|
};
|
|
1153
1147
|
table: string;
|
|
1154
1148
|
}[] | null;
|
|
1149
|
+
} | {
|
|
1150
|
+
kind: "periodComparison";
|
|
1151
|
+
baseMetricId: string;
|
|
1152
|
+
timeDimensionId: string;
|
|
1153
|
+
granularity: import("../../../..").TimeFrames;
|
|
1154
|
+
periodOffset: number;
|
|
1155
1155
|
})[] | null;
|
|
1156
1156
|
tableCalculations: ({
|
|
1157
|
+
name: string;
|
|
1158
|
+
displayName: string;
|
|
1159
|
+
type: "percent_of_previous_value";
|
|
1160
|
+
fieldId: string;
|
|
1161
|
+
orderBy: {
|
|
1162
|
+
fieldId: string;
|
|
1163
|
+
order: "asc" | "desc" | null;
|
|
1164
|
+
}[];
|
|
1165
|
+
partitionBy: string[] | null;
|
|
1166
|
+
} | {
|
|
1157
1167
|
name: string;
|
|
1158
1168
|
displayName: string;
|
|
1159
1169
|
type: "formula";
|
|
1160
1170
|
formula: string;
|
|
1161
1171
|
format: "number" | "percent" | null;
|
|
1162
1172
|
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
1163
|
-
} | {
|
|
1164
|
-
name: string;
|
|
1165
|
-
displayName: string;
|
|
1166
|
-
type: "rank_in_column";
|
|
1167
|
-
fieldId: string;
|
|
1168
1173
|
} | {
|
|
1169
1174
|
name: string;
|
|
1170
1175
|
displayName: string;
|
|
@@ -1178,19 +1183,14 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1178
1183
|
} | {
|
|
1179
1184
|
name: string;
|
|
1180
1185
|
displayName: string;
|
|
1181
|
-
type: "
|
|
1186
|
+
type: "percent_of_column_total";
|
|
1182
1187
|
fieldId: string;
|
|
1183
|
-
orderBy: {
|
|
1184
|
-
fieldId: string;
|
|
1185
|
-
order: "asc" | "desc" | null;
|
|
1186
|
-
}[];
|
|
1187
1188
|
partitionBy: string[] | null;
|
|
1188
1189
|
} | {
|
|
1189
1190
|
name: string;
|
|
1190
1191
|
displayName: string;
|
|
1191
|
-
type: "
|
|
1192
|
+
type: "rank_in_column";
|
|
1192
1193
|
fieldId: string;
|
|
1193
|
-
partitionBy: string[] | null;
|
|
1194
1194
|
} | {
|
|
1195
1195
|
name: string;
|
|
1196
1196
|
displayName: string;
|
|
@@ -1222,17 +1222,6 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1222
1222
|
filters: {
|
|
1223
1223
|
type: "and" | "or";
|
|
1224
1224
|
dimensions: ({
|
|
1225
|
-
fieldId: string;
|
|
1226
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1227
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1228
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1229
|
-
} | {
|
|
1230
|
-
fieldId: string;
|
|
1231
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1232
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1233
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
1234
|
-
values: string[];
|
|
1235
|
-
} | {
|
|
1236
1225
|
fieldId: string;
|
|
1237
1226
|
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1238
1227
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
@@ -1243,6 +1232,17 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1243
1232
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1244
1233
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
1245
1234
|
values: boolean[];
|
|
1235
|
+
} | {
|
|
1236
|
+
fieldId: string;
|
|
1237
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1238
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1239
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1240
|
+
} | {
|
|
1241
|
+
fieldId: string;
|
|
1242
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1243
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1244
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
1245
|
+
values: string[];
|
|
1246
1246
|
} | {
|
|
1247
1247
|
fieldId: string;
|
|
1248
1248
|
fieldType: import("../../../..").DimensionType.NUMBER | import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.SUM_DISTINCT | import("../../../..").MetricType.AVERAGE_DISTINCT | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.NUMBER | import("../../../..").MetricType.MEDIAN;
|
|
@@ -1311,17 +1311,6 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1311
1311
|
values: string[];
|
|
1312
1312
|
})[] | null;
|
|
1313
1313
|
metrics: ({
|
|
1314
|
-
fieldId: string;
|
|
1315
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1316
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1317
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1318
|
-
} | {
|
|
1319
|
-
fieldId: string;
|
|
1320
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1321
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1322
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
1323
|
-
values: string[];
|
|
1324
|
-
} | {
|
|
1325
1314
|
fieldId: string;
|
|
1326
1315
|
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1327
1316
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
@@ -1332,6 +1321,17 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1332
1321
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1333
1322
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
1334
1323
|
values: boolean[];
|
|
1324
|
+
} | {
|
|
1325
|
+
fieldId: string;
|
|
1326
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1327
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1328
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1329
|
+
} | {
|
|
1330
|
+
fieldId: string;
|
|
1331
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1332
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1333
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
1334
|
+
values: string[];
|
|
1335
1335
|
} | {
|
|
1336
1336
|
fieldId: string;
|
|
1337
1337
|
fieldType: import("../../../..").DimensionType.NUMBER | import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.SUM_DISTINCT | import("../../../..").MetricType.AVERAGE_DISTINCT | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.NUMBER | import("../../../..").MetricType.MEDIAN;
|
|
@@ -22,31 +22,18 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
|
22
22
|
tableCalculations: ({
|
|
23
23
|
name: string;
|
|
24
24
|
displayName: string;
|
|
25
|
-
type: "
|
|
25
|
+
type: "percent_change_from_previous";
|
|
26
26
|
fieldId: string;
|
|
27
|
-
partitionBy: string[] | null;
|
|
28
|
-
} | {
|
|
29
|
-
name: string;
|
|
30
|
-
displayName: string;
|
|
31
|
-
type: "window_function";
|
|
32
|
-
windowFunction: import("../..").WindowFunctionType;
|
|
33
|
-
fieldId: string | null;
|
|
34
27
|
orderBy: {
|
|
35
28
|
fieldId: string;
|
|
36
29
|
order: "asc" | "desc" | null;
|
|
37
|
-
}[]
|
|
30
|
+
}[];
|
|
38
31
|
partitionBy: string[] | null;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
} | null;
|
|
45
|
-
end: {
|
|
46
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
47
|
-
offset: number | null;
|
|
48
|
-
};
|
|
49
|
-
} | null;
|
|
32
|
+
} | {
|
|
33
|
+
name: string;
|
|
34
|
+
displayName: string;
|
|
35
|
+
type: "running_total";
|
|
36
|
+
fieldId: string;
|
|
50
37
|
} | {
|
|
51
38
|
name: string;
|
|
52
39
|
displayName: string;
|
|
@@ -57,7 +44,7 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
|
57
44
|
} | {
|
|
58
45
|
name: string;
|
|
59
46
|
displayName: string;
|
|
60
|
-
type: "
|
|
47
|
+
type: "percent_of_previous_value";
|
|
61
48
|
fieldId: string;
|
|
62
49
|
orderBy: {
|
|
63
50
|
fieldId: string;
|
|
@@ -67,12 +54,8 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
|
67
54
|
} | {
|
|
68
55
|
name: string;
|
|
69
56
|
displayName: string;
|
|
70
|
-
type: "
|
|
57
|
+
type: "percent_of_column_total";
|
|
71
58
|
fieldId: string;
|
|
72
|
-
orderBy: {
|
|
73
|
-
fieldId: string;
|
|
74
|
-
order: "asc" | "desc" | null;
|
|
75
|
-
}[];
|
|
76
59
|
partitionBy: string[] | null;
|
|
77
60
|
} | {
|
|
78
61
|
name: string;
|
|
@@ -82,8 +65,25 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
|
82
65
|
} | {
|
|
83
66
|
name: string;
|
|
84
67
|
displayName: string;
|
|
85
|
-
type: "
|
|
86
|
-
|
|
68
|
+
type: "window_function";
|
|
69
|
+
windowFunction: import("../..").WindowFunctionType;
|
|
70
|
+
fieldId: string | null;
|
|
71
|
+
orderBy: {
|
|
72
|
+
fieldId: string;
|
|
73
|
+
order: "asc" | "desc" | null;
|
|
74
|
+
}[] | null;
|
|
75
|
+
partitionBy: string[] | null;
|
|
76
|
+
frame: {
|
|
77
|
+
frameType: "range" | "rows";
|
|
78
|
+
start: {
|
|
79
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
80
|
+
offset: number | null;
|
|
81
|
+
} | null;
|
|
82
|
+
end: {
|
|
83
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
84
|
+
offset: number | null;
|
|
85
|
+
};
|
|
86
|
+
} | null;
|
|
87
87
|
})[] | null;
|
|
88
88
|
filters: import("../..").Filters;
|
|
89
89
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdkFeatures.d.ts","sourceRoot":"","sources":["../../../../src/ee/apps/sdkFeatures.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAEtE;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,YAAY,CAAC;AAEzD,eAAO,MAAM,mBAAmB,EAAE,gBAAgB,EAGjD,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,gEAAgE;IAChE,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B;;+EAE2E;IAC3E,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"sdkFeatures.d.ts","sourceRoot":"","sources":["../../../../src/ee/apps/sdkFeatures.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAyB,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAEtE;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,YAAY,CAAC;AAEzD,eAAO,MAAM,mBAAmB,EAAE,gBAAgB,EAGjD,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,gEAAgE;IAChE,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B;;+EAE2E;IAC3E,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,UAAU,EAgJpC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,MAAM,EAAmC,CAAC;AAEzE,eAAO,MAAM,mBAAmB,YACnB,IAAI,CAAC,UAAU,EAAE,WAAW,CAAC,UAC9B,gBAAgB,KACzB,OAA6C,CAAC;AAEjD,0EAA0E;AAC1E,eAAO,MAAM,uBAAuB,WACxB,gBAAgB,KACzB,UAAU,EAAgE,CAAC;AAE9E;qDACqD;AACrD,eAAO,MAAM,8BAA8B,aAC7B,eAAe,GAAG,IAAI,GAAG,SAAS,KAC7C,gBAC+D,CAAC"}
|
|
@@ -121,7 +121,14 @@ export const SDK_FEATURES = [
|
|
|
121
121
|
appliesTo: ['chart_type'],
|
|
122
122
|
label: 'View underlying data',
|
|
123
123
|
description: 'Open the raw result rows behind a clicked data point in a reusable visualization, with CSV/XLSX download.',
|
|
124
|
-
wiring: 'In the viz, keep the untransformed source row on each interactive datum, show a data-point action menu only when useVizContext().underlyingData.enabled and the mark maps to exactly one source row,
|
|
124
|
+
wiring: 'In the viz, keep the untransformed source row on each interactive datum, show a data-point action menu only when useVizContext().underlyingData.enabled and the mark maps to exactly one source row, and call underlyingData.open({ row, metric }) on selection. Lightdash opens the standard dialog and owns its table, loading, error, and download controls.',
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
key: 'viz-host-underlying-data',
|
|
128
|
+
appliesTo: ['chart_type'],
|
|
129
|
+
label: 'View underlying data in Lightdash',
|
|
130
|
+
description: 'Open the standard Lightdash underlying-data dialog from a reusable visualization, with the table and download controls owned by Lightdash.',
|
|
131
|
+
wiring: 'Replace any underlying-data dialog, table, fetch, and download UI in the viz with underlyingData.open({ row: datum.sourceRow, metric: "<field name>" }). Keep only the data-point action menu in the viz, gated on underlyingData.enabled; Lightdash owns the dialog.',
|
|
125
132
|
},
|
|
126
133
|
{
|
|
127
134
|
key: 'viz-drill-down',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdkFeatures.js","sourceRoot":"","sources":["../../../../src/ee/apps/sd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C;QACzB,KAAK,EAAE,sBAAsB;QAC7B,WAAW,EACP,2GAA2G;QAC/G,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"sdkFeatures.js","sourceRoot":"","sources":["../../../../src/ee/apps/sdkFeatures.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,qBAAqB,EAAwB,MAAM,SAAS,CAAC;AAUtE,MAAM,CAAC,MAAM,mBAAmB,GAAuB;IACnD,UAAU;IACV,YAAY;CACf,CAAC;AAcF,MAAM,CAAC,MAAM,YAAY,GAAiB;IACtC;QACI,GAAG,EAAE,OAAO;QACZ,SAAS,EAAE,CAAC,UAAU,CAAC;QACvB,KAAK,EAAE,wBAAwB;QAC/B,WAAW,EACP,wEAAwE;KAC/E;IACD;QACI,GAAG,EAAE,gBAAgB;QACrB,SAAS,EAAE,CAAC,UAAU,CAAC;QACvB,KAAK,EAAE,gBAAgB;QACvB,WAAW,EACP,wFAAwF;QAC5F,MAAM,EAAE,8GAA8G;KACzH;IACD;QACI,GAAG,EAAE,aAAa;QAClB,SAAS,EAAE,CAAC,UAAU,CAAC;QACvB,KAAK,EAAE,qBAAqB;QAC5B,WAAW,EACP,qEAAqE;KAC5E;IACD;QACI,GAAG,EAAE,YAAY;QACjB,SAAS,EAAE,CAAC,UAAU,CAAC;QACvB,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EACP,0FAA0F;KACjG;IACD;QACI,GAAG,EAAE,SAAS;QACd,SAAS,EAAE,CAAC,UAAU,CAAC;QACvB,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EACP,2FAA2F;KAClG;IACD;QACI,GAAG,EAAE,SAAS;QACd,SAAS,EAAE,CAAC,UAAU,CAAC;QACvB,KAAK,EAAE,cAAc;QACrB,WAAW,EACP,iHAAiH;QACrH,MAAM,EAAE,qKAAqK;KAChL;IACD;QACI,GAAG,EAAE,YAAY;QACjB,SAAS,EAAE,CAAC,UAAU,EAAE,YAAY,CAAC;QACrC,KAAK,E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695
|
export declare const APP_SDK_COLOR_SCHEME_MESSAGE = "lightdash:sdk:theme";
|
|
696
696
|
export declare const APP_SDK_COLOR_SCHEME_REQUEST_MESSAGE = "lightdash:sdk:theme-request";
|
|
697
697
|
export declare const APP_SDK_VIZ_UNDERLYING_DATA_PATH = "/__sdk/viz/underlying-data";
|
|
698
|
+
export declare const APP_SDK_VIZ_UNDERLYING_DATA_OPEN_PATH = "/__sdk/viz/underlying-data/open";
|
|
698
699
|
export type DataAppVizUnderlyingDataIntent = {
|
|
699
700
|
row: ResultRow;
|
|
700
701
|
metric: string;
|
|
@@ -715,6 +716,7 @@ export type DataAppVizContext = {
|
|
|
715
716
|
pivotDetails: ReadyQueryResultsPage['pivotDetails'];
|
|
716
717
|
underlyingData: {
|
|
717
718
|
enabled: boolean;
|
|
719
|
+
openEnabled?: boolean;
|
|
718
720
|
};
|
|
719
721
|
drillDown: {
|
|
720
722
|
enabled: boolean;
|