PeerTube/shared/models/server/server-stats.model.ts

26 lines
590 B
TypeScript
Raw Normal View History

2020-01-10 09:11:28 +00:00
import { VideoRedundancyStrategyWithManual } from '../redundancy'
2018-09-14 12:57:59 +00:00
2018-02-28 17:04:46 +00:00
export interface ServerStats {
totalUsers: number
totalLocalVideos: number
totalLocalVideoViews: number
totalLocalVideoComments: number
2019-01-15 08:45:54 +00:00
totalLocalVideoFilesSize: number
2018-02-28 17:04:46 +00:00
totalVideos: number
totalVideoComments: number
totalInstanceFollowers: number
totalInstanceFollowing: number
2018-09-14 12:57:59 +00:00
2020-01-10 09:11:28 +00:00
videosRedundancy: VideosRedundancyStats[]
}
export interface VideosRedundancyStats {
strategy: VideoRedundancyStrategyWithManual
totalSize: number
totalUsed: number
totalVideoFiles: number
totalVideos: number
2018-02-28 17:04:46 +00:00
}