(
slug: IntegrationSlug,
)
| 3244 | }); |
| 3245 | |
| 3246 | const integrationsGetRecord = ( |
| 3247 | slug: IntegrationSlug, |
| 3248 | ): Effect.Effect<IntegrationRecord | null, StorageFailure> => |
| 3249 | Effect.gen(function* () { |
| 3250 | const row = yield* findIntegrationRow(slug); |
| 3251 | if (!row) return null; |
| 3252 | return rowToIntegrationRecord(row, yield* describeAuthMethodsForRow(row)); |
| 3253 | }); |
| 3254 | |
| 3255 | // Best-effort post-commit notification for `ExecutorConfig.onIntegrationChange`. |
| 3256 | // Routed through `afterCommit` so the observer sees only DURABLE changes: |
no test coverage detected