MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / integrationAtom

Function integrationAtom

packages/react/src/api/atoms.tsx:75–79  ·  view source on GitHub ↗
(slug: IntegrationSlug)

Source from the content-addressed store, hash-verified

73
74/** Single integration by slug — derived from the catalog list. */
75export 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

Callers 3

AddAccountModalViewFunction · 0.90
IntegrationDetailPageFunction · 0.90
ConnectIntegrationPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected