aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts10
1 files changed, 7 insertions, 3 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index e8e0da683..85c5335ad 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -21,8 +21,12 @@ const LAST_MIGRATION_VERSION = 235
21// API version 21// API version
22const API_VERSION = 'v1' 22const API_VERSION = 'v1'
23 23
24// Number of results by default for the pagination 24const PAGINATION = {
25const PAGINATION_COUNT_DEFAULT = 15 25 COUNT: {
26 DEFAULT: 15,
27 MAX: 100
28 }
29}
26 30
27// Sortable columns per schema 31// Sortable columns per schema
28const SORTABLE_COLUMNS = { 32const SORTABLE_COLUMNS = {
@@ -539,7 +543,7 @@ export {
539 OAUTH_LIFETIME, 543 OAUTH_LIFETIME,
540 CUSTOM_HTML_TAG_COMMENTS, 544 CUSTOM_HTML_TAG_COMMENTS,
541 BROADCAST_CONCURRENCY, 545 BROADCAST_CONCURRENCY,
542 PAGINATION_COUNT_DEFAULT, 546 PAGINATION,
543 ACTOR_FOLLOW_SCORE, 547 ACTOR_FOLLOW_SCORE,
544 PREVIEWS_SIZE, 548 PREVIEWS_SIZE,
545 REMOTE_SCHEME, 549 REMOTE_SCHEME,