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

Function graphqlConfigAtom

packages/plugins/graphql/src/react/atoms.ts:25–30  ·  view source on GitHub ↗
(slug: IntegrationSlug)

Source from the content-addressed store, hash-verified

23// The full opaque config (including `authenticationTemplate`), used by the
24// configure UX to render existing auth methods and add custom ones.
25export const graphqlConfigAtom = (slug: IntegrationSlug) =>
26 GraphqlClient.query("graphql", "getConfig", {
27 params: { slug: String(slug) },
28 timeToLive: "15 seconds",
29 reactivityKeys: [ReactivityKey.integrations, ReactivityKey.tools],
30 });
31
32// ---------------------------------------------------------------------------
33// Mutation atoms

Callers 1

GraphqlAccountsPanelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected