X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fsort-field.type.ts;h=d1088d24495e35f3cbd8bac0f88ce8dc34ef1867;hb=d1a63fc7ac58a1db00d8ca4f43aadba02eb9b084;hp=776f360f8de43f838f9dc6f44f6a317da2b294e1;hpb=fada8d75550dc7365f7e18ee1569b9406251d660;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 776f360f8..d1088d244 100644 --- a/client/src/app/shared/video/sort-field.type.ts +++ b/client/src/app/shared/video/sort-field.type.ts @@ -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'