web / lib/types/data-sources
lib/types/data-sources
Shared types for the data sources API and its consumers.
These types describe the lightweight catalog/dataset data returned by
the /api/v1/data-sources endpoint. They live here (rather than in the
route file) so that both server and client code can import them without
creating a dependency from hooks/components into route modules.
Interfaces
DataSourceCatalog
Properties
id
id:
number
name
name:
string
DataSourceDataset
Properties
id
id:
number
name
name:
string
catalogId
catalogId:
number|null
DataSourcesResponse
Properties
catalogs
catalogs:
DataSourceCatalog[]
datasets
datasets:
DataSourceDataset[]
Last updated on