PeerTube/client/src/app/shared/video/sort-field.type.ts

11 lines
456 B
TypeScript
Raw Normal View History

2018-04-17 10:56:27 +02:00
export type VideoSortField = 'name' | '-name'
2017-03-08 21:35:43 +01:00
| 'duration' | '-duration'
| 'publishedAt' | '-publishedAt'
2017-03-08 21:52:25 +01:00
| 'createdAt' | '-createdAt'
| 'views' | '-views'
| 'likes' | '-likes'
2018-08-31 17:18:13 +02:00
| 'trending' | '-trending'
2019-12-27 17:02:34 +01:00
export type CommentSortField = 'createdAt' | '-createdAt'
| 'totalReplies' | '-totalReplies'