From 5bcbcbe338ef5a1ed14f084311d013fbb25dabcf Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Fri, 22 Jan 2021 00:12:44 +0100 Subject: modularize abstract video list header and implement video hotness recommendation variant --- shared/models/videos/video-sort-field.type.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'shared') diff --git a/shared/models/videos/video-sort-field.type.ts b/shared/models/videos/video-sort-field.type.ts index f2e70f5fa..97687f84b 100644 --- a/shared/models/videos/video-sort-field.type.ts +++ b/shared/models/videos/video-sort-field.type.ts @@ -5,4 +5,7 @@ export type VideoSortField = 'createdAt' | '-createdAt' | 'views' | '-views' | 'likes' | '-likes' | - 'trending' | '-trending' + + // trending sorts + 'trending' | '-trending' | + 'hot' | '-hot' -- cgit v1.2.3