@keystrokehq/snowflake 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/cancel-statement-execution.cjs +1 -0
- package/dist/actions/cancel-statement-execution.cjs.map +1 -1
- package/dist/actions/cancel-statement-execution.d.cts +3 -4
- package/dist/actions/cancel-statement-execution.d.cts.map +1 -1
- package/dist/actions/cancel-statement-execution.d.mts +3 -4
- package/dist/actions/cancel-statement-execution.d.mts.map +1 -1
- package/dist/actions/cancel-statement-execution.mjs +1 -0
- package/dist/actions/cancel-statement-execution.mjs.map +1 -1
- package/dist/actions/check-statement-status.cjs +1 -0
- package/dist/actions/check-statement-status.cjs.map +1 -1
- package/dist/actions/check-statement-status.d.cts +3 -5
- package/dist/actions/check-statement-status.d.cts.map +1 -1
- package/dist/actions/check-statement-status.d.mts +3 -5
- package/dist/actions/check-statement-status.d.mts.map +1 -1
- package/dist/actions/check-statement-status.mjs +1 -0
- package/dist/actions/check-statement-status.mjs.map +1 -1
- package/dist/actions/drop-warehouse.cjs +1 -0
- package/dist/actions/drop-warehouse.cjs.map +1 -1
- package/dist/actions/drop-warehouse.d.cts +3 -4
- package/dist/actions/drop-warehouse.d.cts.map +1 -1
- package/dist/actions/drop-warehouse.d.mts +3 -4
- package/dist/actions/drop-warehouse.d.mts.map +1 -1
- package/dist/actions/drop-warehouse.mjs +1 -0
- package/dist/actions/drop-warehouse.mjs.map +1 -1
- package/dist/actions/execute-sql.cjs +1 -0
- package/dist/actions/execute-sql.cjs.map +1 -1
- package/dist/actions/execute-sql.d.cts +3 -10
- package/dist/actions/execute-sql.d.cts.map +1 -1
- package/dist/actions/execute-sql.d.mts +3 -10
- package/dist/actions/execute-sql.d.mts.map +1 -1
- package/dist/actions/execute-sql.mjs +1 -0
- package/dist/actions/execute-sql.mjs.map +1 -1
- package/dist/actions/fetch-catalog-integration.cjs +1 -0
- package/dist/actions/fetch-catalog-integration.cjs.map +1 -1
- package/dist/actions/fetch-catalog-integration.d.cts +3 -3
- package/dist/actions/fetch-catalog-integration.d.cts.map +1 -1
- package/dist/actions/fetch-catalog-integration.d.mts +3 -3
- package/dist/actions/fetch-catalog-integration.d.mts.map +1 -1
- package/dist/actions/fetch-catalog-integration.mjs +1 -0
- package/dist/actions/fetch-catalog-integration.mjs.map +1 -1
- package/dist/actions/get-active-scheduled-maintenances.cjs +1 -0
- package/dist/actions/get-active-scheduled-maintenances.cjs.map +1 -1
- package/dist/actions/get-active-scheduled-maintenances.d.cts +3 -1
- package/dist/actions/get-active-scheduled-maintenances.d.cts.map +1 -1
- package/dist/actions/get-active-scheduled-maintenances.d.mts +3 -1
- package/dist/actions/get-active-scheduled-maintenances.d.mts.map +1 -1
- package/dist/actions/get-active-scheduled-maintenances.mjs +1 -0
- package/dist/actions/get-active-scheduled-maintenances.mjs.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.cjs +1 -0
- package/dist/actions/get-all-scheduled-maintenances.cjs.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.d.cts +3 -1
- package/dist/actions/get-all-scheduled-maintenances.d.cts.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.d.mts +3 -1
- package/dist/actions/get-all-scheduled-maintenances.d.mts.map +1 -1
- package/dist/actions/get-all-scheduled-maintenances.mjs +1 -0
- package/dist/actions/get-all-scheduled-maintenances.mjs.map +1 -1
- package/dist/actions/get-component-status.cjs +1 -0
- package/dist/actions/get-component-status.cjs.map +1 -1
- package/dist/actions/get-component-status.d.cts +3 -3
- package/dist/actions/get-component-status.d.cts.map +1 -1
- package/dist/actions/get-component-status.d.mts +3 -3
- package/dist/actions/get-component-status.d.mts.map +1 -1
- package/dist/actions/get-component-status.mjs +1 -0
- package/dist/actions/get-component-status.mjs.map +1 -1
- package/dist/actions/get-status-rollup.cjs +1 -0
- package/dist/actions/get-status-rollup.cjs.map +1 -1
- package/dist/actions/get-status-rollup.d.cts +3 -1
- package/dist/actions/get-status-rollup.d.cts.map +1 -1
- package/dist/actions/get-status-rollup.d.mts +3 -1
- package/dist/actions/get-status-rollup.d.mts.map +1 -1
- package/dist/actions/get-status-rollup.mjs +1 -0
- package/dist/actions/get-status-rollup.mjs.map +1 -1
- package/dist/actions/get-status-summary.cjs +1 -0
- package/dist/actions/get-status-summary.cjs.map +1 -1
- package/dist/actions/get-status-summary.d.cts +3 -1
- package/dist/actions/get-status-summary.d.cts.map +1 -1
- package/dist/actions/get-status-summary.d.mts +3 -1
- package/dist/actions/get-status-summary.d.mts.map +1 -1
- package/dist/actions/get-status-summary.mjs +1 -0
- package/dist/actions/get-status-summary.mjs.map +1 -1
- package/dist/actions/get-unresolved-incidents.cjs +1 -0
- package/dist/actions/get-unresolved-incidents.cjs.map +1 -1
- package/dist/actions/get-unresolved-incidents.d.cts +3 -1
- package/dist/actions/get-unresolved-incidents.d.cts.map +1 -1
- package/dist/actions/get-unresolved-incidents.d.mts +3 -1
- package/dist/actions/get-unresolved-incidents.d.mts.map +1 -1
- package/dist/actions/get-unresolved-incidents.mjs +1 -0
- package/dist/actions/get-unresolved-incidents.mjs.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.cjs +1 -0
- package/dist/actions/get-upcoming-scheduled-maintenances.cjs.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.d.cts +3 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.d.cts.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.d.mts +3 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.d.mts.map +1 -1
- package/dist/actions/get-upcoming-scheduled-maintenances.mjs +1 -0
- package/dist/actions/get-upcoming-scheduled-maintenances.mjs.map +1 -1
- package/dist/actions/show-databases.cjs +1 -0
- package/dist/actions/show-databases.cjs.map +1 -1
- package/dist/actions/show-databases.d.cts +3 -11
- package/dist/actions/show-databases.d.cts.map +1 -1
- package/dist/actions/show-databases.d.mts +3 -11
- package/dist/actions/show-databases.d.mts.map +1 -1
- package/dist/actions/show-databases.mjs +1 -0
- package/dist/actions/show-databases.mjs.map +1 -1
- package/dist/actions/show-schemas.cjs +1 -0
- package/dist/actions/show-schemas.cjs.map +1 -1
- package/dist/actions/show-schemas.d.cts +3 -13
- package/dist/actions/show-schemas.d.cts.map +1 -1
- package/dist/actions/show-schemas.d.mts +3 -13
- package/dist/actions/show-schemas.d.mts.map +1 -1
- package/dist/actions/show-schemas.mjs +1 -0
- package/dist/actions/show-schemas.mjs.map +1 -1
- package/dist/actions/show-tables.cjs +1 -0
- package/dist/actions/show-tables.cjs.map +1 -1
- package/dist/actions/show-tables.d.cts +3 -14
- package/dist/actions/show-tables.d.cts.map +1 -1
- package/dist/actions/show-tables.d.mts +3 -14
- package/dist/actions/show-tables.d.mts.map +1 -1
- package/dist/actions/show-tables.mjs +1 -0
- package/dist/actions/show-tables.mjs.map +1 -1
- package/dist/actions/validate-credential.cjs +1 -0
- package/dist/actions/validate-credential.cjs.map +1 -1
- package/dist/actions/validate-credential.d.cts +3 -1
- package/dist/actions/validate-credential.d.cts.map +1 -1
- package/dist/actions/validate-credential.d.mts +3 -1
- package/dist/actions/validate-credential.d.mts.map +1 -1
- package/dist/actions/validate-credential.mjs +1 -0
- package/dist/actions/validate-credential.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -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 SnowflakeShowTablesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n schema: z.string().describe(\"Schema context for the query.\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped tables that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from tables whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by tables whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowTablesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowTables = action(\"SNOWFLAKE_SHOW_TABLES\", {\n slug: \"snowflake-show-tables\",\n name: \"Show Tables\",\n description: \"Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.\",\n input: SnowflakeShowTablesInput,\n output: SnowflakeShowTablesOutput,\n});\n"],"mappings":"
|
|
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 { snowflake } from \"../app\";\n\nexport const SnowflakeShowTablesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n schema: z.string().describe(\"Schema context for the query.\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped tables that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from tables whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by tables whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowTablesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowTables: AppAction<\n typeof SnowflakeShowTablesInput,\n typeof SnowflakeShowTablesOutput,\n typeof snowflake.credential\n> = action(\"SNOWFLAKE_SHOW_TABLES\", {\n slug: \"snowflake-show-tables\",\n name: \"Show Tables\",\n description: \"Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.\",\n input: SnowflakeShowTablesInput,\n output: SnowflakeShowTablesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACtI,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,kJAAkJ;CAC/P,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { snowflake } 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
|
|
@@ -19,20 +21,7 @@ declare const SnowflakeShowTablesOutput: z.ZodObject<{
|
|
|
19
21
|
data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
20
22
|
columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const snowflakeShowTables:
|
|
23
|
-
role?: string | undefined;
|
|
24
|
-
limit?: number | undefined;
|
|
25
|
-
terse?: boolean | undefined;
|
|
26
|
-
schema?: string | undefined;
|
|
27
|
-
history?: boolean | undefined;
|
|
28
|
-
timeout?: number | undefined;
|
|
29
|
-
database?: string | undefined;
|
|
30
|
-
in_scope?: string | undefined;
|
|
31
|
-
from_name?: string | undefined;
|
|
32
|
-
warehouse?: string | undefined;
|
|
33
|
-
starts_with?: string | undefined;
|
|
34
|
-
like_pattern?: string | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const snowflakeShowTables: AppAction<typeof SnowflakeShowTablesInput, typeof SnowflakeShowTablesOutput, typeof snowflake.credential>;
|
|
36
25
|
//#endregion
|
|
37
26
|
export { snowflakeShowTables };
|
|
38
27
|
//# sourceMappingURL=show-tables.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"show-tables.d.cts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"show-tables.d.cts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { snowflake } 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
|
|
@@ -19,20 +21,7 @@ declare const SnowflakeShowTablesOutput: z.ZodObject<{
|
|
|
19
21
|
data: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
20
22
|
columns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const snowflakeShowTables:
|
|
23
|
-
role?: string | undefined;
|
|
24
|
-
limit?: number | undefined;
|
|
25
|
-
terse?: boolean | undefined;
|
|
26
|
-
schema?: string | undefined;
|
|
27
|
-
history?: boolean | undefined;
|
|
28
|
-
timeout?: number | undefined;
|
|
29
|
-
database?: string | undefined;
|
|
30
|
-
in_scope?: string | undefined;
|
|
31
|
-
from_name?: string | undefined;
|
|
32
|
-
warehouse?: string | undefined;
|
|
33
|
-
starts_with?: string | undefined;
|
|
34
|
-
like_pattern?: string | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const snowflakeShowTables: AppAction<typeof SnowflakeShowTablesInput, typeof SnowflakeShowTablesOutput, typeof snowflake.credential>;
|
|
36
25
|
//#endregion
|
|
37
26
|
export { snowflakeShowTables };
|
|
38
27
|
//# sourceMappingURL=show-tables.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"show-tables.d.mts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"show-tables.d.mts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -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 SnowflakeShowTablesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n schema: z.string().describe(\"Schema context for the query.\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped tables that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from tables whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by tables whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowTablesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowTables = action(\"SNOWFLAKE_SHOW_TABLES\", {\n slug: \"snowflake-show-tables\",\n name: \"Show Tables\",\n description: \"Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.\",\n input: SnowflakeShowTablesInput,\n output: SnowflakeShowTablesOutput,\n});\n"],"mappings":"
|
|
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 { snowflake } from \"../app\";\n\nexport const SnowflakeShowTablesInput = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n schema: z.string().describe(\"Schema context for the query.\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped tables that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from tables whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by tables whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowTablesOutput = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n}).passthrough();\n\nexport const snowflakeShowTables: AppAction<\n typeof SnowflakeShowTablesInput,\n typeof SnowflakeShowTablesOutput,\n typeof snowflake.credential\n> = action(\"SNOWFLAKE_SHOW_TABLES\", {\n slug: \"snowflake-show-tables\",\n name: \"Show Tables\",\n description: \"Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.\",\n input: SnowflakeShowTablesInput,\n output: SnowflakeShowTablesOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC9I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC/I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACpI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC3H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACtI,CAcS;CACP,QAduC,EAAE,OAAO;EAChD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,kJAAkJ;EAC/P,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-credential.cjs","names":["z","action"],"sources":["../../src/actions/validate-credential.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeValidateCredentialInput = z.object({}).describe(\"Request model for validating Snowflake credentials.\");\nexport const SnowflakeValidateCredentialOutput = z.object({\n message: z.string().describe(\"Additional status message or error details\").nullable().optional(),\n is_valid: z.boolean().describe(\"Indicates whether the credentials are valid and the session is active\").nullable(),\n session_id: z.string().describe(\"Unique system identifier for the Snowflake session if credentials are valid\").nullable().optional(),\n}).passthrough().describe(\"Response model for credential validation.\");\n\nexport const snowflakeValidateCredential = action(\"SNOWFLAKE_VALIDATE_CREDENTIAL\", {\n slug: \"snowflake-validate-credential\",\n name: \"Validate Credential\",\n description: \"Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.\",\n input: SnowflakeValidateCredentialInput,\n output: SnowflakeValidateCredentialOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"validate-credential.cjs","names":["z","action"],"sources":["../../src/actions/validate-credential.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflake } from \"../app\";\n\nexport const SnowflakeValidateCredentialInput = z.object({}).describe(\"Request model for validating Snowflake credentials.\");\nexport const SnowflakeValidateCredentialOutput = z.object({\n message: z.string().describe(\"Additional status message or error details\").nullable().optional(),\n is_valid: z.boolean().describe(\"Indicates whether the credentials are valid and the session is active\").nullable(),\n session_id: z.string().describe(\"Unique system identifier for the Snowflake session if credentials are valid\").nullable().optional(),\n}).passthrough().describe(\"Response model for credential validation.\");\n\nexport const snowflakeValidateCredential: AppAction<\n typeof SnowflakeValidateCredentialInput,\n typeof SnowflakeValidateCredentialOutput,\n typeof snowflake.credential\n> = action(\"SNOWFLAKE_VALIDATE_CREDENTIAL\", {\n slug: \"snowflake-validate-credential\",\n name: \"Validate Credential\",\n description: \"Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.\",\n input: SnowflakeValidateCredentialInput,\n output: SnowflakeValidateCredentialOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAC3H,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,8BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { snowflake } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/validate-credential.d.ts
|
|
@@ -7,7 +9,7 @@ declare const SnowflakeValidateCredentialOutput: z.ZodObject<{
|
|
|
7
9
|
is_valid: z.ZodNullable<z.ZodBoolean>;
|
|
8
10
|
session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const snowflakeValidateCredential:
|
|
12
|
+
declare const snowflakeValidateCredential: AppAction<typeof SnowflakeValidateCredentialInput, typeof SnowflakeValidateCredentialOutput, typeof snowflake.credential>;
|
|
11
13
|
//#endregion
|
|
12
14
|
export { snowflakeValidateCredential };
|
|
13
15
|
//# sourceMappingURL=validate-credential.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-credential.d.cts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"validate-credential.d.cts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAMjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { snowflake } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/validate-credential.d.ts
|
|
@@ -7,7 +9,7 @@ declare const SnowflakeValidateCredentialOutput: z.ZodObject<{
|
|
|
7
9
|
is_valid: z.ZodNullable<z.ZodBoolean>;
|
|
8
10
|
session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const snowflakeValidateCredential:
|
|
12
|
+
declare const snowflakeValidateCredential: AppAction<typeof SnowflakeValidateCredentialInput, typeof SnowflakeValidateCredentialOutput, typeof snowflake.credential>;
|
|
11
13
|
//#endregion
|
|
12
14
|
export { snowflakeValidateCredential };
|
|
13
15
|
//# sourceMappingURL=validate-credential.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-credential.d.mts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"validate-credential.d.mts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAMjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,SAAA,CAAU,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-credential.mjs","names":[],"sources":["../../src/actions/validate-credential.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeValidateCredentialInput = z.object({}).describe(\"Request model for validating Snowflake credentials.\");\nexport const SnowflakeValidateCredentialOutput = z.object({\n message: z.string().describe(\"Additional status message or error details\").nullable().optional(),\n is_valid: z.boolean().describe(\"Indicates whether the credentials are valid and the session is active\").nullable(),\n session_id: z.string().describe(\"Unique system identifier for the Snowflake session if credentials are valid\").nullable().optional(),\n}).passthrough().describe(\"Response model for credential validation.\");\n\nexport const snowflakeValidateCredential = action(\"SNOWFLAKE_VALIDATE_CREDENTIAL\", {\n slug: \"snowflake-validate-credential\",\n name: \"Validate Credential\",\n description: \"Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.\",\n input: SnowflakeValidateCredentialInput,\n output: SnowflakeValidateCredentialOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"validate-credential.mjs","names":[],"sources":["../../src/actions/validate-credential.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { snowflake } from \"../app\";\n\nexport const SnowflakeValidateCredentialInput = z.object({}).describe(\"Request model for validating Snowflake credentials.\");\nexport const SnowflakeValidateCredentialOutput = z.object({\n message: z.string().describe(\"Additional status message or error details\").nullable().optional(),\n is_valid: z.boolean().describe(\"Indicates whether the credentials are valid and the session is active\").nullable(),\n session_id: z.string().describe(\"Unique system identifier for the Snowflake session if credentials are valid\").nullable().optional(),\n}).passthrough().describe(\"Response model for credential validation.\");\n\nexport const snowflakeValidateCredential: AppAction<\n typeof SnowflakeValidateCredentialInput,\n typeof SnowflakeValidateCredentialOutput,\n typeof snowflake.credential\n> = action(\"SNOWFLAKE_VALIDATE_CREDENTIAL\", {\n slug: \"snowflake-validate-credential\",\n name: \"Validate Credential\",\n description: \"Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.\",\n input: SnowflakeValidateCredentialInput,\n output: SnowflakeValidateCredentialOutput,\n});\n"],"mappings":";;;AAaA,MAAa,8BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAe7D;CACP,QAf+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { accessToken: require("zod").z.string() };
|
|
4
|
+
const snowflake = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "snowflake",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.snowflake = snowflake;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const snowflake = defineApp({\n slug: \"snowflake\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,aAAA,
|
|
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 accessToken: z.string(),\n};\n\nexport const snowflake: KeystrokeApp<\"snowflake\", typeof credential> = defineApp({\n slug: \"snowflake\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,0BAAaA,CAAAA,CAAAA,EAAE,OAAO,EACxB;AAEA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAoE;CAC/E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
accessToken: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const snowflake: KeystrokeApp<"snowflake", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { snowflake };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
accessToken: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const snowflake: KeystrokeApp<"snowflake", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { snowflake };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;eAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,SAAA,EAAW,YAAY,qBAAqB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const snowflake = defineApp({
|
|
4
4
|
slug: "snowflake",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { accessToken: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
export { snowflake };
|
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\";\n\nexport const snowflake = defineApp({\n slug: \"snowflake\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
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 accessToken: z.string(),\n};\n\nexport const snowflake: KeystrokeApp<\"snowflake\", typeof credential> = defineApp({\n slug: \"snowflake\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,YAA0D,UAAU;CAC/E,MAAM;CACN,MAAM;CACN,cANA,aAAa,EAAE,OAAO,EAMtB;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { snowflake } from "./app.cjs";
|
|
1
2
|
import { snowflakeCancelStatementExecution } from "./actions/cancel-statement-execution.cjs";
|
|
2
3
|
import { snowflakeCheckStatementStatus } from "./actions/check-statement-status.cjs";
|
|
3
4
|
import { snowflakeDropWarehouse } from "./actions/drop-warehouse.cjs";
|
|
@@ -14,6 +15,5 @@ import { snowflakeShowDatabases } from "./actions/show-databases.cjs";
|
|
|
14
15
|
import { snowflakeShowSchemas } from "./actions/show-schemas.cjs";
|
|
15
16
|
import { snowflakeShowTables } from "./actions/show-tables.cjs";
|
|
16
17
|
import { snowflakeValidateCredential } from "./actions/validate-credential.cjs";
|
|
17
|
-
import { snowflake } from "./app.cjs";
|
|
18
18
|
import { snowflakeCatalog } from "./catalog.cjs";
|
|
19
19
|
export { snowflake, snowflakeCancelStatementExecution, snowflakeCatalog, snowflakeCheckStatementStatus, snowflakeDropWarehouse, snowflakeExecuteSql, snowflakeFetchCatalogIntegration, snowflakeGetActiveScheduledMaintenances, snowflakeGetAllScheduledMaintenances, snowflakeGetComponentStatus, snowflakeGetStatusRollup, snowflakeGetStatusSummary, snowflakeGetUnresolvedIncidents, snowflakeGetUpcomingScheduledMaintenances, snowflakeShowDatabases, snowflakeShowSchemas, snowflakeShowTables, snowflakeValidateCredential };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { snowflake } from "./app.mjs";
|
|
1
2
|
import { snowflakeCancelStatementExecution } from "./actions/cancel-statement-execution.mjs";
|
|
2
3
|
import { snowflakeCheckStatementStatus } from "./actions/check-statement-status.mjs";
|
|
3
4
|
import { snowflakeDropWarehouse } from "./actions/drop-warehouse.mjs";
|
|
@@ -14,6 +15,5 @@ import { snowflakeShowDatabases } from "./actions/show-databases.mjs";
|
|
|
14
15
|
import { snowflakeShowSchemas } from "./actions/show-schemas.mjs";
|
|
15
16
|
import { snowflakeShowTables } from "./actions/show-tables.mjs";
|
|
16
17
|
import { snowflakeValidateCredential } from "./actions/validate-credential.mjs";
|
|
17
|
-
import { snowflake } from "./app.mjs";
|
|
18
18
|
import { snowflakeCatalog } from "./catalog.mjs";
|
|
19
19
|
export { snowflake, snowflakeCancelStatementExecution, snowflakeCatalog, snowflakeCheckStatementStatus, snowflakeDropWarehouse, snowflakeExecuteSql, snowflakeFetchCatalogIntegration, snowflakeGetActiveScheduledMaintenances, snowflakeGetAllScheduledMaintenances, snowflakeGetComponentStatus, snowflakeGetStatusRollup, snowflakeGetStatusSummary, snowflakeGetUnresolvedIncidents, snowflakeGetUpcomingScheduledMaintenances, snowflakeShowDatabases, snowflakeShowSchemas, snowflakeShowTables, snowflakeValidateCredential };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/snowflake",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
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.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|