diff options
Diffstat (limited to 'shared/models/search')
-rw-r--r-- | shared/models/search/video-channels-search-query.model.ts | 3 | ||||
-rw-r--r-- | shared/models/search/video-playlists-search-query.model.ts | 3 | ||||
-rw-r--r-- | shared/models/search/videos-search-query.model.ts | 3 |
3 files changed, 7 insertions, 2 deletions
diff --git a/shared/models/search/video-channels-search-query.model.ts b/shared/models/search/video-channels-search-query.model.ts index 2622dfbc6..50c59d41d 100644 --- a/shared/models/search/video-channels-search-query.model.ts +++ b/shared/models/search/video-channels-search-query.model.ts | |||
@@ -1,11 +1,12 @@ | |||
1 | import { SearchTargetQuery } from './search-target-query.model' | 1 | import { SearchTargetQuery } from './search-target-query.model' |
2 | 2 | ||
3 | export interface VideoChannelsSearchQuery extends SearchTargetQuery { | 3 | export interface VideoChannelsSearchQuery extends SearchTargetQuery { |
4 | search: string | 4 | search?: string |
5 | 5 | ||
6 | start?: number | 6 | start?: number |
7 | count?: number | 7 | count?: number |
8 | sort?: string | 8 | sort?: string |
9 | 9 | ||
10 | host?: string | 10 | host?: string |
11 | names?: string[] | ||
11 | } | 12 | } |
diff --git a/shared/models/search/video-playlists-search-query.model.ts b/shared/models/search/video-playlists-search-query.model.ts index dcf66e9e3..55393c92a 100644 --- a/shared/models/search/video-playlists-search-query.model.ts +++ b/shared/models/search/video-playlists-search-query.model.ts | |||
@@ -1,11 +1,12 @@ | |||
1 | import { SearchTargetQuery } from './search-target-query.model' | 1 | import { SearchTargetQuery } from './search-target-query.model' |
2 | 2 | ||
3 | export interface VideoPlaylistsSearchQuery extends SearchTargetQuery { | 3 | export interface VideoPlaylistsSearchQuery extends SearchTargetQuery { |
4 | search: string | 4 | search?: string |
5 | 5 | ||
6 | start?: number | 6 | start?: number |
7 | count?: number | 7 | count?: number |
8 | sort?: string | 8 | sort?: string |
9 | 9 | ||
10 | host?: string | 10 | host?: string |
11 | uuids?: string[] | ||
11 | } | 12 | } |
diff --git a/shared/models/search/videos-search-query.model.ts b/shared/models/search/videos-search-query.model.ts index a568c960e..736d89577 100644 --- a/shared/models/search/videos-search-query.model.ts +++ b/shared/models/search/videos-search-query.model.ts | |||
@@ -14,4 +14,7 @@ export interface VideosSearchQuery extends SearchTargetQuery, VideosCommonQuery | |||
14 | 14 | ||
15 | durationMin?: number // seconds | 15 | durationMin?: number // seconds |
16 | durationMax?: number // seconds | 16 | durationMax?: number // seconds |
17 | |||
18 | // UUIDs or short | ||
19 | uuids?: string[] | ||
17 | } | 20 | } |