import { VideoLiveSessionModel } from '@server/models/video/video-live-session.js' import { PickWith } from '@peertube/peertube-typescript-utils' import { MVideo } from './video.js' import { MLiveReplaySetting } from './video-live-replay-setting.js' type Use = PickWith // ############################################################################ export type MVideoLiveSession = Omit // ############################################################################ export type MVideoLiveSessionReplay = MVideoLiveSession & Use<'ReplayVideo', MVideo> & Use<'ReplaySetting', MLiveReplaySetting>