@lightdash/common 2.455.3 → 2.456.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/homepage/types.d.ts +2 -5
- package/dist/cjs/ee/homepage/types.d.ts.map +1 -1
- package/dist/cjs/ee/homepage/types.js.map +1 -1
- package/dist/cjs/types/recentContent.d.ts +3 -3
- package/dist/cjs/types/recentContent.d.ts.map +1 -1
- package/dist/cjs/types/resourceViewItem.d.ts +2 -2
- package/dist/cjs/types/resourceViewItem.d.ts.map +1 -1
- package/dist/cjs/types/resourceViewItem.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/homepage/types.d.ts +2 -5
- package/dist/esm/ee/homepage/types.d.ts.map +1 -1
- package/dist/esm/ee/homepage/types.js.map +1 -1
- package/dist/esm/types/recentContent.d.ts +3 -3
- package/dist/esm/types/recentContent.d.ts.map +1 -1
- package/dist/esm/types/resourceViewItem.d.ts +2 -2
- package/dist/esm/types/resourceViewItem.d.ts.map +1 -1
- package/dist/esm/types/resourceViewItem.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/homepage/types.d.ts +2 -5
- package/dist/types/ee/homepage/types.d.ts.map +1 -1
- package/dist/types/ee/homepage/types.js.map +1 -1
- package/dist/types/types/recentContent.d.ts +3 -3
- package/dist/types/types/recentContent.d.ts.map +1 -1
- package/dist/types/types/resourceViewItem.d.ts +2 -2
- package/dist/types/types/resourceViewItem.d.ts.map +1 -1
- package/dist/types/types/resourceViewItem.js.map +1 -1
- package/package.json +1 -1
|
@@ -25,22 +25,17 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
25
25
|
parameters: Record<string, string | number | string[] | number[]> | null;
|
|
26
26
|
customMetrics: import("../..").TransformedCustomMetric[] | null;
|
|
27
27
|
tableCalculations: ({
|
|
28
|
-
name: string;
|
|
29
|
-
displayName: string;
|
|
30
|
-
type: "percent_of_previous_value";
|
|
31
|
-
fieldId: string;
|
|
32
|
-
orderBy: {
|
|
33
|
-
fieldId: string;
|
|
34
|
-
order: "asc" | "desc" | null;
|
|
35
|
-
}[];
|
|
36
|
-
partitionBy: string[] | null;
|
|
37
|
-
} | {
|
|
38
28
|
name: string;
|
|
39
29
|
displayName: string;
|
|
40
30
|
type: "formula";
|
|
41
31
|
formula: string;
|
|
42
32
|
format: "number" | "percent" | null;
|
|
43
33
|
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
34
|
+
} | {
|
|
35
|
+
name: string;
|
|
36
|
+
displayName: string;
|
|
37
|
+
type: "rank_in_column";
|
|
38
|
+
fieldId: string;
|
|
44
39
|
} | {
|
|
45
40
|
name: string;
|
|
46
41
|
displayName: string;
|
|
@@ -54,14 +49,19 @@ export declare const getWebAiChartConfig: ({ vizConfig, metricQuery, maxQueryLim
|
|
|
54
49
|
} | {
|
|
55
50
|
name: string;
|
|
56
51
|
displayName: string;
|
|
57
|
-
type: "
|
|
52
|
+
type: "percent_of_previous_value";
|
|
58
53
|
fieldId: string;
|
|
54
|
+
orderBy: {
|
|
55
|
+
fieldId: string;
|
|
56
|
+
order: "asc" | "desc" | null;
|
|
57
|
+
}[];
|
|
59
58
|
partitionBy: string[] | null;
|
|
60
59
|
} | {
|
|
61
60
|
name: string;
|
|
62
61
|
displayName: string;
|
|
63
|
-
type: "
|
|
62
|
+
type: "percent_of_column_total";
|
|
64
63
|
fieldId: string;
|
|
64
|
+
partitionBy: string[] | null;
|
|
65
65
|
} | {
|
|
66
66
|
name: string;
|
|
67
67
|
displayName: string;
|
|
@@ -2590,18 +2590,31 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2590
2590
|
tableCalculations: ({
|
|
2591
2591
|
name: string;
|
|
2592
2592
|
displayName: string;
|
|
2593
|
-
type: "
|
|
2593
|
+
type: "percent_of_column_total";
|
|
2594
2594
|
fieldId: string;
|
|
2595
|
-
orderBy: {
|
|
2596
|
-
fieldId: string;
|
|
2597
|
-
order: "asc" | "desc" | null;
|
|
2598
|
-
}[];
|
|
2599
2595
|
partitionBy: string[] | null;
|
|
2600
2596
|
} | {
|
|
2601
2597
|
name: string;
|
|
2602
2598
|
displayName: string;
|
|
2603
|
-
type: "
|
|
2604
|
-
|
|
2599
|
+
type: "window_function";
|
|
2600
|
+
windowFunction: import("../../../..").WindowFunctionType;
|
|
2601
|
+
fieldId: string | null;
|
|
2602
|
+
orderBy: {
|
|
2603
|
+
fieldId: string;
|
|
2604
|
+
order: "asc" | "desc" | null;
|
|
2605
|
+
}[] | null;
|
|
2606
|
+
partitionBy: string[] | null;
|
|
2607
|
+
frame: {
|
|
2608
|
+
frameType: "range" | "rows";
|
|
2609
|
+
start: {
|
|
2610
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2611
|
+
offset: number | null;
|
|
2612
|
+
} | null;
|
|
2613
|
+
end: {
|
|
2614
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2615
|
+
offset: number | null;
|
|
2616
|
+
};
|
|
2617
|
+
} | null;
|
|
2605
2618
|
} | {
|
|
2606
2619
|
name: string;
|
|
2607
2620
|
displayName: string;
|
|
@@ -2612,7 +2625,7 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2612
2625
|
} | {
|
|
2613
2626
|
name: string;
|
|
2614
2627
|
displayName: string;
|
|
2615
|
-
type: "
|
|
2628
|
+
type: "percent_change_from_previous";
|
|
2616
2629
|
fieldId: string;
|
|
2617
2630
|
orderBy: {
|
|
2618
2631
|
fieldId: string;
|
|
@@ -2622,8 +2635,12 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2622
2635
|
} | {
|
|
2623
2636
|
name: string;
|
|
2624
2637
|
displayName: string;
|
|
2625
|
-
type: "
|
|
2638
|
+
type: "percent_of_previous_value";
|
|
2626
2639
|
fieldId: string;
|
|
2640
|
+
orderBy: {
|
|
2641
|
+
fieldId: string;
|
|
2642
|
+
order: "asc" | "desc" | null;
|
|
2643
|
+
}[];
|
|
2627
2644
|
partitionBy: string[] | null;
|
|
2628
2645
|
} | {
|
|
2629
2646
|
name: string;
|
|
@@ -2633,25 +2650,8 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2633
2650
|
} | {
|
|
2634
2651
|
name: string;
|
|
2635
2652
|
displayName: string;
|
|
2636
|
-
type: "
|
|
2637
|
-
|
|
2638
|
-
fieldId: string | null;
|
|
2639
|
-
orderBy: {
|
|
2640
|
-
fieldId: string;
|
|
2641
|
-
order: "asc" | "desc" | null;
|
|
2642
|
-
}[] | null;
|
|
2643
|
-
partitionBy: string[] | null;
|
|
2644
|
-
frame: {
|
|
2645
|
-
frameType: "range" | "rows";
|
|
2646
|
-
start: {
|
|
2647
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2648
|
-
offset: number | null;
|
|
2649
|
-
} | null;
|
|
2650
|
-
end: {
|
|
2651
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2652
|
-
offset: number | null;
|
|
2653
|
-
};
|
|
2654
|
-
} | null;
|
|
2653
|
+
type: "running_total";
|
|
2654
|
+
fieldId: string;
|
|
2655
2655
|
})[] | null;
|
|
2656
2656
|
filters: import("../../../..").Filters;
|
|
2657
2657
|
};
|
|
@@ -2830,18 +2830,31 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2830
2830
|
tableCalculations: ({
|
|
2831
2831
|
name: string;
|
|
2832
2832
|
displayName: string;
|
|
2833
|
-
type: "
|
|
2833
|
+
type: "percent_of_column_total";
|
|
2834
2834
|
fieldId: string;
|
|
2835
|
-
orderBy: {
|
|
2836
|
-
fieldId: string;
|
|
2837
|
-
order: "asc" | "desc" | null;
|
|
2838
|
-
}[];
|
|
2839
2835
|
partitionBy: string[] | null;
|
|
2840
2836
|
} | {
|
|
2841
2837
|
name: string;
|
|
2842
2838
|
displayName: string;
|
|
2843
|
-
type: "
|
|
2844
|
-
|
|
2839
|
+
type: "window_function";
|
|
2840
|
+
windowFunction: import("../../../..").WindowFunctionType;
|
|
2841
|
+
fieldId: string | null;
|
|
2842
|
+
orderBy: {
|
|
2843
|
+
fieldId: string;
|
|
2844
|
+
order: "asc" | "desc" | null;
|
|
2845
|
+
}[] | null;
|
|
2846
|
+
partitionBy: string[] | null;
|
|
2847
|
+
frame: {
|
|
2848
|
+
frameType: "range" | "rows";
|
|
2849
|
+
start: {
|
|
2850
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2851
|
+
offset: number | null;
|
|
2852
|
+
} | null;
|
|
2853
|
+
end: {
|
|
2854
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2855
|
+
offset: number | null;
|
|
2856
|
+
};
|
|
2857
|
+
} | null;
|
|
2845
2858
|
} | {
|
|
2846
2859
|
name: string;
|
|
2847
2860
|
displayName: string;
|
|
@@ -2852,7 +2865,7 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2852
2865
|
} | {
|
|
2853
2866
|
name: string;
|
|
2854
2867
|
displayName: string;
|
|
2855
|
-
type: "
|
|
2868
|
+
type: "percent_change_from_previous";
|
|
2856
2869
|
fieldId: string;
|
|
2857
2870
|
orderBy: {
|
|
2858
2871
|
fieldId: string;
|
|
@@ -2862,8 +2875,12 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2862
2875
|
} | {
|
|
2863
2876
|
name: string;
|
|
2864
2877
|
displayName: string;
|
|
2865
|
-
type: "
|
|
2878
|
+
type: "percent_of_previous_value";
|
|
2866
2879
|
fieldId: string;
|
|
2880
|
+
orderBy: {
|
|
2881
|
+
fieldId: string;
|
|
2882
|
+
order: "asc" | "desc" | null;
|
|
2883
|
+
}[];
|
|
2867
2884
|
partitionBy: string[] | null;
|
|
2868
2885
|
} | {
|
|
2869
2886
|
name: string;
|
|
@@ -2873,25 +2890,8 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2873
2890
|
} | {
|
|
2874
2891
|
name: string;
|
|
2875
2892
|
displayName: string;
|
|
2876
|
-
type: "
|
|
2877
|
-
|
|
2878
|
-
fieldId: string | null;
|
|
2879
|
-
orderBy: {
|
|
2880
|
-
fieldId: string;
|
|
2881
|
-
order: "asc" | "desc" | null;
|
|
2882
|
-
}[] | null;
|
|
2883
|
-
partitionBy: string[] | null;
|
|
2884
|
-
frame: {
|
|
2885
|
-
frameType: "range" | "rows";
|
|
2886
|
-
start: {
|
|
2887
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2888
|
-
offset: number | null;
|
|
2889
|
-
} | null;
|
|
2890
|
-
end: {
|
|
2891
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2892
|
-
offset: number | null;
|
|
2893
|
-
};
|
|
2894
|
-
} | null;
|
|
2893
|
+
type: "running_total";
|
|
2894
|
+
fieldId: string;
|
|
2895
2895
|
})[] | null;
|
|
2896
2896
|
filters: {
|
|
2897
2897
|
type: "and" | "or";
|
|
@@ -967,22 +967,17 @@ 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
|
-
} | {
|
|
980
970
|
name: string;
|
|
981
971
|
displayName: string;
|
|
982
972
|
type: "formula";
|
|
983
973
|
formula: string;
|
|
984
974
|
format: "number" | "percent" | null;
|
|
985
975
|
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
976
|
+
} | {
|
|
977
|
+
name: string;
|
|
978
|
+
displayName: string;
|
|
979
|
+
type: "rank_in_column";
|
|
980
|
+
fieldId: string;
|
|
986
981
|
} | {
|
|
987
982
|
name: string;
|
|
988
983
|
displayName: string;
|
|
@@ -996,14 +991,19 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
996
991
|
} | {
|
|
997
992
|
name: string;
|
|
998
993
|
displayName: string;
|
|
999
|
-
type: "
|
|
994
|
+
type: "percent_of_previous_value";
|
|
1000
995
|
fieldId: string;
|
|
996
|
+
orderBy: {
|
|
997
|
+
fieldId: string;
|
|
998
|
+
order: "asc" | "desc" | null;
|
|
999
|
+
}[];
|
|
1001
1000
|
partitionBy: string[] | null;
|
|
1002
1001
|
} | {
|
|
1003
1002
|
name: string;
|
|
1004
1003
|
displayName: string;
|
|
1005
|
-
type: "
|
|
1004
|
+
type: "percent_of_column_total";
|
|
1006
1005
|
fieldId: string;
|
|
1006
|
+
partitionBy: string[] | null;
|
|
1007
1007
|
} | {
|
|
1008
1008
|
name: string;
|
|
1009
1009
|
displayName: string;
|
|
@@ -1047,6 +1047,12 @@ 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
|
+
} | {
|
|
1050
1056
|
kind: "aggregation";
|
|
1051
1057
|
name: string;
|
|
1052
1058
|
label: string;
|
|
@@ -1056,17 +1062,6 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1056
1062
|
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;
|
|
1057
1063
|
filters: {
|
|
1058
1064
|
filter: {
|
|
1059
|
-
fieldId: string;
|
|
1060
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1061
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1062
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1063
|
-
} | {
|
|
1064
|
-
fieldId: string;
|
|
1065
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1066
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1067
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
1068
|
-
values: boolean[];
|
|
1069
|
-
} | {
|
|
1070
1065
|
fieldId: string;
|
|
1071
1066
|
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1072
1067
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
@@ -1077,6 +1072,17 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1077
1072
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1078
1073
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
1079
1074
|
values: string[];
|
|
1075
|
+
} | {
|
|
1076
|
+
fieldId: string;
|
|
1077
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1078
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1079
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1080
|
+
} | {
|
|
1081
|
+
fieldId: string;
|
|
1082
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1083
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1084
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
1085
|
+
values: boolean[];
|
|
1080
1086
|
} | {
|
|
1081
1087
|
fieldId: string;
|
|
1082
1088
|
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;
|
|
@@ -1146,30 +1152,19 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1146
1152
|
};
|
|
1147
1153
|
table: string;
|
|
1148
1154
|
}[] | 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
|
-
} | {
|
|
1167
1157
|
name: string;
|
|
1168
1158
|
displayName: string;
|
|
1169
1159
|
type: "formula";
|
|
1170
1160
|
formula: string;
|
|
1171
1161
|
format: "number" | "percent" | null;
|
|
1172
1162
|
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
1163
|
+
} | {
|
|
1164
|
+
name: string;
|
|
1165
|
+
displayName: string;
|
|
1166
|
+
type: "rank_in_column";
|
|
1167
|
+
fieldId: string;
|
|
1173
1168
|
} | {
|
|
1174
1169
|
name: string;
|
|
1175
1170
|
displayName: string;
|
|
@@ -1183,14 +1178,19 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1183
1178
|
} | {
|
|
1184
1179
|
name: string;
|
|
1185
1180
|
displayName: string;
|
|
1186
|
-
type: "
|
|
1181
|
+
type: "percent_of_previous_value";
|
|
1187
1182
|
fieldId: string;
|
|
1183
|
+
orderBy: {
|
|
1184
|
+
fieldId: string;
|
|
1185
|
+
order: "asc" | "desc" | null;
|
|
1186
|
+
}[];
|
|
1188
1187
|
partitionBy: string[] | null;
|
|
1189
1188
|
} | {
|
|
1190
1189
|
name: string;
|
|
1191
1190
|
displayName: string;
|
|
1192
|
-
type: "
|
|
1191
|
+
type: "percent_of_column_total";
|
|
1193
1192
|
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.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1227
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1228
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1229
|
-
} | {
|
|
1230
|
-
fieldId: string;
|
|
1231
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1232
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1233
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
1234
|
-
values: boolean[];
|
|
1235
|
-
} | {
|
|
1236
1225
|
fieldId: string;
|
|
1237
1226
|
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1238
1227
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
@@ -1243,6 +1232,17 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1243
1232
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1244
1233
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
1245
1234
|
values: string[];
|
|
1235
|
+
} | {
|
|
1236
|
+
fieldId: string;
|
|
1237
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1238
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1239
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1240
|
+
} | {
|
|
1241
|
+
fieldId: string;
|
|
1242
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1243
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1244
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
1245
|
+
values: boolean[];
|
|
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.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1316
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1317
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1318
|
-
} | {
|
|
1319
|
-
fieldId: string;
|
|
1320
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1321
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1322
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
1323
|
-
values: boolean[];
|
|
1324
|
-
} | {
|
|
1325
1314
|
fieldId: string;
|
|
1326
1315
|
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1327
1316
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
@@ -1332,6 +1321,17 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1332
1321
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1333
1322
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
1334
1323
|
values: string[];
|
|
1324
|
+
} | {
|
|
1325
|
+
fieldId: string;
|
|
1326
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1327
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1328
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1329
|
+
} | {
|
|
1330
|
+
fieldId: string;
|
|
1331
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1332
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1333
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
1334
|
+
values: boolean[];
|
|
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,13 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
|
22
22
|
tableCalculations: ({
|
|
23
23
|
name: string;
|
|
24
24
|
displayName: string;
|
|
25
|
-
type: "
|
|
25
|
+
type: "percent_of_previous_value";
|
|
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
|
-
frame: {
|
|
40
|
-
frameType: "range" | "rows";
|
|
41
|
-
start: {
|
|
42
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
43
|
-
offset: number | null;
|
|
44
|
-
} | null;
|
|
45
|
-
end: {
|
|
46
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
47
|
-
offset: number | null;
|
|
48
|
-
};
|
|
49
|
-
} | null;
|
|
50
32
|
} | {
|
|
51
33
|
name: string;
|
|
52
34
|
displayName: string;
|
|
@@ -67,12 +49,8 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
|
67
49
|
} | {
|
|
68
50
|
name: string;
|
|
69
51
|
displayName: string;
|
|
70
|
-
type: "
|
|
52
|
+
type: "percent_of_column_total";
|
|
71
53
|
fieldId: string;
|
|
72
|
-
orderBy: {
|
|
73
|
-
fieldId: string;
|
|
74
|
-
order: "asc" | "desc" | null;
|
|
75
|
-
}[];
|
|
76
54
|
partitionBy: string[] | null;
|
|
77
55
|
} | {
|
|
78
56
|
name: string;
|
|
@@ -84,6 +62,28 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
|
84
62
|
displayName: string;
|
|
85
63
|
type: "running_total";
|
|
86
64
|
fieldId: string;
|
|
65
|
+
} | {
|
|
66
|
+
name: string;
|
|
67
|
+
displayName: string;
|
|
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,5 +1,6 @@
|
|
|
1
1
|
import { type ApiSuccess } from '../../types/api/success';
|
|
2
2
|
import { type ProjectMemberRole } from '../../types/projectMemberRole';
|
|
3
|
+
import { type RecentContentItem } from '../../types/recentContent';
|
|
3
4
|
export type HomepageMarkdownBlock = {
|
|
4
5
|
id: string;
|
|
5
6
|
type: 'markdown';
|
|
@@ -242,11 +243,7 @@ export type UpdateHomepageGroupPrioritiesRequest = {
|
|
|
242
243
|
groupUuids: string[];
|
|
243
244
|
};
|
|
244
245
|
export type ApiHomepageAssignmentsResponse = ApiSuccess<HomepageAssignment[]>;
|
|
245
|
-
export type HomepageRecentlyViewedItem =
|
|
246
|
-
contentType: 'chart' | 'dashboard';
|
|
247
|
-
uuid: string;
|
|
248
|
-
viewedAt: Date;
|
|
249
|
-
};
|
|
246
|
+
export type HomepageRecentlyViewedItem = RecentContentItem;
|
|
250
247
|
export type ApiRecentlyViewedResponse = ApiSuccess<HomepageRecentlyViewedItem[]>;
|
|
251
248
|
export type HomepageRow = {
|
|
252
249
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ee/homepage/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ee/homepage/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,KAAK,iBAAiB,EAAE,MA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;AAC1E,eAAO,MAAM,4BAA4B,OAAO,CAAC;AAEjD,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAC;AACrE,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,mBAAmB,CAAC,CAAC;AACtE,MAAM,MAAM,kCAAkC,GAAG,UAAU,CAAC;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/ee/homepage/types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/ee/homepage/types.ts"],"names":[],"mappings":";;;AA4DA;kDACkD;AACrC,QAAA,2BAA2B,GAA+B;IACnE,WAAW;IACX,iBAAiB;CACpB,CAAC;AAEK,MAAM,0BAA0B,GAAG,CACtC,MAAgC,EACzB,EAAE,CAAC,QAAA,2BAA2B,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;AAF9C,QAAA,0BAA0B,GAA1B,0BAA0B,CAEoB;AAE9C,QAAA,wBAAwB,GAAG,CAAC,CAAC;AAC7B,QAAA,oBAAoB,GAAG,EAAE,CAAC;AAwBhC,MAAM,kBAAkB,GAAG,CAC9B,MAAyC,EACjB,EAAE,CAAC,MAAM,CAAC,MAAM,IAAI,QAAQ,CAAC;AAF5C,QAAA,kBAAkB,GAAlB,kBAAkB,CAE0B;AAElD,MAAM,iBAAiB,GAAG,CAC7B,MAAyC,EACnC,EAAE,CACR,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,QAAA,wBAAwB,EAAE,QAAA,oBAAoB,CAAC,CAAC;AAHhE,QAAA,iBAAiB,GAAjB,iBAAiB,CAG+C;AA6JhE,QAAA,kCAAkC,GAG3C;IACA,mBAAmB,EAAE,cAAc;IACnC,oBAAoB,EAAE,SAAS;IAC/B,wBAAwB,EAAE,cAAc;IACxC,eAAe,E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AAG,CACjC,MAAsB,EACR,EAAE,CAAC,CAAC;IAClB,GAAG,MAAM;IACT,yEAAyE;IACzE,yEAAyE;IACzE,IAAI,EAAE,MAAM,CAAC,IAAI;SACZ,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QACX,GAAG,GAAG;QACN,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC;KACvC,CAAC,CAAC;SACF,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;CAC9C,CAAC,CAAC;AAZU,QAAA,qBAAqB,GAArB,qBAAqB,CAY/B;AAsEH;;;;GAIG;AACH,IAAY,oBAOX;AAPD,WAAY,oBAAoB;IAC5B,qEAAqE;IACrE,yCAAiB,CAAA;IACjB,oEAAoE;IACpE,yCAAiB,CAAA;IACjB,2EAA2E;IAC3E,6CAAqB,CAAA;AACzB,CAAC,EAPW,oBAAoB,aAApB,oBAAoB,GAApB,oBAAoB,QAO/B;AAEY,QAAA,0BAA0B,GAGnC;IACA,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE;IAClE,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;IACnE,CAAC,oBAAoB,CAAC,QAAQ,CAAC,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE;CAC1E,CAAC;AA4EF,0EAA0E;AAC7D,QAAA,4BAA4B,GAAG,IAAI,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ApiSuccess } from './api/success';
|
|
2
2
|
import type { UUID } from './api/uuid';
|
|
3
|
-
import type { ChartContent, DashboardContent } from './content';
|
|
4
|
-
export type RecentContentType = 'chart' | 'dashboard';
|
|
3
|
+
import type { ChartContent, DashboardContent, DataAppContent } from './content';
|
|
4
|
+
export type RecentContentType = 'chart' | 'dashboard' | 'data_app';
|
|
5
5
|
export type RecordRecentContentView = {
|
|
6
6
|
projectUuid: UUID;
|
|
7
7
|
contentType: RecentContentType;
|
|
@@ -13,7 +13,7 @@ export type RecentContentItem = {
|
|
|
13
13
|
viewedAt: Date;
|
|
14
14
|
};
|
|
15
15
|
export type RecentContentEntry = RecentContentItem & {
|
|
16
|
-
content: ChartContent | DashboardContent;
|
|
16
|
+
content: ChartContent | DashboardContent | DataAppContent;
|
|
17
17
|
};
|
|
18
18
|
export type ApiRecentContentResponse = ApiSuccess<RecentContentEntry[]>;
|
|
19
19
|
//# sourceMappingURL=recentContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recentContent.d.ts","sourceRoot":"","sources":["../../../src/types/recentContent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"recentContent.d.ts","sourceRoot":"","sources":["../../../src/types/recentContent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEhF,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,WAAW,GAAG,UAAU,CAAC;AAEnE,MAAM,MAAM,uBAAuB,GAAG;IAClC,WAAW,EAAE,IAAI,CAAC;IAClB,WAAW,EAAE,iBAAiB,CAAC;IAC/B,WAAW,EAAE,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC5B,WAAW,EAAE,iBAAiB,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,IAAI,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,GAAG;IACjD,OAAO,EAAE,YAAY,GAAG,gBAAgB,GAAG,cAAc,CAAC;CAC7D,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,kBAAkB,EAAE,CAAC,CAAC"}
|