driftsql 1.0.5 → 1.0.6
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/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PoolConfig } from 'pg';
|
|
2
2
|
import { Config } from '@libsql/client';
|
|
3
|
-
import
|
|
3
|
+
import { ConnectionOptions } from 'mysql2/promise';
|
|
4
4
|
|
|
5
5
|
type Drivers = ClientOptions['drivers'];
|
|
6
6
|
declare const inspectDB: (drivers: Drivers) => Promise<never>;
|
|
@@ -20,7 +20,7 @@ interface ClientOptions {
|
|
|
20
20
|
drivers?: {
|
|
21
21
|
libsql?: Config;
|
|
22
22
|
postgres?: PoolConfig;
|
|
23
|
-
mysql?:
|
|
23
|
+
mysql?: ConnectionOptions;
|
|
24
24
|
};
|
|
25
25
|
options?: {
|
|
26
26
|
defaultTimeout?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PoolConfig } from 'pg';
|
|
2
2
|
import { Config } from '@libsql/client';
|
|
3
|
-
import
|
|
3
|
+
import { ConnectionOptions } from 'mysql2/promise';
|
|
4
4
|
|
|
5
5
|
type Drivers = ClientOptions['drivers'];
|
|
6
6
|
declare const inspectDB: (drivers: Drivers) => Promise<never>;
|
|
@@ -20,7 +20,7 @@ interface ClientOptions {
|
|
|
20
20
|
drivers?: {
|
|
21
21
|
libsql?: Config;
|
|
22
22
|
postgres?: PoolConfig;
|
|
23
|
-
mysql?:
|
|
23
|
+
mysql?: ConnectionOptions;
|
|
24
24
|
};
|
|
25
25
|
options?: {
|
|
26
26
|
defaultTimeout?: number;
|
package/package.json
CHANGED