1 import { VideoChannelSyncModel } from '@server/models/video/video-channel-sync'
2 import { FunctionProperties, PickWith } from '@shared/typescript-utils'
3 import { MChannelAccountDefault, MChannelFormattable } from './video-channels'
5 type Use<K extends keyof VideoChannelSyncModel, M> = PickWith<VideoChannelSyncModel, K, M>
7 export type MChannelSync = Omit<VideoChannelSyncModel, 'VideoChannel'>
9 export type MChannelSyncChannel =
11 Use<'VideoChannel', MChannelAccountDefault> &
12 FunctionProperties<VideoChannelSyncModel>
14 export type MChannelSyncFormattable =
15 FunctionProperties<MChannelSyncChannel> &
16 Use<'VideoChannel', MChannelFormattable> &