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

Function integrationsGetRecord

packages/core/sdk/src/executor.ts:2276–2283  ·  view source on GitHub ↗
(
      slug: IntegrationSlug,
    )

Source from the content-addressed store, hash-verified

2274 });
2275
2276 const integrationsGetRecord = (
2277 slug: IntegrationSlug,
2278 ): Effect.Effect<IntegrationRecord | null, StorageFailure> =>
2279 findIntegrationRow(slug).pipe(
2280 Effect.map((row) =>
2281 row ? rowToIntegrationRecord(row, describeAuthMethodsForRow(row)) : null,
2282 ),
2283 );
2284
2285 // Best-effort post-commit notification for `ExecutorConfig.onIntegrationChange`.
2286 // Routed through `afterCommit` so the observer sees only DURABLE changes:

Callers 1

createExecutorFunction · 0.85

Calls 3

findIntegrationRowFunction · 0.85
rowToIntegrationRecordFunction · 0.85

Tested by

no test coverage detected