MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getActivityQueryData

Function getActivityQueryData

cli/src/hooks/use-activity-query.ts:538–541  ·  view source on GitHub ↗
(queryKey: readonly unknown[])

Source from the content-addressed store, hash-verified

536 * Read cached data.
537 */
538export function getActivityQueryData<T>(queryKey: readonly unknown[]): T | undefined {
539 const key = serializeQueryKey(queryKey)
540 return getCacheEntry<T>(key)?.data
541}
542
543/**
544 * Write cached data (optimistic updates).

Callers 5

UsageBannerFunction · 0.90
OutOfCreditsBannerFunction · 0.90
useUpdatePreferenceFunction · 0.90

Calls 2

serializeQueryKeyFunction · 0.85
getCacheEntryFunction · 0.85

Tested by

no test coverage detected