summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/defaults.ts1
-rw-r--r--src/config/types.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/config/defaults.ts b/src/config/defaults.ts
index d5db290..70a4700 100644
--- a/src/config/defaults.ts
+++ b/src/config/defaults.ts
@@ -171,5 +171,6 @@ export default {
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"
+ pages: 3, // Number of pages to pull (each page is 10 articles)
},
};
diff --git a/src/config/types.ts b/src/config/types.ts
index 2862612..0e9138d 100644
--- a/src/config/types.ts
+++ b/src/config/types.ts
@@ -100,4 +100,5 @@ export default {
"news.languages": ARR(STR),
"news.domains": ARR(STR),
"news.timezone": STR,
+ "news.pages": NUM,
} as { [k: string]: string | string[] | number[] };