Add stats route

This commit is contained in:
Chocobozzz 2018-02-28 18:04:46 +01:00
parent 22b59e8099
commit 09cababd79
No known key found for this signature in database
GPG key ID: 583A612D890159BE
26 changed files with 268 additions and 42 deletions

View file

@ -0,0 +1,12 @@
export interface ServerStats {
totalUsers: number
totalLocalVideos: number
totalLocalVideoViews: number
totalLocalVideoComments: number
totalVideos: number
totalVideoComments: number
totalInstanceFollowers: number
totalInstanceFollowing: number
}