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_asset_link_type.rb')
-rw-r--r--app/graphql/types/release_asset_link_type.rb16
1 files changed, 9 insertions, 7 deletions
diff --git a/app/graphql/types/release_asset_link_type.rb b/app/graphql/types/release_asset_link_type.rb
index 29738de27e5..e171c683e7d 100644
--- a/app/graphql/types/release_asset_link_type.rb
+++ b/app/graphql/types/release_asset_link_type.rb
@@ -10,19 +10,21 @@ module Types
present_using Releases::LinkPresenter
field :external, GraphQL::Types::Boolean, null: true, method: :external?,
- description: 'Indicates the link points to an external resource.'
+ description: 'Indicates the link points to an external resource.'
field :id, GraphQL::Types::ID, null: false,
- description: 'ID of the link.'
- field :link_type, Types::ReleaseAssetLinkTypeEnum, null: true,
+ description: 'ID of the link.'
+ field :link_type,
+ Types::ReleaseAssetLinkTypeEnum,
+ null: true,
description: 'Type of the link: `other`, `runbook`, `image`, `package`; defaults to `other`.'
field :name, GraphQL::Types::String, null: true,
- description: 'Name of the link.'
+ description: 'Name of the link.'
field :url, GraphQL::Types::String, null: true,
- description: 'URL of the link.'
+ description: 'URL of the link.'
field :direct_asset_path, GraphQL::Types::String, null: true, method: :filepath,
- description: 'Relative path for the direct asset link.'
+ description: 'Relative path for the direct asset link.'
field :direct_asset_url, GraphQL::Types::String, null: true,
- description: 'Direct asset URL of the link.'
+ description: 'Direct asset URL of the link.'
end
end