summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/release_asset_links/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/mutations/release_asset_links/base.rb')
-rw-r--r--app/graphql/mutations/release_asset_links/base.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/graphql/mutations/release_asset_links/base.rb b/app/graphql/mutations/release_asset_links/base.rb
new file mode 100644
index 00000000000..3e71cec183b
--- /dev/null
+++ b/app/graphql/mutations/release_asset_links/base.rb
@@ -0,0 +1,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