@forestadmin/datasource-sql 1.5.1 → 1.5.2

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 -2
  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 { ConnectionOptions } from './types';
2
+ import type { ConnectionOptions, 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: ConnectionOptions, logger?: Logger): Promise<Table[]>;
@@ -7,6 +7,6 @@ export declare function buildSequelizeInstance(uriOrOptions: ConnectionOptions,
7
7
  export declare function createSqlDataSource(uriOrOptions: ConnectionOptions, options?: {
8
8
  introspection: Table[];
9
9
  }): DataSourceFactory;
10
- export type { ConnectionOptions, Table };
10
+ export type { ConnectionOptions, Table, SslMode };
11
11
  export { default as preprocessOptions } from './connection/preprocess';
12
12
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forestadmin/datasource-sql",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "main": "dist/index.js",
5
5
  "license": "GPL-3.0",
6
6
  "publishConfig": {