aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/server/server-stats.model.ts
blob: a6bd2d4d35ee2756ba05c2e535f83233bbc629ce (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13

                                                       










                                 







                                     
 
import { VideoRedundancyStrategy } from '../redundancy'

export interface ServerStats {
  totalUsers: number
  totalLocalVideos: number
  totalLocalVideoViews: number
  totalLocalVideoComments: number

  totalVideos: number
  totalVideoComments: number

  totalInstanceFollowers: number
  totalInstanceFollowing: number

  videosRedundancy: {
    strategy: VideoRedundancyStrategy
    totalSize: number
    totalUsed: number
    totalVideoFiles: number
    totalVideos: number
  }[]
}