]>
Commit | Line | Data |
---|---|---|
1 | import { VideoAbuseModel } from '../../../models/video/video-abuse' | |
2 | import { PickWith } from '../../utils' | |
3 | import { MVideo } from './video' | |
4 | import { MAccountDefault } from '../account' | |
5 | ||
6 | export type MVideoAbuse = Omit<VideoAbuseModel, 'Account' | 'Video' | 'toActivityPubObject'> | |
7 | ||
8 | export type MVideoAbuseId = Pick<VideoAbuseModel, 'id'> | |
9 | ||
10 | export type MVideoAbuseVideo = MVideoAbuse & | |
11 | Pick<VideoAbuseModel, 'toActivityPubObject'> & | |
12 | PickWith<VideoAbuseModel, 'Video', MVideo> | |
13 | ||
14 | export type MVideoAbuseAccountVideo = MVideoAbuseVideo & | |
15 | PickWith<VideoAbuseModel, 'Account', MAccountDefault> |