@keystrokehq/snowflake_basic 0.1.5 → 0.1.6

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.
Files changed (61) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/describe-table.cjs +1 -0
  4. package/dist/actions/describe-table.cjs.map +1 -1
  5. package/dist/actions/describe-table.d.cts +3 -21
  6. package/dist/actions/describe-table.d.cts.map +1 -1
  7. package/dist/actions/describe-table.d.mts +3 -21
  8. package/dist/actions/describe-table.d.mts.map +1 -1
  9. package/dist/actions/describe-table.mjs +1 -0
  10. package/dist/actions/describe-table.mjs.map +1 -1
  11. package/dist/actions/explore-columns.cjs +1 -0
  12. package/dist/actions/explore-columns.cjs.map +1 -1
  13. package/dist/actions/explore-columns.d.cts +3 -23
  14. package/dist/actions/explore-columns.d.cts.map +1 -1
  15. package/dist/actions/explore-columns.d.mts +3 -23
  16. package/dist/actions/explore-columns.d.mts.map +1 -1
  17. package/dist/actions/explore-columns.mjs +1 -0
  18. package/dist/actions/explore-columns.mjs.map +1 -1
  19. package/dist/actions/run-query.cjs +1 -0
  20. package/dist/actions/run-query.cjs.map +1 -1
  21. package/dist/actions/run-query.d.cts +3 -21
  22. package/dist/actions/run-query.d.cts.map +1 -1
  23. package/dist/actions/run-query.d.mts +3 -21
  24. package/dist/actions/run-query.d.mts.map +1 -1
  25. package/dist/actions/run-query.mjs +1 -0
  26. package/dist/actions/run-query.mjs.map +1 -1
  27. package/dist/actions/show-databases.cjs +1 -0
  28. package/dist/actions/show-databases.cjs.map +1 -1
  29. package/dist/actions/show-databases.d.cts +3 -17
  30. package/dist/actions/show-databases.d.cts.map +1 -1
  31. package/dist/actions/show-databases.d.mts +3 -17
  32. package/dist/actions/show-databases.d.mts.map +1 -1
  33. package/dist/actions/show-databases.mjs +1 -0
  34. package/dist/actions/show-databases.mjs.map +1 -1
  35. package/dist/actions/show-schemas.cjs +1 -0
  36. package/dist/actions/show-schemas.cjs.map +1 -1
  37. package/dist/actions/show-schemas.d.cts +3 -19
  38. package/dist/actions/show-schemas.d.cts.map +1 -1
  39. package/dist/actions/show-schemas.d.mts +3 -19
  40. package/dist/actions/show-schemas.d.mts.map +1 -1
  41. package/dist/actions/show-schemas.mjs +1 -0
  42. package/dist/actions/show-schemas.mjs.map +1 -1
  43. package/dist/actions/show-tables.cjs +1 -0
  44. package/dist/actions/show-tables.cjs.map +1 -1
  45. package/dist/actions/show-tables.d.cts +3 -20
  46. package/dist/actions/show-tables.d.cts.map +1 -1
  47. package/dist/actions/show-tables.d.mts +3 -20
  48. package/dist/actions/show-tables.d.mts.map +1 -1
  49. package/dist/actions/show-tables.mjs +1 -0
  50. package/dist/actions/show-tables.mjs.map +1 -1
  51. package/dist/app.cjs +6 -5
  52. package/dist/app.cjs.map +1 -1
  53. package/dist/app.d.cts +4 -6
  54. package/dist/app.d.cts.map +1 -1
  55. package/dist/app.d.mts +4 -6
  56. package/dist/app.d.mts.map +1 -1
  57. package/dist/app.mjs +0 -1
  58. package/dist/app.mjs.map +1 -1
  59. package/dist/index.d.cts +1 -1
  60. package/dist/index.d.mts +1 -1
  61. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["snowflakeBasic","executeSnowflakeBasicTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { snowflakeBasic } from \"./app\";\nimport { executeSnowflakeBasicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return snowflakeBasic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSnowflakeBasicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["snowflakeBasic","executeSnowflakeBasicTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { snowflakeBasic } from \"./app\";\nimport { executeSnowflakeBasicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof snowflakeBasic.credential> {\n return snowflakeBasic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSnowflakeBasicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO8D;CAC9D,OAAOA,YAAAA,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { snowflakeBasic } from \"./app\";\nimport { executeSnowflakeBasicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return snowflakeBasic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSnowflakeBasicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { snowflakeBasic } from \"./app\";\nimport { executeSnowflakeBasicTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof snowflakeBasic.credential> {\n return snowflakeBasic.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSnowflakeBasicTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO8D;CAC9D,OAAO,eAAe,OAAO;EAC3B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,0BAA0B,MAAM,KAAgC,CAAC;EACjG;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/describe-table.ts
@@ -1 +1 @@
1
- {"version":3,"file":"describe-table.cjs","names":["z","action"],"sources":["../../src/actions/describe-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicDescribeTableInput = z.object({\n database: z.string().describe(\"The name of the Snowflake database containing the table.\"),\n table_name: z.string().describe(\"The name of the table to describe.\"),\n schema_name: z.string().describe(\"The name of the schema within the database that contains the table.\"),\n});\nconst SnowflakeBasicDescribeTable_ColumnItemSchema = z.object({\n kind: z.string().describe(\"Kind of the column (e.g., 'COLUMN', 'GEOGRAPHY_COLUMN').\").nullable(),\n name: z.string().describe(\"Name of the column.\").nullable(),\n dataType: z.string().describe(\"Data type of the column in Snowflake (e.g., VARCHAR, NUMBER, DATE).\").nullable(),\n nullable: z.boolean().describe(\"True if the column can store NULL values.\").nullable(),\n uniqueKey: z.boolean().default(false).describe(\"True if the column is part of a unique key constraint.\").nullable().optional(),\n primaryKey: z.boolean().default(false).describe(\"True if the column is part of the table's primary key.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value of the column as a string, or `None` if not defined.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicDescribeTableOutput = z.object({\n columns: z.array(SnowflakeBasicDescribeTable_ColumnItemSchema).default([]).describe(\"List of objects, each detailing a column's properties in the specified table.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicDescribeTable = action(\"SNOWFLAKE_BASIC_DESCRIBE_TABLE\", {\n slug: \"snowflake_basic-describe-table\",\n name: \"Describe table\",\n description: \"Retrieves detailed information for each column (including name, data type, kind, nullability, default value, and key status) in a specified Snowflake table.\",\n input: SnowflakeBasicDescribeTableInput,\n output: SnowflakeBasicDescribeTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACxG,CAAC;AACD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3L,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"describe-table.cjs","names":["z","action"],"sources":["../../src/actions/describe-table.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflakeBasic } from \"../app\";\n\nexport const SnowflakeBasicDescribeTableInput = z.object({\n database: z.string().describe(\"The name of the Snowflake database containing the table.\"),\n table_name: z.string().describe(\"The name of the table to describe.\"),\n schema_name: z.string().describe(\"The name of the schema within the database that contains the table.\"),\n});\nconst SnowflakeBasicDescribeTable_ColumnItemSchema = z.object({\n kind: z.string().describe(\"Kind of the column (e.g., 'COLUMN', 'GEOGRAPHY_COLUMN').\").nullable(),\n name: z.string().describe(\"Name of the column.\").nullable(),\n dataType: z.string().describe(\"Data type of the column in Snowflake (e.g., VARCHAR, NUMBER, DATE).\").nullable(),\n nullable: z.boolean().describe(\"True if the column can store NULL values.\").nullable(),\n uniqueKey: z.boolean().default(false).describe(\"True if the column is part of a unique key constraint.\").nullable().optional(),\n primaryKey: z.boolean().default(false).describe(\"True if the column is part of the table's primary key.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value of the column as a string, or `None` if not defined.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicDescribeTableOutput = z.object({\n columns: z.array(SnowflakeBasicDescribeTable_ColumnItemSchema).default([]).describe(\"List of objects, each detailing a column's properties in the specified table.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicDescribeTable: AppAction<\n typeof SnowflakeBasicDescribeTableInput,\n typeof SnowflakeBasicDescribeTableOutput,\n typeof snowflakeBasic.credential\n> = action(\"SNOWFLAKE_BASIC_DESCRIBE_TABLE\", {\n slug: \"snowflake_basic-describe-table\",\n name: \"Describe table\",\n description: \"Retrieves detailed information for each column (including name, data type, kind, nullability, default value, and key status) in a specified Snowflake table.\",\n input: SnowflakeBasicDescribeTableInput,\n output: SnowflakeBasicDescribeTableOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACxG,CAAC;AACD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3L,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { snowflakeBasic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/describe-table.d.ts
@@ -17,27 +19,7 @@ declare const SnowflakeBasicDescribeTableOutput: z.ZodObject<{
17
19
  defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>>>>>;
19
21
  }, z.core.$loose>;
20
- declare const snowflakeBasicDescribeTable: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- database: string;
22
- table_name: string;
23
- schema_name: string;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- username: z.ZodString;
30
- password: z.ZodString;
31
- subdomain: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- username: z.ZodString;
38
- password: z.ZodString;
39
- subdomain: z.ZodString;
40
- }, z.core.$strip>>]>;
22
+ declare const snowflakeBasicDescribeTable: AppAction<typeof SnowflakeBasicDescribeTableInput, typeof SnowflakeBasicDescribeTableOutput, typeof snowflakeBasic.credential>;
41
23
  //#endregion
