MCPcopy Create free account

hub / github.com/developmentseed/stac-react / functions

Functions61 in github.com/developmentseed/stac-react

↓ 26 callersFunctionsetupStacSearch
()
src/hooks/useStacSearch.test.ts:14
↓ 18 callersFunctiongenerateStacSearchQueryKey
( request: FetchRequest )
src/utils/queryKeys.ts:80
↓ 14 callersFunctionparseRequestPayload
(mockApiCall?: RequestInit)
src/hooks/useStacSearch.test.ts:7
↓ 13 callersFunctionhandleStacResponse
(response: Response)
src/utils/handleStacResponse.ts:26
↓ 7 callersMethodmakeDatetimePayload
(dateRange?: DateRange)
src/stac-api/index.ts:53
↓ 7 callersFunctionuseCollections
()
src/hooks/useCollections.ts:14
↓ 6 callersFunctiongenerateItemQueryKey
(url: string)
src/utils/queryKeys.ts:59
↓ 6 callersFunctionuseStacApiContext
()
src/context/useStacApiContext.ts:4
↓ 5 callersMethodfetch
(url: string, options: Partial<FetchOptions> = {})
src/stac-api/index.ts:90
↓ 5 callersMethodpayloadToQuery
({ sortby, ...payload }: SearchPayload)
src/stac-api/index.ts:68
↓ 5 callersMethodsearch
(payload: SearchPayload, headers = {})
src/stac-api/index.ts:103
↓ 5 callersFunctionuseCollection
(collectionId: string)
src/hooks/useCollection.ts:14
↓ 5 callersFunctionuseItem
(url: string)
src/hooks/useItem.ts:14
↓ 4 callersFunctiongenerateCollectionQueryKey
(collectionId: string)
src/utils/queryKeys.ts:51
↓ 4 callersFunctiongenerateStacApiQueryKey
(url: string)
src/utils/queryKeys.ts:66
↓ 3 callersFunctionuseStacApi
(url: string, options?: GenericObject)
src/hooks/useStacApi.ts:15
↓ 2 callersFunctiongenerateCollectionsQueryKey
()
src/utils/queryKeys.ts:43
↓ 2 callersMethodget
(href: string, headers = {})
src/stac-api/index.ts:133
↓ 2 callersMethodmakeArrayPayload
(arr?: any[])
src/stac-api/index.ts:49
↓ 2 callersFunctionuseStacSearch
()
src/hooks/useStacSearch.ts:41
↓ 1 callersFunctionaddDrawControl
(map, drawingCompleted)
example/src/pages/Main/Map.jsx:14
↓ 1 callersFunctiondebounce
(fn: F, ms = 250)
src/utils/debounce.ts:7
↓ 1 callersFunctionextractSearchParams
* Extracts only the essential search parameters from a payload for query key generation. * This creates a minimal, stable key that's cheap to hash.
src/utils/queryKeys.ts:9
↓ 1 callersFunctionfetchRequest
(request: FetchRequest)
src/hooks/useStacSearch.ts:110
↓ 1 callersMethodfixBboxCoordinateOrder
(bbox?: Bbox)
src/stac-api/index.ts:27
↓ 1 callersMethodgetCollection
(collectionId: string)
src/stac-api/index.ts:129
↓ 1 callersMethodgetCollections
()
src/stac-api/index.ts:125
↓ 1 callersFunctionmakeMockResponse
(responseData: string, url: string, init?: ResponseInit)
jest.utils.ts:1
↓ 1 callersFunctionreportWebVitals
(onPerfEntry)
example/src/reportWebVitals.js:1
↓ 1 callersFunctionreset
()
src/hooks/useStacSearch.ts:60
FunctionApiUrlChecker
()
src/context/StacApiProvider.test.tsx:148
FunctionApp
()
example/src/App.jsx:24
FunctionButton
({ type, className, children, onClick })
example/src/components/buttons/index.jsx:14
FunctionCheckbox
({ label, name, options, values, onChange })
example/src/components/form/Checkbox.jsx:5
FunctionClientChecker
()
src/context/StacApiProvider.test.tsx:73
FunctionH2
({ children, className })
example/src/components/headers/index.jsx:3
FunctionHeader
()
example/src/layout/Header/index.jsx:1
FunctionItemDetails
({ item, onClose })
example/src/pages/Main/ItemDetails.jsx:8
FunctionItemList
({ items, isLoading, error, nextPage, previousPage, onSelect })
example/src/pages/Main/ItemList.jsx:22
FunctionLegend
({ children, className })
example/src/components/form/Legend.jsx:3
FunctionMain
()
example/src/pages/Main/index.jsx:17
FunctionMap
({ className, isBboxDrawEnabled, handleDrawComplete, items })
example/src/pages/Main/Map.jsx:38
FunctionOptionsChecker
()
src/context/StacApiProvider.test.tsx:167
FunctionPaginationButton
({ disabled, onClick, children })
example/src/pages/Main/ItemList.jsx:8
FunctionPanel
({ children, className })
example/src/layout/Panel/index.jsx:3
FunctionPrimaryButton
({ children, ...rest })
example/src/components/buttons/index.jsx:27
FunctionQueryBuilder
({ setIsBboxDrawEnabled, collections, selectedCollections, setCollections, handleSubmit, dateRange
example/src/pages/Main/QueryBuilder.jsx:10
FunctionSection
({ children, className })
example/src/layout/Section/index.jsx:3
FunctionStacApiProvider
({ children, apiUrl, options, queryClient, enableDevTools, }: StacApiProviderType)
src/context/index.tsx:38
FunctionStacApiProviderInner
* Inner component that must render inside QueryClientProvider. * Separated because useStacApi() calls useQuery from TanStack Query, * which requires
src/context/index.tsx:21
FunctionTestComponent
()
src/context/StacApiProvider.test.tsx:16
FunctionWrapper
({ children }: WrapperType)
src/hooks/wrapper.tsx:9
FunctionbeforeWriteFile
(filePath, content)
vite.config.ts:24
Methodconstructor
(message: string, status: number, detail?: GenericObject | string, url?: string)
src/utils/ApiError.ts:12
Methodconstructor
(baseUrl: string, searchMode: SearchMode, options?: GenericObject)
src/stac-api/index.ts:21
FunctioncustomWrapper
({ children }: { children: React.ReactNode })
src/hooks/useStacApi.test.ts:44
FunctionfetchCollection
()
src/hooks/useCollection.ts:17
FunctionfetchCollections
()
src/hooks/useCollections.ts:17
FunctionfetchItem
()
src/hooks/useItem.ts:17
MethodformatDate
(date: string | undefined, end?: boolean)
src/stac-api/index.ts:58
FunctiononLoad
()
example/src/pages/Main/Map.jsx:54