import { PickWith } from '@shared/core-utils' import { VideoCaptionModel } from '../../../models/video/video-caption' import { MVideo, MVideoUUID } from './video' type Use = PickWith // ############################################################################ export type MVideoCaption = Omit // ############################################################################ export type MVideoCaptionLanguage = Pick export type MVideoCaptionLanguageUrl = Pick export type MVideoCaptionVideo = MVideoCaption & Use<'Video', Pick> // ############################################################################ // Format for API or AP object export type MVideoCaptionFormattable = MVideoCaption & Pick & Use<'Video', MVideoUUID>