2020-09-05 03:08:31 +00:00
|
|
|
# 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
|
2020-10-30 18:08:56 +00:00
|
|
|
value 'STORAGE', 'Sort by storage size', value: :storage
|
2020-09-05 03:08:31 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|