server-stats.model.ts 520 B

1234567891011121314151617181920212223
  1. import { VideoRedundancyStrategy } from '../redundancy'
  2. export interface ServerStats {
  3. totalUsers: number
  4. totalLocalVideos: number
  5. totalLocalVideoViews: number
  6. totalLocalVideoComments: number
  7. totalLocalVideoFilesSize: number
  8. totalVideos: number
  9. totalVideoComments: number
  10. totalInstanceFollowers: number
  11. totalInstanceFollowing: number
  12. videosRedundancy: {
  13. strategy: VideoRedundancyStrategy
  14. totalSize: number
  15. totalUsed: number
  16. totalVideoFiles: number
  17. totalVideos: number
  18. }[]
  19. }