]>
Commit | Line | Data |
---|---|---|
26e3e98f C |
1 | import { VideoLiveSessionModel } from '@server/models/video/video-live-session' |
2 | import { PickWith } from '@shared/typescript-utils' | |
3 | import { MVideo } from './video' | |
4 | ||
5 | type Use<K extends keyof VideoLiveSessionModel, M> = PickWith<VideoLiveSessionModel, K, M> | |
6 | ||
7 | // ############################################################################ | |
8 | ||
9 | export type MVideoLiveSession = Omit<VideoLiveSessionModel, 'Video' | 'VideoLive'> | |
10 | ||
11 | // ############################################################################ | |
12 | ||
13 | export type MVideoLiveSessionReplay = | |
14 | MVideoLiveSession & | |
15 | Use<'ReplayVideo', MVideo> |