(
slug: IntegrationSlug,
)
| 2193 | }); |
| 2194 | |
| 2195 | const integrationsGetRecord = ( |
| 2196 | slug: IntegrationSlug, |
| 2197 | ): Effect.Effect<IntegrationRecord | null, StorageFailure> => |
| 2198 | findIntegrationRow(slug).pipe( |
| 2199 | Effect.map((row) => |
| 2200 | row ? rowToIntegrationRecord(row, describeAuthMethodsForRow(row)) : null, |
| 2201 | ), |
| 2202 | ); |
| 2203 | |
| 2204 | // Best-effort post-commit notification for `ExecutorConfig.onIntegrationChange`. |
| 2205 | // Routed through `afterCommit` so the observer sees only DURABLE changes: |
no test coverage detected