mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:20:43 +00:00
refactor: trim channel resolution type exports
This commit is contained in:
@@ -11,7 +11,7 @@ type ChannelCatalogEntryLike = {
|
||||
};
|
||||
};
|
||||
|
||||
export type BundledChannelCatalogEntry = {
|
||||
type BundledChannelCatalogEntry = {
|
||||
id: string;
|
||||
channel: PluginPackageChannel;
|
||||
aliases: readonly string[];
|
||||
|
||||
@@ -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"
|
||||
> & {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user