diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 11:27:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 11:27:35 +0300 |
commit | 7e9c479f7de77702622631cff2628a9c8dcbc627 (patch) | |
tree | c8f718a08e110ad7e1894510980d2155a6549197 /app/graphql/types/release_links_type.rb | |
parent | e852b0ae16db4052c1c567d9efa4facc81146e88 (diff) |
Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42
Diffstat (limited to 'app/graphql/types/release_links_type.rb')
-rw-r--r-- | app/graphql/types/release_links_type.rb | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/app/graphql/types/release_links_type.rb b/app/graphql/types/release_links_type.rb index f61a16f5b67..619bb1e6c3a 100644 --- a/app/graphql/types/release_links_type.rb +++ b/app/graphql/types/release_links_type.rb @@ -12,12 +12,18 @@ module Types field :self_url, GraphQL::STRING_TYPE, null: true, description: 'HTTP URL of the release' - field :merge_requests_url, GraphQL::STRING_TYPE, null: true, - description: 'HTTP URL of the merge request page filtered by this release' - field :issues_url, GraphQL::STRING_TYPE, null: true, - description: 'HTTP URL of the issues page filtered by this release' field :edit_url, GraphQL::STRING_TYPE, null: true, description: "HTTP URL of the release's edit page", authorize: :update_release + field :opened_merge_requests_url, GraphQL::STRING_TYPE, null: true, + description: 'HTTP URL of the merge request page, filtered by this release and `state=open`' + field :merged_merge_requests_url, GraphQL::STRING_TYPE, null: true, + description: 'HTTP URL of the merge request page , filtered by this release and `state=merged`' + field :closed_merge_requests_url, GraphQL::STRING_TYPE, null: true, + description: 'HTTP URL of the merge request page , filtered by this release and `state=closed`' + field :opened_issues_url, GraphQL::STRING_TYPE, null: true, + description: 'HTTP URL of the issues page, filtered by this release and `state=open`' + field :closed_issues_url, GraphQL::STRING_TYPE, null: true, + description: 'HTTP URL of the issues page, filtered by this release and `state=closed`' end end |