MCPcopy Create free account
hub / github.com/developmentseed/stac-react / generateCollectionsQueryKey

Function generateCollectionsQueryKey

src/utils/queryKeys.ts:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 * Collections are fetched from a single endpoint with no parameters.
42 */
43export function generateCollectionsQueryKey(): [string] {
44 return ['collections'];
45}
46
47/**
48 * Generates a query key for a single STAC collection request.

Callers 2

queryKeys.test.tsFile · 0.90
useCollectionsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected