]>
Commit | Line | Data |
---|---|---|
1 | export type VideoSortField = | |
2 | 'name' | '-name' | | |
3 | 'duration' | '-duration' | | |
4 | 'publishedAt' | '-publishedAt' | | |
5 | 'createdAt' | '-createdAt' | | |
6 | 'views' | '-views' | | |
7 | 'likes' | '-likes' | | |
8 | ||
9 | // trending sorts | |
10 | 'trending' | '-trending' | | |
11 | 'hot' | '-hot' | | |
12 | 'best' | '-best' |