diff options
author | Chocobozzz <me@florianbigard.com> | 2022-01-19 14:23:00 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-01-19 14:31:05 +0100 |
commit | 419b520ca4434d17f3505013174e195c3a316716 (patch) | |
tree | 24dbf663c4e11e970cb780f96e6eb3efe023b222 /server/initializers/constants.ts | |
parent | 52435e467a0b30175a10af1dd3ae10d7d564d8ae (diff) | |
download | PeerTube-419b520ca4434d17f3505013174e195c3a316716.tar.gz PeerTube-419b520ca4434d17f3505013174e195c3a316716.tar.zst PeerTube-419b520ca4434d17f3505013174e195c3a316716.zip |
Add ability to cancel & delete video imports
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index b2f511152..6a59bf805 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -441,7 +441,9 @@ const VIDEO_IMPORT_STATES: { [ id in VideoImportState ]: string } = { | |||
441 | [VideoImportState.FAILED]: 'Failed', | 441 | [VideoImportState.FAILED]: 'Failed', |
442 | [VideoImportState.PENDING]: 'Pending', | 442 | [VideoImportState.PENDING]: 'Pending', |
443 | [VideoImportState.SUCCESS]: 'Success', | 443 | [VideoImportState.SUCCESS]: 'Success', |
444 | [VideoImportState.REJECTED]: 'Rejected' | 444 | [VideoImportState.REJECTED]: 'Rejected', |
445 | [VideoImportState.CANCELLED]: 'Cancelled', | ||
446 | [VideoImportState.PROCESSING]: 'Processing' | ||
445 | } | 447 | } |
446 | 448 | ||
447 | const ABUSE_STATES: { [ id in AbuseState ]: string } = { | 449 | const ABUSE_STATES: { [ id in AbuseState ]: string } = { |