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

Function integrationsGetRecord

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

Source from the content-addressed store, hash-verified

3249 });
3250
3251 const integrationsGetRecord = (
3252 slug: IntegrationSlug,
3253 ): Effect.Effect<IntegrationRecord | null, StorageFailure> =>
3254 Effect.gen(function* () {
3255 const row = yield* findIntegrationRow(slug);
3256 if (!row) return null;
3257 return rowToIntegrationRecord(row, yield* describeAuthMethodsForRow(row));
3258 });
3259
3260 // Best-effort post-commit notification for `ExecutorConfig.onIntegrationChange`.
3261 // 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