42
24
  export { snowflakeBasicDescribeTable };
43
25
  //# sourceMappingURL=describe-table.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"describe-table.d.cts","names":[],"sources":["../../src/actions/describe-table.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAchC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"describe-table.d.cts","names":[],"sources":["../../src/actions/describe-table.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAchC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { snowflakeBasic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/describe-table.d.ts
@@ -17,27 +19,7 @@ declare const SnowflakeBasicDescribeTableOutput: z.ZodObject<{
17
19
  defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>>>>>;
19
21
  }, z.core.$loose>;
20
- declare const snowflakeBasicDescribeTable: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- database: string;
22
- table_name: string;
23
- schema_name: string;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- username: z.ZodString;
30
- password: z.ZodString;
31
- subdomain: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- username: z.ZodString;
38
- password: z.ZodString;
39
- subdomain: z.ZodString;
40
- }, z.core.$strip>>]>;
22
+ declare const snowflakeBasicDescribeTable: AppAction<typeof SnowflakeBasicDescribeTableInput, typeof SnowflakeBasicDescribeTableOutput, typeof snowflakeBasic.credential>;
41
23
  //#endregion
42
24
  export { snowflakeBasicDescribeTable };
43
25
  //# sourceMappingURL=describe-table.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"describe-table.d.mts","names":[],"sources":["../../src/actions/describe-table.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAchC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"describe-table.d.mts","names":[],"sources":["../../src/actions/describe-table.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAchC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/describe-table.ts
@@ -1 +1 @@
1
- {"version":3,"file":"describe-table.mjs","names":[],"sources":["../../src/actions/describe-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicDescribeTableInput = z.object({\n database: z.string().describe(\"The name of the Snowflake database containing the table.\"),\n table_name: z.string().describe(\"The name of the table to describe.\"),\n schema_name: z.string().describe(\"The name of the schema within the database that contains the table.\"),\n});\nconst SnowflakeBasicDescribeTable_ColumnItemSchema = z.object({\n kind: z.string().describe(\"Kind of the column (e.g., 'COLUMN', 'GEOGRAPHY_COLUMN').\").nullable(),\n name: z.string().describe(\"Name of the column.\").nullable(),\n dataType: z.string().describe(\"Data type of the column in Snowflake (e.g., VARCHAR, NUMBER, DATE).\").nullable(),\n nullable: z.boolean().describe(\"True if the column can store NULL values.\").nullable(),\n uniqueKey: z.boolean().default(false).describe(\"True if the column is part of a unique key constraint.\").nullable().optional(),\n primaryKey: z.boolean().default(false).describe(\"True if the column is part of the table's primary key.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value of the column as a string, or `None` if not defined.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicDescribeTableOutput = z.object({\n columns: z.array(SnowflakeBasicDescribeTable_ColumnItemSchema).default([]).describe(\"List of objects, each detailing a column's properties in the specified table.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicDescribeTable = action(\"SNOWFLAKE_BASIC_DESCRIBE_TABLE\", {\n slug: \"snowflake_basic-describe-table\",\n name: \"Describe table\",\n description: \"Retrieves detailed information for each column (including name, data type, kind, nullability, default value, and key status) in a specified Snowflake table.\",\n input: SnowflakeBasicDescribeTableInput,\n output: SnowflakeBasicDescribeTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACxG,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3L,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"describe-table.mjs","names":[],"sources":["../../src/actions/describe-table.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflakeBasic } from \"../app\";\n\nexport const SnowflakeBasicDescribeTableInput = z.object({\n database: z.string().describe(\"The name of the Snowflake database containing the table.\"),\n table_name: z.string().describe(\"The name of the table to describe.\"),\n schema_name: z.string().describe(\"The name of the schema within the database that contains the table.\"),\n});\nconst SnowflakeBasicDescribeTable_ColumnItemSchema = z.object({\n kind: z.string().describe(\"Kind of the column (e.g., 'COLUMN', 'GEOGRAPHY_COLUMN').\").nullable(),\n name: z.string().describe(\"Name of the column.\").nullable(),\n dataType: z.string().describe(\"Data type of the column in Snowflake (e.g., VARCHAR, NUMBER, DATE).\").nullable(),\n nullable: z.boolean().describe(\"True if the column can store NULL values.\").nullable(),\n uniqueKey: z.boolean().default(false).describe(\"True if the column is part of a unique key constraint.\").nullable().optional(),\n primaryKey: z.boolean().default(false).describe(\"True if the column is part of the table's primary key.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value of the column as a string, or `None` if not defined.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicDescribeTableOutput = z.object({\n columns: z.array(SnowflakeBasicDescribeTable_ColumnItemSchema).default([]).describe(\"List of objects, each detailing a column's properties in the specified table.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicDescribeTable: AppAction<\n typeof SnowflakeBasicDescribeTableInput,\n typeof SnowflakeBasicDescribeTableOutput,\n typeof snowflakeBasic.credential\n> = action(\"SNOWFLAKE_BASIC_DESCRIBE_TABLE\", {\n slug: \"snowflake_basic-describe-table\",\n name: \"Describe table\",\n description: \"Retrieves detailed information for each column (including name, data type, kind, nullability, default value, and key status) in a specified Snowflake table.\",\n input: SnowflakeBasicDescribeTableInput,\n output: SnowflakeBasicDescribeTableOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACxG,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3L,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/explore-columns.ts
@@ -1 +1 @@
1
- {"version":3,"file":"explore-columns.cjs","names":["z","action"],"sources":["../../src/actions/explore-columns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicExploreColumnsInput = z.object({\n limit: z.number().int().default(10).describe(\"The maximum number of distinct values to return for each specified column.\").optional(),\n database: z.string().describe(\"The name of the Snowflake database.\"),\n table_name: z.string().describe(\"The name of the table within the specified schema.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database.\"),\n column_names: z.array(z.string()).default([]).describe(\"A list of specific column names to explore. If left empty, all columns in the table will be explored.\").optional(),\n});\nexport const SnowflakeBasicExploreColumnsOutput = z.object({\n values: z.record(z.string(), z.unknown()).describe(\"A dictionary mapping column names to a list of distinct values found in that column.\"),\n}).passthrough();\n\nexport const snowflakeBasicExploreColumns = action(\"SNOWFLAKE_BASIC_EXPLORE_COLUMNS\", {\n slug: \"snowflake_basic-explore-columns\",\n name: \"Explore Columns\",\n description: \"Retrieves a sample of distinct values for specified columns from a Snowflake table.\",\n input: SnowflakeBasicExploreColumnsInput,\n output: SnowflakeBasicExploreColumnsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACxF,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AAC3K,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF,EAC3I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"explore-columns.cjs","names":["z","action"],"sources":["../../src/actions/explore-columns.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflakeBasic } from \"../app\";\n\nexport const SnowflakeBasicExploreColumnsInput = z.object({\n limit: z.number().int().default(10).describe(\"The maximum number of distinct values to return for each specified column.\").optional(),\n database: z.string().describe(\"The name of the Snowflake database.\"),\n table_name: z.string().describe(\"The name of the table within the specified schema.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database.\"),\n column_names: z.array(z.string()).default([]).describe(\"A list of specific column names to explore. If left empty, all columns in the table will be explored.\").optional(),\n});\nexport const SnowflakeBasicExploreColumnsOutput = z.object({\n values: z.record(z.string(), z.unknown()).describe(\"A dictionary mapping column names to a list of distinct values found in that column.\"),\n}).passthrough();\n\nexport const snowflakeBasicExploreColumns: AppAction<\n typeof SnowflakeBasicExploreColumnsInput,\n typeof SnowflakeBasicExploreColumnsOutput,\n typeof snowflakeBasic.credential\n> = action(\"SNOWFLAKE_BASIC_EXPLORE_COLUMNS\", {\n slug: \"snowflake_basic-explore-columns\",\n name: \"Explore Columns\",\n description: \"Retrieves a sample of distinct values for specified columns from a Snowflake table.\",\n input: SnowflakeBasicExploreColumnsInput,\n output: SnowflakeBasicExploreColumnsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACxF,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AAC3K,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF,EAC3I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { snowflakeBasic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/explore-columns.d.ts
@@ -11,29 +13,7 @@ declare const SnowflakeBasicExploreColumnsInput: z.ZodObject<{
11
13
  declare const SnowflakeBasicExploreColumnsOutput: z.ZodObject<{
12
14
  values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13
15
  }, z.core.$loose>;
14
- declare const snowflakeBasicExploreColumns: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- database: string;
16
- table_name: string;
17
- schema_name: string;
18
- limit?: number | undefined;
19
- column_names?: string[] | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- username: z.ZodString;
26
- password: z.ZodString;
27
- subdomain: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- username: z.ZodString;
34
- password: z.ZodString;
35
- subdomain: z.ZodString;
36
- }, z.core.$strip>>]>;
16
+ declare const snowflakeBasicExploreColumns: AppAction<typeof SnowflakeBasicExploreColumnsInput, typeof SnowflakeBasicExploreColumnsOutput, typeof snowflakeBasic.credential>;
37
17
  //#endregion
38
18
  export { snowflakeBasicExploreColumns };
39
19
  //# sourceMappingURL=explore-columns.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"explore-columns.d.cts","names":[],"sources":["../../src/actions/explore-columns.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"explore-columns.d.cts","names":[],"sources":["../../src/actions/explore-columns.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { snowflakeBasic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/explore-columns.d.ts
@@ -11,29 +13,7 @@ declare const SnowflakeBasicExploreColumnsInput: z.ZodObject<{
11
13
  declare const SnowflakeBasicExploreColumnsOutput: z.ZodObject<{
12
14
  values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13
15
  }, z.core.$loose>;
14
- declare const snowflakeBasicExploreColumns: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- database: string;
16
- table_name: string;
17
- schema_name: string;
18
- limit?: number | undefined;
19
- column_names?: string[] | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- username: z.ZodString;
26
- password: z.ZodString;
27
- subdomain: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- username: z.ZodString;
34
- password: z.ZodString;
35
- subdomain: z.ZodString;
36
- }, z.core.$strip>>]>;
16
+ declare const snowflakeBasicExploreColumns: AppAction<typeof SnowflakeBasicExploreColumnsInput, typeof SnowflakeBasicExploreColumnsOutput, typeof snowflakeBasic.credential>;
37
17
  //#endregion
38
18
  export { snowflakeBasicExploreColumns };
39
19
  //# sourceMappingURL=explore-columns.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"explore-columns.d.mts","names":[],"sources":["../../src/actions/explore-columns.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"explore-columns.d.mts","names":[],"sources":["../../src/actions/explore-columns.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const snowflakeBasicExploreColumns = action("SNOWFLAKE_BASIC_EXPLORE_COLUMNS", {
