summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/release_asset_links/base.rb
blob: 3e71cec183b55527794caab6e7995574cba10b20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

module Mutations
  module ReleaseAssetLinks
    class Base < BaseMutation
      include FindsProject

      argument :project_path, GraphQL::ID_TYPE,
               required: true,
               description: 'Full path of the project the asset link is associated with.'

      argument :tag_name, GraphQL::STRING_TYPE,
               required: true, as: :tag,
               description: "Name of the associated release's tag."
    end
  end
end