]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/server/server-stats.model.ts
Merge branch 'release/2.1.0' into develop
[github/Chocobozzz/PeerTube.git] / shared / models / server / server-stats.model.ts
1 import { VideoRedundancyStrategyWithManual } from '../redundancy'
2
3 export interface ServerStats {
4 totalUsers: number
5 totalLocalVideos: number
6 totalLocalVideoViews: number
7 totalLocalVideoComments: number
8 totalLocalVideoFilesSize: number
9
10 totalVideos: number
11 totalVideoComments: number
12
13 totalInstanceFollowers: number
14 totalInstanceFollowing: number
15
16 videosRedundancy: VideosRedundancyStats[]
17 }
18
19 export interface VideosRedundancyStats {
20 strategy: VideoRedundancyStrategyWithManual
21 totalSize: number
22 totalUsed: number
23 totalVideoFiles: number
24 totalVideos: number
25 }