blob: e05a2926ac17ac1088468c5cc770c37b765ad152 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
module Types
class ReleaseSourceType < BaseObject
graphql_name 'ReleaseSource'
description 'Represents the source code attached to a release in a particular format'
authorize :download_code
field :format, GraphQL::Types::String, null: true,
description: 'Format of the source.'
field :url, GraphQL::Types::String, null: true,
description: 'Download URL of the source.'
end
end
|