]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/helpers/custom-validators/video-redundancies.ts
Merge branch 'release/2.1.0' into develop
[github/Chocobozzz/PeerTube.git] / server / helpers / custom-validators / video-redundancies.ts
1 import { exists } from './misc'
2
3 function isVideoRedundancyTarget (value: any) {
4 return exists(value) &&
5 (value === 'my-videos' || value === 'remote-videos')
6 }
7
8 // ---------------------------------------------------------------------------
9
10 export {
11 isVideoRedundancyTarget
12 }