mirror of
https://github.com/kennethnym/aris.git
synced 2026-02-02 13:11:17 +00:00
TfL data source for tube, overground, and Elizabeth line alerts. - Fetches line statuses and filters to minor/major delays and closures - Sorts alerts by severity, then by proximity to user location - Caches station data after first fetch - Uses arktype for API response validation - Supports API injection for testing Co-authored-by: Ona <no-reply@ona.com>
12 lines
283 B
TypeScript
12 lines
283 B
TypeScript
export { TflDataSource } from "./data-source.ts"
|
|
export { TflApi, type ITflApi, type TflLineStatus } from "./tfl-api.ts"
|
|
export type {
|
|
TflAlertData,
|
|
TflAlertFeedItem,
|
|
TflAlertSeverity,
|
|
TflDataSourceConfig,
|
|
TflDataSourceOptions,
|
|
TflLineId,
|
|
StationLocation,
|
|
} from "./types.ts"
|