(
slug: IntegrationSlug,
)
| 2334 | }); |
| 2335 | |
| 2336 | const integrationsGetRecord = ( |
| 2337 | slug: IntegrationSlug, |
| 2338 | ): Effect.Effect<IntegrationRecord | null, StorageFailure> => |
| 2339 | findIntegrationRow(slug).pipe( |
| 2340 | Effect.map((row) => |
| 2341 | row ? rowToIntegrationRecord(row, describeAuthMethodsForRow(row)) : null, |
| 2342 | ), |
| 2343 | ); |
| 2344 | |
| 2345 | // Best-effort post-commit notification for `ExecutorConfig.onIntegrationChange`. |
| 2346 | // Routed through `afterCommit` so the observer sees only DURABLE changes: |
no test coverage detected