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
|