import { AccountVideoRateModel } from '@server/models/account/account-video-rate' import { PickWith } from '@server/typings/utils' import { MAccountAudience, MAccountUrl, MVideo } from '..' type Use = PickWith // ############################################################################ export type MAccountVideoRate = Omit export type MAccountVideoRateAccountUrl = MAccountVideoRate & Use<'Account', MAccountUrl> export type MAccountVideoRateAccountVideo = MAccountVideoRate & Use<'Account', MAccountAudience> & Use<'Video', MVideo>