diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-21 15:45:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-21 15:45:42 +0200 |
commit | 5f26f13b3c16ac5ae0a3b0a7142d84a9528cf565 (patch) | |
tree | 64021f952b125ae3d152c07180804fd13adfeb48 /shared/models/plugins/server/managers/plugin-video-privacy-manager.model.ts | |
parent | 435990290a61ca6fdb679e6b076ef9157b89a6ce (diff) | |
parent | 2b9f672b58bc2c13c96ee79f522003979e4bfc02 (diff) | |
download | PeerTube-5f26f13b3c16ac5ae0a3b0a7142d84a9528cf565.tar.gz PeerTube-5f26f13b3c16ac5ae0a3b0a7142d84a9528cf565.tar.zst PeerTube-5f26f13b3c16ac5ae0a3b0a7142d84a9528cf565.zip |
Merge branch 'constant-registry' into develop
Diffstat (limited to 'shared/models/plugins/server/managers/plugin-video-privacy-manager.model.ts')
-rw-r--r-- | shared/models/plugins/server/managers/plugin-video-privacy-manager.model.ts | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/shared/models/plugins/server/managers/plugin-video-privacy-manager.model.ts b/shared/models/plugins/server/managers/plugin-video-privacy-manager.model.ts index 7717115e3..e26e48a53 100644 --- a/shared/models/plugins/server/managers/plugin-video-privacy-manager.model.ts +++ b/shared/models/plugins/server/managers/plugin-video-privacy-manager.model.ts | |||
@@ -1,9 +1,13 @@ | |||
1 | import { VideoPrivacy } from '../../../videos/video-privacy.enum' | 1 | import { VideoPrivacy } from '../../../videos/video-privacy.enum' |
2 | import { ConstantManager } from '@shared/models/plugins/server/plugin-constant-manager.model' | ||
2 | 3 | ||
3 | export interface PluginVideoPrivacyManager { | 4 | export interface PluginVideoPrivacyManager extends ConstantManager<VideoPrivacy> { |
4 | // PUBLIC = 1 | 5 | /** |
5 | // UNLISTED = 2 | 6 | * PUBLIC = 1, |
6 | // PRIVATE = 3 | 7 | * UNLISTED = 2, |
7 | // INTERNAL = 4 | 8 | * PRIVATE = 3 |
9 | * INTERNAL = 4 | ||
10 | * @deprecated use `deleteConstant` instead | ||
11 | */ | ||
8 | deletePrivacy: (privacyKey: VideoPrivacy) => boolean | 12 | deletePrivacy: (privacyKey: VideoPrivacy) => boolean |
9 | } | 13 | } |