drizzle-kit 0.21.0-57cc2fe → 0.21.1-4fb14f5
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +19337 -12355
- package/index.d.mts +9 -1
- package/index.d.ts +9 -1
- package/package.json +2 -1
- package/payload.js +347 -340
- package/payload.mjs +347 -340
package/index.d.mts
CHANGED
@@ -2,7 +2,7 @@ import { SslOptions } from 'mysql2';
|
|
2
2
|
import * as zod from 'zod';
|
3
3
|
import { TypeOf } from 'zod';
|
4
4
|
|
5
|
-
declare const driver: zod.ZodUnion<[zod.ZodUnion<[zod.ZodLiteral<"better-sqlite">, zod.ZodLiteral<"turso">, zod.ZodLiteral<"libsql">, zod.ZodLiteral<"d1">, zod.ZodLiteral<"expo">]>, zod.ZodLiteral<"aws-data-api">, zod.ZodLiteral<"mysql2">]>;
|
5
|
+
declare const driver: zod.ZodUnion<[zod.ZodUnion<[zod.ZodLiteral<"better-sqlite">, zod.ZodLiteral<"turso">, zod.ZodLiteral<"libsql">, zod.ZodLiteral<"d1">, zod.ZodLiteral<"d1-http">, zod.ZodLiteral<"expo">]>, zod.ZodLiteral<"aws-data-api">, zod.ZodLiteral<"mysql2">]>;
|
6
6
|
type Driver = TypeOf<typeof driver>;
|
7
7
|
|
8
8
|
declare const dialect: zod.ZodEnum<["postgresql", "mysql", "sqlite"]>;
|
@@ -169,6 +169,14 @@ type Config = {
|
|
169
169
|
wranglerConfigPath: string;
|
170
170
|
dbName: string;
|
171
171
|
};
|
172
|
+
} | {
|
173
|
+
dialect: Verify<Dialect, "sqlite">;
|
174
|
+
driver: Verify<Driver, "d1-http">;
|
175
|
+
dbCredentials: {
|
176
|
+
accountId: string;
|
177
|
+
databaseId: string;
|
178
|
+
token: string;
|
179
|
+
};
|
172
180
|
} | {
|
173
181
|
dialect: Verify<Dialect, "sqlite">;
|
174
182
|
driver: Verify<Driver, "expo">;
|
package/index.d.ts
CHANGED
@@ -2,7 +2,7 @@ import { SslOptions } from 'mysql2';
|
|
2
2
|
import * as zod from 'zod';
|
3
3
|
import { TypeOf } from 'zod';
|
4
4
|
|
5
|
-
declare const driver: zod.ZodUnion<[zod.ZodUnion<[zod.ZodLiteral<"better-sqlite">, zod.ZodLiteral<"turso">, zod.ZodLiteral<"libsql">, zod.ZodLiteral<"d1">, zod.ZodLiteral<"expo">]>, zod.ZodLiteral<"aws-data-api">, zod.ZodLiteral<"mysql2">]>;
|
5
|
+
declare const driver: zod.ZodUnion<[zod.ZodUnion<[zod.ZodLiteral<"better-sqlite">, zod.ZodLiteral<"turso">, zod.ZodLiteral<"libsql">, zod.ZodLiteral<"d1">, zod.ZodLiteral<"d1-http">, zod.ZodLiteral<"expo">]>, zod.ZodLiteral<"aws-data-api">, zod.ZodLiteral<"mysql2">]>;
|
6
6
|
type Driver = TypeOf<typeof driver>;
|
7
7
|
|
8
8
|
declare const dialect: zod.ZodEnum<["postgresql", "mysql", "sqlite"]>;
|
@@ -169,6 +169,14 @@ type Config = {
|
|
169
169
|
wranglerConfigPath: string;
|
170
170
|
dbName: string;
|
171
171
|
};
|
172
|
+
} | {
|
173
|
+
dialect: Verify<Dialect, "sqlite">;
|
174
|
+
driver: Verify<Driver, "d1-http">;
|
175
|
+
dbCredentials: {
|
176
|
+
accountId: string;
|
177
|
+
databaseId: string;
|
178
|
+
token: string;
|
179
|
+
};
|
172
180
|
} | {
|
173
181
|
dialect: Verify<Dialect, "sqlite">;
|
174
182
|
driver: Verify<Driver, "expo">;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "drizzle-kit",
|
3
|
-
"version": "0.21.
|
3
|
+
"version": "0.21.1-4fb14f5",
|
4
4
|
"repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
|
5
5
|
"author": "Drizzle Team",
|
6
6
|
"license": "MIT",
|
@@ -70,6 +70,7 @@
|
|
70
70
|
"hono": "^4.1.5",
|
71
71
|
"minimatch": "^7.4.3",
|
72
72
|
"mysql2": "2.3.3",
|
73
|
+
"node-fetch": "^3.3.2",
|
73
74
|
"pg": "^8.11.3",
|
74
75
|
"pluralize": "^8.0.0",
|
75
76
|
"postgres": "^3.4.4",
|