aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server/server-stats.model.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2021-04-12 11:19:07 +0200
committerGitHub <noreply@github.com>2021-04-12 11:19:07 +0200
commitfe19f600dab0f6b00a7aa146ba4bd4bb96536155 (patch)
treebe388f89a41cbc257fc9a642a9205b4910b7a6b7 /shared/models/server/server-stats.model.ts
parenta472cf033003cf96b69a80808b2dce1fe382e09b (diff)
downloadPeerTube-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/server-stats.model.ts')
-rw-r--r--shared/models/server/server-stats.model.ts7
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