drizzle-kit 0.20.17-c057923 → 0.20.17-c347d7b
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/@types/utils.d.ts +1 -0
- package/bin.cjs +16189 -15133
- 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 +53 -53
- package/cli/validations/common.d.ts +32 -32
- 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 +7 -0
- package/index.d.mts +5 -3
- package/index.d.ts +5 -3
- package/package.json +2 -2
- package/payload.js +1200 -515
- package/payload.mjs +1003 -318
- 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 +946 -835
- package/utils-studio.mjs +919 -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 {};
|