drizzle-kit 0.28.1-3d262cd → 0.28.1-3efe329

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"];
10
+ declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore"];
11
11
  type Dialect = (typeof dialects)[number];
12
12
 
13
13
  type SslOptions = {
@@ -28,7 +28,7 @@ type Verify<T, U extends T> = U;
28
28
  * **Config** usage:
29
29
  *
30
30
  * `dialect` - mandatory and is responsible for explicitly providing a databse dialect you are using for all the commands
31
- * *Possible values*: `postgresql`, `mysql`, `sqlite`
31
+ * *Possible values*: `postgresql`, `mysql`, `sqlite`, `singlestore
32
32
  *
33
33
  * See https://orm.drizzle.team/kit-docs/config-reference#dialect
34
34
  *
@@ -69,7 +69,7 @@ type Verify<T, U extends T> = U;
69
69
  *
70
70
  * `breakpoints` - param lets you enable/disable SQL statement breakpoints in generated migrations.
71
71
  * It’s optional and true by default, it’s necessary to properly apply migrations on databases,
72
- * that do not support multiple DDL alternation statements in one transaction(MySQL, SQLite) and
72
+ * that do not support multiple DDL alternation statements in one transaction(MySQL, SQLite, SingleStore) and
73
73
  * Drizzle ORM has to apply them sequentially one by one.
74
74
  *
75
75
  * See https://orm.drizzle.team/kit-docs/config-reference#breakpoints
@@ -200,7 +200,19 @@ type Config = {
200
200
  } | {
201
201
  dialect: Verify<Dialect, 'sqlite'>;
202
202
  driver: Verify<Driver, 'durable-sqlite'>;
203
- } | {});
203
+ } | {} | {
204
+ dialect: Verify<Dialect, 'singlestore'>;
205
+ dbCredentials: {
206
+ host: string;
207
+ port?: number;
208
+ user?: string;
209
+ password?: string;
210
+ database: string;
211
+ ssl?: string | SslOptions;
212
+ } | {
213
+ url: string;
214
+ };
215
+ });
204
216
  /**
205
217
  * **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
206
218
  * adjustments may be necessary for you. See https://orm.drizzle.team/kit-docs/upgrade-21#how-to-migrate-to-0210**
@@ -208,7 +220,7 @@ type Config = {
208
220
  * **Config** usage:
209
221
  *
210
222
  * `dialect` - mandatory and is responsible for explicitly providing a databse dialect you are using for all the commands
211
- * *Possible values*: `postgresql`, `mysql`, `sqlite`
223
+ * *Possible values*: `postgresql`, `mysql`, `sqlite`, `singlestore`
212
224
  *
213
225
  * See https://orm.drizzle.team/kit-docs/config-reference#dialect
214
226
  *
@@ -249,7 +261,7 @@ type Config = {
249
261
  *
250
262
  * `breakpoints` - param lets you enable/disable SQL statement breakpoints in generated migrations.
251
263
  * It’s optional and true by default, it’s necessary to properly apply migrations on databases,
252
- * that do not support multiple DDL alternation statements in one transaction(MySQL, SQLite) and
264
+ * that do not support multiple DDL alternation statements in one transaction(MySQL, SQLite, SingleStore) and
253
265
  * Drizzle ORM has to apply them sequentially one by one.
254
266
  *
255
267
  * See https://orm.drizzle.team/kit-docs/config-reference#breakpoints
@@ -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"];
10
+ declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore"];
11
11
  type Dialect = (typeof dialects)[number];
12
12
 
13
13
  type SslOptions = {
@@ -28,7 +28,7 @@ type Verify<T, U extends T> = U;
28
28
  * **Config** usage:
29
29
  *
30
30
  * `dialect` - mandatory and is responsible for explicitly providing a databse dialect you are using for all the commands
31
- * *Possible values*: `postgresql`, `mysql`, `sqlite`
31
+ * *Possible values*: `postgresql`, `mysql`, `sqlite`, `singlestore
32
32
  *
33
33
  * See https://orm.drizzle.team/kit-docs/config-reference#dialect
34
34
  *
@@ -69,7 +69,7 @@ type Verify<T, U extends T> = U;
69
69
  *
70
70
  * `breakpoints` - param lets you enable/disable SQL statement breakpoints in generated migrations.
71
71
  * It’s optional and true by default, it’s necessary to properly apply migrations on databases,
72
- * that do not support multiple DDL alternation statements in one transaction(MySQL, SQLite) and
72
+ * that do not support multiple DDL alternation statements in one transaction(MySQL, SQLite, SingleStore) and
73
73
  * Drizzle ORM has to apply them sequentially one by one.
74
74
  *
75
75
  * See https://orm.drizzle.team/kit-docs/config-reference#breakpoints
@@ -200,7 +200,19 @@ type Config = {
200
200
  } | {
201
201
  dialect: Verify<Dialect, 'sqlite'>;
202
202
  driver: Verify<Driver, 'durable-sqlite'>;
203
- } | {});
203
+ } | {} | {
204
+ dialect: Verify<Dialect, 'singlestore'>;
205
+ dbCredentials: {
206
+ host: string;
207
+ port?: number;
208
+ user?: string;
209
+ password?: string;
210
+ database: string;
211
+ ssl?: string | SslOptions;
212
+ } | {
213
+ url: string;
214
+ };
215
+ });
204
216
  /**
205
217
  * **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
206
218
  * adjustments may be necessary for you. See https://orm.drizzle.team/kit-docs/upgrade-21#how-to-migrate-to-0210**
@@ -208,7 +220,7 @@ type Config = {
208
220
  * **Config** usage:
209
221
  *
210
222
  * `dialect` - mandatory and is responsible for explicitly providing a databse dialect you are using for all the commands
211
- * *Possible values*: `postgresql`, `mysql`, `sqlite`
223
+ * *Possible values*: `postgresql`, `mysql`, `sqlite`, `singlestore`
212
224
  *
213
225
  * See https://orm.drizzle.team/kit-docs/config-reference#dialect
214
226
  *
@@ -249,7 +261,7 @@ type Config = {
249
261
  *
250
262
  * `breakpoints` - param lets you enable/disable SQL statement breakpoints in generated migrations.
251
263
  * It’s optional and true by default, it’s necessary to properly apply migrations on databases,
252
- * that do not support multiple DDL alternation statements in one transaction(MySQL, SQLite) and
264
+ * that do not support multiple DDL alternation statements in one transaction(MySQL, SQLite, SingleStore) and
253
265
  * Drizzle ORM has to apply them sequentially one by one.
254
266
  *
255
267
  * See https://orm.drizzle.team/kit-docs/config-reference#breakpoints
package/index.d.mts CHANGED
@@ -1,2 +1,2 @@
1
1
  import 'tls';
2
- export { a as Config, d as defineConfig } from './index-DcNyKHhJ.mjs';
2
+ export { a as Config, d as defineConfig } from './index-Z-1TKnbX.mjs';
package/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  import 'tls';
2
- export { a as Config, d as defineConfig } from './index-DcNyKHhJ.js';
2
+ export { a as Config, d as defineConfig } from './index-Z-1TKnbX.js';
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.28.1-3d262cd",
3
+ "version": "0.28.1-3efe329",
4
4
  "homepage": "https://orm.drizzle.team",
5
5
  "keywords": [
6
6
  "drizzle",
7
7
  "orm",
8
8
  "pg",
9
9
  "mysql",
10
+ "singlestore",
10
11
  "postgresql",
11
12
  "postgres",
12
13
  "sqlite",