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