14 lines
363 B
Ruby
14 lines
363 B
Ruby
# 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
|