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

Function staticDeclToIntegration

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

Source from the content-addressed store, hash-verified

2075 };
2076
2077 const staticDeclToIntegration = (integration: StaticIntegrationDecl): Integration => ({
2078 slug: IntegrationSlug.make(integration.id),
2079 name: integration.name,
2080 description: integration.name,
2081 kind: integration.kind,
2082 canRemove: integration.canRemove ?? false,
2083 canRefresh: integration.canRefresh ?? false,
2084 authMethods: [],
2085 });
2086
2087 const staticToolToTool = (entry: StaticTools): Tool => ({
2088 address: ToolAddress.make(`${entry.integration.id}.${entry.tool.name}`),

Callers 1

integrationsGetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected