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