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

Function generateStacApiQueryKey

src/utils/queryKeys.ts:66–68  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

64 * Generates a query key for STAC API initialization.
65 */
66export function generateStacApiQueryKey(url: string): [string, string] {
67 return ['stacApi', url];
68}
69
70/**
71 * Generates a query key for STAC search requests.

Callers 2

queryKeys.test.tsFile · 0.90
useStacApiFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected