import { VideoBlacklistModel } from '../../../models/video/video-blacklist' import { PickWith } from '@server/typings/utils' import { MVideo, MVideoFormattable } from './video' type Use = PickWith // ############################################################################ export type MVideoBlacklist = Omit export type MVideoBlacklistLight = Pick export type MVideoBlacklistUnfederated = Pick // ############################################################################ export type MVideoBlacklistLightVideo = MVideoBlacklistLight & Use<'Video', MVideo> export type MVideoBlacklistVideo = MVideoBlacklist & Use<'Video', MVideo> // ############################################################################ // Format for API or AP object export type MVideoBlacklistFormattable = MVideoBlacklist & Use<'Video', MVideoFormattable>