]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - server/types/models/video/video-live-session.ts
Improve wait transcoding help
[github/Chocobozzz/PeerTube.git] / server / types / models / video / video-live-session.ts
CommitLineData
26e3e98f
C
1import { VideoLiveSessionModel } from '@server/models/video/video-live-session'
2import { PickWith } from '@shared/typescript-utils'
3import { MVideo } from './video'
4
5type Use<K extends keyof VideoLiveSessionModel, M> = PickWith<VideoLiveSessionModel, K, M>
6
7// ############################################################################
8
9export type MVideoLiveSession = Omit<VideoLiveSessionModel, 'Video' | 'VideoLive'>
10
11// ############################################################################
12
13export type MVideoLiveSessionReplay =
14 MVideoLiveSession &
15 Use<'ReplayVideo', MVideo>