diff options
Diffstat (limited to 'shared/core-utils/videos/privacy.ts')
-rw-r--r-- | shared/core-utils/videos/privacy.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/shared/core-utils/videos/privacy.ts b/shared/core-utils/videos/privacy.ts new file mode 100644 index 000000000..7d3b67d50 --- /dev/null +++ b/shared/core-utils/videos/privacy.ts | |||
@@ -0,0 +1,9 @@ | |||
1 | import { VideoPrivacy } from '../../models/videos/video-privacy.enum' | ||
2 | |||
3 | function getAllPrivacies () { | ||
4 | return [ VideoPrivacy.PUBLIC, VideoPrivacy.INTERNAL, VideoPrivacy.PRIVATE, VideoPrivacy.UNLISTED ] | ||
5 | } | ||
6 | |||
7 | export { | ||
8 | getAllPrivacies | ||
9 | } | ||