diff options
Diffstat (limited to 'client/src/app/shared/video/sort-field.type.ts')
-rw-r--r-- | client/src/app/shared/video/sort-field.type.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/shared/video/sort-field.type.ts b/client/src/app/shared/video/sort-field.type.ts new file mode 100644 index 000000000..776f360f8 --- /dev/null +++ b/client/src/app/shared/video/sort-field.type.ts | |||
@@ -0,0 +1,5 @@ | |||
1 | export type SortField = 'name' | '-name' | ||
2 | | 'duration' | '-duration' | ||
3 | | 'createdAt' | '-createdAt' | ||
4 | | 'views' | '-views' | ||
5 | | 'likes' | '-likes' | ||