From b4b3393f7f5617c715f4bfedf5f67044de252e0b Mon Sep 17 00:00:00 2001 From: Max Claus Nunes Date: Wed, 31 Mar 2021 21:32:06 -0300 Subject: [PATCH] Export types and methods used by sqlectron-gui --- src/index.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/index.ts b/src/index.ts index 62de866..3d44927 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,2 +1,11 @@ +export { setSelectLimit, clearSelectLimit } from './database'; export { ADAPTERS, ADAPTERS as CLIENTS } from './adapters'; export { createServer } from './server'; +export { setLogger } from './logger'; + +// Export types +export type { Database } from './database'; +export type { Adapter } from './adapters'; +export type { QueryRowResult } from './adapters/abstract_adapter'; +export type { DatabaseFilter, SchemaFilter } from './filters'; +export type { Server, LegacyServerConfig } from './server';