mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 00:51:20 +00:00
Rename all references across the codebase: package names, imports, source IDs, directory names, docs, and configs. Co-authored-by: Ona <no-reply@ona.com>
16 lines
453 B
TypeScript
16 lines
453 B
TypeScript
import { WeatherSource, type WeatherSourceOptions } from "@aelis/source-weatherkit"
|
|
|
|
import type { FeedSourceProvider } from "../session/feed-source-provider.ts"
|
|
|
|
export class WeatherSourceProvider implements FeedSourceProvider {
|
|
private readonly options: WeatherSourceOptions
|
|
|
|
constructor(options: WeatherSourceOptions) {
|
|
this.options = options
|
|
}
|
|
|
|
feedSourceForUser(_userId: string): WeatherSource {
|
|
return new WeatherSource(this.options)
|
|
}
|
|
}
|