diff options
author | fox <[email protected]> | 2023-03-07 20:13:10 +0300 |
---|---|---|
committer | fox <[email protected]> | 2023-03-07 20:13:10 +0300 |
commit | cddbf5bf5a7e2c433275a3bec089f318d4f211af (patch) | |
tree | 8963be1f66c848638dfea5c68c09ac29915bc715 /js/Feeds.js | |
parent | c4026b408b824769de6152d0c3bf0eb504a1e935 (diff) | |
parent | b14a8a76ebdf41adc7b8e0e95db1decb1a3d95f6 (diff) |
Merge pull request 'Replace special feed and category numbers with constants.' (#104) from wn/tt-rss:feature/special-feed-and-cat-consts into master
Reviewed-on: https://dev.tt-rss.org/tt-rss/tt-rss/pulls/104
Diffstat (limited to 'js/Feeds.js')
-rw-r--r-- | js/Feeds.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/js/Feeds.js b/js/Feeds.js index 42641dc74..7a5678084 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_DASHBOARD: -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, |