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

Function integrationsGetRecord

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

Source from the content-addressed store, hash-verified

2656 });
2657
2658 const integrationsGetRecord = (
2659 slug: IntegrationSlug,
2660 ): Effect.Effect<IntegrationRecord | null, StorageFailure> =>
2661 findIntegrationRow(slug).pipe(
2662 Effect.map((row) =>
2663 row ? rowToIntegrationRecord(row, describeAuthMethodsForRow(row)) : null,
2664 ),
2665 );
2666
2667 // Best-effort post-commit notification for `ExecutorConfig.onIntegrationChange`.
2668 // 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