aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-05-14 11:10:26 +0200
committerGitHub <noreply@github.com>2020-05-14 11:10:26 +0200
commit2158ac90341dc3fcae958540de65032da25c8d6e (patch)
treea780923d701f3daa130996768e38c1e1b6a0646c /server/initializers/constants.ts
parent7405b6ba897dbce1b4fd50c92174f1df5ac15adc (diff)
downloadPeerTube-2158ac90341dc3fcae958540de65032da25c8d6e.tar.gz
PeerTube-2158ac90341dc3fcae958540de65032da25c8d6e.tar.zst
PeerTube-2158ac90341dc3fcae958540de65032da25c8d6e.zip
Add server plugin filter hooks for import with torrent and url (#2621)
* Add server plugin filter hooks for import with torrent and url * WIP: pre and post-import filter hooks * Rebased * Cleanup filters to accept imports Co-authored-by: Chocobozzz <me@florianbigard.com>
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index e5cac64d4..676d9804b 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -372,7 +372,8 @@ const VIDEO_STATES = {
372const VIDEO_IMPORT_STATES = { 372const VIDEO_IMPORT_STATES = {
373 [VideoImportState.FAILED]: 'Failed', 373 [VideoImportState.FAILED]: 'Failed',
374 [VideoImportState.PENDING]: 'Pending', 374 [VideoImportState.PENDING]: 'Pending',
375 [VideoImportState.SUCCESS]: 'Success' 375 [VideoImportState.SUCCESS]: 'Success',
376 [VideoImportState.REJECTED]: 'Rejected'
376} 377}
377 378
378const VIDEO_ABUSE_STATES = { 379const VIDEO_ABUSE_STATES = {