mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-06 17:38:35 +00:00
23 lines
717 B
TypeScript
23 lines
717 B
TypeScript
import type { ChannelUiContribution } from "@/channel-plugins/types";
|
|
import { chatAppGuideUrl } from "@/components/settings/channels/catalog";
|
|
|
|
export default {
|
|
presentation: {
|
|
displayName: "Mattermost",
|
|
initials: "MM",
|
|
color: "#1C58D9",
|
|
logoUrl: "https://mattermost.com/favicon.ico",
|
|
setup: {
|
|
mode: "credentials",
|
|
docsUrl: chatAppGuideUrl("mattermost"),
|
|
fields: [
|
|
{ key: "channels.mattermost.serverUrl" },
|
|
{ key: "channels.mattermost.token" },
|
|
{ key: "channels.mattermost.teamId" },
|
|
{ key: "channels.mattermost.groupPolicy" },
|
|
{ key: "channels.mattermost.groupPolicyInThread" },
|
|
],
|
|
},
|
|
},
|
|
} satisfies ChannelUiContribution;
|