refactor: trim config helper types · openclaw/openclaw@ec55307
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -13,9 +13,9 @@ import {
|
13 | 13 | type ToolsBySenderKeyType, |
14 | 14 | } from "./types.tools.js"; |
15 | 15 | |
16 | | -export type GroupPolicyChannel = ChannelId; |
| 16 | +type GroupPolicyChannel = ChannelId; |
17 | 17 | |
18 | | -export type ChannelGroupConfig = { |
| 18 | +type ChannelGroupConfig = { |
19 | 19 | requireMention?: boolean; |
20 | 20 | ingest?: boolean; |
21 | 21 | tools?: GroupToolPolicyConfig; |
@@ -56,7 +56,7 @@ function resolveChannelGroupConfig(
|
56 | 56 | return groups[matchedKey]; |
57 | 57 | } |
58 | 58 | |
59 | | -export type GroupToolPolicySender = { |
| 59 | +type GroupToolPolicySender = { |
60 | 60 | senderId?: string | null; |
61 | 61 | senderName?: string | null; |
62 | 62 | senderUsername?: string | null; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。