mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: export pagination settings
This commit is contained in:
1 parent
7fdcbc5220
commit
e76459cff6
10 files changed
+39
-39
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user