diff options
author | Chocobozzz <me@florianbigard.com> | 2022-04-08 10:22:56 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-04-15 09:49:35 +0200 |
commit | 3eda9b775ae700ac544e8c5588514627796b83cd (patch) | |
tree | 97ec1fdfce274e83d976352f5b4154c315ee33d7 /shared/models | |
parent | 901bcf5c188ea79350fecd499ad76460b866617b (diff) | |
download | PeerTube-3eda9b775ae700ac544e8c5588514627796b83cd.tar.gz PeerTube-3eda9b775ae700ac544e8c5588514627796b83cd.tar.zst PeerTube-3eda9b775ae700ac544e8c5588514627796b83cd.zip |
Support interactive video stats graph
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/videos/stats/index.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/stats/video-stats-timeserie-group-interval.type.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/stats/video-stats-timeserie.model.ts | 4 |
3 files changed, 1 insertions, 5 deletions
diff --git a/shared/models/videos/stats/index.ts b/shared/models/videos/stats/index.ts index 5c4c9df2a..4a6fdaa71 100644 --- a/shared/models/videos/stats/index.ts +++ b/shared/models/videos/stats/index.ts | |||
@@ -1,6 +1,5 @@ | |||
1 | export * from './video-stats-overall.model' | 1 | export * from './video-stats-overall.model' |
2 | export * from './video-stats-retention.model' | 2 | export * from './video-stats-retention.model' |
3 | export * from './video-stats-timeserie-group-interval.type' | ||
4 | export * from './video-stats-timeserie-query.model' | 3 | export * from './video-stats-timeserie-query.model' |
5 | export * from './video-stats-timeserie-metric.type' | 4 | export * from './video-stats-timeserie-metric.type' |
6 | export * from './video-stats-timeserie.model' | 5 | export * from './video-stats-timeserie.model' |
diff --git a/shared/models/videos/stats/video-stats-timeserie-group-interval.type.ts b/shared/models/videos/stats/video-stats-timeserie-group-interval.type.ts deleted file mode 100644 index 9609ecb72..000000000 --- a/shared/models/videos/stats/video-stats-timeserie-group-interval.type.ts +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | export type VideoStatsTimeserieGroupInterval = 'one_day' | 'one_hour' | 'ten_minutes' | 'one_minute' | ||
diff --git a/shared/models/videos/stats/video-stats-timeserie.model.ts b/shared/models/videos/stats/video-stats-timeserie.model.ts index 99bbbe2e3..4a0e208df 100644 --- a/shared/models/videos/stats/video-stats-timeserie.model.ts +++ b/shared/models/videos/stats/video-stats-timeserie.model.ts | |||
@@ -1,7 +1,5 @@ | |||
1 | import { VideoStatsTimeserieGroupInterval } from './video-stats-timeserie-group-interval.type' | ||
2 | |||
3 | export interface VideoStatsTimeserie { | 1 | export interface VideoStatsTimeserie { |
4 | groupInterval: VideoStatsTimeserieGroupInterval | 2 | groupInterval: string |
5 | 3 | ||
6 | data: { | 4 | data: { |
7 | date: string | 5 | date: string |