import { VideoStreamingPlaylistModel } from '../../../models/video/video-streaming-playlist' import { PickWith } from '../../utils' import { MVideoRedundancyFileUrl } from './video-redundancy' import { MVideo } from '@server/typings/models' type Use = PickWith // ############################################################################ export type MStreamingPlaylist = Omit export type MStreamingPlaylistVideo = MStreamingPlaylist & Use<'Video', MVideo> export type MStreamingPlaylistRedundancies = MStreamingPlaylist & Use<'RedundancyVideos', MVideoRedundancyFileUrl[]>