Skip to content

Commit 1ac54d6

Browse files
authored
Export more types and classes from gel package (#1262)
In general, we want to expose all types and classes that end users actually interact with, so this is an attempt to explicitly export _more_ of those.
1 parent d228a16 commit 1ac54d6

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

packages/gel/src/index.node.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,14 @@ export { createClient, createHttpClient } from "./nodeClient";
2323

2424
import * as systemUtils from "./systemUtils";
2525
export { systemUtils };
26+
export type { TransactionOptions, SimpleTransactionOptions } from "./options";
2627

2728
export { RawConnection as _RawConnection } from "./rawConn";
28-
export type { Client, ConnectOptions } from "./baseClient";
29+
export {
30+
ResolvedConnectConfig,
31+
type NormalizedConnectConfig,
32+
} from "./conUtils";
33+
export { Client, type ConnectOptions } from "./baseClient";
2934

3035
export * from "./index.shared";
3136
export * as $ from "./reflection/index";

packages/gel/src/index.shared.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ export {
4343
defaultBackoff,
4444
logWarnings,
4545
throwWarnings,
46+
type SimpleRetryOptions,
47+
type SimpleConfig,
48+
type CodecSpec,
4649
} from "./options";
4750
export type { BackoffFunction, WarningHandler } from "./options";
4851

0 commit comments

Comments
 (0)