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_type.rb')
-rw-r--r--app/graphql/types/release_type.rb26
1 files changed, 13 insertions, 13 deletions
diff --git a/app/graphql/types/release_type.rb b/app/graphql/types/release_type.rb
index e7afa7ce7f7..81813a10a3e 100644
--- a/app/graphql/types/release_type.rb
+++ b/app/graphql/types/release_type.rb
@@ -14,34 +14,34 @@ module Types
present_using ReleasePresenter
field :tag_name, GraphQL::STRING_TYPE, null: true, method: :tag,
- description: 'Name of the tag associated with the release',
+ description: 'Name of the tag associated with the release.',
authorize: :download_code
field :tag_path, GraphQL::STRING_TYPE, null: true,
- description: 'Relative web path to the tag associated with the release',
+ description: 'Relative web path to the tag associated with the release.',
authorize: :download_code
field :description, GraphQL::STRING_TYPE, null: true,
- description: 'Description (also known as "release notes") of the release'
+ description: 'Description (also known as "release notes") of the release.'
markdown_field :description_html, null: true
field :name, GraphQL::STRING_TYPE, null: true,
- description: 'Name of the release'
+ description: 'Name of the release.'
field :created_at, Types::TimeType, null: true,
- description: 'Timestamp of when the release was created'
+ description: 'Timestamp of when the release was created.'
field :released_at, Types::TimeType, null: true,
- description: 'Timestamp of when the release was released'
+ description: 'Timestamp of when the release was released.'
field :upcoming_release, GraphQL::BOOLEAN_TYPE, null: true, method: :upcoming_release?,
- description: 'Indicates the release is an upcoming release'
+ description: 'Indicates the release is an upcoming release.'
field :assets, Types::ReleaseAssetsType, null: true, method: :itself,
- description: 'Assets of the release'
+ description: 'Assets of the release.'
field :links, Types::ReleaseLinksType, null: true, method: :itself,
- description: 'Links of the release'
+ description: 'Links of the release.'
field :milestones, Types::MilestoneType.connection_type, null: true,
- description: 'Milestones associated to the release',
+ description: 'Milestones associated to the release.',
resolver: ::Resolvers::ReleaseMilestonesResolver
field :evidences, Types::EvidenceType.connection_type, null: true,
- description: 'Evidence for the release'
+ description: 'Evidence for the release.'
field :author, Types::UserType, null: true,
- description: 'User that created the release'
+ description: 'User that created the release.'
def author
Gitlab::Graphql::Loaders::BatchModelLoader.new(User, release.author_id).find
@@ -49,7 +49,7 @@ module Types
field :commit, Types::CommitType, null: true,
complexity: 10, calls_gitaly: true,
- description: 'The commit associated with the release'
+ description: 'The commit associated with the release.'
def commit
return if release.sha.nil?