core: export pagination settings

This commit is contained in:
undefined committed 2021-03-04 12:36:54 +08:00
1 parent 7fdcbc5220
commit e76459cff6
10 files changed
+39 -39

No files matched your search

-15
View File
@@ -589,23 +589,8 @@ export const USER_GENDER_ICONS = {
[USER_GENDER_OTHER]: '?',
};
export const CONSTANT = {
PROBLEM_PER_PAGE: 100,
CONTEST_PER_PAGE: 20,
DISCUSSION_PER_PAGE: 50,
RECORD_PER_PAGE: 100,
SOLUTION_PER_PAGE: 20,
TRAINING_PER_PAGE: 10,
REPLY_PER_PAGE: 50,
HOMEWORK_ON_MAIN: 5,
DISCUSSION_ON_MAIN: 20,
CONTEST_ON_MAIN: 10,
TRAINING_ON_MAIN: 10,
};
global.Hydro.model.builtin = {
Permission,
CONSTANT,
PERM,
PERMS,
PERMS_BY_FAMILY,