add list reducer key consts
This commit is contained in:
parent
4dfc4689c6
commit
06b09f5a81
2 changed files with 15 additions and 1 deletions
11
dist/bundle.es.js
vendored
11
dist/bundle.es.js
vendored
|
@ -1051,6 +1051,11 @@ const FAVORITES_ID = 'favorites';
|
||||||
const FAVORITE_CHANNELS_ID = 'favoriteChannels';
|
const FAVORITE_CHANNELS_ID = 'favoriteChannels';
|
||||||
const BUILTIN_LISTS = [WATCH_LATER_ID, FAVORITES_ID, FAVORITE_CHANNELS_ID];
|
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({
|
var collections = /*#__PURE__*/Object.freeze({
|
||||||
COLLECTION_ID: COLLECTION_ID,
|
COLLECTION_ID: COLLECTION_ID,
|
||||||
COLLECTION_INDEX: COLLECTION_INDEX,
|
COLLECTION_INDEX: COLLECTION_INDEX,
|
||||||
|
@ -1059,7 +1064,11 @@ var collections = /*#__PURE__*/Object.freeze({
|
||||||
WATCH_LATER_ID: WATCH_LATER_ID,
|
WATCH_LATER_ID: WATCH_LATER_ID,
|
||||||
FAVORITES_ID: FAVORITES_ID,
|
FAVORITES_ID: FAVORITES_ID,
|
||||||
FAVORITE_CHANNELS_ID: FAVORITE_CHANNELS_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'];
|
const DEFAULT_FOLLOWED_TAGS = ['art', 'automotive', 'blockchain', 'comedy', 'economics', 'education', 'gaming', 'music', 'news', 'science', 'sports', 'technology'];
|
||||||
|
|
|
@ -8,3 +8,8 @@ export const WATCH_LATER_ID = 'watchlater';
|
||||||
export const FAVORITES_ID = 'favorites';
|
export const FAVORITES_ID = 'favorites';
|
||||||
export const FAVORITE_CHANNELS_ID = 'favoriteChannels';
|
export const FAVORITE_CHANNELS_ID = 'favoriteChannels';
|
||||||
export const BUILTIN_LISTS = [WATCH_LATER_ID, FAVORITES_ID, FAVORITE_CHANNELS_ID];
|
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';
|
||||||
|
|
Loading…
Reference in a new issue