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

Function staticDeclToIntegration

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

Source from the content-addressed store, hash-verified

1636 };
1637
1638 const staticDeclToIntegration = (integration: StaticIntegrationDecl): Integration => ({
1639 slug: IntegrationSlug.make(integration.id),
1640 name: integration.name,
1641 description: integration.name,
1642 kind: integration.kind,
1643 canRemove: integration.canRemove ?? false,
1644 canRefresh: integration.canRefresh ?? false,
1645 authMethods: [],
1646 });
1647
1648 const staticToolToTool = (entry: StaticTools): Tool => ({
1649 address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`),

Callers 1

integrationsGetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected