mirror of
https://github.com/kennethnym/aris.git
synced 2026-04-14 13:51:18 +01:00
feat: combine TFL alerts into single feed item (#107)
TflSource.fetchItems() now returns one TflStatusFeedItem with an alerts array instead of separate items per line disruption. Signals use the highest severity. Alerts sorted by station distance. Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
@@ -10,5 +10,7 @@ export {
|
||||
type TflAlertSeverity,
|
||||
type TflLineStatus,
|
||||
type TflSourceOptions,
|
||||
type TflStatusData,
|
||||
type TflStatusFeedItem,
|
||||
} from "./types.ts"
|
||||
export { renderTflAlert } from "./renderer.tsx"
|
||||
export { renderTflStatus } from "./renderer.tsx"
|
||||
|
||||
Reference in New Issue
Block a user