1
0
Fork 0
peertube/shared/models/server/server-stats.model.ts
2020-01-28 11:35:26 +01:00

25 lines
590 B
TypeScript

import { VideoRedundancyStrategyWithManual } from '../redundancy'
export interface ServerStats {
totalUsers: number
totalLocalVideos: number
totalLocalVideoViews: number
totalLocalVideoComments: number
totalLocalVideoFilesSize: number
totalVideos: number
totalVideoComments: number
totalInstanceFollowers: number
totalInstanceFollowing: number
videosRedundancy: VideosRedundancyStats[]
}
export interface VideosRedundancyStats {
strategy: VideoRedundancyStrategyWithManual
totalSize: number
totalUsed: number
totalVideoFiles: number
totalVideos: number
}