diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-15 11:00:25 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:51 +0100 |
commit | 608624252466acf9f1d9ee1c1170bd4fe4d18d18 (patch) | |
tree | 47eab55bb5421b7fe88e0b2ac743a436fd9561cf /server/initializers/constants.ts | |
parent | 51548b31815c6f96f314ae96588a9adca150519d (diff) | |
download | PeerTube-608624252466acf9f1d9ee1c1170bd4fe4d18d18.tar.gz PeerTube-608624252466acf9f1d9ee1c1170bd4fe4d18d18.tar.zst PeerTube-608624252466acf9f1d9ee1c1170bd4fe4d18d18.zip |
Rename Pod -> Server
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 4a49c1ab3..99da95ab9 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -6,10 +6,6 @@ import { root, isTestInstance } from '../helpers/core-utils' | |||
6 | 6 | ||
7 | import { | 7 | import { |
8 | VideoRateType, | 8 | VideoRateType, |
9 | RequestEndpoint, | ||
10 | RequestVideoEventType, | ||
11 | RequestVideoQaduType, | ||
12 | RemoteVideoRequestType, | ||
13 | JobState, | 9 | JobState, |
14 | JobCategory | 10 | JobCategory |
15 | } from '../../shared/models' | 11 | } from '../../shared/models' |
@@ -220,7 +216,7 @@ const VIDEO_MIMETYPE_EXT = { | |||
220 | 216 | ||
221 | // --------------------------------------------------------------------------- | 217 | // --------------------------------------------------------------------------- |
222 | 218 | ||
223 | // Score a pod has when we create it as a friend | 219 | // Score a server has when we create it as a friend |
224 | const FRIEND_SCORE = { | 220 | const FRIEND_SCORE = { |
225 | BASE: 100, | 221 | BASE: 100, |
226 | MAX: 1000 | 222 | MAX: 1000 |
@@ -243,7 +239,7 @@ const ACTIVITY_PUB = { | |||
243 | // --------------------------------------------------------------------------- | 239 | // --------------------------------------------------------------------------- |
244 | 240 | ||
245 | // Number of points we add/remove from a friend after a successful/bad request | 241 | // Number of points we add/remove from a friend after a successful/bad request |
246 | const PODS_SCORE = { | 242 | const SERVERS_SCORE = { |
247 | PENALTY: -10, | 243 | PENALTY: -10, |
248 | BONUS: 10 | 244 | BONUS: 10 |
249 | } | 245 | } |
@@ -352,7 +348,7 @@ export { | |||
352 | OAUTH_LIFETIME, | 348 | OAUTH_LIFETIME, |
353 | OPENGRAPH_AND_OEMBED_COMMENT, | 349 | OPENGRAPH_AND_OEMBED_COMMENT, |
354 | PAGINATION_COUNT_DEFAULT, | 350 | PAGINATION_COUNT_DEFAULT, |
355 | PODS_SCORE, | 351 | SERVERS_SCORE, |
356 | PREVIEWS_SIZE, | 352 | PREVIEWS_SIZE, |
357 | REMOTE_SCHEME, | 353 | REMOTE_SCHEME, |
358 | ACTIVITY_PUB_ACCEPT_HEADER, | 354 | ACTIVITY_PUB_ACCEPT_HEADER, |