From 527a52ac4295a072927ff46761766a8b181a7603 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 12 Nov 2021 14:19:56 +0100 Subject: Add ability to filter out public videos from admin --- shared/models/search/videos-common-query.model.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shared/models/search') 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 @@ +import { VideoPrivacy } from '@shared/models' import { VideoInclude } from '../videos/video-include.enum' import { BooleanBothQuery } from './boolean-both-query.model' @@ -23,6 +24,8 @@ export interface VideosCommonQuery { languageOneOf?: string[] + privacyOneOf?: VideoPrivacy[] + tagsOneOf?: string[] tagsAllOf?: string[] -- cgit v1.2.3