Skip to content

Commit e0cc374

Browse files
committed
refactor: trim gateway local type exports
1 parent fe8966b commit e0cc374

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/gateway/channel-health-monitor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ const ONE_HOUR_MS = 60 * 60_000;
2323
* Providers should only publish that timestamp from transport/heartbeat/poll
2424
* signals, not from ordinary app messages.
2525
*/
26-
export type ChannelHealthTimingPolicy = {
26+
type ChannelHealthTimingPolicy = {
2727
monitorStartupGraceMs: number;
2828
channelConnectGraceMs: number;
2929
staleEventThresholdMs: number;
3030
};
3131

32-
export type ChannelHealthMonitorDeps = {
32+
type ChannelHealthMonitorDeps = {
3333
channelManager: ChannelManager;
3434
checkIntervalMs?: number;
3535
/** @deprecated use timing.monitorStartupGraceMs */

src/gateway/chat-abort.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export type ChatAbortControllerEntry = {
2020
kind?: "chat-send" | "agent";
2121
};
2222

23-
export type RegisteredChatAbortController = {
23+
type RegisteredChatAbortController = {
2424
controller: AbortController;
2525
registered: boolean;
2626
entry?: ChatAbortControllerEntry;

src/gateway/credentials.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export type ExplicitGatewayAuth = {
1717
password?: string;
1818
};
1919

20-
export type ResolvedGatewayCredentials = {
20+
type ResolvedGatewayCredentials = {
2121
token?: string;
2222
password?: string;
2323
};

0 commit comments

Comments
 (0)