drizzle-kit 0.20.17-c057923 → 0.20.17-c347d7b

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 {};