]>
Commit | Line | Data |
---|---|---|
453e83ea C |
1 | import { VideoImportModel } from '@server/models/video/video-import' |
2 | import { PickWith } from '@server/typings/utils' | |
3 | import { MUser, MVideo, MVideoAccountLight, MVideoTag, MVideoThumbnail, MVideoWithFile } from '@server/typings/models' | |
4 | ||
5 | export type MVideoImport = Omit<VideoImportModel, 'User' | 'Video'> | |
6 | ||
7 | export type MVideoImportDefault = MVideoImport & | |
8 | PickWith<VideoImportModel, 'User', MUser> & | |
9 | PickWith<VideoImportModel, 'Video', MVideoTag & MVideoAccountLight & MVideoThumbnail> | |
10 | ||
11 | export type MVideoImportDefaultFiles = MVideoImportDefault & | |
12 | PickWith<VideoImportModel, 'Video', MVideoTag & MVideoAccountLight & MVideoThumbnail & MVideoWithFile> | |
13 | ||
14 | export type MVideoImportVideo = MVideoImport & | |
15 | PickWith<VideoImportModel, 'Video', MVideo> |