mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-23 15:11:42 +00:00
refactor: remove type-only import cycles
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import type { ChannelId } from "../channels/plugins/types.js";
|
||||
import {
|
||||
CHANNEL_IDS,
|
||||
getChatChannelMeta,
|
||||
@@ -19,6 +18,8 @@ import {
|
||||
} from "../gateway/protocol/client-info.js";
|
||||
import { normalizeOptionalLowercaseString } from "../shared/string-coerce.js";
|
||||
|
||||
type ChannelId = string & { readonly __openclawChannelIdBrand?: never };
|
||||
|
||||
export const INTERNAL_MESSAGE_CHANNEL = "webchat" as const;
|
||||
export type InternalMessageChannel = typeof INTERNAL_MESSAGE_CHANNEL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user