blob: bb0b5a6e0ebfed6c04c5c99791ae7df2167cb50e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# frozen_string_literal: true
module Types
module Ci
module Catalog
class ResourceSortEnum < BaseEnum
graphql_name 'CiCatalogResourceSort'
description 'Values for sorting catalog resources'
value 'NAME_ASC', 'Name by ascending order.', value: :name_asc
value 'NAME_DESC', 'Name by descending order.', value: :name_desc
value 'LATEST_RELEASED_AT_ASC', 'Latest release date by ascending order.', value: :latest_released_at_asc
value 'LATEST_RELEASED_AT_DESC', 'Latest release date by descending order.', value: :latest_released_at_desc
value 'CREATED_ASC', 'Created date by ascending order.', value: :created_at_asc
value 'CREATED_DESC', 'Created date by descending order.', value: :created_at_desc
end
end
end
end
|