]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/video/sort-field.type.ts
Fix videos list user NSFW policy
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / sort-field.type.ts
index 776f360f8de43f838f9dc6f44f6a317da2b294e1..d1088d24495e35f3cbd8bac0f88ce8dc34ef1867 100644 (file)
@@ -1,5 +1,7 @@
-export type SortField = 'name' | '-name'
+export type VideoSortField = 'name' | '-name'
                       | 'duration' | '-duration'
+                      | 'publishedAt' | '-publishedAt'
                       | 'createdAt' | '-createdAt'
                       | 'views' | '-views'
                       | 'likes' | '-likes'
+                      | 'trending' | '-trending'