diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2021-01-27 17:15:21 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-01-28 15:55:34 +0100 |
commit | ba5d4a849c7d7ba05f093480ae12286c4af61556 (patch) | |
tree | 704a80b96d3b437ad12feacaaaf58a96b97282a1 /shared/models/server/custom-config.model.ts | |
parent | 3da68f0a781ebd893521e2e6fa200280c92ae815 (diff) | |
download | PeerTube-ba5d4a849c7d7ba05f093480ae12286c4af61556.tar.gz PeerTube-ba5d4a849c7d7ba05f093480ae12286c4af61556.tar.zst PeerTube-ba5d4a849c7d7ba05f093480ae12286c4af61556.zip |
move from trending routes to alg param
Diffstat (limited to 'shared/models/server/custom-config.model.ts')
-rw-r--r-- | shared/models/server/custom-config.model.ts | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index fcc29e5d7..a57237414 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts | |||
@@ -33,12 +33,6 @@ export interface CustomConfig { | |||
33 | defaultNSFWPolicy: NSFWPolicyType | 33 | defaultNSFWPolicy: NSFWPolicyType |
34 | 34 | ||
35 | defaultClientRoute: string | 35 | defaultClientRoute: string |
36 | defaultTrendingRoute: string | ||
37 | pages: { | ||
38 | hot: { | ||
39 | enabled: boolean | ||
40 | } | ||
41 | } | ||
42 | 36 | ||
43 | customizations: { | 37 | customizations: { |
44 | javascript?: string | 38 | javascript?: string |
@@ -131,6 +125,15 @@ export interface CustomConfig { | |||
131 | } | 125 | } |
132 | } | 126 | } |
133 | 127 | ||
128 | trending: { | ||
129 | videos: { | ||
130 | algorithms: { | ||
131 | enabled: string[] | ||
132 | default: string | ||
133 | } | ||
134 | } | ||
135 | } | ||
136 | |||
134 | autoBlacklist: { | 137 | autoBlacklist: { |
135 | videos: { | 138 | videos: { |
136 | ofUsers: { | 139 | ofUsers: { |