@keystrokehq/snowflake 0.0.15 → 0.0.16-integration-id-canonicalization.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/README.md +3 -9
  2. package/dist/{accounts.d.mts → accounts/index.d.mts} +3 -3
  3. package/dist/{accounts.mjs → accounts/index.mjs} +3 -3
  4. package/dist/{bulk.d.mts → bulk/index.d.mts} +6 -6
  5. package/dist/{bulk.mjs → bulk/index.mjs} +5 -5
  6. package/dist/{catalog.d.mts → catalog/index.d.mts} +3 -3
  7. package/dist/{catalog.mjs → catalog/index.mjs} +3 -3
  8. package/dist/{client.d.mts → client/index.d.mts} +3 -3
  9. package/dist/{client.mjs → client/index.mjs} +4 -4
  10. package/dist/credential-sets/index.d.mts +3 -0
  11. package/dist/credential-sets/index.mjs +4 -0
  12. package/dist/{databases.d.mts → databases/index.d.mts} +1 -1
  13. package/dist/databases/index.mjs +3 -0
  14. package/dist/{events.d.mts → events/index.d.mts} +1 -1
  15. package/dist/{events.mjs → events/index.mjs} +2 -2
  16. package/dist/{file-formats.d.mts → file-formats/index.d.mts} +5 -5
  17. package/dist/{file-formats.mjs → file-formats/index.mjs} +5 -5
  18. package/dist/{functions.d.mts → functions/index.d.mts} +5 -5
  19. package/dist/{functions.mjs → functions/index.mjs} +5 -5
  20. package/dist/{grants.d.mts → grants/index.d.mts} +3 -3
  21. package/dist/{grants.mjs → grants/index.mjs} +4 -4
  22. package/dist/index.d.mts +4 -1
  23. package/dist/index.mjs +6 -1
  24. package/dist/{org-admin.d.mts → org-admin/index.d.mts} +4 -4
  25. package/dist/{org-admin.mjs → org-admin/index.mjs} +4 -4
  26. package/dist/{pipes.d.mts → pipes/index.d.mts} +4 -4
  27. package/dist/{pipes.mjs → pipes/index.mjs} +4 -4
  28. package/dist/{procedures.d.mts → procedures/index.d.mts} +7 -7
  29. package/dist/{procedures.mjs → procedures/index.mjs} +6 -6
  30. package/dist/{results.d.mts → results/index.d.mts} +2 -2
  31. package/dist/{results.mjs → results/index.mjs} +1 -1
  32. package/dist/{roles.d.mts → roles/index.d.mts} +4 -4
  33. package/dist/{roles.mjs → roles/index.mjs} +5 -5
  34. package/dist/{rows.d.mts → rows/index.d.mts} +3 -3
  35. package/dist/{rows.mjs → rows/index.mjs} +3 -3
  36. package/dist/schemas/index.mjs +2 -2
  37. package/dist/{schemas-catalog.d.mts → schemas-catalog/index.d.mts} +1 -1
  38. package/dist/schemas-catalog/index.mjs +3 -0
  39. package/dist/{shares.d.mts → shares/index.d.mts} +4 -4
  40. package/dist/{shares.mjs → shares/index.mjs} +4 -4
  41. package/dist/snowflake-s3-sns-webhook.credential-set-D6bLAWy5.d.mts +50 -0
  42. package/dist/snowflake-s3-sns-webhook.credential-set-DzR7oWNK.mjs +44 -0
  43. package/dist/{integration-D8I5-1eb.d.mts → snowflake.credential-set-BxT7Gf3A.d.mts} +37 -67
  44. package/dist/snowflake.credential-set-DE3gXf-a.mjs +106 -0
  45. package/dist/{sql.d.mts → sql/index.d.mts} +3 -3
  46. package/dist/{sql.mjs → sql/index.mjs} +4 -4
  47. package/dist/{sql-options-DI-OmLU6.mjs → sql-options-D6GEa21F.mjs} +1 -1
  48. package/dist/{stages.d.mts → stages/index.d.mts} +6 -6
  49. package/dist/{stages.mjs → stages/index.mjs} +5 -5
  50. package/dist/{statements-B2ThF_4b.mjs → statements-BumhMhN4.mjs} +1 -1
  51. package/dist/{status-page.d.mts → status-page/index.d.mts} +1 -1
  52. package/dist/{status-page.mjs → status-page/index.mjs} +1 -1
  53. package/dist/{streaming.d.mts → streaming/index.d.mts} +2 -2
  54. package/dist/{streaming.mjs → streaming/index.mjs} +1 -1
  55. package/dist/{streams.d.mts → streams/index.d.mts} +5 -5
  56. package/dist/{streams.mjs → streams/index.mjs} +5 -5
  57. package/dist/{tables.d.mts → tables/index.d.mts} +1 -1
  58. package/dist/{tables.mjs → tables/index.mjs} +1 -1
  59. package/dist/{tasks.d.mts → tasks/index.d.mts} +5 -5
  60. package/dist/{tasks.mjs → tasks/index.mjs} +5 -5
  61. package/dist/{triggers.d.mts → triggers/index.d.mts} +11 -9
  62. package/dist/{triggers.mjs → triggers/index.mjs} +60 -12
  63. package/dist/{users.d.mts → users/index.d.mts} +5 -5
  64. package/dist/{users.mjs → users/index.mjs} +5 -5
  65. package/dist/{verification.d.mts → verification/index.d.mts} +2 -2
  66. package/dist/{verification.mjs → verification/index.mjs} +2 -2
  67. package/dist/views/index.d.mts +2 -0
  68. package/dist/views/index.mjs +3 -0
  69. package/dist/{warehouses.d.mts → warehouses/index.d.mts} +5 -5
  70. package/dist/{warehouses.mjs → warehouses/index.mjs} +5 -5
  71. package/package.json +15 -19
  72. package/dist/_official/index.d.mts +0 -2
  73. package/dist/_official/index.mjs +0 -3
  74. package/dist/connection.d.mts +0 -2
  75. package/dist/connection.mjs +0 -3
  76. package/dist/databases.mjs +0 -3
  77. package/dist/integration-DatCj2fe.mjs +0 -211
  78. package/dist/schemas-catalog.mjs +0 -3
  79. package/dist/views.d.mts +0 -2
  80. package/dist/views.mjs +0 -3
  81. /package/dist/{common-BnKTPQXc.mjs → common-DfpCwJx5.mjs} +0 -0
  82. /package/dist/{errors-DKnc9o_a.mjs → errors-60AsF7Su.mjs} +0 -0
  83. /package/dist/{_runtime → operations}/index.d.mts +0 -0
  84. /package/dist/{_runtime → operations}/index.mjs +0 -0
  85. /package/dist/{retry-0hMfb8cC.mjs → retry-B4-9MZIp.mjs} +0 -0
  86. /package/dist/{sql-safety-CywdR3EP.mjs → sql-safety-BZpAPsq6.mjs} +0 -0
