drizzle-kit 0.20.17-4e262b7 → 0.20.17-56cc78f
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/bin.cjs +50999 -12186
- package/cli/commands/migrate.d.ts +43 -43
- package/cli/commands/mysqlIntrospect.d.ts +9 -14
- package/cli/commands/pgIntrospect.d.ts +8 -8
- package/cli/commands/sqliteIntrospect.d.ts +12 -13
- package/cli/commands/sqlitePushUtils.d.ts +2 -2
- package/cli/commands/utils.d.ts +2 -2
- package/cli/connections.d.ts +13 -0
- package/cli/utils.d.ts +1 -0
- package/cli/validations/cli.d.ts +48 -48
- package/cli/validations/common.d.ts +35 -35
- package/cli/validations/mysql.d.ts +7 -13
- package/cli/validations/outputs.d.ts +2 -2
- package/cli/validations/pg.d.ts +22 -13
- package/cli/validations/sqlite.d.ts +0 -12
- package/index.d.mts +17 -57
- package/index.d.ts +17 -57
- package/package.json +12 -6
- package/payload.js +1633 -20674
- package/payload.mjs +1454 -20495
- package/schemaValidator.d.ts +228 -228
- package/serializer/mysqlSchema.d.ts +910 -1224
- package/serializer/pgSchema.d.ts +745 -745
- package/serializer/sqliteSchema.d.ts +457 -457
- package/serializer/studio.d.ts +51 -0
- package/snapshotsDiffer.d.ts +315 -316
- package/utils-studio.js +887 -3448
- package/utils-studio.mjs +852 -3413
- package/utils.d.ts +6 -0
- package/utils.js +222 -857
- package/utils.mjs +197 -832
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
|
};
|