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/event-bounds

lib/types/event-bounds

Shared types for the event bounds API and its consumers.

These types describe the bounding box response returned by the /api/v1/events/bounds 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

BoundsResponse

Response format for the bounds endpoint.

Properties

bounds

bounds: SimpleBounds | null

Geographic bounds of matching events, or null if no events match

count

count: number

Total count of events within bounds

Last updated on