diff --git a/extensions/twitch/src/access-control.ts b/extensions/twitch/src/access-control.ts index c17eb5d6643..4444461d366 100644 --- a/extensions/twitch/src/access-control.ts +++ b/extensions/twitch/src/access-control.ts @@ -4,7 +4,7 @@ import type { TwitchAccountConfig, TwitchChatMessage } from "./types.js"; /** * Result of checking access control for a Twitch message */ -export type TwitchAccessControlResult = { +type TwitchAccessControlResult = { allowed: boolean; reason?: string; matchKey?: string; diff --git a/extensions/twitch/src/probe.ts b/extensions/twitch/src/probe.ts index caff2f68b0d..dca89114e71 100644 --- a/extensions/twitch/src/probe.ts +++ b/extensions/twitch/src/probe.ts @@ -8,7 +8,7 @@ import { normalizeToken } from "./utils/twitch.js"; /** * Result of probing a Twitch account */ -export type ProbeTwitchResult = BaseProbeResult & { +type ProbeTwitchResult = BaseProbeResult & { username?: string; elapsedMs: number; connected?: boolean; diff --git a/extensions/twitch/src/types.ts b/extensions/twitch/src/types.ts index 2abbfdaf6ef..e8105e2b998 100644 --- a/extensions/twitch/src/types.ts +++ b/extensions/twitch/src/types.ts @@ -7,21 +7,15 @@ import type { ChannelAccountSnapshot, - ChannelCapabilities, - ChannelGatewayContext, ChannelLogSink, ChannelMessageActionAdapter, ChannelMessageActionContext, - ChannelMeta, ChannelOutboundAdapter, ChannelOutboundContext, ChannelPlugin, ChannelResolveKind, ChannelResolveResult, - ChannelStatusAdapter, - OpenClawConfig, OutboundDeliveryResult, - RuntimeEnv, } from "../runtime-api.js"; // ============================================================================ @@ -98,20 +92,13 @@ export interface TwitchChatMessage { // Re-export core types for convenience export type { ChannelAccountSnapshot, - ChannelGatewayContext, ChannelLogSink, ChannelMessageActionAdapter, ChannelMessageActionContext, - ChannelMeta, ChannelOutboundAdapter, - ChannelStatusAdapter, - ChannelCapabilities, ChannelResolveKind, ChannelResolveResult, ChannelPlugin, ChannelOutboundContext, OutboundDeliveryResult, }; - -export type { OpenClawConfig }; -export type { RuntimeEnv };