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

Function integrationsGetRecord

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

Source from the content-addressed store, hash-verified

3024 });
3025
3026 const integrationsGetRecord = (
3027 slug: IntegrationSlug,
3028 ): Effect.Effect<IntegrationRecord | null, StorageFailure> =>
3029 findIntegrationRow(slug).pipe(
3030 Effect.map((row) =>
3031 row ? rowToIntegrationRecord(row, describeAuthMethodsForRow(row)) : null,
3032 ),
3033 );
3034
3035 // Best-effort post-commit notification for `ExecutorConfig.onIntegrationChange`.
3036 // 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