MAccountUserId,
MActor,
MActorAccountChannelId,
- MActorAP,
+ MActorAPChannel,
MActorAPI,
MActorDefault,
+ MActorDefaultBanner,
MActorDefaultLight,
MActorFormattable,
MActorHost,
MActorLight,
MActorSummary,
- MActorSummaryFormattable, MActorUrl
+ MActorSummaryFormattable,
+ MActorUrl
} from '../account'
import { MVideo } from './video'
MChannel &
Use<'Actor', MActorDefault>
+export type MChannelBannerDefault =
+ MChannel &
+ Use<'Actor', MActorDefaultBanner>
+
// ############################################################################
// Not all association attributes
-export type MChannelLight =
- MChannel &
- Use<'Actor', MActorDefaultLight>
-
export type MChannelActorLight =
MChannel &
Use<'Actor', MActorLight>
MChannel &
Use<'Account', MAccountActor>
-export type MChannelAccountDefault =
+export type MChannelBannerAccountDefault =
MChannel &
- Use<'Actor', MActorDefault> &
+ Use<'Actor', MActorDefaultBanner> &
Use<'Account', MAccountDefault>
-export type MChannelActorAccountActor =
+export type MChannelAccountDefault =
MChannel &
- Use<'Account', MAccountActor> &
- Use<'Actor', MActor>
+ Use<'Actor', MActorDefault> &
+ Use<'Account', MAccountDefault>
// ############################################################################
-// Videos associations
+// Videos associations
export type MChannelVideos =
MChannel &
Use<'Videos', MVideo[]>
-export type MChannelActorAccountDefaultVideos =
- MChannel &
- Use<'Actor', MActorDefault> &
- Use<'Account', MAccountDefault> &
- Use<'Videos', MVideo[]>
-
// ############################################################################
// For API
export type MChannelAP =
Pick<MChannel, 'name' | 'description' | 'support'> &
- Use<'Actor', MActorAP> &
+ Use<'Actor', MActorAPChannel> &
Use<'Account', MAccountUrl>