2019-12-21 20:55:43 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Types
|
|
|
|
# rubocop: disable Graphql/AuthorizeTypes
|
|
|
|
class IssueSortEnum < IssuableSortEnum
|
|
|
|
graphql_name 'IssueSort'
|
|
|
|
description 'Values for sorting issues'
|
2019-12-26 22:10:19 +05:30
|
|
|
|
|
|
|
value 'DUE_DATE_ASC', 'Due date by ascending order', value: 'due_date_asc'
|
|
|
|
value 'DUE_DATE_DESC', 'Due date by descending order', value: 'due_date_desc'
|
|
|
|
value 'RELATIVE_POSITION_ASC', 'Relative position by ascending order', value: 'relative_position_asc'
|
2019-12-21 20:55:43 +05:30
|
|
|
end
|
|
|
|
# rubocop: enable Graphql/AuthorizeTypes
|
|
|
|
end
|