PeerTube/shared/models/plugins/server/managers/plugin-playlist-privacy-man...

13 lines
466 B
TypeScript
Raw Normal View History

2021-05-11 05:04:47 -05:00
import { VideoPlaylistPrivacy } from '../../../videos/playlist/video-playlist-privacy.model'
import { ConstantManager } from '@shared/models/plugins/server/plugin-constant-manager.model'
export interface PluginPlaylistPrivacyManager extends ConstantManager<VideoPlaylistPrivacy> {
/**
* PUBLIC = 1,
* UNLISTED = 2,
* PRIVATE = 3
* @deprecated use `deleteConstant` instead
*/
deletePlaylistPrivacy: (privacyKey: VideoPlaylistPrivacy) => boolean
}