blob: 51be900d6d63e5375698732717fe950534060df5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import { VideoImportModel } from '@server/models/video/video-import'
import { PickWith } from '@server/typings/utils'
import { MUser, MVideo, MVideoAccountLight, MVideoTag, MVideoThumbnail, MVideoWithFile } from '@server/typings/models'
export type MVideoImport = Omit<VideoImportModel, 'User' | 'Video'>
export type MVideoImportDefault = MVideoImport &
PickWith<VideoImportModel, 'User', MUser> &
PickWith<VideoImportModel, 'Video', MVideoTag & MVideoAccountLight & MVideoThumbnail>
export type MVideoImportDefaultFiles = MVideoImportDefault &
PickWith<VideoImportModel, 'Video', MVideoTag & MVideoAccountLight & MVideoThumbnail & MVideoWithFile>
export type MVideoImportVideo = MVideoImport &
PickWith<VideoImportModel, 'Video', MVideo>
|