diff options
Diffstat (limited to 'shared/models/videos/stats')
7 files changed, 0 insertions, 43 deletions
diff --git a/shared/models/videos/stats/index.ts b/shared/models/videos/stats/index.ts deleted file mode 100644 index a9b203f58..000000000 --- a/shared/models/videos/stats/index.ts +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | export * from './video-stats-overall-query.model' | ||
2 | export * from './video-stats-overall.model' | ||
3 | export * from './video-stats-retention.model' | ||
4 | export * from './video-stats-timeserie-query.model' | ||
5 | export * from './video-stats-timeserie-metric.type' | ||
6 | export * from './video-stats-timeserie.model' | ||
diff --git a/shared/models/videos/stats/video-stats-overall-query.model.ts b/shared/models/videos/stats/video-stats-overall-query.model.ts deleted file mode 100644 index 6b4c2164f..000000000 --- a/shared/models/videos/stats/video-stats-overall-query.model.ts +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | export interface VideoStatsOverallQuery { | ||
2 | startDate?: string | ||
3 | endDate?: string | ||
4 | } | ||
diff --git a/shared/models/videos/stats/video-stats-overall.model.ts b/shared/models/videos/stats/video-stats-overall.model.ts deleted file mode 100644 index 54b57798f..000000000 --- a/shared/models/videos/stats/video-stats-overall.model.ts +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | export interface VideoStatsOverall { | ||
2 | averageWatchTime: number | ||
3 | totalWatchTime: number | ||
4 | |||
5 | totalViewers: number | ||
6 | |||
7 | viewersPeak: number | ||
8 | viewersPeakDate: string | ||
9 | |||
10 | countries: { | ||
11 | isoCode: string | ||
12 | viewers: number | ||
13 | }[] | ||
14 | } | ||
diff --git a/shared/models/videos/stats/video-stats-retention.model.ts b/shared/models/videos/stats/video-stats-retention.model.ts deleted file mode 100644 index e494888ed..000000000 --- a/shared/models/videos/stats/video-stats-retention.model.ts +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | export interface VideoStatsRetention { | ||
2 | data: { | ||
3 | second: number | ||
4 | retentionPercent: number | ||
5 | }[] | ||
6 | } | ||
diff --git a/shared/models/videos/stats/video-stats-timeserie-metric.type.ts b/shared/models/videos/stats/video-stats-timeserie-metric.type.ts deleted file mode 100644 index fc268d083..000000000 --- a/shared/models/videos/stats/video-stats-timeserie-metric.type.ts +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | export type VideoStatsTimeserieMetric = 'viewers' | 'aggregateWatchTime' | ||
diff --git a/shared/models/videos/stats/video-stats-timeserie-query.model.ts b/shared/models/videos/stats/video-stats-timeserie-query.model.ts deleted file mode 100644 index f3a8430e1..000000000 --- a/shared/models/videos/stats/video-stats-timeserie-query.model.ts +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | export interface VideoStatsTimeserieQuery { | ||
2 | startDate?: string | ||
3 | endDate?: string | ||
4 | } | ||
diff --git a/shared/models/videos/stats/video-stats-timeserie.model.ts b/shared/models/videos/stats/video-stats-timeserie.model.ts deleted file mode 100644 index 4a0e208df..000000000 --- a/shared/models/videos/stats/video-stats-timeserie.model.ts +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | export interface VideoStatsTimeserie { | ||
2 | groupInterval: string | ||
3 | |||
4 | data: { | ||
5 | date: string | ||
6 | value: number | ||
7 | }[] | ||
8 | } | ||