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 {
|
import {
|
||||||
buildChannelConfigSchema,
|
buildChannelConfigSchema,
|
||||||
DEFAULT_ACCOUNT_ID,
|
DEFAULT_ACCOUNT_ID,
|
||||||
getChatChannelMeta,
|
|
||||||
type ChannelPlugin,
|
type ChannelPlugin,
|
||||||
type ResolvedZoomAccount,
|
type ResolvedZoomAccount,
|
||||||
resolveZoomAccount,
|
resolveZoomAccount,
|
||||||
@ -10,7 +9,16 @@ import {
|
|||||||
zoomOnboardingAdapter,
|
zoomOnboardingAdapter,
|
||||||
} from "clawdbot/plugin-sdk";
|
} 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> = {
|
export const zoomPlugin: ChannelPlugin<ResolvedZoomAccount> = {
|
||||||
id: "zoom",
|
id: "zoom",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user