drizzle-kit 0.30.4 → 0.30.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.
@@ -7,7 +7,7 @@ type CasingType = (typeof casingTypes)[number];
7
7
  declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite"];
8
8
  type Driver = (typeof drivers)[number];
9
9
 
10
- declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore"];
10
+ declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "gel"];
11
11
  type Dialect = (typeof dialects)[number];
12
12
 
13
13
  type SslOptions = {
@@ -212,6 +212,19 @@ type Config = {
212
212
  } | {
213
213
  url: string;
214
214
  };
215
+ } | {
216
+ dialect: Verify<Dialect, 'gel'>;
217
+ dbCredentials?: {
218
+ tlsSecurity?: 'insecure' | 'no_host_verification' | 'strict' | 'default';
219
+ } & ({
220
+ url: string;
221
+ } | ({
222
+ host: string;
223
+ port?: number;
224
+ user?: string;
225
+ password?: string;
226
+ database: string;
227
+ }));
215
228
  });
216
229
  /**
217
230
  * **You are currently using version 0.21.0+ of drizzle-kit. If you have just upgraded to this version, please make sure to read the changelog to understand what changes have been made and what
@@ -220,7 +233,7 @@ type Config = {
220
233
  * **Config** usage:
221
234
  *
222
235
  * `dialect` - mandatory and is responsible for explicitly providing a databse dialect you are using for all the commands
223
- * *Possible values*: `postgresql`, `mysql`, `sqlite`, `singlestore`
236
+ * *Possible values*: `postgresql`, `mysql`, `sqlite`, `singlestore`, `gel`
224
237
  *
225
238
  * See https://orm.drizzle.team/kit-docs/config-reference#dialect
226
239
  *
@@ -7,7 +7,7 @@ type CasingType = (typeof casingTypes)[number];
7
7
  declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite"];
8
8
  type Driver = (typeof drivers)[number];
9
9
 
10
- declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore"];
10
+ declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "gel"];
11
11
  type Dialect = (typeof dialects)[number];
12
12
 
13
13
  type SslOptions = {
@@ -212,6 +212,19 @@ type Config = {
212
212
  } | {
213
213
  url: string;
214
214
  };
215
+ } | {
216
+ dialect: Verify<Dialect, 'gel'>;
217
+ dbCredentials?: {
218
+ tlsSecurity?: 'insecure' | 'no_host_verification' | 'strict' | 'default';
219
+ } & ({
220
+ url: string;
221
+ } | ({
222
+ host: string;
223
+ port?: number;
224
+ user?: string;
225
+ password?: string;
226
+ database: string;
227
+ }));
215
228
  });
216
229
  /**
217
230
  * **You are currently using version 0.21.0+ of drizzle-kit. If you have just upgraded to this version, please make sure to read the changelog to understand what changes have been made and what
@@ -220,7 +233,7 @@ type Config = {
220
233
  * **Config** usage:
221
234
  *
222
235
  * `dialect` - mandatory and is responsible for explicitly providing a databse dialect you are using for all the commands
223
- * *Possible values*: `postgresql`, `mysql`, `sqlite`, `singlestore`
236
+ * *Possible values*: `postgresql`, `mysql`, `sqlite`, `singlestore`, `gel`
224
237
  *
225
238
  * See https://orm.drizzle.team/kit-docs/config-reference#dialect
226
239
  *
package/index.d.mts CHANGED
@@ -1,2 +1,2 @@
1
1
  import 'tls';
2
- export { a as Config, d as defineConfig } from './index-Z-1TKnbX.mjs';
2
+ export { a as Config, d as defineConfig } from './index-BAUrj6Ib.mjs';
package/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  import 'tls';
2
- export { a as Config, d as defineConfig } from './index-Z-1TKnbX.js';
2
+ export { a as Config, d as defineConfig } from './index-BAUrj6Ib.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.30.4",
3
+ "version": "0.30.5",
4
4
  "homepage": "https://orm.drizzle.team",
5
5
  "keywords": [
6
6
  "drizzle",
@@ -46,7 +46,8 @@
46
46
  "@drizzle-team/brocli": "^0.10.2",
47
47
  "@esbuild-kit/esm-loader": "^2.5.5",
48
48
  "esbuild": "^0.19.7",
49
- "esbuild-register": "^3.5.0"
49
+ "esbuild-register": "^3.5.0",
50
+ "gel": "^2.0.0"
50
51
  },
51
52
  "devDependencies": {
52
53
  "@arethetypeswrong/cli": "^0.15.3",
@@ -114,7 +115,7 @@
114
115
  "wrangler": "^3.22.1",
115
116
  "ws": "^8.16.0",
116
117
  "zod": "^3.20.2",
117
- "zx": "^7.2.2"
118
+ "zx": "^8.3.2"
118
119
  },
119
120
  "exports": {
120
121
  ".": {