From a15871560f80e07386c1dabb8370cd2664ecfd1f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 31 Jan 2020 16:56:52 +0100 Subject: Move to eslint --- server/typings/models/video/video-redundancy.ts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'server/typings/models/video/video-redundancy.ts') diff --git a/server/typings/models/video/video-redundancy.ts b/server/typings/models/video/video-redundancy.ts index 25bdac057..5107aa7f4 100644 --- a/server/typings/models/video/video-redundancy.ts +++ b/server/typings/models/video/video-redundancy.ts @@ -16,16 +16,20 @@ export type MVideoRedundancyFileUrl = Pick // ############################################################################ -export type MVideoRedundancyFile = MVideoRedundancy & +export type MVideoRedundancyFile = + MVideoRedundancy & Use<'VideoFile', MVideoFile> -export type MVideoRedundancyFileVideo = MVideoRedundancy & +export type MVideoRedundancyFileVideo = + MVideoRedundancy & Use<'VideoFile', MVideoFileVideo> -export type MVideoRedundancyStreamingPlaylistVideo = MVideoRedundancy & +export type MVideoRedundancyStreamingPlaylistVideo = + MVideoRedundancy & Use<'VideoStreamingPlaylist', MStreamingPlaylistVideo> -export type MVideoRedundancyVideo = MVideoRedundancy & +export type MVideoRedundancyVideo = + MVideoRedundancy & Use<'VideoFile', MVideoFileVideo> & Use<'VideoStreamingPlaylist', MStreamingPlaylistVideo> @@ -33,6 +37,7 @@ export type MVideoRedundancyVideo = MVideoRedundancy & // Format for API or AP object -export type MVideoRedundancyAP = MVideoRedundancy & +export type MVideoRedundancyAP = + MVideoRedundancy & PickWithOpt> & PickWithOpt> -- cgit v1.2.3