From fc904c22792b4ec3e349beee1dc94d4e53767ac3 Mon Sep 17 00:00:00 2001 From: Romain Gilliotte Date: Tue, 9 May 2023 18:28:14 +0200 Subject: [PATCH] fix(datasource-sql): export missing type --- packages/datasource-sql/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/datasource-sql/src/index.ts b/packages/datasource-sql/src/index.ts index 3891121c65..120d40be65 100644 --- a/packages/datasource-sql/src/index.ts +++ b/packages/datasource-sql/src/index.ts @@ -1,5 +1,5 @@ import type { Table } from './introspection/types'; -import type { ConnectionOptions } from './types'; +import type { ConnectionOptions, SslMode } from './types'; import type { DataSourceFactory, Logger } from '@forestadmin/datasource-toolkit'; import { SequelizeDataSource } from '@forestadmin/datasource-sequelize'; @@ -46,5 +46,5 @@ export function createSqlDataSource( }; } -export type { ConnectionOptions, Table }; +export type { ConnectionOptions, Table, SslMode }; export { default as preprocessOptions } from './connection/preprocess';