PeerTube/shared/core-utils/videos/privacy.ts

10 lines
234 B
TypeScript
Raw Normal View History

import { VideoPrivacy } from '../../models/videos/video-privacy.enum'
function getAllPrivacies () {
return [ VideoPrivacy.PUBLIC, VideoPrivacy.INTERNAL, VideoPrivacy.PRIVATE, VideoPrivacy.UNLISTED ]
}
export {
getAllPrivacies
}