@lightdash/common 1.139.0 → 1.141.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.
@@ -4,12 +4,15 @@ export declare const TOOL_DESCRIBE_WAREHOUSE_TABLE_DESCRIPTION: ({ toolName, }:
4
4
  export declare const toolDescribeWarehouseTableArgsSchema: z.ZodObject<{
5
5
  table: z.ZodString;
6
6
  schema: z.ZodOptional<z.ZodString>;
7
+ database: z.ZodOptional<z.ZodString>;
7
8
  }, z.UnknownKeysParam, z.ZodTypeAny, {
8
9
  table: string;
9
10
  schema?: string | undefined;
11
+ database?: string | undefined;
10
12
  }, {
11
13
  table: string;
12
14
  schema?: string | undefined;
15
+ database?: string | undefined;
13
16
  }>;
14
17
  export type ToolDescribeWarehouseTableArgs = z.infer<typeof toolDescribeWarehouseTableArgsSchema>;
15
18
  export declare const toolDescribeWarehouseTableOutputSchema: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"toolDescribeWarehouseTableArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAG5D,eAAO,MAAM,yCAAyC,kBAEnD,sBAAsB,KAAG,MAoB3B,CAAC;AAEF,eAAO,MAAM,oCAAoC;;;;;;;;;EAerC,CAAC;AAEb,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,oCAAoC,CAC9C,CAAC;AAEF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;EAKjD,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,sCAAsC,CAChD,CAAC"}
1
+ {"version":3,"file":"toolDescribeWarehouseTableArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAG5D,eAAO,MAAM,yCAAyC,kBAEnD,sBAAsB,KAAG,MAqB3B,CAAC;AAEF,eAAO,MAAM,oCAAoC;;;;;;;;;;;;EAqBrC,CAAC;AAEb,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,oCAAoC,CAC9C,CAAC;AAEF,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;EAKjD,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,sCAAsC,CAChD,CAAC"}
@@ -19,7 +19,8 @@ Do NOT use:
19
19
 
20
20
  Parameters:
21
21
  - table: Required. The unqualified table name (e.g. "raw_parts", not "jaffle.raw_parts").
22
- - schema: Optional. The schema name (e.g. "jaffle"). If omitted, the project's default schema is used.
22
+ - schema: Optional. The schema name (e.g. "jaffle"). Omit this property to use the project's default schema.
23
+ - database: Optional. Provide the database/catalog returned by listWarehouseTables when targeting a non-default database. Omission uses the project's default database.
23
24
  `;
24
25
  export const toolDescribeWarehouseTableArgsSchema = createToolSchema()
25
26
  .extend({
@@ -30,7 +31,11 @@ export const toolDescribeWarehouseTableArgsSchema = createToolSchema()
30
31
  schema: z
31
32
  .string()
32
33
  .optional()
33
- .describe("Optional schema name. Defaults to the project's default schema if omitted."),
34
+ .describe("Optional schema name. Omit this property to use the project's default schema."),
35
+ database: z
36
+ .string()
37
+ .optional()
38
+ .describe("Database/catalog returned by listWarehouseTables when targeting a non-default database. Omission uses the project's default database."),
34
39
  })
35
40
  .build();
36
41
  export const toolDescribeWarehouseTableOutputSchema = z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"toolDescribeWarehouseTableArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,EACtD,QAAQ,GACa,EAAU,EAAE,CAAC,SAAS,QAAQ;;;;;;;;;;;;;;;;;;;;CAoBtD,CAAC;AAEF,MAAM,CAAC,MAAM,oCAAoC,GAAG,gBAAgB,EAAE;KACjE,MAAM,CAAC;IACJ,KAAK,EAAE,CAAC;SACH,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACL,wHAAwH,CAC3H;IACL,MAAM,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,4EAA4E,CAC/E;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAMb,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;KACpD,CAAC;CACL,CAAC,CAAC"}
1
+ {"version":3,"file":"toolDescribeWarehouseTableArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,CAAC,MAAM,yCAAyC,GAAG,CAAC,EACtD,QAAQ,GACa,EAAU,EAAE,CAAC,SAAS,QAAQ;;;;;;;;;;;;;;;;;;;;;CAqBtD,CAAC;AAEF,MAAM,CAAC,MAAM,oCAAoC,GAAG,gBAAgB,EAAE;KACjE,MAAM,CAAC;IACJ,KAAK,EAAE,CAAC;SACH,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACL,wHAAwH,CAC3H;IACL,MAAM,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,+EAA+E,CAClF;IACL,QAAQ,EAAE,CAAC;SACN,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,uIAAuI,CAC1I;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAMb,MAAM,CAAC,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3D,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;KACpD,CAAC;CACL,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/common",
3
- "version": "1.139.0",
3
+ "version": "1.141.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",