aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/server/server-stats.model.ts
blob: 74f3de5d3094724e29d7de55efc6c12e10c6f70d (plain) (tree)
1
2
3
4
5
6
7
8

                                                       




                                 
                                  





                                







                                     
 
import { VideoRedundancyStrategy } from '../redundancy'

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

  totalVideos: number
  totalVideoComments: number

  totalInstanceFollowers: number
  totalInstanceFollowing: number

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