refactor: trim channel resolution type exports

This commit is contained in:
Peter Steinberger
2026-05-02 00:46:04 +01:00
parent 683549b17f
commit 106f8a4288
3 changed files with 6 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ type ChannelCatalogEntryLike = {
};
};
export type BundledChannelCatalogEntry = {
type BundledChannelCatalogEntry = {
id: string;
channel: PluginPackageChannel;
aliases: readonly string[];

View File

@@ -4,7 +4,7 @@ import {
type ResolveCommandConversationResolutionInput,
} from "./conversation-resolution.js";
export type ConversationBindingContext = {
type ConversationBindingContext = {
channel: string;
accountId: string;
conversationId: string;
@@ -12,7 +12,7 @@ export type ConversationBindingContext = {
threadId?: string;
};
export type ResolveConversationBindingContextInput = Omit<
type ResolveConversationBindingContextInput = Omit<
ResolveCommandConversationResolutionInput,
"includePlacementHint"
> & {

View File

@@ -18,7 +18,7 @@ import type { ChannelCommandConversationContext } from "./plugins/types.adapters
import type { ChannelPlugin } from "./plugins/types.plugin.js";
import { normalizeAnyChannelId } from "./registry.js";
export type ConversationResolutionSource =
type ConversationResolutionSource =
| "command-provider"
| "focused-binding"
| "command-fallback"
@@ -27,7 +27,7 @@ export type ConversationResolutionSource =
| "inbound-bundled-plugin"
| "inbound-fallback";
export type ConversationResolution = {
type ConversationResolution = {
canonical: {
channel: string;
accountId: string;
@@ -57,7 +57,7 @@ export type ResolveCommandConversationResolutionInput = {
includePlacementHint?: boolean;
};
export type ResolveInboundConversationResolutionInput = {
type ResolveInboundConversationResolutionInput = {
cfg: OpenClawConfig;
channel?: string | null;
accountId?: string | null;