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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/release_link_type.rb')
-rw-r--r--app/graphql/types/release_link_type.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/app/graphql/types/release_link_type.rb b/app/graphql/types/release_link_type.rb
deleted file mode 100644
index 070f14a90df..00000000000
--- a/app/graphql/types/release_link_type.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-module Types
- class ReleaseLinkType < BaseObject
- graphql_name 'ReleaseLink'
-
- authorize :read_release
-
- field :id, GraphQL::ID_TYPE, null: false,
- description: 'ID of the link'
- field :name, GraphQL::STRING_TYPE, null: true,
- description: 'Name of the link'
- field :url, GraphQL::STRING_TYPE, null: true,
- description: 'URL of the link'
- field :link_type, Types::ReleaseLinkTypeEnum, null: true,
- description: 'Type of the link: `other`, `runbook`, `image`, `package`; defaults to `other`'
- field :external, GraphQL::BOOLEAN_TYPE, null: true, method: :external?,
- description: 'Indicates the link points to an external resource'
- end
-end