(slug: IntegrationSlug)
| 73 | |
| 74 | /** Single integration by slug — derived from the catalog list. */ |
| 75 | export const integrationAtom = (slug: IntegrationSlug) => |
| 76 | Atom.mapResult( |
| 77 | integrationsOptimisticAtom, |
| 78 | (integrations) => integrations.find((i) => i.slug === slug) ?? null, |
| 79 | ); |
| 80 | |
| 81 | /** The integration's currently declared health check (null when none is set). |
| 82 | * Backs the editor's "current selection" and the status surfaces deciding |
no outgoing calls
no test coverage detected