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

23 lines
485 B
TypeScript
Raw Normal View History

2018-09-14 07:57:59 -05:00
import { VideoRedundancyStrategy } from '../redundancy'
2018-02-28 11:04:46 -06:00
export interface ServerStats {
totalUsers: number
totalLocalVideos: number
totalLocalVideoViews: number
totalLocalVideoComments: number
totalVideos: number
totalVideoComments: number
totalInstanceFollowers: number
totalInstanceFollowing: number
2018-09-14 07:57:59 -05:00
videosRedundancy: {
strategy: VideoRedundancyStrategy
totalSize: number
totalUsed: number
totalVideoFiles: number
totalVideos: number
}[]
2018-02-28 11:04:46 -06:00
}