]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/channel/video-channel.model.ts
Translated using Weblate (Ukrainian)
[github/Chocobozzz/PeerTube.git] / shared / models / videos / channel / video-channel.model.ts
index 56517972d8aa23fd008be925dcbc0b0119689d7c..68e2f9c4c87ed7462c96c2f8afb437f2c5007665 100644 (file)
@@ -1,5 +1,5 @@
-import { Actor } from '../../actors/actor.model'
 import { Account, ActorImage } from '../../actors'
+import { Actor } from '../../actors/actor.model'
 
 export type ViewsPerDate = {
   date: Date
@@ -11,12 +11,19 @@ export interface VideoChannel extends Actor {
   description: string
   support: string
   isLocal: boolean
+
+  updatedAt: Date | string
+
   ownerAccount?: Account
 
   videosCount?: number
   viewsPerDay?: ViewsPerDate[] // chronologically ordered
+  totalViews?: number
 
-  banner?: ActorImage
+  banners: ActorImage[]
+
+  // TODO: remove, deprecated in 4.2
+  banner: ActorImage
 }
 
 export interface VideoChannelSummary {
@@ -25,5 +32,9 @@ export interface VideoChannelSummary {
   displayName: string
   url: string
   host: string
-  avatar?: ActorImage
+
+  avatars: ActorImage[]
+
+  // TODO: remove, deprecated in 4.2
+  avatar: ActorImage
 }