aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-11-12 14:19:56 +0100
committerChocobozzz <me@florianbigard.com>2021-11-12 14:23:22 +0100
commit527a52ac4295a072927ff46761766a8b181a7603 (patch)
tree632f66b1691d8d72f04630671af8bdf1655d6b00 /shared/models/videos
parent8f2608e9a9d54c87ace636f99cdb9d2a7730990f (diff)
downloadPeerTube-527a52ac4295a072927ff46761766a8b181a7603.tar.gz
PeerTube-527a52ac4295a072927ff46761766a8b181a7603.tar.zst
PeerTube-527a52ac4295a072927ff46761766a8b181a7603.zip
Add ability to filter out public videos from admin
Diffstat (limited to 'shared/models/videos')
-rw-r--r--shared/models/videos/video-include.enum.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/shared/models/videos/video-include.enum.ts b/shared/models/videos/video-include.enum.ts
index 72fa8cd30..7e16b129a 100644
--- a/shared/models/videos/video-include.enum.ts
+++ b/shared/models/videos/video-include.enum.ts
@@ -1,8 +1,7 @@
1export const enum VideoInclude { 1export const enum VideoInclude {
2 NONE = 0, 2 NONE = 0,
3 NOT_PUBLISHED_STATE = 1 << 0, 3 NOT_PUBLISHED_STATE = 1 << 0,
4 HIDDEN_PRIVACY = 1 << 1, 4 BLACKLISTED = 1 << 1,
5 BLACKLISTED = 1 << 2, 5 BLOCKED_OWNER = 1 << 2,
6 BLOCKED_OWNER = 1 << 3, 6 FILES = 1 << 3
7 FILES = 1 << 4
8} 7}