mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-19 16:41:18 +00:00
82ac2b577dd2d552b8c972fcbddb6429a773601a
* feat: add post-processor pipeline to FeedEngine Add FeedPostProcessor type and FeedEnhancement interface. Post-processors run after item collection on all update paths (refresh, reactive context, reactive items). Pipeline is chained — each processor sees items as modified by the previous one. Enhancement merging handles additional items, suppression, and grouped items. Throwing processors are caught and recorded in FeedResult.errors. Co-authored-by: Ona <no-reply@ona.com> * docs: document intentional TItems cast in post-processor merge Co-authored-by: Ona <no-reply@ona.com> * fix: filter stale item IDs from groups after pipeline Groups accumulated during the pipeline can reference items that a later processor suppressed. The engine now strips stale IDs and drops empty groups before returning. Co-authored-by: Ona <no-reply@ona.com> * refactor: use reduce for stale group filtering Co-authored-by: Ona <no-reply@ona.com> --------- 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.4%
Shell
1.3%
JavaScript
0.8%
Dockerfile
0.3%
CSS
0.2%