1
0
Fork 0
peertube/shared/models/server/server-stats.model.ts
2019-01-15 09:45:54 +01:00

23 lines
520 B
TypeScript

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
}[]
}