aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2021-01-22 00:12:44 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-01-28 15:55:34 +0100
commit5bcbcbe338ef5a1ed14f084311d013fbb25dabcf (patch)
treeb0f6382b30b67f1f7adddaf7d12af9adae0c9f5d /shared/models/videos
parent7a4994873c0b3394d04e16e877fc7418bc8b146a (diff)
downloadPeerTube-5bcbcbe338ef5a1ed14f084311d013fbb25dabcf.tar.gz
PeerTube-5bcbcbe338ef5a1ed14f084311d013fbb25dabcf.tar.zst
PeerTube-5bcbcbe338ef5a1ed14f084311d013fbb25dabcf.zip
modularize abstract video list header and implement video hotness recommendation variant
Diffstat (limited to 'shared/models/videos')
-rw-r--r--shared/models/videos/video-sort-field.type.ts5
1 files changed, 4 insertions, 1 deletions
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 =
5 'createdAt' | '-createdAt' | 5 'createdAt' | '-createdAt' |
6 'views' | '-views' | 6 'views' | '-views' |
7 'likes' | '-likes' | 7 'likes' | '-likes' |
8 'trending' | '-trending' 8
9 // trending sorts
10 'trending' | '-trending' |
11 'hot' | '-hot'