blob: c3b27681f7b101d86a3c878ffffec5d7050913f3 (
plain) (
tree)
|
|
import { PickWith } from '@shared/typescript-utils'
import { ThumbnailModel } from '../../../models/video/thumbnail'
import { MVideo } from './video'
type Use<K extends keyof ThumbnailModel, M> = PickWith<ThumbnailModel, K, M>
// ############################################################################
export type MThumbnail = Omit<ThumbnailModel, 'Video' | 'VideoPlaylist'>
// ############################################################################
export type MThumbnailVideo =
MThumbnail &
Use<'Video', MVideo>
|