MCPcopy Create free account
hub / github.com/AudiusProject/apps / fetchData

Function fetchData

packages/common/src/audius-query/createApi.ts:332–459  ·  view source on GitHub ↗
(
  fetchArgs: Args,
  endpointName: string,
  endpoint: EndpointConfig<Args, Data>,
  actions: CaseReducerActions<any>,
  context: AudiusQueryContextType,
  force?: ForceType,
  setForce?: (force: ForceType) => void,
  currentUserId?: Nullable<number>
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

useQueryFunction · 0.85
useMutationFunction · 0.85
buildEndpointHooksFunction · 0.85

Calls 8

capitalizeFunction · 0.90
reformatUserFunction · 0.90
reformatCollectionFunction · 0.90
getErrorMessageFunction · 0.90
isNonRetryableErrorFunction · 0.85
fetchFunction · 0.70
mapValuesFunction · 0.50
addEntriesFunction · 0.50

Tested by

no test coverage detected