]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/search/videos-search-query.model.ts
Add user adminFlags
[github/Chocobozzz/PeerTube.git] / shared / models / search / videos-search-query.model.ts
index 29aa5c100c716c22ebc84e8aa252c3574635c024..838063095dfabf7b55134fcff4ec12ca3fa99fce 100644 (file)
@@ -1,4 +1,5 @@
 import { NSFWQuery } from './nsfw-query.model'
+import { VideoFilter } from '../videos'
 
 export interface VideosSearchQuery {
   search?: string
@@ -10,6 +11,9 @@ export interface VideosSearchQuery {
   startDate?: string // ISO 8601
   endDate?: string // ISO 8601
 
+  originallyPublishedStartDate?: string // ISO 8601
+  originallyPublishedEndDate?: string // ISO 8601
+
   nsfw?: NSFWQuery
 
   categoryOneOf?: number[]
@@ -23,4 +27,6 @@ export interface VideosSearchQuery {
 
   durationMin?: number // seconds
   durationMax?: number // seconds
+
+  filter?: VideoFilter
 }