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

Function staticDeclToIntegration

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

Source from the content-addressed store, hash-verified

1397 };
1398
1399 const staticDeclToIntegration = (integration: StaticIntegrationDecl): Integration => ({
1400 slug: IntegrationSlug.make(integration.id),
1401 name: integration.name,
1402 description: integration.name,
1403 kind: integration.kind,
1404 canRemove: integration.canRemove ?? false,
1405 canRefresh: integration.canRefresh ?? false,
1406 authMethods: [],
1407 });
1408
1409 const staticToolToTool = (entry: StaticTools): Tool => ({
1410 address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`),

Callers 1

integrationsGetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected