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

Function providerItemsAtom

packages/react/src/api/atoms.tsx:134–142  ·  view source on GitHub ↗
(key: ProviderKey)

Source from the content-addressed store, hash-verified

132});
133
134export const providerItemsAtom = (key: ProviderKey) =>
135 ExecutorApiClient.query("providers", "items", {
136 params: { key },
137 // Long retention on purpose: external-provider listings (1Password) are
138 // slow, so pickers render the last-known list instantly and revalidate in
139 // the background on mount instead of flashing a loading state each open.
140 timeToLive: "10 minutes",
141 reactivityKeys: [ReactivityKey.providers],
142 });
143
144// ---------------------------------------------------------------------------
145// Policies — owner-scoped.

Callers 1

OnePasswordItemSelectFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected