debian-mirror-gitlab/app/graphql/types/projects/namespace_project_sort_enum.rb

14 lines
363 B
Ruby
Raw Normal View History

2020-11-24 15:15:51 +05:30
# frozen_string_literal: true
module Types
module Projects
class NamespaceProjectSortEnum < BaseEnum
graphql_name 'NamespaceProjectSort'
description 'Values for sorting projects'
2021-04-17 20:07:23 +05:30
value 'SIMILARITY', 'Most similar to the search query.', value: :similarity
value 'STORAGE', 'Sort by storage size.', value: :storage
2020-11-24 15:15:51 +05:30
end
end
end