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