mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-19 16:41:18 +00:00
96e22e227c03014cf57cebcd31028c881edaa34c
Context keys are now tuples instead of strings, inspired by
React Query's query keys. This prevents context collisions
when multiple instances of the same source type are registered.
Sources write to structured keys like
["aris.google-calendar", "nextEvent", { account: "work" }]
and consumers can query by prefix via context.find().
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%