aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings/models/video/video-share.ts
blob: 7e8cb8b6197d17ee47a1e697fafc5266a89be80e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import { VideoShareModel } from '../../../models/video/video-share'
import { PickWith } from '../../utils'
import { MActorDefault } from '../account'
import { MVideo } from './video'

export type MVideoShare = Omit<VideoShareModel, 'Actor' | 'Video'>

export type MVideoShareActor = MVideoShare &
  PickWith<VideoShareModel, 'Actor', MActorDefault>

export type MVideoShareFull = MVideoShareActor &
  PickWith<VideoShareModel, 'Video', MVideo>