From ed25a8790c43555d58c3debfcc2ec951fd4516fb Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 9 Apr 2025 00:04:15 +1000 Subject: feat: news service --- src/config/defaults.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/config/defaults.ts') diff --git a/src/config/defaults.ts b/src/config/defaults.ts index 59cc215..cccc421 100644 --- a/src/config/defaults.ts +++ b/src/config/defaults.ts @@ -164,4 +164,12 @@ export default { exact: true, }, }, + news: { + apiKey: "", // An API key from https://newsdata.io for accessing news + countries: ["current"], // A list of country codes or "current" for the current location + categories: [] as string[], // A list of news categories to filter by + languages: ["en"], // A list of languages codes to filter by + domains: [] as string[], // A list of news domains to pull from + timezone: "", // A timezone to filter by, e.g. "America/New_York" + }, }; -- cgit v1.2.3-freya