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

Function staticDeclToIntegration

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

Source from the content-addressed store, hash-verified

1812 };
1813
1814 const staticDeclToIntegration = (integration: StaticIntegrationDecl): Integration => ({
1815 slug: IntegrationSlug.make(integration.id),
1816 name: integration.name,
1817 description: integration.name,
1818 kind: integration.kind,
1819 canRemove: integration.canRemove ?? false,
1820 canRefresh: integration.canRefresh ?? false,
1821 authMethods: [],
1822 });
1823
1824 const staticToolToTool = (entry: StaticTools): Tool => ({
1825 address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`),

Callers 1

integrationsGetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected