refactor: trim channel resolution type exports · openclaw/openclaw@106f8a4
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -11,7 +11,7 @@ type ChannelCatalogEntryLike = {
|
11 | 11 | }; |
12 | 12 | }; |
13 | 13 | |
14 | | -export type BundledChannelCatalogEntry = { |
| 14 | +type BundledChannelCatalogEntry = { |
15 | 15 | id: string; |
16 | 16 | channel: PluginPackageChannel; |
17 | 17 | aliases: readonly string[]; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -4,15 +4,15 @@ import {
|
4 | 4 | type ResolveCommandConversationResolutionInput, |
5 | 5 | } from "./conversation-resolution.js"; |
6 | 6 | |
7 | | -export type ConversationBindingContext = { |
| 7 | +type ConversationBindingContext = { |
8 | 8 | channel: string; |
9 | 9 | accountId: string; |
10 | 10 | conversationId: string; |
11 | 11 | parentConversationId?: string; |
12 | 12 | threadId?: string; |
13 | 13 | }; |
14 | 14 | |
15 | | -export type ResolveConversationBindingContextInput = Omit< |
| 15 | +type ResolveConversationBindingContextInput = Omit< |
16 | 16 | ResolveCommandConversationResolutionInput, |
17 | 17 | "includePlacementHint" |
18 | 18 | > & { |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -18,7 +18,7 @@ import type { ChannelCommandConversationContext } from "./plugins/types.adapters
|
18 | 18 | import type { ChannelPlugin } from "./plugins/types.plugin.js"; |
19 | 19 | import { normalizeAnyChannelId } from "./registry.js"; |
20 | 20 | |
21 | | -export type ConversationResolutionSource = |
| 21 | +type ConversationResolutionSource = |
22 | 22 | | "command-provider" |
23 | 23 | | "focused-binding" |
24 | 24 | | "command-fallback" |
@@ -27,7 +27,7 @@ export type ConversationResolutionSource =
|
27 | 27 | | "inbound-bundled-plugin" |
28 | 28 | | "inbound-fallback"; |
29 | 29 | |
30 | | -export type ConversationResolution = { |
| 30 | +type ConversationResolution = { |
31 | 31 | canonical: { |
32 | 32 | channel: string; |
33 | 33 | accountId: string; |
@@ -57,7 +57,7 @@ export type ResolveCommandConversationResolutionInput = {
|
57 | 57 | includePlacementHint?: boolean; |
58 | 58 | }; |
59 | 59 | |
60 | | -export type ResolveInboundConversationResolutionInput = { |
| 60 | +type ResolveInboundConversationResolutionInput = { |
61 | 61 | cfg: OpenClawConfig; |
62 | 62 | channel?: string | null; |
63 | 63 | accountId?: string | null; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。