drizzle-kit 0.20.17-151701 → 0.20.17-2923a0f
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +16137 -15013
- package/cli/commands/migrate.d.ts +39 -39
- package/cli/commands/mysqlIntrospect.d.ts +8 -8
- package/cli/commands/pgIntrospect.d.ts +7 -7
- package/cli/commands/sqliteIntrospect.d.ts +12 -12
- package/cli/commands/utils.d.ts +123 -1
- package/cli/connections.d.ts +7 -2
- package/cli/validations/cli.d.ts +45 -45
- package/cli/validations/common.d.ts +27 -27
- package/cli/validations/mysql.d.ts +4 -4
- package/cli/validations/pg.d.ts +4 -4
- package/cli/validations/studio.d.ts +92 -0
- package/cli/views.d.ts +6 -0
- package/index.d.mts +4 -1
- package/index.d.ts +4 -1
- package/package.json +2 -2
- package/payload.js +1096 -430
- package/payload.mjs +899 -233
- 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 +3 -1
- package/snapshotsDiffer.d.ts +314 -314
- package/utils-studio.js +943 -835
- package/utils-studio.mjs +916 -808
- package/utils.js +839 -214
- package/utils.mjs +814 -189
package/serializer/studio.d.ts
CHANGED
@@ -14,12 +14,14 @@ type CustomDefault = {
|
|
14
14
|
};
|
15
15
|
export type Setup = {
|
16
16
|
dialect: "postgresql" | "mysql" | "sqlite";
|
17
|
+
driver?: "aws-data-api";
|
17
18
|
proxy: (params: ProxyParams) => Promise<any[] | any>;
|
18
19
|
customDefaults: CustomDefault[];
|
19
20
|
};
|
20
21
|
export type ProxyParams = {
|
21
22
|
sql: string;
|
22
23
|
params: any[];
|
24
|
+
typings?: any[];
|
23
25
|
mode: "array" | "object";
|
24
26
|
method: "values" | "get" | "all" | "run" | "execute";
|
25
27
|
};
|
@@ -47,5 +49,5 @@ export type Server = {
|
|
47
49
|
cb: (err: Error | null, address: string) => void;
|
48
50
|
}) => void;
|
49
51
|
};
|
50
|
-
export declare const prepareServer: ({ dialect, proxy, customDefaults }: Setup, app?: Hono) => Promise<Server>;
|
52
|
+
export declare const prepareServer: ({ dialect, driver, proxy, customDefaults }: Setup, app?: Hono) => Promise<Server>;
|
51
53
|
export {};
|