@lightdash/common 0.2077.5 → 0.2078.1
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/ee/AiAgent/filterExploreByTags.d.ts +23 -12
- package/dist/cjs/ee/AiAgent/filterExploreByTags.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/filterExploreByTags.js +57 -28
- package/dist/cjs/ee/AiAgent/filterExploreByTags.js.map +1 -1
- package/dist/cjs/ee/AiAgent/filterExploreByTags.test.js +220 -18
- package/dist/cjs/ee/AiAgent/filterExploreByTags.test.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts +1210 -0
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.js +2 -1
- package/dist/cjs/ee/AiAgent/schemas/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js +8 -4
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts +3 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js +4 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +109 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.js +103 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.js.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +216 -0
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.js +87 -30
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.d.ts +14 -2
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.js +10 -7
- package/dist/cjs/ee/AiAgent/schemas/toolSchemaBuilder.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +2218 -4
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindChartsArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindChartsArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +52 -4
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +23 -8
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolImproveContext.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolImproveContext.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +354 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +354 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +354 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +354 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/utils.d.ts +69 -0
- package/dist/cjs/ee/AiAgent/utils.d.ts.map +1 -1
- package/dist/cjs/types/catalog.d.ts +0 -2
- package/dist/cjs/types/catalog.d.ts.map +1 -1
- package/dist/cjs/types/catalog.js.map +1 -1
- package/dist/cjs/types/field.d.ts +42 -1
- package/dist/cjs/types/field.d.ts.map +1 -1
- package/dist/cjs/types/field.js +25 -1
- package/dist/cjs/types/field.js.map +1 -1
- package/dist/esm/ee/AiAgent/filterExploreByTags.d.ts +23 -12
- package/dist/esm/ee/AiAgent/filterExploreByTags.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/filterExploreByTags.js +57 -28
- package/dist/esm/ee/AiAgent/filterExploreByTags.js.map +1 -1
- package/dist/esm/ee/AiAgent/filterExploreByTags.test.js +220 -18
- package/dist/esm/ee/AiAgent/filterExploreByTags.test.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.d.ts +1210 -0
- package/dist/esm/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.js +3 -2
- package/dist/esm/ee/AiAgent/schemas/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js +8 -4
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts +3 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js +5 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +109 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.js +100 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.js.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +216 -0
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.js +88 -31
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.d.ts +14 -2
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.js +10 -5
- package/dist/esm/ee/AiAgent/schemas/toolSchemaBuilder.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +2218 -4
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindChartsArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindChartsArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +52 -4
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +22 -7
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolImproveContext.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolImproveContext.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +354 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +354 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +354 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +354 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/utils.d.ts +69 -0
- package/dist/esm/ee/AiAgent/utils.d.ts.map +1 -1
- package/dist/esm/types/catalog.d.ts +0 -2
- package/dist/esm/types/catalog.d.ts.map +1 -1
- package/dist/esm/types/catalog.js.map +1 -1
- package/dist/esm/types/field.d.ts +42 -1
- package/dist/esm/types/field.d.ts.map +1 -1
- package/dist/esm/types/field.js +24 -0
- package/dist/esm/types/field.js.map +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/filterExploreByTags.d.ts +23 -12
- package/dist/types/ee/AiAgent/filterExploreByTags.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/index.d.ts +1210 -0
- package/dist/types/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcBaseSchemas.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts +3 -0
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcPercentOfColumnTotal.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts +109 -0
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcWindowFunction.d.ts.map +1 -0
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts +216 -0
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/toolSchemaBuilder.d.ts +14 -2
- package/dist/types/ee/AiAgent/schemas/toolSchemaBuilder.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts +2218 -4
- package/dist/types/ee/AiAgent/schemas/tools/toolDashboardArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +52 -4
- package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +354 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +354 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +354 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +354 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/utils.d.ts +69 -0
- package/dist/types/ee/AiAgent/utils.d.ts.map +1 -1
- package/dist/types/types/catalog.d.ts +0 -2
- package/dist/types/types/catalog.d.ts.map +1 -1
- package/dist/types/types/field.d.ts +42 -1
- package/dist/types/types/field.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts +0 -2
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts.map +0 -1
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js +0 -56
- package/dist/cjs/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts +0 -2
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts.map +0 -1
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js +0 -54
- package/dist/esm/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.js.map +0 -1
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts +0 -2
- package/dist/types/ee/AiAgent/schemas/tableCalcs/tableCalcs.test.d.ts.map +0 -1
|
@@ -101,16 +101,19 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
|
|
|
101
101
|
} & {
|
|
102
102
|
type: z.ZodLiteral<"percent_of_column_total">;
|
|
103
103
|
fieldId: z.ZodString;
|
|
104
|
+
partitionBy: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
104
105
|
}, "strip", z.ZodTypeAny, {
|
|
105
106
|
name: string;
|
|
106
107
|
fieldId: string;
|
|
107
108
|
type: "percent_of_column_total";
|
|
108
109
|
displayName: string;
|
|
110
|
+
partitionBy: string[] | null;
|
|
109
111
|
}, {
|
|
110
112
|
name: string;
|
|
111
113
|
fieldId: string;
|
|
112
114
|
type: "percent_of_column_total";
|
|
113
115
|
displayName: string;
|
|
116
|
+
partitionBy: string[] | null;
|
|
114
117
|
}>, z.ZodObject<{
|
|
115
118
|
name: z.ZodString;
|
|
116
119
|
displayName: z.ZodString;
|
|
@@ -143,6 +146,111 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
|
|
|
143
146
|
fieldId: string;
|
|
144
147
|
type: "running_total";
|
|
145
148
|
displayName: string;
|
|
149
|
+
}>, z.ZodObject<{
|
|
150
|
+
name: z.ZodString;
|
|
151
|
+
displayName: z.ZodString;
|
|
152
|
+
} & {
|
|
153
|
+
type: z.ZodLiteral<"window_function">;
|
|
154
|
+
windowFunction: z.ZodEnum<["row_number", "percent_rank", "sum", "avg", "count", "min", "max"]>;
|
|
155
|
+
fieldId: z.ZodNullable<z.ZodString>;
|
|
156
|
+
orderBy: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
157
|
+
fieldId: z.ZodString;
|
|
158
|
+
order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
fieldId: string;
|
|
161
|
+
order: "asc" | "desc" | null;
|
|
162
|
+
}, {
|
|
163
|
+
fieldId: string;
|
|
164
|
+
order: "asc" | "desc" | null;
|
|
165
|
+
}>, "many">>;
|
|
166
|
+
partitionBy: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
167
|
+
frame: z.ZodNullable<z.ZodObject<{
|
|
168
|
+
frameType: z.ZodEnum<["rows", "range"]>;
|
|
169
|
+
start: z.ZodNullable<z.ZodObject<{
|
|
170
|
+
type: z.ZodEnum<["unbounded_preceding", "preceding", "current_row", "following", "unbounded_following"]>;
|
|
171
|
+
offset: z.ZodNullable<z.ZodNumber>;
|
|
172
|
+
}, "strip", z.ZodTypeAny, {
|
|
173
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
174
|
+
offset: number | null;
|
|
175
|
+
}, {
|
|
176
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
177
|
+
offset: number | null;
|
|
178
|
+
}>>;
|
|
179
|
+
end: z.ZodObject<{
|
|
180
|
+
type: z.ZodEnum<["unbounded_preceding", "preceding", "current_row", "following", "unbounded_following"]>;
|
|
181
|
+
offset: z.ZodNullable<z.ZodNumber>;
|
|
182
|
+
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
184
|
+
offset: number | null;
|
|
185
|
+
}, {
|
|
186
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
187
|
+
offset: number | null;
|
|
188
|
+
}>;
|
|
189
|
+
}, "strip", z.ZodTypeAny, {
|
|
190
|
+
start: {
|
|
191
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
192
|
+
offset: number | null;
|
|
193
|
+
} | null;
|
|
194
|
+
end: {
|
|
195
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
196
|
+
offset: number | null;
|
|
197
|
+
};
|
|
198
|
+
frameType: "rows" | "range";
|
|
199
|
+
}, {
|
|
200
|
+
start: {
|
|
201
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
202
|
+
offset: number | null;
|
|
203
|
+
} | null;
|
|
204
|
+
end: {
|
|
205
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
206
|
+
offset: number | null;
|
|
207
|
+
};
|
|
208
|
+
frameType: "rows" | "range";
|
|
209
|
+
}>>;
|
|
210
|
+
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
name: string;
|
|
212
|
+
fieldId: string | null;
|
|
213
|
+
type: "window_function";
|
|
214
|
+
displayName: string;
|
|
215
|
+
orderBy: {
|
|
216
|
+
fieldId: string;
|
|
217
|
+
order: "asc" | "desc" | null;
|
|
218
|
+
}[] | null;
|
|
219
|
+
partitionBy: string[] | null;
|
|
220
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
221
|
+
frame: {
|
|
222
|
+
start: {
|
|
223
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
224
|
+
offset: number | null;
|
|
225
|
+
} | null;
|
|
226
|
+
end: {
|
|
227
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
228
|
+
offset: number | null;
|
|
229
|
+
};
|
|
230
|
+
frameType: "rows" | "range";
|
|
231
|
+
} | null;
|
|
232
|
+
}, {
|
|
233
|
+
name: string;
|
|
234
|
+
fieldId: string | null;
|
|
235
|
+
type: "window_function";
|
|
236
|
+
displayName: string;
|
|
237
|
+
orderBy: {
|
|
238
|
+
fieldId: string;
|
|
239
|
+
order: "asc" | "desc" | null;
|
|
240
|
+
}[] | null;
|
|
241
|
+
partitionBy: string[] | null;
|
|
242
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
243
|
+
frame: {
|
|
244
|
+
start: {
|
|
245
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
246
|
+
offset: number | null;
|
|
247
|
+
} | null;
|
|
248
|
+
end: {
|
|
249
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
250
|
+
offset: number | null;
|
|
251
|
+
};
|
|
252
|
+
frameType: "rows" | "range";
|
|
253
|
+
} | null;
|
|
146
254
|
}>]>, "many">>;
|
|
147
255
|
vizConfig: z.ZodObject<{
|
|
148
256
|
exploreName: z.ZodString;
|
|
@@ -1278,6 +1386,7 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
|
|
|
1278
1386
|
fieldId: string;
|
|
1279
1387
|
type: "percent_of_column_total";
|
|
1280
1388
|
displayName: string;
|
|
1389
|
+
partitionBy: string[] | null;
|
|
1281
1390
|
} | {
|
|
1282
1391
|
name: string;
|
|
1283
1392
|
fieldId: string;
|
|
@@ -1288,6 +1397,28 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
|
|
|
1288
1397
|
fieldId: string;
|
|
1289
1398
|
type: "running_total";
|
|
1290
1399
|
displayName: string;
|
|
1400
|
+
} | {
|
|
1401
|
+
name: string;
|
|
1402
|
+
fieldId: string | null;
|
|
1403
|
+
type: "window_function";
|
|
1404
|
+
displayName: string;
|
|
1405
|
+
orderBy: {
|
|
1406
|
+
fieldId: string;
|
|
1407
|
+
order: "asc" | "desc" | null;
|
|
1408
|
+
}[] | null;
|
|
1409
|
+
partitionBy: string[] | null;
|
|
1410
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
1411
|
+
frame: {
|
|
1412
|
+
start: {
|
|
1413
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1414
|
+
offset: number | null;
|
|
1415
|
+
} | null;
|
|
1416
|
+
end: {
|
|
1417
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1418
|
+
offset: number | null;
|
|
1419
|
+
};
|
|
1420
|
+
frameType: "rows" | "range";
|
|
1421
|
+
} | null;
|
|
1291
1422
|
})[] | null;
|
|
1292
1423
|
type: AiResultType.TABLE_RESULT;
|
|
1293
1424
|
description: string;
|
|
@@ -1541,6 +1672,7 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
|
|
|
1541
1672
|
fieldId: string;
|
|
1542
1673
|
type: "percent_of_column_total";
|
|
1543
1674
|
displayName: string;
|
|
1675
|
+
partitionBy: string[] | null;
|
|
1544
1676
|
} | {
|
|
1545
1677
|
name: string;
|
|
1546
1678
|
fieldId: string;
|
|
@@ -1551,6 +1683,28 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
|
|
|
1551
1683
|
fieldId: string;
|
|
1552
1684
|
type: "running_total";
|
|
1553
1685
|
displayName: string;
|
|
1686
|
+
} | {
|
|
1687
|
+
name: string;
|
|
1688
|
+
fieldId: string | null;
|
|
1689
|
+
type: "window_function";
|
|
1690
|
+
displayName: string;
|
|
1691
|
+
orderBy: {
|
|
1692
|
+
fieldId: string;
|
|
1693
|
+
order: "asc" | "desc" | null;
|
|
1694
|
+
}[] | null;
|
|
1695
|
+
partitionBy: string[] | null;
|
|
1696
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
1697
|
+
frame: {
|
|
1698
|
+
start: {
|
|
1699
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1700
|
+
offset: number | null;
|
|
1701
|
+
} | null;
|
|
1702
|
+
end: {
|
|
1703
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
1704
|
+
offset: number | null;
|
|
1705
|
+
};
|
|
1706
|
+
frameType: "rows" | "range";
|
|
1707
|
+
} | null;
|
|
1554
1708
|
})[] | null;
|
|
1555
1709
|
type: AiResultType.TABLE_RESULT;
|
|
1556
1710
|
description: string;
|
|
@@ -1922,16 +2076,19 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
|
1922
2076
|
} & {
|
|
1923
2077
|
type: z.ZodLiteral<"percent_of_column_total">;
|
|
1924
2078
|
fieldId: z.ZodString;
|
|
2079
|
+
partitionBy: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
1925
2080
|
}, "strip", z.ZodTypeAny, {
|
|
1926
2081
|
name: string;
|
|
1927
2082
|
fieldId: string;
|
|
1928
2083
|
type: "percent_of_column_total";
|
|
1929
2084
|
displayName: string;
|
|
2085
|
+
partitionBy: string[] | null;
|
|
1930
2086
|
}, {
|
|
1931
2087
|
name: string;
|
|
1932
2088
|
fieldId: string;
|
|
1933
2089
|
type: "percent_of_column_total";
|
|
1934
2090
|
displayName: string;
|
|
2091
|
+
partitionBy: string[] | null;
|
|
1935
2092
|
}>, z.ZodObject<{
|
|
1936
2093
|
name: z.ZodString;
|
|
1937
2094
|
displayName: z.ZodString;
|
|
@@ -1964,6 +2121,111 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
|
1964
2121
|
fieldId: string;
|
|
1965
2122
|
type: "running_total";
|
|
1966
2123
|
displayName: string;
|
|
2124
|
+
}>, z.ZodObject<{
|
|
2125
|
+
name: z.ZodString;
|
|
2126
|
+
displayName: z.ZodString;
|
|
2127
|
+
} & {
|
|
2128
|
+
type: z.ZodLiteral<"window_function">;
|
|
2129
|
+
windowFunction: z.ZodEnum<["row_number", "percent_rank", "sum", "avg", "count", "min", "max"]>;
|
|
2130
|
+
fieldId: z.ZodNullable<z.ZodString>;
|
|
2131
|
+
orderBy: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2132
|
+
fieldId: z.ZodString;
|
|
2133
|
+
order: z.ZodNullable<z.ZodEnum<["asc", "desc"]>>;
|
|
2134
|
+
}, "strip", z.ZodTypeAny, {
|
|
2135
|
+
fieldId: string;
|
|
2136
|
+
order: "asc" | "desc" | null;
|
|
2137
|
+
}, {
|
|
2138
|
+
fieldId: string;
|
|
2139
|
+
order: "asc" | "desc" | null;
|
|
2140
|
+
}>, "many">>;
|
|
2141
|
+
partitionBy: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
2142
|
+
frame: z.ZodNullable<z.ZodObject<{
|
|
2143
|
+
frameType: z.ZodEnum<["rows", "range"]>;
|
|
2144
|
+
start: z.ZodNullable<z.ZodObject<{
|
|
2145
|
+
type: z.ZodEnum<["unbounded_preceding", "preceding", "current_row", "following", "unbounded_following"]>;
|
|
2146
|
+
offset: z.ZodNullable<z.ZodNumber>;
|
|
2147
|
+
}, "strip", z.ZodTypeAny, {
|
|
2148
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2149
|
+
offset: number | null;
|
|
2150
|
+
}, {
|
|
2151
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2152
|
+
offset: number | null;
|
|
2153
|
+
}>>;
|
|
2154
|
+
end: z.ZodObject<{
|
|
2155
|
+
type: z.ZodEnum<["unbounded_preceding", "preceding", "current_row", "following", "unbounded_following"]>;
|
|
2156
|
+
offset: z.ZodNullable<z.ZodNumber>;
|
|
2157
|
+
}, "strip", z.ZodTypeAny, {
|
|
2158
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2159
|
+
offset: number | null;
|
|
2160
|
+
}, {
|
|
2161
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2162
|
+
offset: number | null;
|
|
2163
|
+
}>;
|
|
2164
|
+
}, "strip", z.ZodTypeAny, {
|
|
2165
|
+
start: {
|
|
2166
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2167
|
+
offset: number | null;
|
|
2168
|
+
} | null;
|
|
2169
|
+
end: {
|
|
2170
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2171
|
+
offset: number | null;
|
|
2172
|
+
};
|
|
2173
|
+
frameType: "rows" | "range";
|
|
2174
|
+
}, {
|
|
2175
|
+
start: {
|
|
2176
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2177
|
+
offset: number | null;
|
|
2178
|
+
} | null;
|
|
2179
|
+
end: {
|
|
2180
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2181
|
+
offset: number | null;
|
|
2182
|
+
};
|
|
2183
|
+
frameType: "rows" | "range";
|
|
2184
|
+
}>>;
|
|
2185
|
+
}, "strip", z.ZodTypeAny, {
|
|
2186
|
+
name: string;
|
|
2187
|
+
fieldId: string | null;
|
|
2188
|
+
type: "window_function";
|
|
2189
|
+
displayName: string;
|
|
2190
|
+
orderBy: {
|
|
2191
|
+
fieldId: string;
|
|
2192
|
+
order: "asc" | "desc" | null;
|
|
2193
|
+
}[] | null;
|
|
2194
|
+
partitionBy: string[] | null;
|
|
2195
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
2196
|
+
frame: {
|
|
2197
|
+
start: {
|
|
2198
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2199
|
+
offset: number | null;
|
|
2200
|
+
} | null;
|
|
2201
|
+
end: {
|
|
2202
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2203
|
+
offset: number | null;
|
|
2204
|
+
};
|
|
2205
|
+
frameType: "rows" | "range";
|
|
2206
|
+
} | null;
|
|
2207
|
+
}, {
|
|
2208
|
+
name: string;
|
|
2209
|
+
fieldId: string | null;
|
|
2210
|
+
type: "window_function";
|
|
2211
|
+
displayName: string;
|
|
2212
|
+
orderBy: {
|
|
2213
|
+
fieldId: string;
|
|
2214
|
+
order: "asc" | "desc" | null;
|
|
2215
|
+
}[] | null;
|
|
2216
|
+
partitionBy: string[] | null;
|
|
2217
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
2218
|
+
frame: {
|
|
2219
|
+
start: {
|
|
2220
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2221
|
+
offset: number | null;
|
|
2222
|
+
} | null;
|
|
2223
|
+
end: {
|
|
2224
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
2225
|
+
offset: number | null;
|
|
2226
|
+
};
|
|
2227
|
+
frameType: "rows" | "range";
|
|
2228
|
+
} | null;
|
|
1967
2229
|
}>]>, "many">>>;
|
|
1968
2230
|
followUpTools: z.ZodArray<z.ZodUnion<[z.ZodLiteral<AiResultType.VERTICAL_BAR_RESULT>, z.ZodLiteral<AiResultType.TIME_SERIES_RESULT>, z.ZodLiteral<LegacyFollowUpTools.GENERATE_BAR_VIZ>, z.ZodLiteral<LegacyFollowUpTools.GENERATE_TIME_SERIES_VIZ>]>, "many">;
|
|
1969
2231
|
filters: z.ZodEffects<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
@@ -4798,6 +5060,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
|
4798
5060
|
fieldId: string;
|
|
4799
5061
|
type: "percent_of_column_total";
|
|
4800
5062
|
displayName: string;
|
|
5063
|
+
partitionBy: string[] | null;
|
|
4801
5064
|
} | {
|
|
4802
5065
|
name: string;
|
|
4803
5066
|
fieldId: string;
|
|
@@ -4808,6 +5071,28 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
|
4808
5071
|
fieldId: string;
|
|
4809
5072
|
type: "running_total";
|
|
4810
5073
|
displayName: string;
|
|
5074
|
+
} | {
|
|
5075
|
+
name: string;
|
|
5076
|
+
fieldId: string | null;
|
|
5077
|
+
type: "window_function";
|
|
5078
|
+
displayName: string;
|
|
5079
|
+
orderBy: {
|
|
5080
|
+
fieldId: string;
|
|
5081
|
+
order: "asc" | "desc" | null;
|
|
5082
|
+
}[] | null;
|
|
5083
|
+
partitionBy: string[] | null;
|
|
5084
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
5085
|
+
frame: {
|
|
5086
|
+
start: {
|
|
5087
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
5088
|
+
offset: number | null;
|
|
5089
|
+
} | null;
|
|
5090
|
+
end: {
|
|
5091
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
5092
|
+
offset: number | null;
|
|
5093
|
+
};
|
|
5094
|
+
frameType: "rows" | "range";
|
|
5095
|
+
} | null;
|
|
4811
5096
|
})[] | null;
|
|
4812
5097
|
type: AiResultType.TABLE_RESULT;
|
|
4813
5098
|
description: string;
|
|
@@ -5322,6 +5607,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
|
5322
5607
|
fieldId: string;
|
|
5323
5608
|
type: "percent_of_column_total";
|
|
5324
5609
|
displayName: string;
|
|
5610
|
+
partitionBy: string[] | null;
|
|
5325
5611
|
} | {
|
|
5326
5612
|
name: string;
|
|
5327
5613
|
fieldId: string;
|
|
@@ -5332,6 +5618,28 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
|
5332
5618
|
fieldId: string;
|
|
5333
5619
|
type: "running_total";
|
|
5334
5620
|
displayName: string;
|
|
5621
|
+
} | {
|
|
5622
|
+
name: string;
|
|
5623
|
+
fieldId: string | null;
|
|
5624
|
+
type: "window_function";
|
|
5625
|
+
displayName: string;
|
|
5626
|
+
orderBy: {
|
|
5627
|
+
fieldId: string;
|
|
5628
|
+
order: "asc" | "desc" | null;
|
|
5629
|
+
}[] | null;
|
|
5630
|
+
partitionBy: string[] | null;
|
|
5631
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
5632
|
+
frame: {
|
|
5633
|
+
start: {
|
|
5634
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
5635
|
+
offset: number | null;
|
|
5636
|
+
} | null;
|
|
5637
|
+
end: {
|
|
5638
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
5639
|
+
offset: number | null;
|
|
5640
|
+
};
|
|
5641
|
+
frameType: "rows" | "range";
|
|
5642
|
+
} | null;
|
|
5335
5643
|
})[] | null | undefined;
|
|
5336
5644
|
customMetrics?: {
|
|
5337
5645
|
name: string;
|
|
@@ -5366,6 +5674,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
|
5366
5674
|
fieldId: string;
|
|
5367
5675
|
type: "percent_of_column_total";
|
|
5368
5676
|
displayName: string;
|
|
5677
|
+
partitionBy: string[] | null;
|
|
5369
5678
|
} | {
|
|
5370
5679
|
name: string;
|
|
5371
5680
|
fieldId: string;
|
|
@@ -5376,6 +5685,28 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
|
5376
5685
|
fieldId: string;
|
|
5377
5686
|
type: "running_total";
|
|
5378
5687
|
displayName: string;
|
|
5688
|
+
} | {
|
|
5689
|
+
name: string;
|
|
5690
|
+
fieldId: string | null;
|
|
5691
|
+
type: "window_function";
|
|
5692
|
+
displayName: string;
|
|
5693
|
+
orderBy: {
|
|
5694
|
+
fieldId: string;
|
|
5695
|
+
order: "asc" | "desc" | null;
|
|
5696
|
+
}[] | null;
|
|
5697
|
+
partitionBy: string[] | null;
|
|
5698
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
5699
|
+
frame: {
|
|
5700
|
+
start: {
|
|
5701
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
5702
|
+
offset: number | null;
|
|
5703
|
+
} | null;
|
|
5704
|
+
end: {
|
|
5705
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
5706
|
+
offset: number | null;
|
|
5707
|
+
};
|
|
5708
|
+
frameType: "rows" | "range";
|
|
5709
|
+
} | null;
|
|
5379
5710
|
})[] | null;
|
|
5380
5711
|
type: AiResultType.TABLE_RESULT;
|
|
5381
5712
|
description: string;
|
|
@@ -5889,6 +6220,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
|
5889
6220
|
fieldId: string;
|
|
5890
6221
|
type: "percent_of_column_total";
|
|
5891
6222
|
displayName: string;
|
|
6223
|
+
partitionBy: string[] | null;
|
|
5892
6224
|
} | {
|
|
5893
6225
|
name: string;
|
|
5894
6226
|
fieldId: string;
|
|
@@ -5899,6 +6231,28 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
|
5899
6231
|
fieldId: string;
|
|
5900
6232
|
type: "running_total";
|
|
5901
6233
|
displayName: string;
|
|
6234
|
+
} | {
|
|
6235
|
+
name: string;
|
|
6236
|
+
fieldId: string | null;
|
|
6237
|
+
type: "window_function";
|
|
6238
|
+
displayName: string;
|
|
6239
|
+
orderBy: {
|
|
6240
|
+
fieldId: string;
|
|
6241
|
+
order: "asc" | "desc" | null;
|
|
6242
|
+
}[] | null;
|
|
6243
|
+
partitionBy: string[] | null;
|
|
6244
|
+
windowFunction: "row_number" | "percent_rank" | "sum" | "avg" | "count" | "min" | "max";
|
|
6245
|
+
frame: {
|
|
6246
|
+
start: {
|
|
6247
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
6248
|
+
offset: number | null;
|
|
6249
|
+
} | null;
|
|
6250
|
+
end: {
|
|
6251
|
+
type: "unbounded_preceding" | "preceding" | "current_row" | "following" | "unbounded_following";
|
|
6252
|
+
offset: number | null;
|
|
6253
|
+
};
|
|
6254
|
+
frameType: "rows" | "range";
|
|
6255
|
+
} | null;
|
|
5902
6256
|
})[] | null | undefined;
|
|
5903
6257
|
customMetrics?: {
|
|
5904
6258
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolTableVizArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTableVizArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,mBAAmB,EAEtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAS3C,eAAO,MAAM,0BAA0B,0FAA0F,CAAC;AAElI,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"toolTableVizArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTableVizArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,mBAAmB,EAEtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAS3C,eAAO,MAAM,0BAA0B,0FAA0F,CAAC;AAElI,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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olSchemaBuilder';
|
|
|
9
9
|
import visualizationMetadataSchema from '../visualizationMetadata';
|
|
10
10
|
import { tableVizConfigSchema } from '../visualizations';
|
|
11
11
|
export const TOOL_TABLE_VIZ_DESCRIPTION = `Use this tool to query data to display in a table or summarized if limit is set to 1.`;
|
|
12
|
-
export const toolTableVizArgsSchema = createToolSchema(
|
|
12
|
+
export const toolTableVizArgsSchema = createToolSchema({
|
|
13
|
+
type: AiResultType.TABLE_RESULT,
|
|
14
|
+
description: TOOL_TABLE_VIZ_DESCRIPTION,
|
|
15
|
+
})
|
|
13
16
|
.extend({
|
|
14
17
|
...visualizationMetadataSchema.shape,
|
|
15
18
|
customMetrics: customMetricsSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolTableVizArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolTableVizArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,mBAAmB,EACnB,4BAA4B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,2BAA2B,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEzD,MAAM,CAAC,MAAM,0BAA0B,GAAG,uFAAuF,CAAC;AAElI,MAAM,CAAC,MAAM,sBAAsB,GAAG,gBAAgB,
|
|
1
|
+
{"version":3,"file":"toolT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