Welcome to mirror list, hosted at ThFree Co, Russian Federation.

release_source_type.rb « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0ec1ad85a39e19d3280ada068ab1102846676c5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Types
  class ReleaseSourceType < BaseObject
    graphql_name 'ReleaseSource'

    authorize :read_release_sources

    field :format, GraphQL::STRING_TYPE, null: true,
          description: 'Format of the source'
    field :url, GraphQL::STRING_TYPE, null: true,
          description: 'Download URL of the source'
  end
end