diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-20 16:24:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-20 16:24:31 +0200 |
commit | 0491173a61aed66205c017e0d7e0503ea316c144 (patch) | |
tree | ce6621597505f9518cfdf0981977d097c63f9fad /shared/models/server/server-stats.model.ts | |
parent | 8704acf49efc770d73bf07c10468ed8c74d28a83 (diff) | |
parent | 6247b2057b792cea155a1abd9788c363ae7d2cc2 (diff) | |
download | PeerTube-0491173a61aed66205c017e0d7e0503ea316c144.tar.gz PeerTube-0491173a61aed66205c017e0d7e0503ea316c144.tar.zst PeerTube-0491173a61aed66205c017e0d7e0503ea316c144.zip |
Merge branch 'develop' into cli-wrapper
Diffstat (limited to 'shared/models/server/server-stats.model.ts')
-rw-r--r-- | shared/models/server/server-stats.model.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shared/models/server/server-stats.model.ts b/shared/models/server/server-stats.model.ts index 5c1bf3468..a6bd2d4d3 100644 --- a/shared/models/server/server-stats.model.ts +++ b/shared/models/server/server-stats.model.ts | |||
@@ -1,3 +1,5 @@ | |||
1 | import { VideoRedundancyStrategy } from '../redundancy' | ||
2 | |||
1 | export interface ServerStats { | 3 | export interface ServerStats { |
2 | totalUsers: number | 4 | totalUsers: number |
3 | totalLocalVideos: number | 5 | totalLocalVideos: number |
@@ -9,4 +11,12 @@ export interface ServerStats { | |||
9 | 11 | ||
10 | totalInstanceFollowers: number | 12 | totalInstanceFollowers: number |
11 | totalInstanceFollowing: number | 13 | totalInstanceFollowing: number |
14 | |||
15 | videosRedundancy: { | ||
16 | strategy: VideoRedundancyStrategy | ||
17 | totalSize: number | ||
18 | totalUsed: number | ||
19 | totalVideoFiles: number | ||
20 | totalVideos: number | ||
21 | }[] | ||
12 | } | 22 | } |