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

Function integrationsGetRecord

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

Source from the content-addressed store, hash-verified

3193 });
3194
3195 const integrationsGetRecord = (
3196 slug: IntegrationSlug,
3197 ): Effect.Effect<IntegrationRecord | null, StorageFailure> =>
3198 Effect.gen(function* () {
3199 const row = yield* findIntegrationRow(slug);
3200 if (!row) return null;
3201 return rowToIntegrationRecord(row, yield* describeAuthMethodsForRow(row));
3202 });
3203
3204 // Best-effort post-commit notification for `ExecutorConfig.onIntegrationChange`.
3205 // 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