diff options
author | Chocobozzz <me@florianbigard.com> | 2022-04-07 10:53:35 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-04-15 09:49:35 +0200 |
commit | 901bcf5c188ea79350fecd499ad76460b866617b (patch) | |
tree | 1e79f26cc3f2b952371d31bfa9b94a2b150be38a /shared/models/videos/stats/video-stats-timeserie.model.ts | |
parent | ac907dc7c158056e9b6a5cb58acd27df5c7c2670 (diff) | |
download | PeerTube-901bcf5c188ea79350fecd499ad76460b866617b.tar.gz PeerTube-901bcf5c188ea79350fecd499ad76460b866617b.tar.zst PeerTube-901bcf5c188ea79350fecd499ad76460b866617b.zip |
Add ability to set start/end date to timeserie
Diffstat (limited to 'shared/models/videos/stats/video-stats-timeserie.model.ts')
-rw-r--r-- | shared/models/videos/stats/video-stats-timeserie.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/videos/stats/video-stats-timeserie.model.ts b/shared/models/videos/stats/video-stats-timeserie.model.ts index d95e34f1d..99bbbe2e3 100644 --- a/shared/models/videos/stats/video-stats-timeserie.model.ts +++ b/shared/models/videos/stats/video-stats-timeserie.model.ts | |||
@@ -1,4 +1,8 @@ | |||
1 | import { VideoStatsTimeserieGroupInterval } from './video-stats-timeserie-group-interval.type' | ||
2 | |||
1 | export interface VideoStatsTimeserie { | 3 | export interface VideoStatsTimeserie { |
4 | groupInterval: VideoStatsTimeserieGroupInterval | ||
5 | |||
2 | data: { | 6 | data: { |
3 | date: string | 7 | date: string |
4 | value: number | 8 | value: number |