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