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=2192745b9f4dbc120089dc1552d5ac71c2973f60;hpb=136cce4d6744bef7fd316b929157c1e4e3984fe3;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 2192745b9..65b24d946 100644 --- a/client/src/app/shared/video/sort-field.type.ts +++ b/client/src/app/shared/video/sort-field.type.ts @@ -4,3 +4,7 @@ export type VideoSortField = 'name' | '-name' | 'createdAt' | '-createdAt' | 'views' | '-views' | 'likes' | '-likes' + | 'trending' | '-trending' + +export type CommentSortField = 'createdAt' | '-createdAt' + | 'totalReplies' | '-totalReplies'