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

web


web / lib/types/data-source-stats

lib/types/data-source-stats

Shared types for the data source stats API and its consumers.

These types describe the event-count-per-source response returned by the /api/v1/sources/stats 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

DataSourceStatsResponse

Response format for data source stats endpoint.

Properties

catalogCounts

catalogCounts: Record<string, number>

datasetCounts

datasetCounts: Record<string, number>

totalEvents

totalEvents: number

Last updated on