mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 00:51:20 +00:00
54e4b0dcf745dc4fc9a3cefb1381b85105911179
Manages per-user TflSource instances with individual line configuration. Implements FeedSourceProvider so it can be wired into FeedEngineService. Adds TflSource.setLines() so line config can be mutated in place, keeping engine references valid. Also exports ITflApi from @aris/source-tfl for testability. Co-authored-by: Ona <no-reply@ona.com>
aris
To install dependencies:
bun install
Packages
@aris/source-tfl
TfL (Transport for London) feed source for tube, overground, and Elizabeth line alerts.
Testing
cd packages/aris-source-tfl
bun run test
Fixtures
Tests use fixture data from real TfL API responses stored in fixtures/tfl-responses.json.
To refresh fixtures:
bun run fetch-fixtures
Description
Languages
TypeScript
97.5%
Shell
1.3%
JavaScript
0.7%
Dockerfile
0.3%
CSS
0.2%