(
slug: IntegrationSlug,
)
| 2656 | }); |
| 2657 | |
| 2658 | const integrationsGetRecord = ( |
| 2659 | slug: IntegrationSlug, |
| 2660 | ): Effect.Effect<IntegrationRecord | null, StorageFailure> => |
| 2661 | findIntegrationRow(slug).pipe( |
| 2662 | Effect.map((row) => |
| 2663 | row ? rowToIntegrationRecord(row, describeAuthMethodsForRow(row)) : null, |
| 2664 | ), |
| 2665 | ); |
| 2666 | |
| 2667 | // Best-effort post-commit notification for `ExecutorConfig.onIntegrationChange`. |
| 2668 | // Routed through `afterCommit` so the observer sees only DURABLE changes: |
no test coverage detected