diff options
Diffstat (limited to 'server/typings/models/video/video-change-ownership.ts')
-rw-r--r-- | server/typings/models/video/video-change-ownership.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/server/typings/models/video/video-change-ownership.ts b/server/typings/models/video/video-change-ownership.ts new file mode 100644 index 000000000..718515e2d --- /dev/null +++ b/server/typings/models/video/video-change-ownership.ts | |||
@@ -0,0 +1,10 @@ | |||
1 | import { VideoChangeOwnershipModel } from '@server/models/video/video-change-ownership' | ||
2 | import { PickWith } from '@server/typings/utils' | ||
3 | import { MAccountDefault, MVideoWithFileThumbnail } from '@server/typings/models' | ||
4 | |||
5 | export type MVideoChangeOwnership = Omit<VideoChangeOwnershipModel, 'Initiator' | 'NextOwner' | 'Video'> | ||
6 | |||
7 | export type MVideoChangeOwnershipFull = MVideoChangeOwnership & | ||
8 | PickWith<VideoChangeOwnershipModel, 'Initiator', MAccountDefault> & | ||
9 | PickWith<VideoChangeOwnershipModel, 'NextOwner', MAccountDefault> & | ||
10 | PickWith<VideoChangeOwnershipModel, 'Video', MVideoWithFileThumbnail> | ||