blob: 718515e2de66e40ae986b211591777b544c9d00b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import { VideoChangeOwnershipModel } from '@server/models/video/video-change-ownership'
import { PickWith } from '@server/typings/utils'
import { MAccountDefault, MVideoWithFileThumbnail } from '@server/typings/models'
export type MVideoChangeOwnership = Omit<VideoChangeOwnershipModel, 'Initiator' | 'NextOwner' | 'Video'>
export type MVideoChangeOwnershipFull = MVideoChangeOwnership &
PickWith<VideoChangeOwnershipModel, 'Initiator', MAccountDefault> &
PickWith<VideoChangeOwnershipModel, 'NextOwner', MAccountDefault> &
PickWith<VideoChangeOwnershipModel, 'Video', MVideoWithFileThumbnail>
|