build: clean tsdown declaration warnings · openclaw/openclaw@5131c3d
steipete
·
2026-05-10
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import type { ContextVisibilityMode, GroupPolicy } from "./types.base.js"; |
| 2 | +import type { DiscordConfig } from "./types.discord.js"; |
| 3 | +import type { GoogleChatConfig } from "./types.googlechat.js"; |
| 4 | +import type { IMessageConfig } from "./types.imessage.js"; |
| 5 | +import type { IrcConfig } from "./types.irc.js"; |
| 6 | +import type { MSTeamsConfig } from "./types.msteams.js"; |
| 7 | +import type { SignalConfig } from "./types.signal.js"; |
| 8 | +import type { SlackConfig } from "./types.slack.js"; |
| 9 | +import type { TelegramConfig } from "./types.telegram.js"; |
| 10 | +import type { WhatsAppConfig } from "./types.whatsapp.js"; |
2 | 11 | |
3 | 12 | export type ChannelHeartbeatVisibilityConfig = { |
4 | 13 | /** Show HEARTBEAT_OK acknowledgments in chat (default: false). */ |
@@ -74,6 +83,15 @@ export interface ChannelsConfig {
|
74 | 83 | defaults?: ChannelDefaultsConfig; |
75 | 84 | /** Map provider -> channel id -> model override. */ |
76 | 85 | modelByChannel?: ChannelModelByChannelConfig; |
| 86 | +discord?: DiscordConfig; |
| 87 | +googlechat?: GoogleChatConfig; |
| 88 | +imessage?: IMessageConfig; |
| 89 | +irc?: IrcConfig; |
| 90 | +msteams?: MSTeamsConfig; |
| 91 | +signal?: SignalConfig; |
| 92 | +slack?: SlackConfig; |
| 93 | +telegram?: TelegramConfig; |
| 94 | +whatsapp?: WhatsAppConfig; |
77 | 95 | /** |
78 | 96 | * Channel sections are plugin-owned and keyed by arbitrary channel ids. |
79 | 97 | * Keep the lookup permissive so augmented channel configs remain ergonomic at call sites. |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。