fix: define Zoom channel meta inline instead of using getChatChannelMeta
Plugin channels need to define meta inline since they're not in the core CHAT_CHANNEL_META registry. Matches pattern from matrix/zalo extensions.
This commit is contained in:
parent
737ae1cdec
commit
7373b77baf
@ -1,7 +1,6 @@
|
||||
import {
|
||||
buildChannelConfigSchema,
|
||||
DEFAULT_ACCOUNT_ID,
|
||||
getChatChannelMeta,
|
||||
type ChannelPlugin,
|
||||
type ResolvedZoomAccount,
|
||||
resolveZoomAccount,
|
||||
@ -10,7 +9,16 @@ import {
|
||||
zoomOnboardingAdapter,
|
||||
} from "clawdbot/plugin-sdk";
|
||||
|
||||
const meta = getChatChannelMeta("zoom");
|
||||
const meta = {
|
||||
id: "zoom",
|
||||
label: "Zoom",
|
||||
selectionLabel: "Zoom Team Chat",
|
||||
docsPath: "/channels/zoom",
|
||||
docsLabel: "zoom",
|
||||
blurb: "Zoom Team Chat via Team Chat Bot API.",
|
||||
order: 45,
|
||||
quickstartAllowFrom: true,
|
||||
};
|
||||
|
||||
export const zoomPlugin: ChannelPlugin<ResolvedZoomAccount> = {
|
||||
id: "zoom",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user