aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/server/managers/plugin-video-privacy-manager.model.ts
blob: a237037db279964f931a6dc5f40d065e50d014c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { VideoPrivacy } from '../../../videos/video-privacy.enum'
import { ConstantManager } from '../plugin-constant-manager.model'

export interface PluginVideoPrivacyManager extends ConstantManager<VideoPrivacy> {
  /**
   * PUBLIC = 1,
   * UNLISTED = 2,
   * PRIVATE = 3
   * INTERNAL = 4
   * @deprecated use `deleteConstant` instead
   */
  deletePrivacy: (privacyKey: VideoPrivacy) => boolean
}