Files
nanobot/nanobot/channels/msteams/webui/index.ts
T
chengyongru 328e933d36 refactor: isolate runtime contracts and enforce import boundaries (#6166)
* test: enforce Python import ownership boundaries

* test: protect client import boundaries and rehome shared UI contracts

* refactor: remove gateway and client dependency inversions

* fix: detect dynamic imports in conditional expressions

* refactor(tools): keep configuration contracts with their owners

* docs: keep design guidance focused on ownership and checks

* fix: preserve default threaded turn delivery
2026-10-13 13:56:28 +08:00

23 lines
860 B
TypeScript

import type { ChannelUiContribution } from "@/channel-plugins/types";
import { chatAppGuideUrl } from "@/channel-plugins/catalog";
export default {
presentation: {
logoUrl: "https://teams.public.onecdn.static.microsoft/evergreen-assets/icons/microsoft_teams_logo_refresh_v2025.ico",
displayName: "Microsoft Teams",
initials: "MS",
color: "#6264A7",
setup: {
mode: "credentials",
docsUrl: chatAppGuideUrl("msteams"),
fields: [
{ key: "channels.msteams.appId", section: "credentials" },
{ key: "channels.msteams.appPassword", section: "credentials" },
{ key: "channels.msteams.tenantId", section: "account" },
{ key: "channels.msteams.path", section: "connection" },
{ key: "channels.msteams.allowFrom", section: "access" },
],
},
},
} satisfies ChannelUiContribution;