diff options
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/server/custom-config.model.ts | 15 | ||||
-rw-r--r-- | shared/models/server/server-config.model.ts | 10 |
2 files changed, 13 insertions, 12 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: { |
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index a2d93ce73..47d0e623b 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -39,12 +39,6 @@ export interface ServerConfig { | |||
39 | isNSFW: boolean | 39 | isNSFW: boolean |
40 | defaultNSFWPolicy: NSFWPolicyType | 40 | defaultNSFWPolicy: NSFWPolicyType |
41 | defaultClientRoute: string | 41 | defaultClientRoute: string |
42 | defaultTrendingRoute: string | ||
43 | pages: { | ||
44 | hot: { | ||
45 | enabled: boolean | ||
46 | } | ||
47 | } | ||
48 | customizations: { | 42 | customizations: { |
49 | javascript: string | 43 | javascript: string |
50 | css: string | 44 | css: string |
@@ -180,6 +174,10 @@ export interface ServerConfig { | |||
180 | trending: { | 174 | trending: { |
181 | videos: { | 175 | videos: { |
182 | intervalDays: number | 176 | intervalDays: number |
177 | algorithms: { | ||
178 | enabled: string[] | ||
179 | default: string | ||
180 | } | ||
183 | } | 181 | } |
184 | } | 182 | } |
185 | 183 | ||