Kenneth 28d26b3c87 Replace FeedItem.priority with signals (#39)
* feat: replace FeedItem.priority with signals

Remove priority field from FeedItem and engine-level sorting.
Add FeedItemSignals with urgency and timeRelevance fields.
Update all source packages to emit signals instead of priority.

Ranking is now the post-processing layer's responsibility.
Urgency values are unchanged from the old priority values.

Co-authored-by: Ona <no-reply@ona.com>

* fix: use TimeRelevance enum in all tests

Co-authored-by: Ona <no-reply@ona.com>

---------

Co-authored-by: Ona <no-reply@ona.com>
2026-02-28 12:02:57 +00:00
2026-02-24 22:30:13 +00:00
2026-01-16 00:56:55 +00:00
2026-01-16 00:56:55 +00:00
2026-01-16 23:51:05 +00:00
2026-01-16 00:56:55 +00:00

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
No description provided
Readme 14 MiB
Languages
TypeScript 97.4%
Shell 1.3%
JavaScript 0.8%
Dockerfile 0.3%
CSS 0.2%