summaryrefslogtreecommitdiff
path: root/js/Feeds.js
diff options
context:
space:
mode:
authorwn_ <[email protected]>2023-03-05 20:03:35 +0000
committerwn_ <[email protected]>2023-03-05 20:06:48 +0000
commitc923fda8c9b0ddc141ab1c22b35cb984c2e30f48 (patch)
tree662449d74584e54f0c3a058a93fe378c49512c0b /js/Feeds.js
parentfe08299ec46eb8df2988c788ced2c019743bee6a (diff)
Also use friendly names for special feed+cat IDs in the frontend.
Diffstat (limited to 'js/Feeds.js')
-rw-r--r--js/Feeds.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/js/Feeds.js b/js/Feeds.js
index 42641dc74..d84255310 100644
--- a/js/Feeds.js
+++ b/js/Feeds.js
@@ -3,6 +3,19 @@
/* global __, App, Headlines, xhr, dojo, dijit, fox, PluginHost, Notify, fox */
const Feeds = {
+ FEED_ARCHIVED: 0,
+ FEED_STARRED: -1,
+ FEED_PUBLISHED: -2,
+ FEED_FRESH: -3,
+ FEED_ALL: -4,
+ FEED_NOTHING: -5,
+ FEED_RECENTLY_READ: -6,
+ FEED_ERROR: -7,
+ CATEGORY_UNCATEGORIZED: 0,
+ CATEGORY_SPECIAL: -1,
+ CATEGORY_LABELS: -2,
+ CATEGORY_ALL_EXCEPT_VIRTUAL: -3,
+ CATEGORY_ALL: -4,
_default_feed_id: -3,
counters_last_request: 0,
_active_feed_id: undefined,