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

Function staticDeclToIntegration

packages/core/sdk/src/executor.ts:1660–1668  ·  view source on GitHub ↗
(integration: StaticIntegrationDecl)

Source from the content-addressed store, hash-verified

1658 };
1659
1660 const staticDeclToIntegration = (integration: StaticIntegrationDecl): Integration => ({
1661 slug: IntegrationSlug.make(integration.id),
1662 name: integration.name,
1663 description: integration.name,
1664 kind: integration.kind,
1665 canRemove: integration.canRemove ?? false,
1666 canRefresh: integration.canRefresh ?? false,
1667 authMethods: [],
1668 });
1669
1670 const staticToolToTool = (entry: StaticTools): Tool => ({
1671 address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`),

Callers 1

integrationsGetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected