mirror of
https://github.com/kennethnym/aris.git
synced 2026-04-06 01:51:18 +01:00
5cadb878ea75bfe0c7bded808e177735746856e5
Add credentials parameter to FeedSourceProvider.feedSourceForUser so providers can receive decrypted per-user credentials (OAuth tokens, passwords) from the user_sources table. Wire CredentialEncryptor into UserSessionManager to handle encrypt/decrypt. Providers receive plaintext and handle validation internally. Existing providers ignore the new parameter. Co-authored-by: Ona <no-reply@ona.com>
aelis
To install dependencies:
bun install
Packages
@aelis/source-tfl
TfL (Transport for London) feed source for tube, overground, and Elizabeth line alerts.
Testing
cd packages/aelis-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.2%
Shell
1.1%
CSS
0.8%
JavaScript
0.6%
Dockerfile
0.2%