mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-16 03:31:10 +00:00
fix(channels): bypass public channel meta types
This commit is contained in:
@@ -3,7 +3,7 @@ import type { PluginPackageChannel } from "../plugins/manifest.js";
|
||||
import { normalizeOptionalString } from "../shared/string-coerce.js";
|
||||
import { CHAT_CHANNEL_ORDER, type ChatChannelId } from "./ids.js";
|
||||
import { resolveChannelExposure } from "./plugins/exposure.js";
|
||||
import type { ChannelMeta } from "./plugins/types.public.js";
|
||||
import type { ChannelMeta } from "./plugins/types.core.js";
|
||||
|
||||
export type ChatChannelMeta = ChannelMeta;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ChannelMeta } from "./types.public.js";
|
||||
import type { ChannelMeta } from "./types.core.js";
|
||||
|
||||
export function resolveChannelExposure(
|
||||
meta: Pick<ChannelMeta, "exposure" | "showConfigured" | "showInSetup">,
|
||||
|
||||
Reference in New Issue
Block a user