@@ -1,9 +1,9 @@
1
- import { SnowflakeClient } from "./client.mjs";
2
- import { d as HydratedRow } from "./statements-DJL0qVNA.mjs";
3
- import { t as OptionMap } from "./sql-options-2k5xQ-oS.mjs";
4
- import { CatalogResult, ShowOptions, showWarehouses } from "./catalog.mjs";
1
+ import { SnowflakeClient } from "../client/index.mjs";
2
+ import { d as HydratedRow } from "../statements-DJL0qVNA.mjs";
3
+ import { t as OptionMap } from "../sql-options-2k5xQ-oS.mjs";
4
+ import { CatalogResult, ShowOptions, showWarehouses } from "../catalog/index.mjs";
5
5
 
6
- //#region src/warehouses.d.ts
6
+ //#region src/warehouses/index.d.ts
7
7
  interface WarehouseContext {
8
8
  readonly warehouse?: string;
9
9
  readonly role?: string;
@@ -1,9 +1,9 @@
1
- import { executeSql } from "./sql.mjs";
2
- import { a as quoteLiteral, i as quoteIdentifier } from "./sql-safety-CywdR3EP.mjs";
3
- import { t as formatOptions } from "./sql-options-DI-OmLU6.mjs";
4
- import { showWarehouses } from "./catalog.mjs";
1
+ import { executeSql } from "../sql/index.mjs";
2
+ import { a as quoteLiteral, i as quoteIdentifier } from "../sql-safety-BZpAPsq6.mjs";
3
+ import { t as formatOptions } from "../sql-options-D6GEa21F.mjs";
4
+ import { showWarehouses } from "../catalog/index.mjs";
5
5
 
6
- //#region src/warehouses.ts
6
+ //#region src/warehouses/index.ts
7
7
  async function createWarehouse(client, options) {
8
8
  const prefix = `CREATE${options.orReplace ? " OR REPLACE" : ""} WAREHOUSE${options.ifNotExists ? " IF NOT EXISTS" : ""}`;
9
9
  const body = options.options && Object.keys(options.options).length > 0 ? ` ${formatOptions(options.options)}` : "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/snowflake",
3
- "version": "0.0.15",
3
+ "version": "0.0.16-integration-id-canonicalization.0",
4
4
  "private": false,
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -9,9 +9,13 @@
9
9
  "types": "./dist/index.d.mts",
10
10
  "default": "./dist/index.mjs"
11
11
  },
12
- "./connection": {
13
- "types": "./dist/connection.d.mts",
14
- "default": "./dist/connection.mjs"
12
+ "./credential-sets": {
13
+ "types": "./dist/credential-sets/index.d.mts",
14
+ "default": "./dist/credential-sets/index.mjs"
15
+ },
16
+ "./operations": {
17
+ "types": "./dist/operations/index.d.mts",
18
+ "default": "./dist/operations/index.mjs"
15
19
  },
16
20
  "./client": {
17
21
  "types": "./dist/client.d.mts",
@@ -21,17 +25,13 @@
21
25
  "types": "./dist/schemas/index.d.mts",
22
26
  "default": "./dist/schemas/index.mjs"
23
27
  },
24
- "./_official": {
25
- "types": "./dist/_official/index.d.mts",
26
- "default": "./dist/_official/index.mjs"
27
- },
28
28
  "./events": {
29
- "types": "./dist/events.d.mts",
30
- "default": "./dist/events.mjs"
29
+ "types": "./dist/events/index.d.mts",
30
+ "default": "./dist/events/index.mjs"
31
31
  },
32
32
  "./triggers": {
33
- "types": "./dist/triggers.d.mts",
34
- "default": "./dist/triggers.mjs"
33
+ "types": "./dist/triggers/index.d.mts",
34
+ "default": "./dist/triggers/index.mjs"
35
35
  },
36
36
  "./verification": {
37
37
  "types": "./dist/verification.d.mts",
@@ -136,10 +136,6 @@
136
136
  "./status-page": {
137
137
  "types": "./dist/status-page.d.mts",
138
138
  "default": "./dist/status-page.mjs"
139
- },
140
- "./_runtime": {
141
- "types": "./dist/_runtime/index.d.mts",
142
- "default": "./dist/_runtime/index.mjs"
143
139
  }
144
140
  },
145
141
  "files": [
@@ -148,19 +144,19 @@
148
144
  "LICENSE"
149
145
  ],
150
146
  "dependencies": {
151
- "@keystrokehq/integration-authoring": "^0.0.9",
152
147
  "zod": "^4.3.6"
153
148
  },
154
149
  "peerDependencies": {
155
- "@keystrokehq/core": ">=0.0.13 <0.1.0"
150
+ "@keystrokehq/core": ">=0.0.8 <0.1.0"
156
151
  },
157
152
  "devDependencies": {
158
153
  "@types/node": "^22.19.11",
159
154
  "tsdown": "^0.20.3",
160
155
  "typescript": "^5.9.3",
161
156
  "vitest": "^4.0.18",
162
- "@keystrokehq/core": "^0.0.13",
157
+ "@keystrokehq/core": "^0.0.12",
163
158
  "@keystrokehq/test-utils": "0.0.0",
159
+ "@keystrokehq/integration-authoring": "0.0.9",
164
160
  "@keystrokehq/typescript-config": "0.0.0"
165
161
  },
166
162
  "keywords": [
@@ -1,2 +0,0 @@
1
- import { c as snowflakeOfficialIntegration, i as snowflake, s as snowflakeBundle } from "../integration-D8I5-1eb.mjs";
2
- export { snowflake, snowflakeBundle, snowflakeOfficialIntegration };
@@ -1,3 +0,0 @@
1
- import { a as snowflakeBundle, n as snowflake, o as snowflakeOfficialIntegration } from "../integration-DatCj2fe.mjs";
2
-
3
- export { snowflake, snowflakeBundle, snowflakeOfficialIntegration };
@@ -1,2 +0,0 @@
1
- import { a as snowflakeAuthModeSchema, c as snowflakeOfficialIntegration, i as snowflake, n as SnowflakeCredentials, o as snowflakeAuthSchema, r as parseSnowflakeCredentials, s as snowflakeBundle, t as SnowflakeAuthMode } from "./integration-D8I5-1eb.mjs";
2
- export { type SnowflakeAuthMode, type SnowflakeCredentials, parseSnowflakeCredentials, snowflake, snowflakeAuthModeSchema, snowflakeAuthSchema, snowflakeBundle, snowflakeOfficialIntegration };
@@ -1,3 +0,0 @@
1
- import { a as snowflakeBundle, i as snowflakeAuthSchema, n as snowflake, o as snowflakeOfficialIntegration, r as snowflakeAuthModeSchema, t as parseSnowflakeCredentials } from "./integration-DatCj2fe.mjs";
2
-
3
- export { parseSnowflakeCredentials, snowflake, snowflakeAuthModeSchema, snowflakeAuthSchema, snowflakeBundle, snowflakeOfficialIntegration };
@@ -1,3 +0,0 @@
1
- import { findDatabases, showDatabases } from "./catalog.mjs";
2
-
3
- export { findDatabases, showDatabases };
@@ -1,211 +0,0 @@
1
- import { defineOfficialIntegration, officialCredentialSetId } from "@keystrokehq/integration-authoring/official";
2
- import { z } from "zod";
3
- import { CredentialSet } from "@keystrokehq/core";
4
-
5
- //#region src/webhook-credentials.ts
6
- /**
7
- * Webhook credential sets for the Snowflake auto-ingest triggers.
8
- *
9
- * Snowflake has no native webhook product — auto-ingest relies on
10
- * cloud-provider event buses (AWS SNS, GCP Pub/Sub, Azure Event Grid)
11
- * that forward object-storage notifications to a public endpoint.
12
- * Each cloud has a different trust model, so we ship one credential
13
- * set per cloud rather than a single generic "auto-ingest" set.
14
- *
15
- * These credentials hold only the verification material the webhook
16
- * receiver needs — the cloud provider itself controls who can publish
17
- * to the topic/queue/event-grid. All auth fields are strings to keep
18
- * them CredentialSet-compatible (auth shapes are Zod objects without
19
- * unions/optionals-at-root).
20
- */
21
- /**
22
- * AWS SNS webhook credentials.
23
- *
24
- * SNS verifies message authenticity via an X.509 signature whose public
25
- * cert is published at an SNS-hosted URL. The only real secret is the
26
- * optional {@link expectedTopicArn}: tight-scoping to a single topic
27
- * prevents an attacker that fooled SNS signing (not possible absent a
28
- * certificate compromise) from posting events from an unrelated topic.
29
- */
30
- const snowflakeS3SnsWebhookCredentialSet = new CredentialSet({
31
- id: officialCredentialSetId("snowflake-s3-sns-webhook"),
32
- credentialType: "manual",
33
- exposure: "platform-only",
34
- name: "Snowflake Auto-Ingest — AWS SNS",
35
- auth: z.object({
36
- expectedTopicArn: z.string().optional(),
37
- allowedSigningCertHostPattern: z.string().default("^sns\\.[a-z0-9-]+\\.amazonaws\\.com(\\.cn)?$").optional(),
38
- autoConfirmSubscriptions: z.enum(["true", "false"]).default("false").optional()
39
- })
40
- });
41
- /**
42
- * GCP Pub/Sub push subscriptions sign each request with a Google-minted
43
- * OIDC JWT (RS256) in the `Authorization` header. Verification requires
44
- * knowing:
45
- *
46
- * - `expectedAudience`: the OIDC audience configured on the push
47
- * subscription (commonly the webhook URL itself).
48
- * - `expectedServiceAccount`: the push subscription's service-account
49
- * email, which appears as the JWT `email` claim.
50
- *
51
- * Both are public identifiers, but pinning them prevents an attacker
52
- * with any valid Google OIDC token from impersonating the subscription.
53
- */
54
- const snowflakeGcsPubSubWebhookCredentialSet = new CredentialSet({
55
- id: officialCredentialSetId("snowflake-gcs-pubsub-webhook"),
56
- credentialType: "manual",
57
- exposure: "platform-only",
58
- name: "Snowflake Auto-Ingest — GCS Pub/Sub",
59
- auth: z.object({
60
- expectedAudience: z.string().min(1),
61
- expectedServiceAccount: z.string().min(1),
62
- jwksUri: z.string().default("https://www.googleapis.com/oauth2/v3/certs").optional(),
63
- issuer: z.string().default("https://accounts.google.com").optional()
64
- })
65
- });
66
- /**
67
- * Azure Event Grid authenticates webhook endpoints via one-time
68
- * handshake validation (validation code or URL) rather than per-request
69
- * signatures. If the operator wires a **shared secret** into the
70
- * Event Grid subscription as a custom header, that secret can be
71
- * checked here as a defence-in-depth measure.
72
- *
73
- * Event Grid's synchronous handshake (`SubscriptionValidationEvent`) is
74
- * not fulfillable through the Keystroke static-response webhook
75
- * primitive; Snowflake operators should use **manual handshake** or
76
- * Cloud-Events schema. See `IMPLEMENTATION_NOTES.md` § trigger webhooks.
77
- */
78
- const snowflakeAzureEventGridWebhookCredentialSet = new CredentialSet({
79
- id: officialCredentialSetId("snowflake-azure-eventgrid-webhook"),
80
- credentialType: "manual",
81
- exposure: "platform-only",
82
- name: "Snowflake Auto-Ingest — Azure Event Grid",
83
- auth: z.object({
84
- sharedSecret: z.string().optional(),
85
- sharedSecretHeader: z.string().default("aeg-subscription-secret").optional(),
86
- expectedTopicArn: z.string().optional()
87
- })
88
- });
89
-
90
- //#endregion
91
- //#region src/integration.ts
92
- /**
93
- * Public auth schema for Snowflake connections.
94
- *
95
- * Modeled as a discriminated union on `mode`. `connection.kind` is `manual`
96
- * because Keystroke does not run an interactive Snowflake OAuth dance — OAuth
97
- * mode accepts a bearer token provided by the caller (external IdP /
98
- * Snowflake-hosted OAuth). See `IMPLEMENTATION_NOTES.md` § 2 for rationale.
99
- */
100
- const snowflakeAuthModeSchema = z.enum([
101
- "keypair",
102
- "oauth",
103
- "pat",
104
- "basic"
105
- ]);
106
- /**
107
- * Flat Zod object — the official integration contract constrains `auth` to a
108
- * `ZodObject<ZodRawShape>`, so mode-specific fields are declared as optional
109
- * and validated via `superRefine` below. Runtime invariants still cover:
110
- * - keypair → requires SNOWFLAKE_USER + SNOWFLAKE_PRIVATE_KEY
111
- * - oauth → requires SNOWFLAKE_OAUTH_ACCESS_TOKEN
112
- * - pat → requires SNOWFLAKE_USER + SNOWFLAKE_PAT
113
- * - basic → requires SNOWFLAKE_USER + SNOWFLAKE_PASSWORD
114
- */
115
- const baseSnowflakeAuthShape = {
116
- mode: snowflakeAuthModeSchema,
117
- SNOWFLAKE_ACCOUNT: z.string().min(1),
118
- SNOWFLAKE_USER: z.string().min(1).optional(),
119
- SNOWFLAKE_PRIVATE_KEY: z.string().min(1).optional(),
120
- SNOWFLAKE_PRIVATE_KEY_PASSPHRASE: z.string().optional(),
121
- SNOWFLAKE_PAT: z.string().min(1).optional(),
122
- SNOWFLAKE_PASSWORD: z.string().min(1).optional(),
123
- SNOWFLAKE_OAUTH_ACCESS_TOKEN: z.string().min(1).optional(),
124
- SNOWFLAKE_OAUTH_REFRESH_TOKEN: z.string().optional(),
125
- SNOWFLAKE_OAUTH_CLIENT_ID: z.string().optional(),
126
- SNOWFLAKE_OAUTH_CLIENT_SECRET: z.string().optional(),
127
- SNOWFLAKE_OAUTH_TOKEN_URL: z.string().url().optional(),
128
- SNOWFLAKE_OAUTH_SCOPES: z.string().optional(),
129
- SNOWFLAKE_ROLE: z.string().optional(),
130
- SNOWFLAKE_WAREHOUSE: z.string().optional(),
131
- SNOWFLAKE_DATABASE: z.string().optional(),
132
- SNOWFLAKE_SCHEMA: z.string().optional(),
133
- SNOWFLAKE_HOST: z.string().optional(),
134
- SNOWFLAKE_REGION: z.string().optional(),
135
- SNOWFLAKE_PUBLIC_KEY_FP: z.string().optional()
136
- };
137
- const snowflakeAuthSchema = z.object(baseSnowflakeAuthShape).superRefine((value, ctx) => {
138
- if (value.mode === "keypair") {
139
- if (!value.SNOWFLAKE_USER) ctx.addIssue({
140
- code: z.ZodIssueCode.custom,
141
- path: ["SNOWFLAKE_USER"],
142
- message: "SNOWFLAKE_USER is required when mode = \"keypair\""
143
- });
144
- if (!value.SNOWFLAKE_PRIVATE_KEY) ctx.addIssue({
145
- code: z.ZodIssueCode.custom,
146
- path: ["SNOWFLAKE_PRIVATE_KEY"],
147
- message: "SNOWFLAKE_PRIVATE_KEY is required when mode = \"keypair\""
148
- });
149
- } else if (value.mode === "oauth") {
150
- if (!value.SNOWFLAKE_OAUTH_ACCESS_TOKEN) ctx.addIssue({
151
- code: z.ZodIssueCode.custom,
152
- path: ["SNOWFLAKE_OAUTH_ACCESS_TOKEN"],
153
- message: "SNOWFLAKE_OAUTH_ACCESS_TOKEN is required when mode = \"oauth\""
154
- });
155
- } else if (value.mode === "pat") {
156
- if (!value.SNOWFLAKE_USER) ctx.addIssue({
157
- code: z.ZodIssueCode.custom,
158
- path: ["SNOWFLAKE_USER"],
159
- message: "SNOWFLAKE_USER is required when mode = \"pat\""
160
- });
161
- if (!value.SNOWFLAKE_PAT) ctx.addIssue({
162
- code: z.ZodIssueCode.custom,
163
- path: ["SNOWFLAKE_PAT"],
164
- message: "SNOWFLAKE_PAT is required when mode = \"pat\""
165
- });
166
- } else if (value.mode === "basic") {
167
- if (!value.SNOWFLAKE_USER) ctx.addIssue({
168
- code: z.ZodIssueCode.custom,
169
- path: ["SNOWFLAKE_USER"],
170
- message: "SNOWFLAKE_USER is required when mode = \"basic\""
171
- });
172
- if (!value.SNOWFLAKE_PASSWORD) ctx.addIssue({
173
- code: z.ZodIssueCode.custom,
174
- path: ["SNOWFLAKE_PASSWORD"],
175
- message: "SNOWFLAKE_PASSWORD is required when mode = \"basic\""
176
- });
177
- }
178
- });
179
- /**
180
- * `auth` shape used when defining the official integration. Must be a
181
- * `ZodObject<ZodRawShape>` — refinements are attached for callers via
182
- * {@link parseSnowflakeCredentials}.
183
- */
184
- const snowflakeAuthObjectSchema = z.object(baseSnowflakeAuthShape);
185
- const snowflakeOfficialIntegration = {
186
- id: "snowflake",
187
- name: "Snowflake",
188
- description: "Snowflake data cloud: SQL API v2, Snowpipe (file + streaming), warehouses, roles, users, grants, shares, streams, tasks, and administration for Keystroke workflows.",
189
- credentialType: "manual",
190
- auth: snowflakeAuthObjectSchema
191
- };
192
- const snowflakeBundle = defineOfficialIntegration({
193
- ...snowflakeOfficialIntegration,
194
- internal: { other: [
195
- snowflakeS3SnsWebhookCredentialSet,
196
- snowflakeGcsPubSubWebhookCredentialSet,
197
- snowflakeAzureEventGridWebhookCredentialSet
198
- ] }
199
- });
200
- const snowflake = snowflakeBundle.credentialSet;
201
- /**
202
- * Parse raw credential values through the full refinement pipeline. Callers
203
- * (client, operations) should use this instead of the raw object schema so
204
- * mode-specific invariants are enforced.
205
- */
206
- function parseSnowflakeCredentials(input) {
207
- return snowflakeAuthSchema.parse(input);
208
- }
209
-
210
- //#endregion
211
- export { snowflakeBundle as a, snowflakeAuthSchema as i, snowflake as n, snowflakeOfficialIntegration as o, snowflakeAuthModeSchema as r, parseSnowflakeCredentials as t };
@@ -1,3 +0,0 @@
1
- import { findSchemas, showSchemas } from "./catalog.mjs";
2
-
3
- export { findSchemas, showSchemas };
package/dist/views.d.mts DELETED
@@ -1,2 +0,0 @@
1
- import { CatalogResult, ShowMaterializedViewsOptions, ShowViewsOptions, showMaterializedViews, showViews } from "./catalog.mjs";
2
- export { type CatalogResult, type ShowMaterializedViewsOptions, type ShowViewsOptions, showMaterializedViews, showViews };
package/dist/views.mjs DELETED
@@ -1,3 +0,0 @@
1
- import { showMaterializedViews, showViews } from "./catalog.mjs";
2
-
3
- export { showMaterializedViews, showViews };
File without changes
File without changes
File without changes