0cf6fe3df5
## Issue 6158 - Support Comment Pagination
22 lines
465 B
JavaScript
22 lines
465 B
JavaScript
export const LINKED_COMMENT_QUERY_PARAM = 'lc';
|
|
|
|
export const SORT_COMMENTS_NEW = 'new';
|
|
export const SORT_COMMENTS_BEST = 'best';
|
|
export const SORT_COMMENTS_CONTROVERSIAL = 'controversial';
|
|
|
|
export const SORT_BY = {
|
|
NEWEST: 0,
|
|
OLDEST: 1,
|
|
CONTROVERSY: 2,
|
|
POPULARITY: 3,
|
|
};
|
|
|
|
export const BLOCK_LEVEL = {
|
|
SELF: 'self',
|
|
MODERATOR: 'moderator',
|
|
ADMIN: 'admin',
|
|
};
|
|
|
|
export const COMMENT_PAGE_SIZE_TOP_LEVEL = 5;
|
|
export const COMMENT_PAGE_SIZE_REPLIES = 3;
|