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

Function staticDeclToIntegration

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

Source from the content-addressed store, hash-verified

1941 };
1942
1943 const staticDeclToIntegration = (integration: StaticIntegrationDecl): Integration => ({
1944 slug: IntegrationSlug.make(integration.id),
1945 name: integration.name,
1946 description: integration.name,
1947 kind: integration.kind,
1948 canRemove: integration.canRemove ?? false,
1949 canRefresh: integration.canRefresh ?? false,
1950 authMethods: [],
1951 });
1952
1953 const staticToolToTool = (entry: StaticTools): Tool => ({
1954 address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`),

Callers 1

integrationsGetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected