@forestadmin/datasource-sql 1.6.7 → 1.6.8

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { Table } from './introspection/types';
2
- import type { PlainConnectionOptions, PlainConnectionOptionsOrUri } from './types';
2
+ import type { PlainConnectionOptions, PlainConnectionOptionsOrUri, SslMode } from './types';
3
3
  import type { DataSourceFactory, Logger } from '@forestadmin/datasource-toolkit';
4
4
  import { Sequelize } from 'sequelize';
5
5
  export declare function introspect(uriOrOptions: PlainConnectionOptionsOrUri, logger?: Logger): Promise<Table[]>;
@@ -10,4 +10,5 @@ export declare function createSqlDataSource(uriOrOptions: PlainConnectionOptions
10
10
  /** Preprocess the connection options so that they can be cached for faster connections */
11
11
  export declare function preprocessOptions(uriOrOptions: PlainConnectionOptionsOrUri): Promise<PlainConnectionOptions>;
12
12
  export * from './connection/errors';
13
+ export type { PlainConnectionOptionsOrUri as ConnectionOptions, Table, SslMode };
13
14
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forestadmin/datasource-sql",
3
- "version": "1.6.7",
3
+ "version": "1.6.8",
4
4
  "main": "dist/index.js",
5
5
  "license": "GPL-3.0",
6
6
  "publishConfig": {