diff options
author | Chocobozzz <me@florianbigard.com> | 2022-05-18 09:18:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-05-18 09:18:39 +0200 |
commit | 305ec384966303bbcedb72b905c5ec4f32d9c7ad (patch) | |
tree | 4e0f722a5f0d4638484cb188c9205e53c11b4e89 /shared/models/videos | |
parent | 0cc253c9719b1e361d33d62adcef4c292cc98be9 (diff) | |
download | PeerTube-305ec384966303bbcedb72b905c5ec4f32d9c7ad.tar.gz PeerTube-305ec384966303bbcedb72b905c5ec4f32d9c7ad.tar.zst PeerTube-305ec384966303bbcedb72b905c5ec4f32d9c7ad.zip |
Add total viewers overall stat
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/stats/video-stats-overall.model.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/videos/stats/video-stats-overall.model.ts b/shared/models/videos/stats/video-stats-overall.model.ts index c532c8173..54b57798f 100644 --- a/shared/models/videos/stats/video-stats-overall.model.ts +++ b/shared/models/videos/stats/video-stats-overall.model.ts | |||
@@ -2,6 +2,8 @@ export interface VideoStatsOverall { | |||
2 | averageWatchTime: number | 2 | averageWatchTime: number |
3 | totalWatchTime: number | 3 | totalWatchTime: number |
4 | 4 | ||
5 | totalViewers: number | ||
6 | |||
5 | viewersPeak: number | 7 | viewersPeak: number |
6 | viewersPeakDate: string | 8 | viewersPeakDate: string |
7 | 9 | ||