drizzle-kit 1.0.0-beta.2-278d7e6 → 1.0.0-beta.2-9848003

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/index.d.mts CHANGED
@@ -5,7 +5,7 @@ type Prefix = (typeof prefixes)[number];
5
5
  declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite", "sqlite-cloud"];
6
6
  type Driver = (typeof drivers)[number];
7
7
 
8
- declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "gel", "mssql", "cockroach"];
8
+ declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "gel", "mssql", "cockroach", "duckdb"];
9
9
  type Dialect = (typeof dialects)[number];
10
10
 
11
11
  type SslOptions = {
@@ -253,6 +253,11 @@ type Config = {
253
253
  } & {}) | {
254
254
  url: string;
255
255
  };
256
+ } | {
257
+ dialect: Verify<Dialect, 'duckdb'>;
258
+ dbCredentials: {
259
+ url: string;
260
+ };
256
261
  });
257
262
  /**
258
263
  * **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
package/index.d.ts CHANGED
@@ -5,7 +5,7 @@ type Prefix = (typeof prefixes)[number];
5
5
  declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite", "sqlite-cloud"];
6
6
  type Driver = (typeof drivers)[number];
7
7
 
8
- declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "gel", "mssql", "cockroach"];
8
+ declare const dialects: readonly ["postgresql", "mysql", "sqlite", "turso", "singlestore", "gel", "mssql", "cockroach", "duckdb"];
9
9
  type Dialect = (typeof dialects)[number];
10
10
 
11
11
  type SslOptions = {
@@ -253,6 +253,11 @@ type Config = {
253
253
  } & {}) | {
254
254
  url: string;
255
255
  };
256
+ } | {
257
+ dialect: Verify<Dialect, 'duckdb'>;
258
+ dbCredentials: {
259
+ url: string;
260
+ };
256
261
  });
257
262
  /**
258
263
  * **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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "1.0.0-beta.2-278d7e6",
3
+ "version": "1.0.0-beta.2-9848003",
4
4
  "homepage": "https://orm.drizzle.team",
5
5
  "keywords": [
6
6
  "drizzle",
@@ -61,6 +61,7 @@
61
61
  "devDependencies": {
62
62
  "@aws-sdk/client-rds-data": "^3.556.0",
63
63
  "@cloudflare/workers-types": "^4.20230518.0",
64
+ "@duckdb/node-api": "1.3.2-alpha.24",
64
65
  "@electric-sql/pglite": "^0.2.12",
65
66
  "@hono/node-server": "^1.9.0",
66
67
  "@hono/zod-validator": "^0.2.1",
@@ -95,6 +96,7 @@
95
96
  "dotenv": "^16.0.3",
96
97
  "drizzle-kit": "^0.31.6",
97
98
  "drizzle-orm": "workspace:./drizzle-orm/dist",
99
+ "duckdb": "^1.3.2",
98
100
  "env-paths": "^3.0.0",
99
101
  "esbuild-node-externals": "^1.9.0",
100
102
  "gel": "^2.0.0",