@lightdash/common 2.274.5 → 2.275.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/canonicalizeAiMerge.d.ts +23 -0
- package/dist/cjs/ee/AiAgent/canonicalizeAiMerge.d.ts.map +1 -0
- package/dist/cjs/ee/AiAgent/canonicalizeAiMerge.js +86 -0
- package/dist/cjs/ee/AiAgent/canonicalizeAiMerge.js.map +1 -0
- package/dist/cjs/ee/AiAgent/dashboardLayout.d.ts +21 -0
- package/dist/cjs/ee/AiAgent/dashboardLayout.d.ts.map +1 -0
- package/dist/cjs/ee/AiAgent/dashboardLayout.js +84 -0
- package/dist/cjs/ee/AiAgent/dashboardLayout.js.map +1 -0
- package/dist/cjs/ee/AiAgent/index.d.ts +6 -0
- package/dist/cjs/ee/AiAgent/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/index.js +2 -0
- package/dist/cjs/ee/AiAgent/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/requestTypes.d.ts +16 -0
- package/dist/cjs/ee/AiAgent/requestTypes.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/requestTypes.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +172 -124
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.js +30 -2
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +20 -20
- package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.d.ts +22 -22
- package/dist/cjs/ee/AiAgent/schemas/visualizations/index.js +2 -2
- package/dist/cjs/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/utils.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/utils.js +6 -0
- package/dist/cjs/ee/AiAgent/utils.js.map +1 -1
- package/dist/cjs/index.d.ts +2 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/dashboard.d.ts +8 -0
- package/dist/cjs/types/dashboard.d.ts.map +1 -1
- package/dist/cjs/types/dashboard.js.map +1 -1
- package/dist/cjs/types/featureFlags.d.ts +8 -1
- package/dist/cjs/types/featureFlags.d.ts.map +1 -1
- package/dist/cjs/types/featureFlags.js +7 -0
- package/dist/cjs/types/featureFlags.js.map +1 -1
- package/dist/cjs/utils/dashboardTilePositions.d.ts +5 -0
- package/dist/cjs/utils/dashboardTilePositions.d.ts.map +1 -0
- package/dist/cjs/utils/dashboardTilePositions.js +25 -0
- package/dist/cjs/utils/dashboardTilePositions.js.map +1 -0
- package/dist/cjs/utils/savedMerge.d.ts +6 -0
- package/dist/cjs/utils/savedMerge.d.ts.map +1 -0
- package/dist/cjs/utils/savedMerge.js +41 -0
- package/dist/cjs/utils/savedMerge.js.map +1 -0
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/ee/AiAgent/canonicalizeAiMerge.d.ts +23 -0
- package/dist/esm/ee/AiAgent/canonicalizeAiMerge.d.ts.map +1 -0
- package/dist/esm/ee/AiAgent/canonicalizeAiMerge.js +81 -0
- package/dist/esm/ee/AiAgent/canonicalizeAiMerge.js.map +1 -0
- package/dist/esm/ee/AiAgent/dashboardLayout.d.ts +21 -0
- package/dist/esm/ee/AiAgent/dashboardLayout.d.ts.map +1 -0
- package/dist/esm/ee/AiAgent/dashboardLayout.js +79 -0
- package/dist/esm/ee/AiAgent/dashboardLayout.js.map +1 -0
- package/dist/esm/ee/AiAgent/index.d.ts +6 -0
- package/dist/esm/ee/AiAgent/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/index.js +2 -0
- package/dist/esm/ee/AiAgent/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/requestTypes.d.ts +16 -0
- package/dist/esm/ee/AiAgent/requestTypes.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/requestTypes.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +172 -124
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.js +30 -2
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +20 -20
- package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.d.ts +22 -22
- package/dist/esm/ee/AiAgent/schemas/visualizations/index.js +2 -2
- package/dist/esm/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/utils.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/utils.js +6 -0
- package/dist/esm/ee/AiAgent/utils.js.map +1 -1
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/dashboard.d.ts +8 -0
- package/dist/esm/types/dashboard.d.ts.map +1 -1
- package/dist/esm/types/dashboard.js.map +1 -1
- package/dist/esm/types/featureFlags.d.ts +8 -1
- package/dist/esm/types/featureFlags.d.ts.map +1 -1
- package/dist/esm/types/featureFlags.js +7 -0
- package/dist/esm/types/featureFlags.js.map +1 -1
- package/dist/esm/utils/dashboardTilePositions.d.ts +5 -0
- package/dist/esm/utils/dashboardTilePositions.d.ts.map +1 -0
- package/dist/esm/utils/dashboardTilePositions.js +21 -0
- package/dist/esm/utils/dashboardTilePositions.js.map +1 -0
- package/dist/esm/utils/savedMerge.d.ts +6 -0
- package/dist/esm/utils/savedMerge.d.ts.map +1 -0
- package/dist/esm/utils/savedMerge.js +37 -0
- package/dist/esm/utils/savedMerge.js.map +1 -0
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/canonicalizeAiMerge.d.ts +23 -0
- package/dist/types/ee/AiAgent/canonicalizeAiMerge.d.ts.map +1 -0
- package/dist/types/ee/AiAgent/canonicalizeAiMerge.js +81 -0
- package/dist/types/ee/AiAgent/canonicalizeAiMerge.js.map +1 -0
- package/dist/types/ee/AiAgent/dashboardLayout.d.ts +21 -0
- package/dist/types/ee/AiAgent/dashboardLayout.d.ts.map +1 -0
- package/dist/types/ee/AiAgent/dashboardLayout.js +79 -0
- package/dist/types/ee/AiAgent/dashboardLayout.js.map +1 -0
- package/dist/types/ee/AiAgent/index.d.ts +6 -0
- package/dist/types/ee/AiAgent/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/index.js +2 -0
- package/dist/types/ee/AiAgent/index.js.map +1 -1
- package/dist/types/ee/AiAgent/requestTypes.d.ts +16 -0
- package/dist/types/ee/AiAgent/requestTypes.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/requestTypes.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +172 -124
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.js +30 -2
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +20 -20
- package/dist/types/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.d.ts +22 -22
- package/dist/types/ee/AiAgent/schemas/visualizations/index.js +2 -2
- package/dist/types/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
- package/dist/types/ee/AiAgent/utils.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/utils.js +6 -0
- package/dist/types/ee/AiAgent/utils.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/types/dashboard.d.ts +8 -0
- package/dist/types/types/dashboard.d.ts.map +1 -1
- package/dist/types/types/dashboard.js.map +1 -1
- package/dist/types/types/featureFlags.d.ts +8 -1
- package/dist/types/types/featureFlags.d.ts.map +1 -1
- package/dist/types/types/featureFlags.js +7 -0
- package/dist/types/types/featureFlags.js.map +1 -1
- package/dist/types/utils/dashboardTilePositions.d.ts +5 -0
- package/dist/types/utils/dashboardTilePositions.d.ts.map +1 -0
- package/dist/types/utils/dashboardTilePositions.js +21 -0
- package/dist/types/utils/dashboardTilePositions.js.map +1 -0
- package/dist/types/utils/savedMerge.d.ts +6 -0
- package/dist/types/utils/savedMerge.d.ts.map +1 -0
- package/dist/types/utils/savedMerge.js +37 -0
- package/dist/types/utils/savedMerge.js.map +1 -0
- package/package.json +1 -1
|
@@ -1649,6 +1649,21 @@ export declare const toolDashboardV2ArgsSchemaPersisted: z.ZodObject<{
|
|
|
1649
1649
|
joinType: z.ZodEnum<typeof import("../../../..").MergeJoinType>;
|
|
1650
1650
|
}, z.core.$strip>>>;
|
|
1651
1651
|
}, z.core.$strip>>;
|
|
1652
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
1653
|
+
template: z.ZodEnum<{
|
|
1654
|
+
analysis: "analysis";
|
|
1655
|
+
balanced: "balanced";
|
|
1656
|
+
comparison: "comparison";
|
|
1657
|
+
overview: "overview";
|
|
1658
|
+
stacked: "stacked";
|
|
1659
|
+
}>;
|
|
1660
|
+
positions: z.ZodArray<z.ZodObject<{
|
|
1661
|
+
x: z.ZodNumber;
|
|
1662
|
+
y: z.ZodNumber;
|
|
1663
|
+
w: z.ZodNumber;
|
|
1664
|
+
h: z.ZodNumber;
|
|
1665
|
+
}, z.core.$strip>>;
|
|
1666
|
+
}, z.core.$strip>>;
|
|
1652
1667
|
}, z.core.$strip>;
|
|
1653
1668
|
export type ToolDashboardV2Args = z.infer<typeof toolDashboardV2ArgsSchemaPersisted>;
|
|
1654
1669
|
export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject<{
|
|
@@ -2522,9 +2537,33 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2522
2537
|
joinType: z.ZodEnum<typeof import("../../../..").MergeJoinType>;
|
|
2523
2538
|
}, z.core.$strip>>>;
|
|
2524
2539
|
}, z.core.$strip>>;
|
|
2540
|
+
layout: z.ZodOptional<z.ZodObject<{
|
|
2541
|
+
template: z.ZodEnum<{
|
|
2542
|
+
analysis: "analysis";
|
|
2543
|
+
balanced: "balanced";
|
|
2544
|
+
comparison: "comparison";
|
|
2545
|
+
overview: "overview";
|
|
2546
|
+
stacked: "stacked";
|
|
2547
|
+
}>;
|
|
2548
|
+
positions: z.ZodArray<z.ZodObject<{
|
|
2549
|
+
x: z.ZodNumber;
|
|
2550
|
+
y: z.ZodNumber;
|
|
2551
|
+
w: z.ZodNumber;
|
|
2552
|
+
h: z.ZodNumber;
|
|
2553
|
+
}, z.core.$strip>>;
|
|
2554
|
+
}, z.core.$strip>>;
|
|
2525
2555
|
}, z.core.$strip>, z.ZodTransform<{
|
|
2526
2556
|
title: string;
|
|
2527
2557
|
description: string;
|
|
2558
|
+
layout?: {
|
|
2559
|
+
template: "analysis" | "balanced" | "comparison" | "overview" | "stacked";
|
|
2560
|
+
positions: {
|
|
2561
|
+
x: number;
|
|
2562
|
+
y: number;
|
|
2563
|
+
w: number;
|
|
2564
|
+
h: number;
|
|
2565
|
+
}[];
|
|
2566
|
+
} | undefined;
|
|
2528
2567
|
visualizations: {
|
|
2529
2568
|
title: string;
|
|
2530
2569
|
description: string;
|
|
@@ -2541,40 +2580,17 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2541
2580
|
parameters: Record<string, string | number | string[] | number[]> | null;
|
|
2542
2581
|
customMetrics: import("..").TransformedCustomMetric[] | null;
|
|
2543
2582
|
tableCalculations: ({
|
|
2544
|
-
name: string;
|
|
2545
|
-
displayName: string;
|
|
2546
|
-
type: "percent_of_column_total";
|
|
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
|
-
orderBy: {
|
|
2556
|
-
fieldId: string;
|
|
2557
|
-
order: "asc" | "desc" | null;
|
|
2558
|
-
}[] | null;
|
|
2559
|
-
partitionBy: string[] | null;
|
|
2560
|
-
frame: {
|
|
2561
|
-
frameType: "range" | "rows";
|
|
2562
|
-
start: {
|
|
2563
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2564
|
-
offset: number | null;
|
|
2565
|
-
} | null;
|
|
2566
|
-
end: {
|
|
2567
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2568
|
-
offset: number | null;
|
|
2569
|
-
};
|
|
2570
|
-
} | null;
|
|
2571
|
-
} | {
|
|
2572
2583
|
name: string;
|
|
2573
2584
|
displayName: string;
|
|
2574
2585
|
type: "formula";
|
|
2575
2586
|
formula: string;
|
|
2576
2587
|
format: "number" | "percent" | null;
|
|
2577
2588
|
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
2589
|
+
} | {
|
|
2590
|
+
name: string;
|
|
2591
|
+
displayName: string;
|
|
2592
|
+
type: "rank_in_column";
|
|
2593
|
+
fieldId: string;
|
|
2578
2594
|
} | {
|
|
2579
2595
|
name: string;
|
|
2580
2596
|
displayName: string;
|
|
@@ -2598,13 +2614,36 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2598
2614
|
} | {
|
|
2599
2615
|
name: string;
|
|
2600
2616
|
displayName: string;
|
|
2601
|
-
type: "
|
|
2617
|
+
type: "percent_of_column_total";
|
|
2602
2618
|
fieldId: string;
|
|
2619
|
+
partitionBy: string[] | null;
|
|
2603
2620
|
} | {
|
|
2604
2621
|
name: string;
|
|
2605
2622
|
displayName: string;
|
|
2606
2623
|
type: "running_total";
|
|
2607
2624
|
fieldId: string;
|
|
2625
|
+
} | {
|
|
2626
|
+
name: string;
|
|
2627
|
+
displayName: string;
|
|
2628
|
+
type: "window_function";
|
|
2629
|
+
windowFunction: import("../../../..").WindowFunctionType;
|
|
2630
|
+
fieldId: string | null;
|
|
2631
|
+
orderBy: {
|
|
2632
|
+
fieldId: string;
|
|
2633
|
+
order: "asc" | "desc" | null;
|
|
2634
|
+
}[] | null;
|
|
2635
|
+
partitionBy: string[] | null;
|
|
2636
|
+
frame: {
|
|
2637
|
+
frameType: "range" | "rows";
|
|
2638
|
+
start: {
|
|
2639
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2640
|
+
offset: number | null;
|
|
2641
|
+
} | null;
|
|
2642
|
+
end: {
|
|
2643
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2644
|
+
offset: number | null;
|
|
2645
|
+
};
|
|
2646
|
+
} | null;
|
|
2608
2647
|
})[] | null;
|
|
2609
2648
|
filters: import("../../../..").Filters;
|
|
2610
2649
|
};
|
|
@@ -2679,17 +2718,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2679
2718
|
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;
|
|
2680
2719
|
filters: {
|
|
2681
2720
|
filter: {
|
|
2682
|
-
fieldId: string;
|
|
2683
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
2684
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
2685
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
2686
|
-
} | {
|
|
2687
|
-
fieldId: string;
|
|
2688
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
2689
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
2690
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
2691
|
-
values: boolean[];
|
|
2692
|
-
} | {
|
|
2693
2721
|
fieldId: string;
|
|
2694
2722
|
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
2695
2723
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
@@ -2700,6 +2728,17 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2700
2728
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
2701
2729
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
2702
2730
|
values: string[];
|
|
2731
|
+
} | {
|
|
2732
|
+
fieldId: string;
|
|
2733
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
2734
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
2735
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
2736
|
+
} | {
|
|
2737
|
+
fieldId: string;
|
|
2738
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
2739
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
2740
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
2741
|
+
values: boolean[];
|
|
2703
2742
|
} | {
|
|
2704
2743
|
fieldId: string;
|
|
2705
2744
|
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;
|
|
@@ -2777,40 +2816,17 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2777
2816
|
periodOffset: number;
|
|
2778
2817
|
})[] | null;
|
|
2779
2818
|
tableCalculations: ({
|
|
2780
|
-
name: string;
|
|
2781
|
-
displayName: string;
|
|
2782
|
-
type: "percent_of_column_total";
|
|
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
|
-
orderBy: {
|
|
2792
|
-
fieldId: string;
|
|
2793
|
-
order: "asc" | "desc" | null;
|
|
2794
|
-
}[] | null;
|
|
2795
|
-
partitionBy: string[] | null;
|
|
2796
|
-
frame: {
|
|
2797
|
-
frameType: "range" | "rows";
|
|
2798
|
-
start: {
|
|
2799
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2800
|
-
offset: number | null;
|
|
2801
|
-
} | null;
|
|
2802
|
-
end: {
|
|
2803
|
-
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2804
|
-
offset: number | null;
|
|
2805
|
-
};
|
|
2806
|
-
} | null;
|
|
2807
|
-
} | {
|
|
2808
2819
|
name: string;
|
|
2809
2820
|
displayName: string;
|
|
2810
2821
|
type: "formula";
|
|
2811
2822
|
formula: string;
|
|
2812
2823
|
format: "number" | "percent" | null;
|
|
2813
2824
|
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
2825
|
+
} | {
|
|
2826
|
+
name: string;
|
|
2827
|
+
displayName: string;
|
|
2828
|
+
type: "rank_in_column";
|
|
2829
|
+
fieldId: string;
|
|
2814
2830
|
} | {
|
|
2815
2831
|
name: string;
|
|
2816
2832
|
displayName: string;
|
|
@@ -2834,28 +2850,40 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2834
2850
|
} | {
|
|
2835
2851
|
name: string;
|
|
2836
2852
|
displayName: string;
|
|
2837
|
-
type: "
|
|
2853
|
+
type: "percent_of_column_total";
|
|
2838
2854
|
fieldId: string;
|
|
2855
|
+
partitionBy: string[] | null;
|
|
2839
2856
|
} | {
|
|
2840
2857
|
name: string;
|
|
2841
2858
|
displayName: string;
|
|
2842
2859
|
type: "running_total";
|
|
2843
2860
|
fieldId: string;
|
|
2861
|
+
} | {
|
|
2862
|
+
name: string;
|
|
2863
|
+
displayName: string;
|
|
2864
|
+
type: "window_function";
|
|
2865
|
+
windowFunction: import("../../../..").WindowFunctionType;
|
|
2866
|
+
fieldId: string | null;
|
|
2867
|
+
orderBy: {
|
|
2868
|
+
fieldId: string;
|
|
2869
|
+
order: "asc" | "desc" | null;
|
|
2870
|
+
}[] | null;
|
|
2871
|
+
partitionBy: string[] | null;
|
|
2872
|
+
frame: {
|
|
2873
|
+
frameType: "range" | "rows";
|
|
2874
|
+
start: {
|
|
2875
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2876
|
+
offset: number | null;
|
|
2877
|
+
} | null;
|
|
2878
|
+
end: {
|
|
2879
|
+
type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
|
|
2880
|
+
offset: number | null;
|
|
2881
|
+
};
|
|
2882
|
+
} | null;
|
|
2844
2883
|
})[] | null;
|
|
2845
2884
|
filters: {
|
|
2846
2885
|
type: "and" | "or";
|
|
2847
2886
|
dimensions: ({
|
|
2848
|
-
fieldId: string;
|
|
2849
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
2850
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
2851
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
2852
|
-
} | {
|
|
2853
|
-
fieldId: string;
|
|
2854
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
2855
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
2856
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
2857
|
-
values: boolean[];
|
|
2858
|
-
} | {
|
|
2859
2887
|
fieldId: string;
|
|
2860
2888
|
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
2861
2889
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
@@ -2866,6 +2894,17 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2866
2894
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
2867
2895
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
2868
2896
|
values: string[];
|
|
2897
|
+
} | {
|
|
2898
|
+
fieldId: string;
|
|
2899
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
2900
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
2901
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
2902
|
+
} | {
|
|
2903
|
+
fieldId: string;
|
|
2904
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
2905
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
2906
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
2907
|
+
values: boolean[];
|
|
2869
2908
|
} | {
|
|
2870
2909
|
fieldId: string;
|
|
2871
2910
|
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;
|
|
@@ -2934,17 +2973,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2934
2973
|
values: string[];
|
|
2935
2974
|
})[] | null;
|
|
2936
2975
|
metrics: ({
|
|
2937
|
-
fieldId: string;
|
|
2938
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
2939
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
2940
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
2941
|
-
} | {
|
|
2942
|
-
fieldId: string;
|
|
2943
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
2944
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
2945
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
2946
|
-
values: boolean[];
|
|
2947
|
-
} | {
|
|
2948
2976
|
fieldId: string;
|
|
2949
2977
|
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
2950
2978
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
@@ -2955,6 +2983,17 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
2955
2983
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
2956
2984
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
2957
2985
|
values: string[];
|
|
2986
|
+
} | {
|
|
2987
|
+
fieldId: string;
|
|
2988
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
2989
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
2990
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
2991
|
+
} | {
|
|
2992
|
+
fieldId: string;
|
|
2993
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
2994
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
2995
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
2996
|
+
values: boolean[];
|
|
2958
2997
|
} | {
|
|
2959
2998
|
fieldId: string;
|
|
2960
2999
|
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;
|
|
@@ -3088,17 +3127,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
3088
3127
|
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;
|
|
3089
3128
|
filters: {
|
|
3090
3129
|
filter: {
|
|
3091
|
-
fieldId: string;
|
|
3092
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
3093
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
3094
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
3095
|
-
} | {
|
|
3096
|
-
fieldId: string;
|
|
3097
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
3098
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
3099
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
3100
|
-
values: boolean[];
|
|
3101
|
-
} | {
|
|
3102
3130
|
fieldId: string;
|
|
3103
3131
|
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
3104
3132
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
@@ -3109,6 +3137,17 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
3109
3137
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
3110
3138
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
3111
3139
|
values: string[];
|
|
3140
|
+
} | {
|
|
3141
|
+
fieldId: string;
|
|
3142
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
3143
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
3144
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
3145
|
+
} | {
|
|
3146
|
+
fieldId: string;
|
|
3147
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
3148
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
3149
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
3150
|
+
values: boolean[];
|
|
3112
3151
|
} | {
|
|
3113
3152
|
fieldId: string;
|
|
3114
3153
|
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;
|
|
@@ -3188,17 +3227,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
3188
3227
|
filters: {
|
|
3189
3228
|
type: "and" | "or";
|
|
3190
3229
|
dimensions: ({
|
|
3191
|
-
fieldId: string;
|
|
3192
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
3193
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
3194
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
3195
|
-
} | {
|
|
3196
|
-
fieldId: string;
|
|
3197
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
3198
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
3199
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
3200
|
-
values: boolean[];
|
|
3201
|
-
} | {
|
|
3202
3230
|
fieldId: string;
|
|
3203
3231
|
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
3204
3232
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
@@ -3209,6 +3237,17 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
3209
3237
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
3210
3238
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
3211
3239
|
values: string[];
|
|
3240
|
+
} | {
|
|
3241
|
+
fieldId: string;
|
|
3242
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
3243
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
3244
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
3245
|
+
} | {
|
|
3246
|
+
fieldId: string;
|
|
3247
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
3248
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
3249
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
3250
|
+
values: boolean[];
|
|
3212
3251
|
} | {
|
|
3213
3252
|
fieldId: string;
|
|
3214
3253
|
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;
|
|
@@ -3277,17 +3316,6 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
3277
3316
|
values: string[];
|
|
3278
3317
|
})[] | null;
|
|
3279
3318
|
metrics: ({
|
|
3280
|
-
fieldId: string;
|
|
3281
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
3282
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
3283
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
3284
|
-
} | {
|
|
3285
|
-
fieldId: string;
|
|
3286
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
3287
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
3288
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
3289
|
-
values: boolean[];
|
|
3290
|
-
} | {
|
|
3291
3319
|
fieldId: string;
|
|
3292
3320
|
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
3293
3321
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
@@ -3298,6 +3326,17 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
3298
3326
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
3299
3327
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
3300
3328
|
values: string[];
|
|
3329
|
+
} | {
|
|
3330
|
+
fieldId: string;
|
|
3331
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
3332
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
3333
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
3334
|
+
} | {
|
|
3335
|
+
fieldId: string;
|
|
3336
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
3337
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
3338
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
3339
|
+
values: boolean[];
|
|
3301
3340
|
} | {
|
|
3302
3341
|
fieldId: string;
|
|
3303
3342
|
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;
|
|
@@ -3402,6 +3441,15 @@ export declare const toolDashboardV2ArgsSchemaTransformed: z.ZodPipe<z.ZodObject
|
|
|
3402
3441
|
joinType: import("../../../..").MergeJoinType;
|
|
3403
3442
|
} | null;
|
|
3404
3443
|
}[];
|
|
3444
|
+
layout?: {
|
|
3445
|
+
template: "analysis" | "balanced" | "comparison" | "overview" | "stacked";
|
|
3446
|
+
positions: {
|
|
3447
|
+
x: number;
|
|
3448
|
+
y: number;
|
|
3449
|
+
w: number;
|
|
3450
|
+
h: number;
|
|
3451
|
+
}[];
|
|
3452
|
+
} | undefined;
|
|
3405
3453
|
}>>;
|
|
3406
3454
|
export type ToolDashboardV2ArgsTransformed = z.infer<typeof toolDashboardV2ArgsSchemaTransformed>;
|
|
3407
3455
|
export declare const toolDashboardV2OutputSchema: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolDashboardV2Args.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolDashboardV2Args.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"toolDashboardV2Args.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolDashboardV2Args.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,EAGH,+BAA+B,EAElC,MAAM,oBAAoB,CAAC;AAE5B,eAAO,MAAM,6BAA6B,27CAiBzC,CAAC;AAWF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,+BAA+B,CACzC,CAAC;AAaF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAM1C,CAAC;AAER,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,oCAAoC,CAC9C,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;iBAGtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { isValidDashboardTilePositions } from '../../../../utils/dashboardTilePositions';
|
|
3
|
+
import { AI_DASHBOARD_LAYOUT_TEMPLATES } from '../../dashboardLayout';
|
|
2
4
|
import { baseOutputMetadataSchema } from '../outputMetadata';
|
|
3
5
|
import { createToolSchema } from '../toolSchemaBuilder';
|
|
4
6
|
import { chartConfigBuiltinOnlySchema, toolRunQueryArgsSchema, toolRunQueryArgsSchemaPersisted, toolRunQueryArgsSchemaTransformed, } from './toolRunQueryArgs';
|
|
@@ -50,13 +52,39 @@ export const toolDashboardV2ArgsSchema = createToolSchema()
|
|
|
50
52
|
export const toolDashboardV2ArgsSchemaPersisted = createToolSchema()
|
|
51
53
|
.extend({
|
|
52
54
|
...dashboardV2Fields,
|
|
55
|
+
// A partially validated dashboard may retain one usable visualization.
|
|
53
56
|
visualizations: z
|
|
54
57
|
.array(toolRunQueryArgsSchemaPersisted)
|
|
55
|
-
.min(
|
|
58
|
+
.min(1)
|
|
56
59
|
.max(15)
|
|
57
60
|
.describe(visualizationsDescription),
|
|
61
|
+
// Server-owned presentation metadata; never advertised as tool input.
|
|
62
|
+
layout: z
|
|
63
|
+
.object({
|
|
64
|
+
template: z.enum(AI_DASHBOARD_LAYOUT_TEMPLATES),
|
|
65
|
+
positions: z
|
|
66
|
+
.array(z.object({
|
|
67
|
+
x: z.number().int().nonnegative(),
|
|
68
|
+
y: z.number().int().nonnegative(),
|
|
69
|
+
w: z.number().int().positive(),
|
|
70
|
+
h: z.number().int().positive(),
|
|
71
|
+
}))
|
|
72
|
+
.min(1)
|
|
73
|
+
.max(15),
|
|
74
|
+
})
|
|
75
|
+
.optional(),
|
|
58
76
|
})
|
|
59
|
-
.build()
|
|
77
|
+
.build()
|
|
78
|
+
.superRefine((value, ctx) => {
|
|
79
|
+
if (value.layout &&
|
|
80
|
+
!isValidDashboardTilePositions(value.layout.positions, value.visualizations.length)) {
|
|
81
|
+
ctx.addIssue({
|
|
82
|
+
code: z.ZodIssueCode.custom,
|
|
83
|
+
path: ['layout'],
|
|
84
|
+
message: 'Dashboard layout must place every visualization within the grid without overlap.',
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
});
|
|
60
88
|
export const toolDashboardV2ArgsSchemaTransformed = toolDashboardV2ArgsSchemaPersisted.transform((data) => ({
|
|
61
89
|
...data,
|
|
62
90
|
visualizations: data.visualizations.map((viz) => toolRunQueryArgsSchemaTransformed.parse(viz)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolDashboardV2Args.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolDashboardV2Args.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,gBAAg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AAM,oCAAoC,GAC7C,kCAAkC,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IACpD,GAAG,IAAI;IACP,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAC5C,iCAAiC,CAAC,KAAK,CAAC,GAAG,CAAC,CAC/C;CACJ,CAAC,CAAC,CAAC;AAMR,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,wBAAwB;CACrC,CAAC,CAAC"}
|
|
@@ -969,13 +969,18 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
969
969
|
tableCalculations: ({
|
|
970
970
|
name: string;
|
|
971
971
|
displayName: string;
|
|
972
|
-
type: "
|
|
972
|
+
type: "percent_change_from_previous";
|
|
973
973
|
fieldId: string;
|
|
974
974
|
orderBy: {
|
|
975
975
|
fieldId: string;
|
|
976
976
|
order: "asc" | "desc" | null;
|
|
977
977
|
}[];
|
|
978
978
|
partitionBy: string[] | null;
|
|
979
|
+
} | {
|
|
980
|
+
name: string;
|
|
981
|
+
displayName: string;
|
|
982
|
+
type: "running_total";
|
|
983
|
+
fieldId: string;
|
|
979
984
|
} | {
|
|
980
985
|
name: string;
|
|
981
986
|
displayName: string;
|
|
@@ -986,7 +991,7 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
986
991
|
} | {
|
|
987
992
|
name: string;
|
|
988
993
|
displayName: string;
|
|
989
|
-
type: "
|
|
994
|
+
type: "percent_of_previous_value";
|
|
990
995
|
fieldId: string;
|
|
991
996
|
orderBy: {
|
|
992
997
|
fieldId: string;
|
|
@@ -1004,11 +1009,6 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1004
1009
|
displayName: string;
|
|
1005
1010
|
type: "rank_in_column";
|
|
1006
1011
|
fieldId: string;
|
|
1007
|
-
} | {
|
|
1008
|
-
name: string;
|
|
1009
|
-
displayName: string;
|
|
1010
|
-
type: "running_total";
|
|
1011
|
-
fieldId: string;
|
|
1012
1012
|
} | {
|
|
1013
1013
|
name: string;
|
|
1014
1014
|
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;
|
|
@@ -1146,23 +1152,22 @@ 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
1157
|
name: string;
|
|
1158
1158
|
displayName: string;
|
|
1159
|
-
type: "
|
|
1159
|
+
type: "percent_change_from_previous";
|
|
1160
1160
|
fieldId: string;
|
|
1161
1161
|
orderBy: {
|
|
1162
1162
|
fieldId: string;
|
|
1163
1163
|
order: "asc" | "desc" | null;
|
|
1164
1164
|
}[];
|
|
1165
1165
|
partitionBy: string[] | null;
|
|
1166
|
+
} | {
|
|
1167
|
+
name: string;
|
|
1168
|
+
displayName: string;
|
|
1169
|
+
type: "running_total";
|
|
1170
|
+
fieldId: string;
|
|
1166
1171
|
} | {
|
|
1167
1172
|
name: string;
|
|
1168
1173
|
displayName: string;
|
|
@@ -1173,7 +1178,7 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1173
1178
|
} | {
|
|
1174
1179
|
name: string;
|
|
1175
1180
|
displayName: string;
|
|
1176
|
-
type: "
|
|
1181
|
+
type: "percent_of_previous_value";
|
|
1177
1182
|
fieldId: string;
|
|
1178
1183
|
orderBy: {
|
|
1179
1184
|
fieldId: string;
|
|
@@ -1191,11 +1196,6 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1191
1196
|
displayName: string;
|
|
1192
1197
|
type: "rank_in_column";
|
|
1193
1198
|
fieldId: string;
|
|
1194
|
-
} | {
|
|
1195
|
-
name: string;
|
|
1196
|
-
displayName: string;
|
|
1197
|
-
type: "running_total";
|
|
1198
|
-
fieldId: string;
|
|
1199
1199
|
} | {
|
|
1200
1200
|
name: string;
|
|
1201
1201
|
displayName: string;
|