X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fsort-field.type.ts;h=d1088d24495e35f3cbd8bac0f88ce8dc34ef1867;hb=830b4faff15fb9c81d88e8e69fcdf94aad32bef8;hp=776f360f8de43f838f9dc6f44f6a317da2b294e1;hpb=202f6b6c9dcc9b0aec4b0c1b15e455c22a7952a7;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'