diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-16 14:13:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-06-16 14:13:01 +0200 |
commit | 1ba471c55fdbf05ef2c10152b3e4b0c5d8da3213 (patch) | |
tree | 0f231073a848f3089752fda5fe378ff5b64c229b /shared | |
parent | af75e2d8df92d5d602e11353536ec6804a25f16f (diff) | |
download | PeerTube-1ba471c55fdbf05ef2c10152b3e4b0c5d8da3213.tar.gz PeerTube-1ba471c55fdbf05ef2c10152b3e4b0c5d8da3213.tar.zst PeerTube-1ba471c55fdbf05ef2c10152b3e4b0c5d8da3213.zip |
Add videos count in channels list
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/videos/channel/video-channel.model.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/videos/channel/video-channel.model.ts b/shared/models/videos/channel/video-channel.model.ts index 421004e68..32829e92a 100644 --- a/shared/models/videos/channel/video-channel.model.ts +++ b/shared/models/videos/channel/video-channel.model.ts | |||
@@ -13,6 +13,8 @@ export interface VideoChannel extends Actor { | |||
13 | support: string | 13 | support: string |
14 | isLocal: boolean | 14 | isLocal: boolean |
15 | ownerAccount?: Account | 15 | ownerAccount?: Account |
16 | |||
17 | videosCount?: number | ||
16 | viewsPerDay?: ViewsPerDate[] // chronologically ordered | 18 | viewsPerDay?: ViewsPerDate[] // chronologically ordered |
17 | } | 19 | } |
18 | 20 | ||