diff options
author | Chocobozzz <me@florianbigard.com> | 2020-04-20 15:32:11 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-04-20 15:42:27 +0200 |
commit | b3af2601da92a6c0835cb2473b4c7a41a0d86e98 (patch) | |
tree | a20984ec2df1c22f235d03909177629892721c54 /shared/models/plugins/plugin-video-privacy-manager.model.ts | |
parent | 8c7725dc3c01a73bf56a48c8b192d144bfdc3ffe (diff) | |
download | PeerTube-b3af2601da92a6c0835cb2473b4c7a41a0d86e98.tar.gz PeerTube-b3af2601da92a6c0835cb2473b4c7a41a0d86e98.tar.zst PeerTube-b3af2601da92a6c0835cb2473b4c7a41a0d86e98.zip |
Add ability to remove privacies using plugins
Diffstat (limited to 'shared/models/plugins/plugin-video-privacy-manager.model.ts')
-rw-r--r-- | shared/models/plugins/plugin-video-privacy-manager.model.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/shared/models/plugins/plugin-video-privacy-manager.model.ts b/shared/models/plugins/plugin-video-privacy-manager.model.ts new file mode 100644 index 000000000..d602ba297 --- /dev/null +++ b/shared/models/plugins/plugin-video-privacy-manager.model.ts | |||
@@ -0,0 +1,9 @@ | |||
1 | import { VideoPrivacy } from '@shared/models' | ||
2 | |||
3 | export interface PluginVideoPrivacyManager { | ||
4 | // PUBLIC = 1 | ||
5 | // UNLISTED = 2 | ||
6 | // PRIVATE = 3 | ||
7 | // INTERNAL = 4 | ||
8 | deletePrivacy: (privacyKey: VideoPrivacy) => boolean | ||
9 | } | ||