PeerTube/shared/models/plugins/server/managers/plugin-video-privacy-manage...

14 lines
403 B
TypeScript
Raw Normal View History

2021-05-11 05:04:47 -05:00
import { VideoPrivacy } from '../../../videos/video-privacy.enum'
2021-07-28 03:46:32 -05:00
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
}