diff options
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/search/videos-common-query.model.ts | 3 | ||||
-rw-r--r-- | shared/models/videos/video-include.enum.ts | 7 |
2 files changed, 6 insertions, 4 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 | ||
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 @@ | |||
1 | export const enum VideoInclude { | 1 | export 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 | } |