]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/video/sort-field.type.ts
Add comment filtering by reply count
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / sort-field.type.ts
index 2192745b9f4dbc120089dc1552d5ac71c2973f60..65b24d9463ee57e4fb608280ea6f912fa4543fcf 100644 (file)
@@ -4,3 +4,7 @@ export type VideoSortField = 'name' | '-name'
                       | 'createdAt' | '-createdAt'
                       | 'views' | '-views'
                       | 'likes' | '-likes'
+                      | 'trending' | '-trending'
+
+export type CommentSortField = 'createdAt' | '-createdAt'
+                          | 'totalReplies' | '-totalReplies'