drizzle-kit 1.0.0-beta.1-2cd01ec → 1.0.0-beta.1-bc61bbe
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/api.d.mts +7 -1
- package/api.d.ts +7 -1
- package/api.js +362 -83
- package/api.mjs +344 -65
- package/bin.cjs +1142 -829
- package/index.d.mts +4 -1
- package/index.d.ts +4 -1
- package/package.json +6 -2
- package/utils.js +1 -1
- package/utils.mjs +1 -1
package/api.d.mts
CHANGED
|
@@ -11,7 +11,7 @@ declare const prefixes: readonly ["index", "timestamp", "supabase", "unix", "non
|
|
|
11
11
|
type Prefix = (typeof prefixes)[number];
|
|
12
12
|
declare const casingTypes: readonly ["snake_case", "camelCase"];
|
|
13
13
|
type CasingType = (typeof casingTypes)[number];
|
|
14
|
-
declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite"];
|
|
14
|
+
declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite", "sqlite-cloud"];
|
|
15
15
|
type Driver = (typeof drivers)[number];
|
|
16
16
|
|
|
17
17
|
declare const mysqlCredentials: zod.ZodUnion<[zod.ZodObject<{
|
|
@@ -250,6 +250,9 @@ type SqliteCredentials = {
|
|
|
250
250
|
accountId: string;
|
|
251
251
|
databaseId: string;
|
|
252
252
|
token: string;
|
|
253
|
+
} | {
|
|
254
|
+
driver: 'sqlite-cloud';
|
|
255
|
+
url: string;
|
|
253
256
|
} | {
|
|
254
257
|
url: string;
|
|
255
258
|
};
|
|
@@ -447,6 +450,9 @@ type Config = {
|
|
|
447
450
|
} | {
|
|
448
451
|
dialect: Verify<Dialect, 'sqlite'>;
|
|
449
452
|
driver: Verify<Driver, 'durable-sqlite'>;
|
|
453
|
+
} | {
|
|
454
|
+
dialect: Verify<Dialect, 'sqlite'>;
|
|
455
|
+
driver: Verify<Driver, 'sqlite-cloud'>;
|
|
450
456
|
} | {} | {
|
|
451
457
|
dialect: Verify<Dialect, 'singlestore'>;
|
|
452
458
|
dbCredentials: {
|
package/api.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare const prefixes: readonly ["index", "timestamp", "supabase", "unix", "non
|
|
|
11
11
|
type Prefix = (typeof prefixes)[number];
|
|
12
12
|
declare const casingTypes: readonly ["snake_case", "camelCase"];
|
|
13
13
|
type CasingType = (typeof casingTypes)[number];
|
|
14
|
-
declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite"];
|
|
14
|
+
declare const drivers: readonly ["d1-http", "expo", "aws-data-api", "pglite", "durable-sqlite", "sqlite-cloud"];
|
|
15
15
|
type Driver = (typeof drivers)[number];
|
|
16
16
|
|
|
17
17
|
declare const mysqlCredentials: zod.ZodUnion<[zod.ZodObject<{
|
|
@@ -250,6 +250,9 @@ type SqliteCredentials = {
|
|
|
250
250
|
accountId: string;
|
|
251
251
|
databaseId: string;
|
|
252
252
|
token: string;
|
|
253
|
+
} | {
|
|
254
|
+
driver: 'sqlite-cloud';
|
|
255
|
+
url: string;
|
|
253
256
|
} | {
|
|
254
257
|
url: string;
|
|
255
258
|
};
|
|
@@ -447,6 +450,9 @@ type Config = {
|
|
|
447
450
|
} | {
|
|
448
451
|
dialect: Verify<Dialect, 'sqlite'>;
|
|
449
452
|
driver: Verify<Driver, 'durable-sqlite'>;
|
|
453
|
+
} | {
|
|
454
|
+
dialect: Verify<Dialect, 'sqlite'>;
|
|
455
|
+
driver: Verify<Driver, 'sqlite-cloud'>;
|
|
450
456
|
} | {} | {
|
|
451
457
|
dialect: Verify<Dialect, 'singlestore'>;
|
|
452
458
|
dbCredentials: {
|