aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/redundancy
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/redundancy')
-rw-r--r--shared/models/redundancy/videos-redundancy.model.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/redundancy/videos-redundancy.model.ts b/shared/models/redundancy/videos-redundancy.model.ts
index 436394c1e..a8c2743c1 100644
--- a/shared/models/redundancy/videos-redundancy.model.ts
+++ b/shared/models/redundancy/videos-redundancy.model.ts
@@ -3,17 +3,20 @@ export type VideoRedundancyStrategy = 'most-views' | 'trending' | 'recently-adde
3export type MostViewsRedundancyStrategy = { 3export type MostViewsRedundancyStrategy = {
4 strategy: 'most-views' 4 strategy: 'most-views'
5 size: number 5 size: number
6 minLifetime: number
6} 7}
7 8
8export type TrendingRedundancyStrategy = { 9export type TrendingRedundancyStrategy = {
9 strategy: 'trending' 10 strategy: 'trending'
10 size: number 11 size: number
12 minLifetime: number
11} 13}
12 14
13export type RecentlyAddedStrategy = { 15export type RecentlyAddedStrategy = {
14 strategy: 'recently-added' 16 strategy: 'recently-added'
15 size: number 17 size: number
16 minViews: number 18 minViews: number
19 minLifetime: number
17} 20}
18 21
19export type VideosRedundancy = MostViewsRedundancyStrategy | TrendingRedundancyStrategy | RecentlyAddedStrategy 22export type VideosRedundancy = MostViewsRedundancyStrategy | TrendingRedundancyStrategy | RecentlyAddedStrategy