+import { PickWith } from '@shared/typescript-utils'
import { VideoCaptionModel } from '../../../models/video/video-caption'
-import { FunctionProperties, PickWith } from '@server/types/utils'
import { MVideo, MVideoUUID } from './video'
type Use<K extends keyof VideoCaptionModel, M> = PickWith<VideoCaptionModel, K, M>
// Format for API or AP object
export type MVideoCaptionFormattable =
- FunctionProperties<MVideoCaption> &
+ MVideoCaption &
Pick<MVideoCaption, 'language'> &
Use<'Video', MVideoUUID>