import { VideoChannelSyncModel } from '@server/models/video/video-channel-sync.js' import { FunctionProperties, PickWith } from '@peertube/peertube-typescript-utils' import { MChannelAccountDefault, MChannelFormattable } from './video-channel.js' type Use = PickWith export type MChannelSync = Omit export type MChannelSyncChannel = MChannelSync & Use<'VideoChannel', MChannelAccountDefault> & FunctionProperties export type MChannelSyncFormattable = FunctionProperties & Use<'VideoChannel', MChannelFormattable> & MChannelSync