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

Function staticDeclToIntegration

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

Source from the content-addressed store, hash-verified

1650 };
1651
1652 const staticDeclToIntegration = (integration: StaticIntegrationDecl): Integration => ({
1653 slug: IntegrationSlug.make(integration.id),
1654 name: integration.name,
1655 description: integration.name,
1656 kind: integration.kind,
1657 canRemove: integration.canRemove ?? false,
1658 canRefresh: integration.canRefresh ?? false,
1659 authMethods: [],
1660 });
1661
1662 const staticToolToTool = (entry: StaticTools): Tool => ({
1663 address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`),

Callers 1

integrationsGetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected