mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-29 22:31:18 +01:00
feat: register TfL source provider
Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
@@ -14,6 +14,7 @@ import { registerLocationHttpHandlers } from "./location/http.ts"
|
||||
import { LocationSourceProvider } from "./location/provider.ts"
|
||||
import { UserSessionManager } from "./session/index.ts"
|
||||
import { registerSourcesHttpHandlers } from "./sources/http.ts"
|
||||
import { TflSourceProvider } from "./tfl/provider.ts"
|
||||
import { WeatherSourceProvider } from "./weather/provider.ts"
|
||||
|
||||
function main() {
|
||||
@@ -45,6 +46,7 @@ function main() {
|
||||
serviceId: process.env.WEATHERKIT_SERVICE_ID!,
|
||||
},
|
||||
}),
|
||||
new TflSourceProvider({ apiKey: process.env.TFL_API_KEY! }),
|
||||
],
|
||||
feedEnhancer,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user