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

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

module Types
  module Projects
    class NamespaceProjectSortEnum < BaseEnum
      graphql_name 'NamespaceProjectSort'
      description 'Values for sorting projects'

      value 'SIMILARITY', 'Most similar to the search query.', value: :similarity
      value 'STORAGE', 'Sort by storage size.', value: :storage
    end
  end
end