1 import { VideoLiveModel } from '@server/models/video/video-live'
2 import { PickWith } from '@shared/typescript-utils'
3 import { MVideo } from './video'
4 import { MLiveReplaySetting } from './video-live-replay-setting'
6 type Use<K extends keyof VideoLiveModel, M> = PickWith<VideoLiveModel, K, M>
8 // ############################################################################
10 export type MVideoLive = Omit<VideoLiveModel, 'Video' | 'ReplaySetting'>
12 // ############################################################################
14 export type MVideoLiveVideo =
18 // ############################################################################
20 export type MVideoLiveVideoWithSetting =
22 Use<'ReplaySetting', MLiveReplaySetting>