diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2021-04-12 11:19:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 11:19:07 +0200 |
commit | fe19f600dab0f6b00a7aa146ba4bd4bb96536155 (patch) | |
tree | be388f89a41cbc257fc9a642a9205b4910b7a6b7 /shared/models/server | |
parent | a472cf033003cf96b69a80808b2dce1fe382e09b (diff) | |
download | PeerTube-fe19f600dab0f6b00a7aa146ba4bd4bb96536155.tar.gz PeerTube-fe19f600dab0f6b00a7aa146ba4bd4bb96536155.tar.zst PeerTube-fe19f600dab0f6b00a7aa146ba4bd4bb96536155.zip |
add channel and playlist stats to server stats endpoint (#3747)
* add channel and playlist stats to nodeinfo
* add tests for active video channels stats
* fix tests for active channel stats
Diffstat (limited to 'shared/models/server')
-rw-r--r-- | shared/models/server/server-stats.model.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shared/models/server/server-stats.model.ts b/shared/models/server/server-stats.model.ts index 0f8cfc6cf..b1dcf2065 100644 --- a/shared/models/server/server-stats.model.ts +++ b/shared/models/server/server-stats.model.ts | |||
@@ -13,6 +13,13 @@ export interface ServerStats { | |||
13 | totalVideos: number | 13 | totalVideos: number |
14 | totalVideoComments: number | 14 | totalVideoComments: number |
15 | 15 | ||
16 | totalLocalVideoChannels: number | ||
17 | totalLocalDailyActiveVideoChannels: number | ||
18 | totalLocalWeeklyActiveVideoChannels: number | ||
19 | totalLocalMonthlyActiveVideoChannels: number | ||
20 | |||
21 | totalLocalPlaylists: number | ||
22 | |||
16 | totalInstanceFollowers: number | 23 | totalInstanceFollowers: number |
17 | totalInstanceFollowing: number | 24 | totalInstanceFollowing: number |
18 | 25 | ||