MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / connectionTitle

Function connectionTitle

packages/plugins/toolkits/src/page.tsx:298–299  ·  view source on GitHub ↗
(group: ToolkitConnectionGroup)

Source from the content-addressed store, hash-verified

296 String(a.name).localeCompare(String(b.name)) || toolMatchId(a).localeCompare(toolMatchId(b));
297
298const connectionTitle = (group: ToolkitConnectionGroup): string =>
299 `${ownerLabel(group.owner)} ${group.integration} / ${group.connection}`;
300
301const connectionTitleForHost = (group: ToolkitConnectionGroup, showOwnerLabels: boolean): string =>
302 showOwnerLabels ? connectionTitle(group) : `${group.integration} / ${group.connection}`;

Callers 2

connectionTitleForHostFunction · 0.85
AddConnectionDialogFunction · 0.85

Calls 1

ownerLabelFunction · 0.90

Tested by

no test coverage detected