Add Task Sorting and Pagination

This commit is contained in:
speatzle 2024-06-25 17:16:57 +02:00
parent 1c48a43738
commit 1a46eaf51b
4 changed files with 119 additions and 9 deletions

View file

@ -20,6 +20,11 @@ const FFMPEG_COMMANDS_TEMPLATE_NAME = "ffmpeg_commands.tmpl"
const FORM_FILE_KEY = "file"
const SORT_ORDER_BY_PARAM = "order_by"
const SORT_ORDER_ASC_PARAM = "order_asc"
const QUERY_LIMIT_PARAM = "limit"
const QUERY_PAGE_PARAM = "page"
const (
TASK_TYPE_HEALTHCHECK = iota
TASK_TYPE_TRANSCODE