]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/redundancy/videos-redundancy.model.ts
Add 'Most liked videos' page
[github/Chocobozzz/PeerTube.git] / shared / models / redundancy / videos-redundancy.model.ts
index 436394c1e082071146331601521643f995432782..a8c2743c19f24142d26784d41b171050eabbf18c 100644 (file)
@@ -3,17 +3,20 @@ export type VideoRedundancyStrategy = 'most-views' | 'trending' | 'recently-adde
 export type MostViewsRedundancyStrategy = {
   strategy: 'most-views'
   size: number
+  minLifetime: number
 }
 
 export type TrendingRedundancyStrategy = {
   strategy: 'trending'
   size: number
+  minLifetime: number
 }
 
 export type RecentlyAddedStrategy = {
   strategy: 'recently-added'
   size: number
   minViews: number
+  minLifetime: number
 }
 
 export type VideosRedundancy = MostViewsRedundancyStrategy | TrendingRedundancyStrategy | RecentlyAddedStrategy