diff options
Diffstat (limited to 'app/graphql/types')
-rw-r--r-- | app/graphql/types/issuable_sort_enum.rb | 10 | ||||
-rw-r--r-- | app/graphql/types/issue_sort_enum.rb | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/app/graphql/types/issuable_sort_enum.rb b/app/graphql/types/issuable_sort_enum.rb new file mode 100644 index 00000000000..932e90c2d22 --- /dev/null +++ b/app/graphql/types/issuable_sort_enum.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Types + # rubocop: disable Graphql/AuthorizeTypes + class IssuableSortEnum < SortEnum + graphql_name 'IssuableSort' + description 'Values for sorting issuables' + end + # rubocop: enable Graphql/AuthorizeTypes +end diff --git a/app/graphql/types/issue_sort_enum.rb b/app/graphql/types/issue_sort_enum.rb new file mode 100644 index 00000000000..ad919b55481 --- /dev/null +++ b/app/graphql/types/issue_sort_enum.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +module Types + # rubocop: disable Graphql/AuthorizeTypes + class IssueSortEnum < IssuableSortEnum + graphql_name 'IssueSort' + description 'Values for sorting issues' + end + # rubocop: enable Graphql/AuthorizeTypes +end |