diff options
author | Chocobozzz <me@florianbigard.com> | 2021-11-12 14:19:56 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-11-12 14:23:22 +0100 |
commit | 527a52ac4295a072927ff46761766a8b181a7603 (patch) | |
tree | 632f66b1691d8d72f04630671af8bdf1655d6b00 /shared/models/search | |
parent | 8f2608e9a9d54c87ace636f99cdb9d2a7730990f (diff) | |
download | PeerTube-527a52ac4295a072927ff46761766a8b181a7603.tar.gz PeerTube-527a52ac4295a072927ff46761766a8b181a7603.tar.zst PeerTube-527a52ac4295a072927ff46761766a8b181a7603.zip |
Add ability to filter out public videos from admin
Diffstat (limited to 'shared/models/search')
-rw-r--r-- | shared/models/search/videos-common-query.model.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/search/videos-common-query.model.ts b/shared/models/search/videos-common-query.model.ts index e9edb91b0..2cbf7b014 100644 --- a/shared/models/search/videos-common-query.model.ts +++ b/shared/models/search/videos-common-query.model.ts | |||
@@ -1,3 +1,4 @@ | |||
1 | import { VideoPrivacy } from '@shared/models' | ||
1 | import { VideoInclude } from '../videos/video-include.enum' | 2 | import { VideoInclude } from '../videos/video-include.enum' |
2 | import { BooleanBothQuery } from './boolean-both-query.model' | 3 | import { BooleanBothQuery } from './boolean-both-query.model' |
3 | 4 | ||
@@ -23,6 +24,8 @@ export interface VideosCommonQuery { | |||
23 | 24 | ||
24 | languageOneOf?: string[] | 25 | languageOneOf?: string[] |
25 | 26 | ||
27 | privacyOneOf?: VideoPrivacy[] | ||
28 | |||
26 | tagsOneOf?: string[] | 29 | tagsOneOf?: string[] |
27 | tagsAllOf?: string[] | 30 | tagsAllOf?: string[] |
28 | 31 | ||