diff options
Diffstat (limited to 'shared/extra-utils/videos/videos-command.ts')
-rw-r--r-- | shared/extra-utils/videos/videos-command.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shared/extra-utils/videos/videos-command.ts b/shared/extra-utils/videos/videos-command.ts index c1a9ec806..68241f062 100644 --- a/shared/extra-utils/videos/videos-command.ts +++ b/shared/extra-utils/videos/videos-command.ts | |||
@@ -18,8 +18,7 @@ import { | |||
18 | VideoDetails, | 18 | VideoDetails, |
19 | VideoFileMetadata, | 19 | VideoFileMetadata, |
20 | VideoPrivacy, | 20 | VideoPrivacy, |
21 | VideosCommonQuery, | 21 | VideosCommonQuery |
22 | VideosWithSearchCommonQuery | ||
23 | } from '@shared/models' | 22 | } from '@shared/models' |
24 | import { buildAbsoluteFixturePath, wait } from '../miscs' | 23 | import { buildAbsoluteFixturePath, wait } from '../miscs' |
25 | import { unwrapBody } from '../requests' | 24 | import { unwrapBody } from '../requests' |
@@ -246,7 +245,7 @@ export class VideosCommand extends AbstractCommand { | |||
246 | }) | 245 | }) |
247 | } | 246 | } |
248 | 247 | ||
249 | listByAccount (options: OverrideCommandOptions & VideosWithSearchCommonQuery & { | 248 | listByAccount (options: OverrideCommandOptions & VideosCommonQuery & { |
250 | handle: string | 249 | handle: string |
251 | }) { | 250 | }) { |
252 | const { handle, search } = options | 251 | const { handle, search } = options |
@@ -262,7 +261,7 @@ export class VideosCommand extends AbstractCommand { | |||
262 | }) | 261 | }) |
263 | } | 262 | } |
264 | 263 | ||
265 | listByChannel (options: OverrideCommandOptions & VideosWithSearchCommonQuery & { | 264 | listByChannel (options: OverrideCommandOptions & VideosCommonQuery & { |
266 | handle: string | 265 | handle: string |
267 | }) { | 266 | }) { |
268 | const { handle } = options | 267 | const { handle } = options |
@@ -605,7 +604,8 @@ export class VideosCommand extends AbstractCommand { | |||
605 | 'languageOneOf', | 604 | 'languageOneOf', |
606 | 'tagsOneOf', | 605 | 'tagsOneOf', |
607 | 'tagsAllOf', | 606 | 'tagsAllOf', |
608 | 'filter', | 607 | 'isLocal', |
608 | 'include', | ||
609 | 'skipCount' | 609 | 'skipCount' |
610 | ]) | 610 | ]) |
611 | } | 611 | } |