2026-07-19 23:30:49 +08:00
|
|
|
import type { ChannelUiContribution } from "@/channel-plugins/types";
|
|
|
|
|
import { chatAppGuideUrl } from "@/components/settings/channels/catalog";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
presentation: {
|
2026-09-11 15:22:14 +08:00
|
|
|
logoUrl: "https://mattermost.com/favicon.ico",
|
2026-07-19 23:30:49 +08:00
|
|
|
displayName: "Mattermost",
|
|
|
|
|
initials: "MM",
|
|
|
|
|
color: "#1C58D9",
|
|
|
|
|
setup: {
|
|
|
|
|
mode: "credentials",
|
|
|
|
|
docsUrl: chatAppGuideUrl("mattermost"),
|
|
|
|
|
fields: [
|
2026-09-11 15:22:14 +08:00
|
|
|
{ key: "channels.mattermost.serverUrl", section: "connection" },
|
|
|
|
|
{ key: "channels.mattermost.teamId", section: "account" },
|
|
|
|
|
{ key: "channels.mattermost.token", section: "credentials" },
|
|
|
|
|
{ key: "channels.mattermost.allowFrom", section: "access" },
|
|
|
|
|
{ key: "channels.mattermost.groupPolicy", section: "behavior" },
|
|
|
|
|
{ key: "channels.mattermost.groupPolicyInThread", section: "behavior" },
|
2026-07-19 23:30:49 +08:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
} satisfies ChannelUiContribution;
|