drizzle-kit 0.20.17-9f0ea64 → 0.20.17-a2979a1
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +64169 -35166
- package/cli/commands/migrate.d.ts +39 -39
- package/cli/commands/mysqlIntrospect.d.ts +8 -13
- package/cli/commands/pgIntrospect.d.ts +7 -7
- package/cli/commands/sqliteIntrospect.d.ts +12 -13
- package/cli/commands/sqlitePushUtils.d.ts +2 -2
- package/cli/connections.d.ts +13 -0
- package/cli/validations/cli.d.ts +31 -31
- package/cli/validations/common.d.ts +29 -29
- package/cli/validations/mysql.d.ts +7 -13
- package/cli/validations/outputs.d.ts +1 -0
- package/cli/validations/pg.d.ts +22 -7
- package/cli/validations/sqlite.d.ts +0 -12
- package/index.d.mts +5 -5
- package/index.d.ts +5 -5
- package/package.json +4 -1
- package/payload.js +2244 -20023
- package/payload.mjs +2065 -19844
- package/schemaValidator.d.ts +215 -215
- package/serializer/mysqlSchema.d.ts +892 -892
- package/serializer/pgSchema.d.ts +734 -734
- package/serializer/sqliteSchema.d.ts +457 -457
- package/serializer/studio.d.ts +51 -0
- package/snapshotsDiffer.d.ts +314 -314
- package/utils-studio.js +1016 -3346
- package/utils-studio.mjs +989 -3319
- package/utils.d.ts +6 -0
- package/utils.js +839 -214
- package/utils.mjs +814 -189
package/utils.d.ts
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
import type { Dialect } from "./schemaValidator";
|
2
2
|
import type { NamedWithSchema } from "./cli/commands/migrate";
|
3
|
+
import type { ProxyParams } from "./serializer/studio";
|
4
|
+
import type { RunResult } from "better-sqlite3";
|
5
|
+
export type Proxy = (params: ProxyParams) => Promise<any[]>;
|
6
|
+
export type SqliteProxy = {
|
7
|
+
proxy: (params: ProxyParams) => Promise<any[] | RunResult>;
|
8
|
+
};
|
3
9
|
export type DB = {
|
4
10
|
query: <T extends any = any>(sql: string, params?: any[]) => Promise<T[]>;
|
5
11
|
};
|