mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add ability to remove privacies using plugins
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { VideoPlaylistPrivacy } from '@shared/models'
|
||||
|
||||
export interface PluginPlaylistPrivacyManager {
|
||||
// PUBLIC = 1,
|
||||
// UNLISTED = 2,
|
||||
// PRIVATE = 3
|
||||
deletePlaylistPrivacy: (privacyKey: VideoPlaylistPrivacy) => boolean
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import { VideoPrivacy } from '@shared/models'
|
||||
|
||||
export interface PluginVideoPrivacyManager {
|
||||
// PUBLIC = 1
|
||||
// UNLISTED = 2
|
||||
// PRIVATE = 3
|
||||
// INTERNAL = 4
|
||||
deletePrivacy: (privacyKey: VideoPrivacy) => boolean
|
||||
}
|
||||
Reference in New Issue
Block a user