// ############################################################################
-export type MActor = Omit<ActorModel, 'Account' | 'VideoChannel' | 'ActorFollowing' | 'Avatar' | 'ActorFollowers' | 'Server' | 'Banner'>
+export type MActor = Omit<ActorModel, 'Account' | 'VideoChannel' | 'ActorFollowing' | 'ActorFollowers' | 'Server' | 'Banners'>
// ############################################################################
export type MActorDefaultLight =
MActorLight &
Use<'Server', MServerHost> &
- Use<'Avatar', MActorImage>
+ Use<'Avatars', MActorImage[]>
export type MActorAccountId =
MActor &
export type MActorImages =
MActor &
- Use<'Avatar', MActorImage> &
- UseOpt<'Banner', MActorImage>
+ Use<'Avatars', MActorImage[]> &
+ UseOpt<'Banners', MActorImage[]>
export type MActorDefault =
MActor &
Use<'Server', MServer> &
- Use<'Avatar', MActorImage>
+ Use<'Avatars', MActorImage[]>
export type MActorDefaultChannelId =
MActorDefault &
export type MActorDefaultBanner =
MActor &
Use<'Server', MServer> &
- Use<'Avatar', MActorImage> &
- Use<'Banner', MActorImage>
+ Use<'Avatars', MActorImage[]> &
+ Use<'Banners', MActorImage[]>
// Actor with channel that is associated to an account and its actor
// Actor -> VideoChannel -> Account -> Actor
export type MActorFull =
MActor &
Use<'Server', MServer> &
- Use<'Avatar', MActorImage> &
- Use<'Banner', MActorImage> &
+ Use<'Avatars', MActorImage[]> &
+ Use<'Banners', MActorImage[]> &
Use<'Account', MAccount> &
Use<'VideoChannel', MChannelAccountActor>
export type MActorFullActor =
MActor &
Use<'Server', MServer> &
- Use<'Avatar', MActorImage> &
- Use<'Banner', MActorImage> &
+ Use<'Avatars', MActorImage[]> &
+ Use<'Banners', MActorImage[]> &
Use<'Account', MAccountDefault> &
Use<'VideoChannel', MChannelAccountDefault>
export type MActorSummary =
FunctionProperties<MActor> &
- Pick<MActor, 'id' | 'preferredUsername' | 'url' | 'serverId' | 'avatarId'> &
+ Pick<MActor, 'id' | 'preferredUsername' | 'url' | 'serverId'> &
Use<'Server', MServerHost> &
- Use<'Avatar', MActorImage>
+ Use<'Avatars', MActorImage[]>
export type MActorSummaryBlocks =
MActorSummary &
FunctionProperties<MActor> &
Pick<MActor, 'url' | 'preferredUsername'> &
Use<'Server', MServerHost> &
- Use<'Avatar', MActorImageFormattable>
+ Use<'Avatars', MActorImageFormattable[]>
export type MActorFormattable =
MActorSummaryFormattable &
- Pick<MActor, 'id' | 'followingCount' | 'followersCount' | 'createdAt' | 'updatedAt' | 'remoteCreatedAt' | 'bannerId' | 'avatarId'> &
+ Pick<MActor, 'id' | 'followingCount' | 'followersCount' | 'createdAt' | 'updatedAt' | 'remoteCreatedAt'> &
Use<'Server', MServerHost & Partial<Pick<MServer, 'redundancyAllowed'>>> &
- UseOpt<'Banner', MActorImageFormattable>
+ UseOpt<'Banners', MActorImageFormattable[]> &
+ UseOpt<'Avatars', MActorImageFormattable[]>
type MActorAPBase =
MActor &
- Use<'Avatar', MActorImage>
+ Use<'Avatars', MActorImage[]>
export type MActorAPAccount =
MActorAPBase
export type MActorAPChannel =
MActorAPBase &
- Use<'Banner', MActorImage>
+ Use<'Banners', MActorImage[]>