]> 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 9a6a249231e6c5fcd76cb29cb582a64f715abbff..a57237414dd1d2688b7d30cbb881ef06c0c49212 100644 (file)
@@ -30,8 +30,10 @@ export interface CustomConfig {
     categories: number[]
 
     isNSFW: boolean
-    defaultClientRoute: string
     defaultNSFWPolicy: NSFWPolicyType
+
+    defaultClientRoute: string
+
     customizations: {
       javascript?: string
       css?: string
@@ -123,6 +125,15 @@ export interface CustomConfig {
     }
   }
 
+  trending: {
+    videos: {
+      algorithms: {
+        enabled: string[]
+        default: string
+      }
+    }
+  }
+
   autoBlacklist: {
     videos: {
       ofUsers: {