mirror of https://github.com/Chocobozzz/PeerTube
11 lines
456 B
TypeScript
11 lines
456 B
TypeScript
export type VideoSortField = 'name' | '-name'
|
|
| 'duration' | '-duration'
|
|
| 'publishedAt' | '-publishedAt'
|
|
| 'createdAt' | '-createdAt'
|
|
| 'views' | '-views'
|
|
| 'likes' | '-likes'
|
|
| 'trending' | '-trending'
|
|
|
|
export type CommentSortField = 'createdAt' | '-createdAt'
|
|
| 'totalReplies' | '-totalReplies'
|