X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fsort-field.type.ts;h=65b24d9463ee57e4fb608280ea6f912fa4543fcf;hb=c1125bcadc1fa129856e56dc62f4c472cffa736a;hp=2a3ae4ddd8bc1fc77d2390219b675fd163bc5a06;hpb=7b87d2d5141d0eb48db2a3fd162208d6a79b2035;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/video/sort-field.type.ts b/client/src/app/shared/video/sort-field.type.ts index 2a3ae4ddd..65b24d946 100644 --- a/client/src/app/shared/video/sort-field.type.ts +++ b/client/src/app/shared/video/sort-field.type.ts @@ -1,5 +1,10 @@ export type VideoSortField = 'name' | '-name' | 'duration' | '-duration' + | 'publishedAt' | '-publishedAt' | 'createdAt' | '-createdAt' | 'views' | '-views' | 'likes' | '-likes' + | 'trending' | '-trending' + +export type CommentSortField = 'createdAt' | '-createdAt' + | 'totalReplies' | '-totalReplies'