@lightdash/common 2.215.3 → 2.216.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/requestTypes.d.ts +8 -0
- package/dist/cjs/ee/AiAgent/requestTypes.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts +2 -2
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/index.js +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.d.ts +3 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.js +13 -2
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts +3 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js +8 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js +5 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts +15 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js +17 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +63 -63
- package/dist/cjs/ee/AiAgent/schemas/visualizations/index.d.ts +4 -2
- package/dist/cjs/ee/AiAgent/schemas/visualizations/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/visualizations/index.js +1 -0
- package/dist/cjs/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/utils.d.ts +25 -25
- package/dist/cjs/ee/apps/elementReference.d.ts +2 -0
- package/dist/cjs/ee/apps/elementReference.d.ts.map +1 -1
- package/dist/cjs/ee/apps/elementReference.js +4 -1
- package/dist/cjs/ee/apps/elementReference.js.map +1 -1
- package/dist/cjs/types/savedCharts.d.ts +5 -0
- package/dist/cjs/types/savedCharts.d.ts.map +1 -1
- package/dist/cjs/types/savedCharts.js.map +1 -1
- package/dist/cjs/visualizations/CartesianChartDataModel.d.ts +1 -0
- package/dist/cjs/visualizations/CartesianChartDataModel.d.ts.map +1 -1
- package/dist/cjs/visualizations/CartesianChartDataModel.js +4 -3
- package/dist/cjs/visualizations/CartesianChartDataModel.js.map +1 -1
- package/dist/cjs/visualizations/CartesianChartDataModel.test.js +30 -0
- package/dist/cjs/visualizations/CartesianChartDataModel.test.js.map +1 -1
- package/dist/cjs/visualizations/helpers/styles/pieChartStyles.d.ts +3 -2
- package/dist/cjs/visualizations/helpers/styles/pieChartStyles.d.ts.map +1 -1
- package/dist/cjs/visualizations/helpers/styles/pieChartStyles.js +11 -4
- package/dist/cjs/visualizations/helpers/styles/pieChartStyles.js.map +1 -1
- package/dist/cjs/visualizations/helpers/styles/pieChartStyles.test.d.ts +2 -0
- package/dist/cjs/visualizations/helpers/styles/pieChartStyles.test.d.ts.map +1 -0
- package/dist/cjs/visualizations/helpers/styles/pieChartStyles.test.js +31 -0
- package/dist/cjs/visualizations/helpers/styles/pieChartStyles.test.js.map +1 -0
- package/dist/cjs/visualizations/helpers/styles/valueLabelStyles.d.ts +4 -3
- package/dist/cjs/visualizations/helpers/styles/valueLabelStyles.d.ts.map +1 -1
- package/dist/cjs/visualizations/helpers/styles/valueLabelStyles.js +4 -3
- package/dist/cjs/visualizations/helpers/styles/valueLabelStyles.js.map +1 -1
- package/dist/cjs/visualizations/helpers/styles/valueLabelStyles.test.js +29 -6
- package/dist/cjs/visualizations/helpers/styles/valueLabelStyles.test.js.map +1 -1
- package/dist/cjs/visualizations/types/index.d.ts +1 -0
- package/dist/cjs/visualizations/types/index.d.ts.map +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/ee/AiAgent/requestTypes.d.ts +8 -0
- package/dist/esm/ee/AiAgent/requestTypes.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.d.ts +2 -2
- package/dist/esm/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/index.js +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.d.ts +3 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.js +11 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts +3 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js +7 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js +6 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts +15 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js +14 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +63 -63
- package/dist/esm/ee/AiAgent/schemas/visualizations/index.d.ts +4 -2
- package/dist/esm/ee/AiAgent/schemas/visualizations/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/visualizations/index.js +1 -0
- package/dist/esm/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
- package/dist/esm/ee/apps/elementReference.d.ts +2 -0
- package/dist/esm/ee/apps/elementReference.d.ts.map +1 -1
- package/dist/esm/ee/apps/elementReference.js +2 -0
- package/dist/esm/ee/apps/elementReference.js.map +1 -1
- package/dist/esm/types/savedCharts.d.ts +5 -0
- package/dist/esm/types/savedCharts.d.ts.map +1 -1
- package/dist/esm/types/savedCharts.js.map +1 -1
- package/dist/esm/visualizations/CartesianChartDataModel.d.ts +1 -0
- package/dist/esm/visualizations/CartesianChartDataModel.d.ts.map +1 -1
- package/dist/esm/visualizations/CartesianChartDataModel.js +4 -3
- package/dist/esm/visualizations/CartesianChartDataModel.js.map +1 -1
- package/dist/esm/visualizations/CartesianChartDataModel.test.js +31 -1
- package/dist/esm/visualizations/CartesianChartDataModel.test.js.map +1 -1
- package/dist/esm/visualizations/helpers/styles/pieChartStyles.d.ts +3 -2
- package/dist/esm/visualizations/helpers/styles/pieChartStyles.d.ts.map +1 -1
- package/dist/esm/visualizations/helpers/styles/pieChartStyles.js +11 -4
- package/dist/esm/visualizations/helpers/styles/pieChartStyles.js.map +1 -1
- package/dist/esm/visualizations/helpers/styles/pieChartStyles.test.d.ts +2 -0
- package/dist/esm/visualizations/helpers/styles/pieChartStyles.test.d.ts.map +1 -0
- package/dist/esm/visualizations/helpers/styles/pieChartStyles.test.js +29 -0
- package/dist/esm/visualizations/helpers/styles/pieChartStyles.test.js.map +1 -0
- package/dist/esm/visualizations/helpers/styles/valueLabelStyles.d.ts +4 -3
- package/dist/esm/visualizations/helpers/styles/valueLabelStyles.d.ts.map +1 -1
- package/dist/esm/visualizations/helpers/styles/valueLabelStyles.js +4 -3
- package/dist/esm/visualizations/helpers/styles/valueLabelStyles.js.map +1 -1
- package/dist/esm/visualizations/helpers/styles/valueLabelStyles.test.js +29 -6
- package/dist/esm/visualizations/helpers/styles/valueLabelStyles.test.js.map +1 -1
- package/dist/esm/visualizations/types/index.d.ts +1 -0
- package/dist/esm/visualizations/types/index.d.ts.map +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/requestTypes.d.ts +8 -0
- package/dist/types/ee/AiAgent/requestTypes.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/index.d.ts +2 -2
- package/dist/types/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/index.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/index.d.ts +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/index.js +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/index.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.d.ts +3 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.js +11 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts +3 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js +7 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js +6 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts +15 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts.map +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js +14 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js.map +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +63 -63
- package/dist/types/ee/AiAgent/schemas/visualizations/index.d.ts +4 -2
- package/dist/types/ee/AiAgent/schemas/visualizations/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/visualizations/index.js +1 -0
- package/dist/types/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
- package/dist/types/ee/apps/elementReference.d.ts +2 -0
- package/dist/types/ee/apps/elementReference.d.ts.map +1 -1
- package/dist/types/ee/apps/elementReference.js +2 -0
- package/dist/types/ee/apps/elementReference.js.map +1 -1
- package/dist/types/types/savedCharts.d.ts +5 -0
- package/dist/types/types/savedCharts.d.ts.map +1 -1
- package/dist/types/types/savedCharts.js.map +1 -1
- package/dist/types/visualizations/CartesianChartDataModel.d.ts +1 -0
- package/dist/types/visualizations/CartesianChartDataModel.d.ts.map +1 -1
- package/dist/types/visualizations/CartesianChartDataModel.js +4 -3
- package/dist/types/visualizations/CartesianChartDataModel.js.map +1 -1
- package/dist/types/visualizations/CartesianChartDataModel.test.js +31 -1
- package/dist/types/visualizations/CartesianChartDataModel.test.js.map +1 -1
- package/dist/types/visualizations/helpers/styles/pieChartStyles.d.ts +3 -2
- package/dist/types/visualizations/helpers/styles/pieChartStyles.d.ts.map +1 -1
- package/dist/types/visualizations/helpers/styles/pieChartStyles.js +11 -4
- package/dist/types/visualizations/helpers/styles/pieChartStyles.js.map +1 -1
- package/dist/types/visualizations/helpers/styles/pieChartStyles.test.d.ts +2 -0
- package/dist/types/visualizations/helpers/styles/pieChartStyles.test.d.ts.map +1 -0
- package/dist/types/visualizations/helpers/styles/pieChartStyles.test.js +29 -0
- package/dist/types/visualizations/helpers/styles/pieChartStyles.test.js.map +1 -0
- package/dist/types/visualizations/helpers/styles/valueLabelStyles.d.ts +4 -3
- package/dist/types/visualizations/helpers/styles/valueLabelStyles.d.ts.map +1 -1
- package/dist/types/visualizations/helpers/styles/valueLabelStyles.js +4 -3
- package/dist/types/visualizations/helpers/styles/valueLabelStyles.js.map +1 -1
- package/dist/types/visualizations/helpers/styles/valueLabelStyles.test.js +29 -6
- package/dist/types/visualizations/helpers/styles/valueLabelStyles.test.js.map +1 -1
- package/dist/types/visualizations/types/index.d.ts +1 -0
- package/dist/types/visualizations/types/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -29,6 +29,11 @@ exports.toolIterateDataAppArgsSchema = zod_1.z.object({
|
|
|
29
29
|
.nullish()
|
|
30
30
|
.default(null)
|
|
31
31
|
.describe('Saved charts (slugs from findContent) whose queries the change builds on; the charts themselves stay unchanged. Omit when the change does not reference saved charts.'),
|
|
32
|
+
themeSlug: zod_1.z
|
|
33
|
+
.string()
|
|
34
|
+
.nullish()
|
|
35
|
+
.default(null)
|
|
36
|
+
.describe(`${toolGenerateDataAppArgs_1.DATA_APP_THEME_SLUG_DESCRIPTION} On an existing app, passing it switches the app's theme; omit it unless the user asked to switch the theme in this request, so the app keeps its current theme.`),
|
|
32
37
|
});
|
|
33
38
|
// The iterate tool shares the create tool's outcome contract: same pending,
|
|
34
39
|
// success, and error shapes, patched by the same build outcome recording.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolIterateDataAppArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qEAAsE;AACtE,
|
|
1
|
+
{"version":3,"file":"toolIterateDataAppArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qEAAsE;AACtE,uEAKmC;AAEtB,QAAA,iCAAiC,GAAG;IAC7C,mFAAmF;IACnF,sMAAsM;IACtM,2HAA2H;IAC3H,wQAAwQ;IACxQ,oIAAoI;IACpI,kPAAkP;CACrP,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEC,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,OAAO,EAAE,OAAC;SACL,MAAM,EAAE;SACR,QAAQ,CACL,yHAAyH,CAC5H;IACL,MAAM,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CACL,yXAAyX,CAC5X;IACL,aAAa,EAAE,OAAC;SACX,MAAM,EAAE;SACR,OAAO,EAAE;SACT,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CACL,4NAA4N,CAC/N;IACL,UAAU,EAAE,OAAC;SACR,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;SACjB,OAAO,EAAE;SACT,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CACL,uKAAuK,CAC1K;IACL,SAAS,EAAE,OAAC;SACP,MAAM,EAAE;SACR,OAAO,EAAE;SACT,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CACL,GAAG,yDAA+B,kKAAkK,CACvM;CACR,CAAC,CAAC;AAEH,4EAA4E;AAC5E,0EAA0E;AAC7D,QAAA,8BAA8B,GAAG,yDAA+B,CAAC;AAUjE,QAAA,0BAA0B,GAAG,IAAA,mDAA0B,EAChE,gBAAgB,EAChB,yDAA+B,CAAC,KAAK,CAAC,QAAQ,CACjD,CAAC;AAEF,0EAA0E;AACnE,MAAM,wBAAwB,GAAG,CAGpC,MAAS,EAKX,EAAE,CAAC,IAAA,qDAA2B,EAAC,MAAM,CAAC,IAAI,IAAA,QAAA,0BAA0B,EAAC,MAAM,CAAC,CAAC;AARlE,QAAA,wBAAwB,GAAxB,wBAAwB,CAQ0C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const TOOL_LIST_DATA_APP_THEMES_DESCRIPTION: string;
|
|
3
|
+
export declare const toolListDataAppThemesArgsSchema: z.ZodObject<{}, z.core.$strip>;
|
|
4
|
+
export declare const toolListDataAppThemesOutputSchema: z.ZodObject<{
|
|
5
|
+
result: z.ZodString;
|
|
6
|
+
metadata: z.ZodObject<{
|
|
7
|
+
status: z.ZodEnum<{
|
|
8
|
+
error: "error";
|
|
9
|
+
success: "success";
|
|
10
|
+
}>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type ToolListDataAppThemesArgs = z.infer<typeof toolListDataAppThemesArgsSchema>;
|
|
14
|
+
export type ToolListDataAppThemesOutput = z.infer<typeof toolListDataAppThemesOutputSchema>;
|
|
15
|
+
//# sourceMappingURL=toolListDataAppThemesArgs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolListDataAppThemesArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,qCAAqC,QAIvC,CAAC;AAEZ,eAAO,MAAM,+BAA+B,gCAA6B,CAAC;AAE1E,eAAO,MAAM,iCAAiC;;;;;;;;iBAG5C,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC3C,OAAO,+BAA+B,CACzC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,iCAAiC,CAC3C,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toolListDataAppThemesOutputSchema = exports.toolListDataAppThemesArgsSchema = exports.TOOL_LIST_DATA_APP_THEMES_DESCRIPTION = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const outputMetadata_1 = require("../outputMetadata");
|
|
6
|
+
const toolSchemaBuilder_1 = require("../toolSchemaBuilder");
|
|
7
|
+
exports.TOOL_LIST_DATA_APP_THEMES_DESCRIPTION = [
|
|
8
|
+
"List the organization's data app themes: slug, name, whether it is the organization default, and its description.",
|
|
9
|
+
'Call it when the user names a theme, brand, or look for a data app and no theme slug is in the attached context; match the request to a theme and pass its slug as themeSlug to generateDataApp or iterateDataApp.',
|
|
10
|
+
'Skip it when the context already carries a theme slug, or when the user says nothing about the look — the organization default applies.',
|
|
11
|
+
].join(' ');
|
|
12
|
+
exports.toolListDataAppThemesArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)().build();
|
|
13
|
+
exports.toolListDataAppThemesOutputSchema = zod_1.z.object({
|
|
14
|
+
result: zod_1.z.string(),
|
|
15
|
+
metadata: outputMetadata_1.baseOutputMetadataSchema,
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=toolListDataAppThemesArgs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolListDataAppThemesArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAA6D;AAC7D,4DAAwD;AAE3C,QAAA,qCAAqC,GAAG;IACjD,mHAAmH;IACnH,oNAAoN;IACpN,yIAAyI;CAC5I,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEC,QAAA,+BAA+B,GAAG,IAAA,oCAAgB,GAAE,CAAC,KAAK,EAAE,CAAC;AAE7D,QAAA,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IACtD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,yCAAwB;CACrC,CAAC,CAAC"}
|
|
@@ -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;
|
|
@@ -32,6 +32,7 @@ export declare const ToolNameSchema: z.ZodEnum<{
|
|
|
32
32
|
grepFields: "grepFields";
|
|
33
33
|
iterateDataApp: "iterateDataApp";
|
|
34
34
|
listContent: "listContent";
|
|
35
|
+
listDataAppThemes: "listDataAppThemes";
|
|
35
36
|
listKnowledgeDocuments: "listKnowledgeDocuments";
|
|
36
37
|
listProjects: "listProjects";
|
|
37
38
|
listWarehouseTables: "listWarehouseTables";
|
|
@@ -90,6 +91,7 @@ export declare const ToolDisplayMessagesSchema: z.ZodRecord<z.ZodEnum<{
|
|
|
90
91
|
grepFields: "grepFields";
|
|
91
92
|
iterateDataApp: "iterateDataApp";
|
|
92
93
|
listContent: "listContent";
|
|
94
|
+
listDataAppThemes: "listDataAppThemes";
|
|
93
95
|
listKnowledgeDocuments: "listKnowledgeDocuments";
|
|
94
96
|
listProjects: "listProjects";
|
|
95
97
|
listWarehouseTables: "listWarehouseTables";
|
|
@@ -113,6 +115,6 @@ export declare const ToolDisplayMessagesSchema: z.ZodRecord<z.ZodEnum<{
|
|
|
113
115
|
syncDbtProject: "syncDbtProject";
|
|
114
116
|
updateUserName: "updateUserName";
|
|
115
117
|
}> & z.core.$partial, z.ZodString>;
|
|
116
|
-
export declare const TOOL_DISPLAY_MESSAGES: Partial<Record<"analyzeFieldImpact" | "closePullRequest" | "createContent" | "createScheduledDelivery" | "delegateResearchTask" | "describeWarehouseTable" | "discoverFields" | "discoverRepos" | "editContent" | "editDbtProject" | "editProjectContext" | "editRepo" | "exploreRepo" | "findCharts" | "findContent" | "findCustomChartTypes" | "findDashboards" | "findExplores" | "findFields" | "generateDashboard" | "generateDataApp" | "generateHashes" | "generateUuids" | "generateVisualization" | "getDashboardCharts" | "getKnowledgeDocumentContent" | "getMetadata" | "getProjectInfo" | "getPullRequestDiff" | "grepFields" | "iterateDataApp" | "listContent" | "listKnowledgeDocuments" | "listProjects" | "listWarehouseTables" | "listWorkstreams" | "loadMcpTools" | "loadProjectContext" | "loadSkill" | "readContent" | "readPinnedThread" | "resolveUrl" | "runComposerQueries" | "runContentQuery" | "runQuery" | "runSavedChart" | "runSql" | "searchFieldValues" | "searchSemanticLayer" | "setupPreviewDeploy" | "submitResearchReport" | "submitWorkerFindings" | "syncDbtProject" | "updateUserName", string>>;
|
|
117
|
-
export declare const TOOL_DISPLAY_MESSAGES_AFTER_TOOL_CALL: Partial<Record<"analyzeFieldImpact" | "closePullRequest" | "createContent" | "createScheduledDelivery" | "delegateResearchTask" | "describeWarehouseTable" | "discoverFields" | "discoverRepos" | "editContent" | "editDbtProject" | "editProjectContext" | "editRepo" | "exploreRepo" | "findCharts" | "findContent" | "findCustomChartTypes" | "findDashboards" | "findExplores" | "findFields" | "generateDashboard" | "generateDataApp" | "generateHashes" | "generateUuids" | "generateVisualization" | "getDashboardCharts" | "getKnowledgeDocumentContent" | "getMetadata" | "getProjectInfo" | "getPullRequestDiff" | "grepFields" | "iterateDataApp" | "listContent" | "listKnowledgeDocuments" | "listProjects" | "listWarehouseTables" | "listWorkstreams" | "loadMcpTools" | "loadProjectContext" | "loadSkill" | "readContent" | "readPinnedThread" | "resolveUrl" | "runComposerQueries" | "runContentQuery" | "runQuery" | "runSavedChart" | "runSql" | "searchFieldValues" | "searchSemanticLayer" | "setupPreviewDeploy" | "submitResearchReport" | "submitWorkerFindings" | "syncDbtProject" | "updateUserName", string>>;
|
|
118
|
+
export declare const TOOL_DISPLAY_MESSAGES: Partial<Record<"analyzeFieldImpact" | "closePullRequest" | "createContent" | "createScheduledDelivery" | "delegateResearchTask" | "describeWarehouseTable" | "discoverFields" | "discoverRepos" | "editContent" | "editDbtProject" | "editProjectContext" | "editRepo" | "exploreRepo" | "findCharts" | "findContent" | "findCustomChartTypes" | "findDashboards" | "findExplores" | "findFields" | "generateDashboard" | "generateDataApp" | "generateHashes" | "generateUuids" | "generateVisualization" | "getDashboardCharts" | "getKnowledgeDocumentContent" | "getMetadata" | "getProjectInfo" | "getPullRequestDiff" | "grepFields" | "iterateDataApp" | "listContent" | "listDataAppThemes" | "listKnowledgeDocuments" | "listProjects" | "listWarehouseTables" | "listWorkstreams" | "loadMcpTools" | "loadProjectContext" | "loadSkill" | "readContent" | "readPinnedThread" | "resolveUrl" | "runComposerQueries" | "runContentQuery" | "runQuery" | "runSavedChart" | "runSql" | "searchFieldValues" | "searchSemanticLayer" | "setupPreviewDeploy" | "submitResearchReport" | "submitWorkerFindings" | "syncDbtProject" | "updateUserName", string>>;
|
|
119
|
+
export declare const TOOL_DISPLAY_MESSAGES_AFTER_TOOL_CALL: Partial<Record<"analyzeFieldImpact" | "closePullRequest" | "createContent" | "createScheduledDelivery" | "delegateResearchTask" | "describeWarehouseTable" | "discoverFields" | "discoverRepos" | "editContent" | "editDbtProject" | "editProjectContext" | "editRepo" | "exploreRepo" | "findCharts" | "findContent" | "findCustomChartTypes" | "findDashboards" | "findExplores" | "findFields" | "generateDashboard" | "generateDataApp" | "generateHashes" | "generateUuids" | "generateVisualization" | "getDashboardCharts" | "getKnowledgeDocumentContent" | "getMetadata" | "getProjectInfo" | "getPullRequestDiff" | "grepFields" | "iterateDataApp" | "listContent" | "listDataAppThemes" | "listKnowledgeDocuments" | "listProjects" | "listWarehouseTables" | "listWorkstreams" | "loadMcpTools" | "loadProjectContext" | "loadSkill" | "readContent" | "readPinnedThread" | "resolveUrl" | "runComposerQueries" | "runContentQuery" | "runQuery" | "runSavedChart" | "runSql" | "searchFieldValues" | "searchSemanticLayer" | "setupPreviewDeploy" | "submitResearchReport" | "submitWorkerFindings" | "syncDbtProject" | "updateUserName", string>>;
|
|
118
120
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/visualizations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/visualizations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwDzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,UAAU,aAAc,MAAM,KAAG,QAAQ,IAAI,QACZ,CAAC;AAG/C,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAGrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,mmCAsDhC,CAAC;AAGH,eAAO,MAAM,qCAAqC,mmCAuD5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/visualizations/index.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,oBAAoB;AACP,QAAA,cAAc,GAAG,OAAC,CAAC,IAAI,CAAC;IACjC,mBAAmB;IACnB,gBAAgB;IAChB,eAAe;IACf,aAAa;IACb,aAAa;IACb,cAAc;IACd,sBAAsB;IACtB,YAAY;IACZ,qBAAqB;IACrB,oBAAoB;IACpB,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,mBAAmB;IACnB,gBAAgB;IAChB,YAAY;IACZ,oBAAoB;IACpB,aAAa;IACb,YAAY;IACZ,aAAa;IACb,eAAe;IACf,yBAAyB;IACzB,gBAAgB;IAChB,iBAAiB;IACjB,cAAc;IACd,gBAAgB;IAChB,WAAW;IACX,oBAAoB;IACpB,cAAc;IACd,iBAAiB;IACjB,gBAAgB;IAChB,gBAAgB;IAChB,oBAAoB;IACpB,UAAU;IACV,gBAAgB;IAChB,aAAa;IACb,eAAe;IACf,iBAAiB;IACjB,kBAAkB;IAClB,oBAAoB;IACpB,uBAAuB;IACvB,oBAAoB;IACpB,UAAU;IACV,eAAe;IACf,QAAQ;IACR,oBAAoB;IACpB,qBAAqB;IACrB,wBAAwB;IACxB,wBAAwB;IACxB,6BAA6B;IAC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AAc;IAC3B,UAAU,EAAE,eAAe;IAC3B,WAAW,EAAE,gBAAgB;IAC7B,aAAa,EAAE,iBAAiB;IAChC,uBAAuB,EAAE,4BAA4B;IACrD,cAAc,EAAE,iBAAiB;IACjC,eAAe,EAAE,mBAAmB;IACpC,YAAY,EAAE,iBAAiB;IAC/B,cAAc,EAAE,qBAAqB;IACrC,SAAS,EAAE,uBAAuB;IAClC,kBAAkB,EAAE,wBAAwB;IAC5C,YAAY,EAAE,kBAAkB;IAChC,eAAe,EAAE,0BAA0B;IAC3C,cAAc,EAAE,0BAA0B;IAC1C,cAAc,EAAE,uBAAuB;IACvC,QAAQ,EAAE,mBAAmB;IAC7B,cAAc,EAAE,oBAAoB;IACpC,WAAW,EAAE,iBAAiB;IAC9B,aAAa,EAAE,yBAAyB;IACxC,eAAe,EAAE,sBAAsB;IACvC,gBAAgB,EAAE,qBAAqB;IACvC,kBAAkB,EAAE,wBAAwB;IAC5C,qBAAqB,EAAE,yBAAyB;IAChD,kBAAkB,EAAE,oCAAoC;IACxD,QAAQ,EAAE,yBAAyB;IACnC,aAAa,EAAE,iBAAiB;IAChC,MAAM,EAAE,eAAe;IACvB,kBAAkB,EAAE,sBAAsB;IAC1C,mBAAmB,EAAE,yBAAyB;IAC9C,sBAAsB,EAAE,2BAA2B;IACnD,sBAAsB,EAAE,4BAA4B;IACpD,2BAA2B,EAAE,yBAAyB;IACtD,gBAAgB,EAAE,0BAA0B;IAC5C,oBAAoB,EAAE,uBAAuB;IAC7C,oBAAoB,EAAE,2BAA2B;IACjD,oBAAoB,EAAE,qBAAqB;CAC9C,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/visualizations/index.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,oBAAoB;AACP,QAAA,cAAc,GAAG,OAAC,CAAC,IAAI,CAAC;IACjC,mBAAmB;IACnB,gBAAgB;IAChB,eAAe;IACf,aAAa;IAC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kBAAkB,EAAE,oCAAoC;IACxD,QAAQ,EAAE,yBAAyB;IACnC,aAAa,EAAE,iBAAiB;IAChC,MAAM,EAAE,eAAe;IACvB,kBAAkB,EAAE,sBAAsB;IAC1C,mBAAmB,EAAE,yBAAyB;IAC9C,sBAAsB,EAAE,2BAA2B;IACnD,sBAAsB,EAAE,4BAA4B;IACpD,2BAA2B,EAAE,yBAAyB;IACtD,gBAAgB,EAAE,0BAA0B;IAC5C,oBAAoB,EAAE,uBAAuB;IAC7C,oBAAoB,EAAE,2BAA2B;IACjD,oBAAoB,EAAE,qBAAqB;CAC9C,CAAC,CAAC"}
|
|
@@ -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
|
};
|
|
@@ -25,4 +25,6 @@ export declare const dataAppRestoreContextKey: ({ appUuid, version, }: {
|
|
|
25
25
|
}) => string;
|
|
26
26
|
/** Identity of a pinned data app as prompt context. */
|
|
27
27
|
export declare const dataAppContextKey: (appUuid: string) => string;
|
|
28
|
+
/** Identity of a pinned organization theme as prompt context. */
|
|
29
|
+
export declare const designContextKey: (designUuid: string) => string;
|
|
28
30
|
//# sourceMappingURL=elementReference.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elementReference.d.ts","sourceRoot":"","sources":["../../../../src/ee/apps/elementReference.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,wBAItC,uBAAuB,KAAG,MAG5B,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,wBAAwB,0CAMlC,uBAAuB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,KAAG,MAC4B,CAAC;AAEjG,+EAA+E;AAC/E,eAAO,MAAM,wBAAwB,0BAGlC;IACC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACnB,KAAG,MAAkD,CAAC;AACvD,uDAAuD;AACvD,eAAO,MAAM,iBAAiB,YAAa,MAAM,KAAG,MAC3B,CAAC"}
|
|
1
|
+
{"version":3,"file":"elementReference.d.ts","sourceRoot":"","sources":["../../../../src/ee/apps/elementReference.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,wBAItC,uBAAuB,KAAG,MAG5B,CAAC;AAEF,iFAAiF;AACjF,eAAO,MAAM,wBAAwB,0CAMlC,uBAAuB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,KAAG,MAC4B,CAAC;AAEjG,+EAA+E;AAC/E,eAAO,MAAM,wBAAwB,0BAGlC;IACC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACnB,KAAG,MAAkD,CAAC;AACvD,uDAAuD;AACvD,eAAO,MAAM,iBAAiB,YAAa,MAAM,KAAG,MAC3B,CAAC;AAC1B,iEAAiE;AACjE,eAAO,MAAM,gBAAgB,eAAgB,MAAM,KAAG,MAC5B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.dataAppContextKey = exports.dataAppRestoreContextKey = exports.dataAppElementContextKey = exports.elementReferenceToWireString = void 0;
|
|
3
|
+
exports.designContextKey = exports.dataAppContextKey = exports.dataAppRestoreContextKey = exports.dataAppElementContextKey = exports.elementReferenceToWireString = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Bracket wire format the coding agent resolves, e.g.
|
|
6
6
|
* `[h1 "FORMULA 1" @src/App.jsx:14]`, `[button "Send"]`, `[div @src/App.jsx:14]`, `[div]`.
|
|
@@ -19,4 +19,7 @@ exports.dataAppRestoreContextKey = dataAppRestoreContextKey;
|
|
|
19
19
|
/** Identity of a pinned data app as prompt context. */
|
|
20
20
|
const dataAppContextKey = (appUuid) => `data_app:${appUuid}`;
|
|
21
21
|
exports.dataAppContextKey = dataAppContextKey;
|
|
22
|
+
/** Identity of a pinned organization theme as prompt context. */
|
|
23
|
+
const designContextKey = (designUuid) => `design:${designUuid}`;
|
|
24
|
+
exports.designContextKey = designContextKey;
|
|
22
25
|
//# sourceMappingURL=elementReference.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elementReference.js","sourceRoot":"","sources":["../../../../src/ee/apps/elementReference.ts"],"names":[],"mappings":";;;AAWA;;;GAGG;AACI,MAAM,4BAA4B,GAAG,CAAC,E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AAC;IAC7C,OAAO,GAAG,CAAC,CAAC,CAAC,IAAI,IAAI,KAAK,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC;AACnD,CAAC,CAAC;AAPW,QAAA,4BAA4B,GAA5B,4BAA4B,CAOvC;AAEF,iFAAiF;AAC1E,MAAM,wBAAwB,GAAG,CAAC,EACrC,OAAO,EACP,OAAO,EACP,GAAG,EACH,IAAI,EACJ,GAAG,GAC0D,EAAU,EAAE,CACzE,oBAAoB,OAAO,IAAI,OAAO,IAAI,IAAA,QAAA,4BAA4B,EAAC,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;AAPpF,QAAA,wBAAwB,GAAxB,wBAAwB,CAO4D;AAEjG,+EAA+E;AACxE,MAAM,wBAAwB,GAAG,CAAC,EACrC,OAAO,EACP,OAAO,GAIV,EAAU,EAAE,CAAC,oBAAoB,OAAO,IAAI,OAAO,EAAE,CAAC;AAN1C,QAAA,wBAAwB,GAAxB,wBAAwB,CAMkB;AACvD,uDAAuD;AAChD,MAAM,iBAAiB,GAAG,CAAC,OAAe,EAAU,EAAE,CACzD,YAAY,OAAO,EAAE,CAAC;AADb,QAAA,iBAAiB,GAAjB,iBAAiB,CACJ;AAC1B,iEAAiE;AAC1D,MAAM,gBAAgB,GAAG,CAAC,UAAkB,EAAU,EAAE,CAC3D,UAAU,UAAU,EAAE,CAAC;AADd,QAAA,gBAAgB,GAAhB,gBAAgB,CACF"}
|
|
@@ -90,6 +90,7 @@ export type PieChartValueOptions = {
|
|
|
90
90
|
valueLabel: PieChartValueLabel;
|
|
91
91
|
showValue: boolean;
|
|
92
92
|
showPercentage: boolean;
|
|
93
|
+
valueLabelColor?: string;
|
|
93
94
|
};
|
|
94
95
|
export declare const PieChartLegendPositions: {
|
|
95
96
|
readonly horizontal: 'Horizontal';
|
|
@@ -116,6 +117,8 @@ export type PieChart = {
|
|
|
116
117
|
showValue?: PieChartValueOptions['showValue'];
|
|
117
118
|
/** Show percentage on slices */
|
|
118
119
|
showPercentage?: PieChartValueOptions['showPercentage'];
|
|
120
|
+
/** Custom color for value labels */
|
|
121
|
+
valueLabelColor?: PieChartValueOptions['valueLabelColor'];
|
|
119
122
|
/** Custom labels for each group/slice */
|
|
120
123
|
groupLabelOverrides?: Record<string, string>;
|
|
121
124
|
/** Custom colors for each group/slice */
|
|
@@ -521,6 +524,8 @@ export type Series = {
|
|
|
521
524
|
label?: {
|
|
522
525
|
/** Show data labels on points */
|
|
523
526
|
show?: boolean;
|
|
527
|
+
/** Custom data label color (hex code) */
|
|
528
|
+
color?: string;
|
|
524
529
|
/** Position of data labels */
|
|
525
530
|
position?: 'left' | 'top' | 'right' | 'bottom' | 'inside';
|
|
526
531
|
/** Show labels even when they overlap */
|