1
0
Fork 0
peertube/shared/models/plugins/server/managers/plugin-playlist-privacy-manager.model.ts

13 lines
466 B
TypeScript
Raw Normal View History

2021-05-11 06:04:47 -04: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
}