diff options
Diffstat (limited to 'server/helpers/custom-validators/video-transcoding.ts')
-rw-r--r-- | server/helpers/custom-validators/video-transcoding.ts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/server/helpers/custom-validators/video-transcoding.ts b/server/helpers/custom-validators/video-transcoding.ts deleted file mode 100644 index 220530de4..000000000 --- a/server/helpers/custom-validators/video-transcoding.ts +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | import { exists } from './misc' | ||
2 | |||
3 | function isValidCreateTranscodingType (value: any) { | ||
4 | return exists(value) && | ||
5 | (value === 'hls' || value === 'webtorrent' || value === 'web-video') // TODO: remove webtorrent in v7 | ||
6 | } | ||
7 | |||
8 | // --------------------------------------------------------------------------- | ||
9 | |||
10 | export { | ||
11 | isValidCreateTranscodingType | ||
12 | } | ||