add list reducer key consts

This commit is contained in:
zeppi 2021-06-10 16:07:41 -04:00
parent 4dfc4689c6
commit 06b09f5a81
2 changed files with 15 additions and 1 deletions

11
dist/bundle.es.js vendored
View file

@ -1051,6 +1051,11 @@ const FAVORITES_ID = 'favorites';
const FAVORITE_CHANNELS_ID = 'favoriteChannels';
const BUILTIN_LISTS = [WATCH_LATER_ID, FAVORITES_ID, FAVORITE_CHANNELS_ID];
const COL_KEY_EDITED = 'edited';
const COL_KEY_UNPUBLISHED = 'unpublished';
const COL_KEY_PENDING = 'pending';
const COL_KEY_SAVED = 'saved';
var collections = /*#__PURE__*/Object.freeze({
COLLECTION_ID: COLLECTION_ID,
COLLECTION_INDEX: COLLECTION_INDEX,
@ -1059,7 +1064,11 @@ var collections = /*#__PURE__*/Object.freeze({
WATCH_LATER_ID: WATCH_LATER_ID,
FAVORITES_ID: FAVORITES_ID,
FAVORITE_CHANNELS_ID: FAVORITE_CHANNELS_ID,
BUILTIN_LISTS: BUILTIN_LISTS
BUILTIN_LISTS: BUILTIN_LISTS,
COL_KEY_EDITED: COL_KEY_EDITED,
COL_KEY_UNPUBLISHED: COL_KEY_UNPUBLISHED,
COL_KEY_PENDING: COL_KEY_PENDING,
COL_KEY_SAVED: COL_KEY_SAVED
});
const DEFAULT_FOLLOWED_TAGS = ['art', 'automotive', 'blockchain', 'comedy', 'economics', 'education', 'gaming', 'music', 'news', 'science', 'sports', 'technology'];

View file

@ -8,3 +8,8 @@ export const WATCH_LATER_ID = 'watchlater';
export const FAVORITES_ID = 'favorites';
export const FAVORITE_CHANNELS_ID = 'favoriteChannels';
export const BUILTIN_LISTS = [WATCH_LATER_ID, FAVORITES_ID, FAVORITE_CHANNELS_ID];
export const COL_KEY_EDITED = 'edited';
export const COL_KEY_UNPUBLISHED = 'unpublished';
export const COL_KEY_PENDING = 'pending';
export const COL_KEY_SAVED = 'saved';