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.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js
index 40f01e389..af494cb66 100644
--- a/server/initializers/constants.js
+++ b/server/initializers/constants.js
@@ -5,7 +5,7 @@ const path = require('path')
5 5
6// --------------------------------------------------------------------------- 6// ---------------------------------------------------------------------------
7 7
8const LAST_MIGRATION_VERSION = 30 8const LAST_MIGRATION_VERSION = 35
9 9
10// --------------------------------------------------------------------------- 10// ---------------------------------------------------------------------------
11 11
@@ -124,6 +124,17 @@ const VIDEO_CATEGORIES = {
124 18: 'Food' 124 18: 'Food'
125} 125}
126 126
127// See https://creativecommons.org/licenses/?lang=en
128const VIDEO_LICENCES = {
129 1: 'Attribution',
130 2: 'Attribution - Share Alike',
131 3: 'Attribution - No Derivatives',
132 4: 'Attribution - Non Commercial',
133 5: 'Attribution - Non Commercial - Share Alike',
134 6: 'Attribution - Non Commercial - No Derivatives',
135 7: 'Public Domain Dedication'
136}
137
127// --------------------------------------------------------------------------- 138// ---------------------------------------------------------------------------
128 139
129// Score a pod has when we create it as a friend 140// Score a pod has when we create it as a friend
@@ -280,6 +291,7 @@ module.exports = {
280 THUMBNAILS_SIZE, 291 THUMBNAILS_SIZE,
281 USER_ROLES, 292 USER_ROLES,
282 VIDEO_CATEGORIES, 293 VIDEO_CATEGORIES,
294 VIDEO_LICENCES,
283 VIDEO_RATE_TYPES 295 VIDEO_RATE_TYPES
284} 296}
285 297