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

Function staticDeclToIntegration

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

Source from the content-addressed store, hash-verified

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

Callers 1

integrationsGetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected