aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/server/managers/plugin-playlist-privacy-manager.model.ts
blob: 5b3b37752b28c6df98945ace15ea7878f1f448e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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
}