MCPcopy
hub / github.com/simstudioai/sim / getQueryClient

Function getQueryClient

apps/sim/app/_shell/providers/get-query-client.ts:30–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 * On the client, reuses a singleton instance.
29 */
30export function getQueryClient() {
31 if (isServer) {
32 return makeQueryClient()
33 }
34 if (!browserQueryClient) {
35 browserQueryClient = makeQueryClient()
36 }
37 return browserQueryClient
38}

Callers 15

getClientEnvVarsFunction · 0.90
resetAllStoresFunction · 0.90
store.tsFile · 0.90
fetchTableColumnsFunction · 0.90
credential.tsFile · 0.90
WorkspaceLayoutFunction · 0.90
FilesPageFunction · 0.90
TablesPageFunction · 0.90
HomePageFunction · 0.90
ensureWorkflowInRegistryFunction · 0.90
KnowledgePageFunction · 0.90

Calls 1

makeQueryClientFunction · 0.85

Tested by

no test coverage detected