MCPcopy Index your code
hub / github.com/developmentseed/stac-react / generateItemQueryKey

Function generateItemQueryKey

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

Source from the content-addressed store, hash-verified

57 * Items are fetched by URL.
58 */
59export function generateItemQueryKey(url: string): [string, string] {
60 return ['item', url];
61}
62
63/**
64 * Generates a query key for STAC API initialization.

Callers 2

queryKeys.test.tsFile · 0.90
useItemFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected