blob: 5b631077142b4e3b3b71e9035eb35416d271b788 (
plain) (
tree)
|
|
import { VideoStreamingPlaylistModel } from '../../../models/video/video-streaming-playlist'
import { PickWith } from '../../utils'
import { MVideoRedundancyFileUrl } from './video-redundancy'
import { MVideo } from '@server/typings/models'
export type MStreamingPlaylist = Omit<VideoStreamingPlaylistModel, 'Video' | 'RedundancyVideos'>
export type MStreamingPlaylistVideo = MStreamingPlaylist &
PickWith<VideoStreamingPlaylistModel, 'Video', MVideo>
export type MStreamingPlaylistRedundancies = MStreamingPlaylist &
PickWith<VideoStreamingPlaylistModel, 'RedundancyVideos', MVideoRedundancyFileUrl[]>
|