aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings/models/video/video-caption.ts
blob: 16d8b739271b6a021458e4dd867b8d4bc223ad85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import { VideoCaptionModel } from '../../../models/video/video-caption'
import { PickWith } from '@server/typings/utils'
import { VideoModel } from '@server/models/video/video'

export type MVideoCaption = Omit<VideoCaptionModel, 'Video'>

export type MVideoCaptionLanguage = Pick<MVideoCaption, 'language'>

export type MVideoCaptionVideo = MVideoCaption &
  PickWith<VideoCaptionModel, 'Video', Pick<VideoModel, 'id' | 'remote' | 'uuid'>>