25 lines
590 B
TypeScript
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
|
|
}
|