Skip to Content
⚠️Active Development Notice: TimeTiles is under active development. Information may be placeholder content or not up-to-date.

web


web / lib/hooks/use-catalogs-query

lib/hooks/use-catalogs-query

React Query hook for fetching catalogs with their datasets.

Used by the import wizard’s dataset selection step.

Interfaces

CatalogWithDatasets

Properties

id

id: number

name

name: string

datasets

datasets: object[]

id

id: number

name

name: string

Variables

catalogsQueryKeys

const catalogsQueryKeys: object

Type Declaration

all

all: readonly ["catalogs"]

withDatasets()

withDatasets: () => readonly ["catalogs", "with-datasets"]

Returns

readonly ["catalogs", "with-datasets"]

Functions

useCatalogsQuery()

useCatalogsQuery(): UseQueryResult<CatalogsResponse, Error>

Returns

UseQueryResult<CatalogsResponse, Error>

Last updated on