@@ -1 +1 @@
1
- {"version":3,"file":"explore-columns.mjs","names":[],"sources":["../../src/actions/explore-columns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicExploreColumnsInput = z.object({\n limit: z.number().int().default(10).describe(\"The maximum number of distinct values to return for each specified column.\").optional(),\n database: z.string().describe(\"The name of the Snowflake database.\"),\n table_name: z.string().describe(\"The name of the table within the specified schema.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database.\"),\n column_names: z.array(z.string()).default([]).describe(\"A list of specific column names to explore. If left empty, all columns in the table will be explored.\").optional(),\n});\nexport const SnowflakeBasicExploreColumnsOutput = z.object({\n values: z.record(z.string(), z.unknown()).describe(\"A dictionary mapping column names to a list of distinct values found in that column.\"),\n}).passthrough();\n\nexport const snowflakeBasicExploreColumns = action(\"SNOWFLAKE_BASIC_EXPLORE_COLUMNS\", {\n slug: \"snowflake_basic-explore-columns\",\n name: \"Explore Columns\",\n description: \"Retrieves a sample of distinct values for specified columns from a Snowflake table.\",\n input: SnowflakeBasicExploreColumnsInput,\n output: SnowflakeBasicExploreColumnsOutput,\n});\n"],"mappings":";;AAeA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACxF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC3K,CASS;CACP,QATgD,EAAE,OAAO,EACzD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF,EAC3I,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"explore-columns.mjs","names":[],"sources":["../../src/actions/explore-columns.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflakeBasic } from \"../app\";\n\nexport const SnowflakeBasicExploreColumnsInput = z.object({\n limit: z.number().int().default(10).describe(\"The maximum number of distinct values to return for each specified column.\").optional(),\n database: z.string().describe(\"The name of the Snowflake database.\"),\n table_name: z.string().describe(\"The name of the table within the specified schema.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database.\"),\n column_names: z.array(z.string()).default([]).describe(\"A list of specific column names to explore. If left empty, all columns in the table will be explored.\").optional(),\n});\nexport const SnowflakeBasicExploreColumnsOutput = z.object({\n values: z.record(z.string(), z.unknown()).describe(\"A dictionary mapping column names to a list of distinct values found in that column.\"),\n}).passthrough();\n\nexport const snowflakeBasicExploreColumns: AppAction<\n typeof SnowflakeBasicExploreColumnsInput,\n typeof SnowflakeBasicExploreColumnsOutput,\n typeof snowflakeBasic.credential\n> = action(\"SNOWFLAKE_BASIC_EXPLORE_COLUMNS\", {\n slug: \"snowflake_basic-explore-columns\",\n name: \"Explore Columns\",\n description: \"Retrieves a sample of distinct values for specified columns from a Snowflake table.\",\n input: SnowflakeBasicExploreColumnsInput,\n output: SnowflakeBasicExploreColumnsOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACxF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC3K,CAaS;CACP,QAbgD,EAAE,OAAO,EACzD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF,EAC3I,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/run-query.ts
@@ -1 +1 @@
1
- {"version":3,"file":"run-query.cjs","names":["z","action"],"sources":["../../src/actions/run-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicRunQueryInput = z.object({\n query: z.string().describe(\"SQL query to execute; runs within the context of the specified database and schema.\"),\n database: z.string().describe(\"Name of the Snowflake database.\"),\n schema_name: z.string().describe(\"Name of the schema within the specified database.\"),\n});\nexport const SnowflakeBasicRunQueryOutput = z.object({\n data: z.array(z.record(z.string(), z.unknown())).default([]).describe(\"A list of dictionaries, where each dictionary represents a row returned by the query. Keys in the dictionaries are column names. For SELECT statements, this contains the query results. For DML/DDL statements or queries that do not return a rowset, this will typically be an empty list.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicRunQuery = action(\"SNOWFLAKE_BASIC_RUN_QUERY\", {\n slug: \"snowflake_basic-run-query\",\n name: \"Run Query\",\n description: \"Executes the given SQL query in Snowflake within the specified database and schema (which must exist and be accessible), automatically setting context first.\",\n input: SnowflakeBasicRunQueryInput,\n output: SnowflakeBasicRunQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACtF,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7X,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"run-query.cjs","names":["z","action"],"sources":["../../src/actions/run-query.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflakeBasic } from \"../app\";\n\nexport const SnowflakeBasicRunQueryInput = z.object({\n query: z.string().describe(\"SQL query to execute; runs within the context of the specified database and schema.\"),\n database: z.string().describe(\"Name of the Snowflake database.\"),\n schema_name: z.string().describe(\"Name of the schema within the specified database.\"),\n});\nexport const SnowflakeBasicRunQueryOutput = z.object({\n data: z.array(z.record(z.string(), z.unknown())).default([]).describe(\"A list of dictionaries, where each dictionary represents a row returned by the query. Keys in the dictionaries are column names. For SELECT statements, this contains the query results. For DML/DDL statements or queries that do not return a rowset, this will typically be an empty list.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicRunQuery: AppAction<\n typeof SnowflakeBasicRunQueryInput,\n typeof SnowflakeBasicRunQueryOutput,\n typeof snowflakeBasic.credential\n> = action(\"SNOWFLAKE_BASIC_RUN_QUERY\", {\n slug: \"snowflake_basic-run-query\",\n name: \"Run Query\",\n description: \"Executes the given SQL query in Snowflake within the specified database and schema (which must exist and be accessible), automatically setting context first.\",\n input: SnowflakeBasicRunQueryInput,\n output: SnowflakeBasicRunQueryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACtF,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7X,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { snowflakeBasic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/run-query.d.ts
@@ -9,27 +11,7 @@ declare const SnowflakeBasicRunQueryInput: z.ZodObject<{
9
11
  declare const SnowflakeBasicRunQueryOutput: z.ZodObject<{
10
12
  data: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
11
13
  }, z.core.$loose>;
12
- declare const snowflakeBasicRunQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- query: string;
14
- database: string;
15
- schema_name: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- username: z.ZodString;
22
- password: z.ZodString;
23
- subdomain: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- username: z.ZodString;
30
- password: z.ZodString;
31
- subdomain: z.ZodString;
32
- }, z.core.$strip>>]>;
14
+ declare const snowflakeBasicRunQuery: AppAction<typeof SnowflakeBasicRunQueryInput, typeof SnowflakeBasicRunQueryOutput, typeof snowflakeBasic.credential>;
33
15
  //#endregion
34
16
  export { snowflakeBasicRunQuery };
35
17
  //# sourceMappingURL=run-query.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"run-query.d.cts","names":[],"sources":["../../src/actions/run-query.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"run-query.d.cts","names":[],"sources":["../../src/actions/run-query.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { snowflakeBasic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/run-query.d.ts
@@ -9,27 +11,7 @@ declare const SnowflakeBasicRunQueryInput: z.ZodObject<{
9
11
  declare const SnowflakeBasicRunQueryOutput: z.ZodObject<{
10
12
  data: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
11
13
  }, z.core.$loose>;
12
- declare const snowflakeBasicRunQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- query: string;
14
- database: string;
15
- schema_name: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- username: z.ZodString;
22
- password: z.ZodString;
23
- subdomain: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- username: z.ZodString;
30
- password: z.ZodString;
31
- subdomain: z.ZodString;
32
- }, z.core.$strip>>]>;
14
+ declare const snowflakeBasicRunQuery: AppAction<typeof SnowflakeBasicRunQueryInput, typeof SnowflakeBasicRunQueryOutput, typeof snowflakeBasic.credential>;
33
15
  //#endregion
34
16
  export { snowflakeBasicRunQuery };
35
17
  //# sourceMappingURL=run-query.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"run-query.d.mts","names":[],"sources":["../../src/actions/run-query.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"run-query.d.mts","names":[],"sources":["../../src/actions/run-query.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAK3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const snowflakeBasicRunQuery = action("SNOWFLAKE_BASIC_RUN_QUERY", {
@@ -1 +1 @@
1
- {"version":3,"file":"run-query.mjs","names":[],"sources":["../../src/actions/run-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicRunQueryInput = z.object({\n query: z.string().describe(\"SQL query to execute; runs within the context of the specified database and schema.\"),\n database: z.string().describe(\"Name of the Snowflake database.\"),\n schema_name: z.string().describe(\"Name of the schema within the specified database.\"),\n});\nexport const SnowflakeBasicRunQueryOutput = z.object({\n data: z.array(z.record(z.string(), z.unknown())).default([]).describe(\"A list of dictionaries, where each dictionary represents a row returned by the query. Keys in the dictionaries are column names. For SELECT statements, this contains the query results. For DML/DDL statements or queries that do not return a rowset, this will typically be an empty list.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicRunQuery = action(\"SNOWFLAKE_BASIC_RUN_QUERY\", {\n slug: \"snowflake_basic-run-query\",\n name: \"Run Query\",\n description: \"Executes the given SQL query in Snowflake within the specified database and schema (which must exist and be accessible), automatically setting context first.\",\n input: SnowflakeBasicRunQueryInput,\n output: SnowflakeBasicRunQueryOutput,\n});\n"],"mappings":";;AAaA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbyC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACtF,CASS;CACP,QAT0C,EAAE,OAAO,EACnD,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7X,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"run-query.mjs","names":[],"sources":["../../src/actions/run-query.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflakeBasic } from \"../app\";\n\nexport const SnowflakeBasicRunQueryInput = z.object({\n query: z.string().describe(\"SQL query to execute; runs within the context of the specified database and schema.\"),\n database: z.string().describe(\"Name of the Snowflake database.\"),\n schema_name: z.string().describe(\"Name of the schema within the specified database.\"),\n});\nexport const SnowflakeBasicRunQueryOutput = z.object({\n data: z.array(z.record(z.string(), z.unknown())).default([]).describe(\"A list of dictionaries, where each dictionary represents a row returned by the query. Keys in the dictionaries are column names. For SELECT statements, this contains the query results. For DML/DDL statements or queries that do not return a rowset, this will typically be an empty list.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicRunQuery: AppAction<\n typeof SnowflakeBasicRunQueryInput,\n typeof SnowflakeBasicRunQueryOutput,\n typeof snowflakeBasic.credential\n> = action(\"SNOWFLAKE_BASIC_RUN_QUERY\", {\n slug: \"snowflake_basic-run-query\",\n name: \"Run Query\",\n description: \"Executes the given SQL query in Snowflake within the specified database and schema (which must exist and be accessible), automatically setting context first.\",\n input: SnowflakeBasicRunQueryInput,\n output: SnowflakeBasicRunQueryOutput,\n});\n"],"mappings":";;;AAeA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACtF,CAaS;CACP,QAb0C,EAAE,OAAO,EACnD,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+RAA+R,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7X,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/show-databases.ts
@@ -1 +1 @@
1
- {"version":3,"file":"show-databases.cjs","names":["z","action"],"sources":["../../src/actions/show-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicShowDatabasesInput = z.object({}).describe(\"Request model for showing databases.\\nNo parameters required as this shows all accessible databases.\");\nconst SnowflakeBasicShowDatabases_DatabaseItemSchema = z.object({\n name: z.string().describe(\"The name of the database.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this database.\").nullable(),\n origin: z.string().describe(\"The origin of the database (e.g., 'SNOWFLAKE').\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the database.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Database options.\").nullable().optional(),\n created_on: z.string().describe(\"When the database was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current database (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default database (Y/N).\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the database.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicShowDatabasesOutput = z.object({\n databases: z.array(SnowflakeBasicShowDatabases_DatabaseItemSchema).default([]).describe(\"A list of databases available in the Snowflake account.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowDatabases = action(\"SNOWFLAKE_BASIC_SHOW_DATABASES\", {\n slug: \"snowflake_basic-show-databases\",\n name: \"Show databases\",\n description: \"Retrieves a list of all databases available in the Snowflake account.\",\n input: SnowflakeBasicShowDatabasesInput,\n output: SnowflakeBasicShowDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAC5K,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,WAAWA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"show-databases.cjs","names":["z","action"],"sources":["../../src/actions/show-databases.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflakeBasic } from \"../app\";\n\nexport const SnowflakeBasicShowDatabasesInput = z.object({}).describe(\"Request model for showing databases.\\nNo parameters required as this shows all accessible databases.\");\nconst SnowflakeBasicShowDatabases_DatabaseItemSchema = z.object({\n name: z.string().describe(\"The name of the database.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this database.\").nullable(),\n origin: z.string().describe(\"The origin of the database (e.g., 'SNOWFLAKE').\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the database.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Database options.\").nullable().optional(),\n created_on: z.string().describe(\"When the database was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current database (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default database (Y/N).\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the database.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicShowDatabasesOutput = z.object({\n databases: z.array(SnowflakeBasicShowDatabases_DatabaseItemSchema).default([]).describe(\"A list of databases available in the Snowflake account.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowDatabases: AppAction<\n typeof SnowflakeBasicShowDatabasesInput,\n typeof SnowflakeBasicShowDatabasesOutput,\n typeof snowflakeBasic.credential\n> = action(\"SNOWFLAKE_BASIC_SHOW_DATABASES\", {\n slug: \"snowflake_basic-show-databases\",\n name: \"Show databases\",\n description: \"Retrieves a list of all databases available in the Snowflake account.\",\n input: SnowflakeBasicShowDatabasesInput,\n output: SnowflakeBasicShowDatabasesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAC5K,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,WAAWA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzK,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { snowflakeBasic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/show-databases.d.ts
@@ -15,23 +17,7 @@ declare const SnowflakeBasicShowDatabasesOutput: z.ZodObject<{
15
17
  retention_time: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
16
18
  }, z.core.$loose>>>>>;
17
19
  }, z.core.$loose>;
18
- declare const snowflakeBasicShowDatabases: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- username: z.ZodString;
24
- password: z.ZodString;
25
- subdomain: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- username: z.ZodString;
32
- password: z.ZodString;
33
- subdomain: z.ZodString;
34
- }, z.core.$strip>>]>;
20
+ declare const snowflakeBasicShowDatabases: AppAction<typeof SnowflakeBasicShowDatabasesInput, typeof SnowflakeBasicShowDatabasesOutput, typeof snowflakeBasic.credential>;
35
21
  //#endregion
36
22
  export { snowflakeBasicShowDatabases };
37
23
  //# sourceMappingURL=show-databases.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-databases.d.cts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,oBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"show-databases.d.cts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { snowflakeBasic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/show-databases.d.ts
@@ -15,23 +17,7 @@ declare const SnowflakeBasicShowDatabasesOutput: z.ZodObject<{
15
17
  retention_time: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
16
18
  }, z.core.$loose>>>>>;
17
19
  }, z.core.$loose>;
18
- declare const snowflakeBasicShowDatabases: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- username: z.ZodString;
24
- password: z.ZodString;
25
- subdomain: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- username: z.ZodString;
32
- password: z.ZodString;
33
- subdomain: z.ZodString;
34
- }, z.core.$strip>>]>;
20
+ declare const snowflakeBasicShowDatabases: AppAction<typeof SnowflakeBasicShowDatabasesInput, typeof SnowflakeBasicShowDatabasesOutput, typeof snowflakeBasic.credential>;
35
21
  //#endregion
36
22
  export { snowflakeBasicShowDatabases };
37
23
  //# sourceMappingURL=show-databases.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-databases.d.mts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,oBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"show-databases.d.mts","names":[],"sources":["../../src/actions/show-databases.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/show-databases.ts
@@ -1 +1 @@
1
- {"version":3,"file":"show-databases.mjs","names":[],"sources":["../../src/actions/show-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicShowDatabasesInput = z.object({}).describe(\"Request model for showing databases.\\nNo parameters required as this shows all accessible databases.\");\nconst SnowflakeBasicShowDatabases_DatabaseItemSchema = z.object({\n name: z.string().describe(\"The name of the database.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this database.\").nullable(),\n origin: z.string().describe(\"The origin of the database (e.g., 'SNOWFLAKE').\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the database.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Database options.\").nullable().optional(),\n created_on: z.string().describe(\"When the database was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current database (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default database (Y/N).\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the database.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicShowDatabasesOutput = z.object({\n databases: z.array(SnowflakeBasicShowDatabases_DatabaseItemSchema).default([]).describe(\"A list of databases available in the Snowflake account.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowDatabases = action(\"SNOWFLAKE_BASIC_SHOW_DATABASES\", {\n slug: \"snowflake_basic-show-databases\",\n name: \"Show databases\",\n description: \"Retrieves a list of all databases available in the Snowflake account.\",\n input: SnowflakeBasicShowDatabasesInput,\n output: SnowflakeBasicShowDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAC5K,MAAM,iDAAiD,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,WAAW,EAAE,MAAM,8CAA8C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzK,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"show-databases.mjs","names":[],"sources":["../../src/actions/show-databases.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflakeBasic } from \"../app\";\n\nexport const SnowflakeBasicShowDatabasesInput = z.object({}).describe(\"Request model for showing databases.\\nNo parameters required as this shows all accessible databases.\");\nconst SnowflakeBasicShowDatabases_DatabaseItemSchema = z.object({\n name: z.string().describe(\"The name of the database.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this database.\").nullable(),\n origin: z.string().describe(\"The origin of the database (e.g., 'SNOWFLAKE').\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the database.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Database options.\").nullable().optional(),\n created_on: z.string().describe(\"When the database was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current database (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default database (Y/N).\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the database.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicShowDatabasesOutput = z.object({\n databases: z.array(SnowflakeBasicShowDatabases_DatabaseItemSchema).default([]).describe(\"A list of databases available in the Snowflake account.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowDatabases: AppAction<\n typeof SnowflakeBasicShowDatabasesInput,\n typeof SnowflakeBasicShowDatabasesOutput,\n typeof snowflakeBasic.credential\n> = action(\"SNOWFLAKE_BASIC_SHOW_DATABASES\", {\n slug: \"snowflake_basic-show-databases\",\n name: \"Show databases\",\n description: \"Retrieves a list of all databases available in the Snowflake account.\",\n input: SnowflakeBasicShowDatabasesInput,\n output: SnowflakeBasicShowDatabasesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAC5K,MAAM,iDAAiD,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxF,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,WAAW,EAAE,MAAM,8CAA8C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzK,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/show-schemas.ts
@@ -1 +1 @@
1
- {"version":3,"file":"show-schemas.cjs","names":["z","action"],"sources":["../../src/actions/show-schemas.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicShowSchemasInput = z.object({\n database: z.string().describe(\"The name of the database for which to list schemas.\"),\n});\nconst SnowflakeBasicShowSchemas_SchemaItemSchema = z.object({\n name: z.string().describe(\"The name of the schema.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this schema.\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the schema.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Schema options.\").nullable().optional(),\n created_on: z.string().describe(\"When the schema was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current schema (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default schema (Y/N).\").nullable(),\n database_name: z.string().describe(\"The name of the database containing this schema.\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the schema.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicShowSchemasOutput = z.object({\n schemas: z.array(SnowflakeBasicShowSchemas_SchemaItemSchema).default([]).describe(\"A list of schemas found in the specified database, including their metadata.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowSchemas = action(\"SNOWFLAKE_BASIC_SHOW_SCHEMAS\", {\n slug: \"snowflake_basic-show-schemas\",\n name: \"Show schemas\",\n description: \"Retrieves a list of all schemas within a specified Snowflake database.\",\n input: SnowflakeBasicShowSchemasInput,\n output: SnowflakeBasicShowSchemasOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"show-schemas.cjs","names":["z","action"],"sources":["../../src/actions/show-schemas.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflakeBasic } from \"../app\";\n\nexport const SnowflakeBasicShowSchemasInput = z.object({\n database: z.string().describe(\"The name of the database for which to list schemas.\"),\n});\nconst SnowflakeBasicShowSchemas_SchemaItemSchema = z.object({\n name: z.string().describe(\"The name of the schema.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this schema.\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the schema.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Schema options.\").nullable().optional(),\n created_on: z.string().describe(\"When the schema was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current schema (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default schema (Y/N).\").nullable(),\n database_name: z.string().describe(\"The name of the database containing this schema.\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the schema.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicShowSchemasOutput = z.object({\n schemas: z.array(SnowflakeBasicShowSchemas_SchemaItemSchema).default([]).describe(\"A list of schemas found in the specified database, including their metadata.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowSchemas: AppAction<\n typeof SnowflakeBasicShowSchemasInput,\n typeof SnowflakeBasicShowSchemasOutput,\n typeof snowflakeBasic.credential\n> = action(\"SNOWFLAKE_BASIC_SHOW_SCHEMAS\", {\n slug: \"snowflake_basic-show-schemas\",\n name: \"Show schemas\",\n description: \"Retrieves a list of all schemas within a specified Snowflake database.\",\n input: SnowflakeBasicShowSchemasInput,\n output: SnowflakeBasicShowSchemasOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { snowflakeBasic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/show-schemas.d.ts
@@ -17,25 +19,7 @@ declare const SnowflakeBasicShowSchemasOutput: z.ZodObject<{
17
19
  retention_time: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
18
20
  }, z.core.$loose>>>>>;
19
21
  }, z.core.$loose>;
20
- declare const snowflakeBasicShowSchemas: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- database: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- username: z.ZodString;
28
- password: z.ZodString;
29
- subdomain: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- username: z.ZodString;
36
- password: z.ZodString;
37
- subdomain: z.ZodString;
38
- }, z.core.$strip>>]>;
22
+ declare const snowflakeBasicShowSchemas: AppAction<typeof SnowflakeBasicShowSchemasInput, typeof SnowflakeBasicShowSchemasOutput, typeof snowflakeBasic.credential>;
39
23
  //#endregion
40
24
  export { snowflakeBasicShowSchemas };
41
25
  //# sourceMappingURL=show-schemas.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-schemas.d.cts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"show-schemas.d.cts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { snowflakeBasic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/show-schemas.d.ts
@@ -17,25 +19,7 @@ declare const SnowflakeBasicShowSchemasOutput: z.ZodObject<{
17
19
  retention_time: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
18
20
  }, z.core.$loose>>>>>;
19
21
  }, z.core.$loose>;
20
- declare const snowflakeBasicShowSchemas: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- database: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- username: z.ZodString;
28
- password: z.ZodString;
29
- subdomain: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- username: z.ZodString;
36
- password: z.ZodString;
37
- subdomain: z.ZodString;
38
- }, z.core.$strip>>]>;
22
+ declare const snowflakeBasicShowSchemas: AppAction<typeof SnowflakeBasicShowSchemasInput, typeof SnowflakeBasicShowSchemasOutput, typeof snowflakeBasic.credential>;
39
23
  //#endregion
40
24
  export { snowflakeBasicShowSchemas };
41
25
  //# sourceMappingURL=show-schemas.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-schemas.d.mts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"show-schemas.d.mts","names":[],"sources":["../../src/actions/show-schemas.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAc9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/show-schemas.ts
@@ -1 +1 @@
1
- {"version":3,"file":"show-schemas.mjs","names":[],"sources":["../../src/actions/show-schemas.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicShowSchemasInput = z.object({\n database: z.string().describe(\"The name of the database for which to list schemas.\"),\n});\nconst SnowflakeBasicShowSchemas_SchemaItemSchema = z.object({\n name: z.string().describe(\"The name of the schema.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this schema.\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the schema.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Schema options.\").nullable().optional(),\n created_on: z.string().describe(\"When the schema was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current schema (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default schema (Y/N).\").nullable(),\n database_name: z.string().describe(\"The name of the database containing this schema.\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the schema.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicShowSchemasOutput = z.object({\n schemas: z.array(SnowflakeBasicShowSchemas_SchemaItemSchema).default([]).describe(\"A list of schemas found in the specified database, including their metadata.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowSchemas = action(\"SNOWFLAKE_BASIC_SHOW_SCHEMAS\", {\n slug: \"snowflake_basic-show-schemas\",\n name: \"Show schemas\",\n description: \"Retrieves a list of all schemas within a specified Snowflake database.\",\n input: SnowflakeBasicShowSchemasInput,\n output: SnowflakeBasicShowSchemasOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"show-schemas.mjs","names":[],"sources":["../../src/actions/show-schemas.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflakeBasic } from \"../app\";\n\nexport const SnowflakeBasicShowSchemasInput = z.object({\n database: z.string().describe(\"The name of the database for which to list schemas.\"),\n});\nconst SnowflakeBasicShowSchemas_SchemaItemSchema = z.object({\n name: z.string().describe(\"The name of the schema.\").nullable(),\n owner: z.string().describe(\"The owner/role that owns this schema.\").nullable(),\n comment: z.string().default(\"\").describe(\"Any comments associated with the schema.\").nullable().optional(),\n options: z.string().default(\"\").describe(\"Schema options.\").nullable().optional(),\n created_on: z.string().describe(\"When the schema was created.\").nullable(),\n is_current: z.string().describe(\"Whether this is the current schema (Y/N).\").nullable(),\n is_default: z.string().describe(\"Whether this is the default schema (Y/N).\").nullable(),\n database_name: z.string().describe(\"The name of the database containing this schema.\").nullable(),\n retention_time: z.string().default(\"\").describe(\"Data retention time for the schema.\").nullable().optional(),\n}).passthrough();\nexport const SnowflakeBasicShowSchemasOutput = z.object({\n schemas: z.array(SnowflakeBasicShowSchemas_SchemaItemSchema).default([]).describe(\"A list of schemas found in the specified database, including their metadata.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowSchemas: AppAction<\n typeof SnowflakeBasicShowSchemasInput,\n typeof SnowflakeBasicShowSchemasOutput,\n typeof snowflakeBasic.credential\n> = action(\"SNOWFLAKE_BASIC_SHOW_SCHEMAS\", {\n slug: \"snowflake_basic-show-schemas\",\n name: \"Show schemas\",\n description: \"Retrieves a list of all schemas within a specified Snowflake database.\",\n input: SnowflakeBasicShowSchemasInput,\n output: SnowflakeBasicShowSchemasOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,EACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/show-tables.ts
@@ -1 +1 @@
1
- {"version":3,"file":"show-tables.cjs","names":["z","action"],"sources":["../../src/actions/show-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicShowTablesInput = z.object({\n database: z.string().describe(\"The name of the database containing the schema from which to list tables.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database for which to list tables.\"),\n});\nconst SnowflakeBasicShowTables_TableItemSchema = z.object({\n name: z.string().describe(\"The name of the table.\").nullable(),\n bytes: z.number().int().describe(\"The size of the table in bytes.\").nullable(),\n rowCount: z.number().int().describe(\"The total number of rows in the table.\").nullable(),\n}).passthrough();\nexport const SnowflakeBasicShowTablesOutput = z.object({\n tables: z.array(SnowflakeBasicShowTables_TableItemSchema).default([]).describe(\"A list of tables found in the specified schema, including their names, row counts, and sizes in bytes.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowTables = action(\"SNOWFLAKE_BASIC_SHOW_TABLES\", {\n slug: \"snowflake_basic-show-tables\",\n name: \"Show Tables\",\n description: \"Retrieves a list of tables, including their row counts and sizes in bytes, from a specified schema within a Snowflake database.\",\n input: SnowflakeBasicShowTablesInput,\n output: SnowflakeBasicShowTablesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;AACnH,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,QAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/M,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"show-tables.cjs","names":["z","action"],"sources":["../../src/actions/show-tables.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflakeBasic } from \"../app\";\n\nexport const SnowflakeBasicShowTablesInput = z.object({\n database: z.string().describe(\"The name of the database containing the schema from which to list tables.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database for which to list tables.\"),\n});\nconst SnowflakeBasicShowTables_TableItemSchema = z.object({\n name: z.string().describe(\"The name of the table.\").nullable(),\n bytes: z.number().int().describe(\"The size of the table in bytes.\").nullable(),\n rowCount: z.number().int().describe(\"The total number of rows in the table.\").nullable(),\n}).passthrough();\nexport const SnowflakeBasicShowTablesOutput = z.object({\n tables: z.array(SnowflakeBasicShowTables_TableItemSchema).default([]).describe(\"A list of tables found in the specified schema, including their names, row counts, and sizes in bytes.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowTables: AppAction<\n typeof SnowflakeBasicShowTablesInput,\n typeof SnowflakeBasicShowTablesOutput,\n typeof snowflakeBasic.credential\n> = action(\"SNOWFLAKE_BASIC_SHOW_TABLES\", {\n slug: \"snowflake_basic-show-tables\",\n name: \"Show Tables\",\n description: \"Retrieves a list of tables, including their row counts and sizes in bytes, from a specified schema within a Snowflake database.\",\n input: SnowflakeBasicShowTablesInput,\n output: SnowflakeBasicShowTablesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;AACnH,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,QAAQA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/M,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { snowflakeBasic } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/show-tables.d.ts
@@ -12,26 +14,7 @@ declare const SnowflakeBasicShowTablesOutput: z.ZodObject<{
12
14
  rowCount: z.ZodNullable<z.ZodNumber>;
13
15
  }, z.core.$loose>>>>>;
14
16
  }, z.core.$loose>;
15
- declare const snowflakeBasicShowTables: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- database: string;
17
- schema_name: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- username: z.ZodString;
24
- password: z.ZodString;
25
- subdomain: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- username: z.ZodString;
32
- password: z.ZodString;
33
- subdomain: z.ZodString;
34
- }, z.core.$strip>>]>;
17
+ declare const snowflakeBasicShowTables: AppAction<typeof SnowflakeBasicShowTablesInput, typeof SnowflakeBasicShowTablesOutput, typeof snowflakeBasic.credential>;
35
18
  //#endregion
36
19
  export { snowflakeBasicShowTables };
37
20
  //# sourceMappingURL=show-tables.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-tables.d.cts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAS7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"show-tables.d.cts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAS7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { snowflakeBasic } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/show-tables.d.ts
@@ -12,26 +14,7 @@ declare const SnowflakeBasicShowTablesOutput: z.ZodObject<{
12
14
  rowCount: z.ZodNullable<z.ZodNumber>;
13
15
  }, z.core.$loose>>>>>;
14
16
  }, z.core.$loose>;
15
- declare const snowflakeBasicShowTables: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- database: string;
17
- schema_name: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- username: z.ZodString;
24
- password: z.ZodString;
25
- subdomain: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- username: z.ZodString;
32
- password: z.ZodString;
33
- subdomain: z.ZodString;
34
- }, z.core.$strip>>]>;
17
+ declare const snowflakeBasicShowTables: AppAction<typeof SnowflakeBasicShowTablesInput, typeof SnowflakeBasicShowTablesOutput, typeof snowflakeBasic.credential>;
35
18
  //#endregion
36
19
  export { snowflakeBasicShowTables };
37
20
  //# sourceMappingURL=show-tables.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"show-tables.d.mts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAS7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"show-tables.d.mts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAS7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/show-tables.ts
@@ -1 +1 @@
1
- {"version":3,"file":"show-tables.mjs","names":[],"sources":["../../src/actions/show-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeBasicShowTablesInput = z.object({\n database: z.string().describe(\"The name of the database containing the schema from which to list tables.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database for which to list tables.\"),\n});\nconst SnowflakeBasicShowTables_TableItemSchema = z.object({\n name: z.string().describe(\"The name of the table.\").nullable(),\n bytes: z.number().int().describe(\"The size of the table in bytes.\").nullable(),\n rowCount: z.number().int().describe(\"The total number of rows in the table.\").nullable(),\n}).passthrough();\nexport const SnowflakeBasicShowTablesOutput = z.object({\n tables: z.array(SnowflakeBasicShowTables_TableItemSchema).default([]).describe(\"A list of tables found in the specified schema, including their names, row counts, and sizes in bytes.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowTables = action(\"SNOWFLAKE_BASIC_SHOW_TABLES\", {\n slug: \"snowflake_basic-show-tables\",\n name: \"Show Tables\",\n description: \"Retrieves a list of tables, including their row counts and sizes in bytes, from a specified schema within a Snowflake database.\",\n input: SnowflakeBasicShowTablesInput,\n output: SnowflakeBasicShowTablesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;AACnH,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,QAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/M,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"show-tables.mjs","names":[],"sources":["../../src/actions/show-tables.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflakeBasic } from \"../app\";\n\nexport const SnowflakeBasicShowTablesInput = z.object({\n database: z.string().describe(\"The name of the database containing the schema from which to list tables.\"),\n schema_name: z.string().describe(\"The name of the schema within the specified database for which to list tables.\"),\n});\nconst SnowflakeBasicShowTables_TableItemSchema = z.object({\n name: z.string().describe(\"The name of the table.\").nullable(),\n bytes: z.number().int().describe(\"The size of the table in bytes.\").nullable(),\n rowCount: z.number().int().describe(\"The total number of rows in the table.\").nullable(),\n}).passthrough();\nexport const SnowflakeBasicShowTablesOutput = z.object({\n tables: z.array(SnowflakeBasicShowTables_TableItemSchema).default([]).describe(\"A list of tables found in the specified schema, including their names, row counts, and sizes in bytes.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeBasicShowTables: AppAction<\n typeof SnowflakeBasicShowTablesInput,\n typeof SnowflakeBasicShowTablesOutput,\n typeof snowflakeBasic.credential\n> = action(\"SNOWFLAKE_BASIC_SHOW_TABLES\", {\n slug: \"snowflake_basic-show-tables\",\n name: \"Show Tables\",\n description: \"Retrieves a list of tables, including their row counts and sizes in bytes, from a specified schema within a Snowflake database.\",\n input: SnowflakeBasicShowTablesInput,\n output: SnowflakeBasicShowTablesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;AACnH,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,QAAQ,EAAE,MAAM,wCAAwC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/M,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,14 +1,15 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
2
  let zod = require("zod");
3
3
  //#region src/app.ts
4
+ const credential = {
5
+ username: zod.z.string(),
6
+ password: zod.z.string(),
7
+ subdomain: zod.z.string()
8
+ };
4
9
  const snowflakeBasic = (0, _keystrokehq_keystroke_app.defineApp)({
5
10
  slug: "snowflake_basic",
6
11
  auth: "keystroke",
7
- credential: {
8
- username: zod.z.string(),
9
- password: zod.z.string(),
10
- subdomain: zod.z.string()
11
- }
12
+ credential
12
13
  });
13
14
  //#endregion
14
15
  exports.snowflakeBasic = snowflakeBasic;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const snowflakeBasic = defineApp({\n slug: \"snowflake_basic\",\n auth: \"keystroke\",\n credential: {\n username: z.string(),\n password: z.string(),\n subdomain: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,kBAAA,GAAA,2BAAA,UAAA,CAA2B;CACtC,MAAM;CACN,MAAM;CACN,YAAY;EACV,UAAUA,IAAAA,EAAE,OAAO;EACnB,UAAUA,IAAAA,EAAE,OAAO;EACnB,WAAWA,IAAAA,EAAE,OAAO;CACtB;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n username: z.string(),\n password: z.string(),\n subdomain: z.string(),\n};\n\nexport const snowflakeBasic: KeystrokeApp<\"snowflake_basic\", typeof credential> = defineApp({\n slug: \"snowflake_basic\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,UAAUA,IAAAA,EAAE,OAAO;CACnB,UAAUA,IAAAA,EAAE,OAAO;CACnB,WAAWA,IAAAA,EAAE,OAAO;AACtB;AAEA,MAAa,kBAAA,GAAA,2BAAA,UAAA,CAA+E;CAC1F,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,15 +1,13 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const snowflakeBasic: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  username: z.ZodString;
10
7
  password: z.ZodString;
11
8
  subdomain: z.ZodString;
12
- }, z.core.$strip>>>;
9
+ };
10
+ declare const snowflakeBasic: KeystrokeApp<"snowflake_basic", typeof credential>;
13
11
  //#endregion
14
12
  export { snowflakeBasic };
15
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,cAAA,6BAAc,GAAA,+BAAA,UAAA,oBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;;;;;cAMO,cAAA,EAAgB,YAAY,2BAA2B,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,15 +1,13 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const snowflakeBasic: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"snowflake_basic", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  username: z.ZodString;
10
7
  password: z.ZodString;
11
8
  subdomain: z.ZodString;
12
- }, z.core.$strip>>>;
9
+ };
10
+ declare const snowflakeBasic: KeystrokeApp<"snowflake_basic", typeof credential>;
13
11
  //#endregion
14
12
  export { snowflakeBasic };
15
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,cAAA,6BAAc,GAAA,+BAAA,UAAA,oBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;;;;;cAMO,cAAA,EAAgB,YAAY,2BAA2B,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const snowflakeBasic = defineApp({
5
4
  slug: "snowflake_basic",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const snowflakeBasic = defineApp({\n slug: \"snowflake_basic\",\n auth: \"keystroke\",\n credential: {\n username: z.string(),\n password: z.string(),\n subdomain: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,iBAAiB,UAAU;CACtC,MAAM;CACN,MAAM;CACN,YAAY;EACV,UAAU,EAAE,OAAO;EACnB,UAAU,EAAE,OAAO;EACnB,WAAW,EAAE,OAAO;CACtB;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n username: z.string(),\n password: z.string(),\n subdomain: z.string(),\n};\n\nexport const snowflakeBasic: KeystrokeApp<\"snowflake_basic\", typeof credential> = defineApp({\n slug: \"snowflake_basic\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AASA,MAAa,iBAAqE,UAAU;CAC1F,MAAM;CACN,MAAM;CACN;EARA,UAAU,EAAE,OAAO;EACnB,UAAU,EAAE,OAAO;EACnB,WAAW,EAAE,OAAO;CAMpB;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,9 +1,9 @@
1
+ import { snowflakeBasic } from "./app.cjs";
1
2
  import { snowflakeBasicDescribeTable } from "./actions/describe-table.cjs";
2
3
  import { snowflakeBasicExploreColumns } from "./actions/explore-columns.cjs";
3
4
  import { snowflakeBasicRunQuery } from "./actions/run-query.cjs";
4
5
  import { snowflakeBasicShowDatabases } from "./actions/show-databases.cjs";
5
6
  import { snowflakeBasicShowSchemas } from "./actions/show-schemas.cjs";
6
7
  import { snowflakeBasicShowTables } from "./actions/show-tables.cjs";
7
- import { snowflakeBasic } from "./app.cjs";
8
8
  import { snowflakeBasicCatalog } from "./catalog.cjs";
9
9
  export { snowflakeBasic, snowflakeBasicCatalog, snowflakeBasicDescribeTable, snowflakeBasicExploreColumns, snowflakeBasicRunQuery, snowflakeBasicShowDatabases, snowflakeBasicShowSchemas, snowflakeBasicShowTables };
package/dist/index.d.mts CHANGED
@@ -1,9 +1,9 @@
1
+ import { snowflakeBasic } from "./app.mjs";
1
2
  import { snowflakeBasicDescribeTable } from "./actions/describe-table.mjs";
2
3
  import { snowflakeBasicExploreColumns } from "./actions/explore-columns.mjs";
3
4
  import { snowflakeBasicRunQuery } from "./actions/run-query.mjs";
4
5
  import { snowflakeBasicShowDatabases } from "./actions/show-databases.mjs";
5
6
  import { snowflakeBasicShowSchemas } from "./actions/show-schemas.mjs";
6
7
  import { snowflakeBasicShowTables } from "./actions/show-tables.mjs";
7
- import { snowflakeBasic } from "./app.mjs";
8
8
  import { snowflakeBasicCatalog } from "./catalog.mjs";
9
9
  export { snowflakeBasic, snowflakeBasicCatalog, snowflakeBasicDescribeTable, snowflakeBasicExploreColumns, snowflakeBasicRunQuery, snowflakeBasicShowDatabases, snowflakeBasicShowSchemas, snowflakeBasicShowTables };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/snowflake_basic",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {