Welcome to mirror list, hosted at ThFree Co, Russian Federation.

package_group_sort_enum.rb « packages « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 28a1bf85911d2886ed33a6fe9af2480556da47d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module Types
  module Packages
    class PackageGroupSortEnum < PackageSortEnum
      graphql_name 'PackageGroupSort'
      description 'Values for sorting group packages'

      value 'PROJECT_PATH_DESC', 'Ordered by project path in descending order.', value: :project_path_desc
      value 'PROJECT_PATH_ASC', 'Ordered by project path in ascending order.', value: :project_path_asc
    end
  end
end