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

Function integrationAtom

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

Source from the content-addressed store, hash-verified

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

Callers 3

AddAccountModalViewFunction · 0.90
IntegrationDetailPageFunction · 0.90
ConnectIntegrationPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected