aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/server/managers/plugin-video-privacy-manager.model.ts
blob: e26e48a53becf08a240494c3aa8e5e12e628ff96 (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 '@shared/models/plugins/server/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
}