aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.js')
-rw-r--r--server/initializers/constants.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js
index 78bee5efe..4350bb892 100644
--- a/server/initializers/constants.js
+++ b/server/initializers/constants.js
@@ -26,6 +26,11 @@ const PODS_SCORE = {
26// Number of retries we make for the make retry requests (to friends...) 26// Number of retries we make for the make retry requests (to friends...)
27let REQUEST_RETRIES = 10 27let REQUEST_RETRIES = 10
28 28
29// Sortable columns per schema
30const SORTABLE_COLUMNS = {
31 VIDEOS: [ 'name', '-name', 'duration', '-duration', 'createdDate', '-createdDate' ]
32}
33
29// Videos thumbnail size 34// Videos thumbnail size
30const THUMBNAILS_SIZE = '200x110' 35const THUMBNAILS_SIZE = '200x110'
31 36
@@ -51,6 +56,7 @@ module.exports = {
51 PAGINATION_COUNT_DEFAULT: PAGINATION_COUNT_DEFAULT, 56 PAGINATION_COUNT_DEFAULT: PAGINATION_COUNT_DEFAULT,
52 PODS_SCORE: PODS_SCORE, 57 PODS_SCORE: PODS_SCORE,
53 REQUEST_RETRIES: REQUEST_RETRIES, 58 REQUEST_RETRIES: REQUEST_RETRIES,
59 SORTABLE_COLUMNS: SORTABLE_COLUMNS,
54 THUMBNAILS_SIZE: THUMBNAILS_SIZE, 60 THUMBNAILS_SIZE: THUMBNAILS_SIZE,
55 THUMBNAILS_STATIC_PATH: THUMBNAILS_STATIC_PATH 61 THUMBNAILS_STATIC_PATH: THUMBNAILS_STATIC_PATH
56} 62}