(
slug: IntegrationSlug,
)
| 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: |
no test coverage detected