]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/server/custom-config.model.ts
Use a profile manager for transcoding
[github/Chocobozzz/PeerTube.git] / shared / models / server / custom-config.model.ts
index fcc29e5d70ba9ce6a536a3a3e1e62f823b2d0956..a57237414dd1d2688b7d30cbb881ef06c0c49212 100644 (file)
@@ -33,12 +33,6 @@ export interface CustomConfig {
     defaultNSFWPolicy: NSFWPolicyType
 
     defaultClientRoute: string
-    defaultTrendingRoute: string
-    pages: {
-      hot: {
-        enabled: boolean
-      }
-    }
 
     customizations: {
       javascript?: string
@@ -131,6 +125,15 @@ export interface CustomConfig {
     }
   }
 
+  trending: {
+    videos: {
+      algorithms: {
+        enabled: string[]
+        default: string
+      }
+    }
+  }
+
   autoBlacklist: {
     videos: {
       ofUsers: {