Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5b6cb2ab
Commit
5b6cb2ab
authored
Dec 02, 2020
by
Marcin Sedlak-Jakubowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Format ID as uppercase in GraphQL descriptions
parent
c731e76a
Changes
35
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
161 additions
and
161 deletions
+161
-161
app/graphql/mutations/alert_management/base.rb
app/graphql/mutations/alert_management/base.rb
+1
-1
app/graphql/mutations/alert_management/http_integration/destroy.rb
...ql/mutations/alert_management/http_integration/destroy.rb
+1
-1
app/graphql/mutations/alert_management/http_integration/reset_token.rb
...utations/alert_management/http_integration/reset_token.rb
+1
-1
app/graphql/mutations/alert_management/http_integration/update.rb
...hql/mutations/alert_management/http_integration/update.rb
+1
-1
app/graphql/mutations/alert_management/prometheus_integration/reset_token.rb
...ns/alert_management/prometheus_integration/reset_token.rb
+1
-1
app/graphql/mutations/alert_management/prometheus_integration/update.rb
...tations/alert_management/prometheus_integration/update.rb
+1
-1
app/graphql/mutations/award_emojis/base.rb
app/graphql/mutations/award_emojis/base.rb
+1
-1
app/graphql/mutations/ci/base.rb
app/graphql/mutations/ci/base.rb
+1
-1
app/graphql/mutations/design_management/base.rb
app/graphql/mutations/design_management/base.rb
+1
-1
app/graphql/mutations/discussions/toggle_resolve.rb
app/graphql/mutations/discussions/toggle_resolve.rb
+1
-1
app/graphql/mutations/merge_requests/base.rb
app/graphql/mutations/merge_requests/base.rb
+1
-1
app/graphql/mutations/metrics/dashboard/annotations/create.rb
...graphql/mutations/metrics/dashboard/annotations/create.rb
+2
-2
app/graphql/mutations/notes/create/base.rb
app/graphql/mutations/notes/create/base.rb
+1
-1
app/graphql/mutations/notes/create/note.rb
app/graphql/mutations/notes/create/note.rb
+1
-1
app/graphql/mutations/notes/destroy.rb
app/graphql/mutations/notes/destroy.rb
+1
-1
app/graphql/mutations/notes/reposition_image_diff_note.rb
app/graphql/mutations/notes/reposition_image_diff_note.rb
+1
-1
app/graphql/mutations/notes/update/base.rb
app/graphql/mutations/notes/update/base.rb
+1
-1
app/graphql/mutations/snippets/destroy.rb
app/graphql/mutations/snippets/destroy.rb
+1
-1
app/graphql/mutations/snippets/mark_as_spam.rb
app/graphql/mutations/snippets/mark_as_spam.rb
+1
-1
app/graphql/mutations/snippets/update.rb
app/graphql/mutations/snippets/update.rb
+1
-1
app/graphql/mutations/todos/mark_done.rb
app/graphql/mutations/todos/mark_done.rb
+1
-1
app/graphql/mutations/todos/restore.rb
app/graphql/mutations/todos/restore.rb
+1
-1
app/graphql/mutations/todos/restore_many.rb
app/graphql/mutations/todos/restore_many.rb
+2
-2
app/graphql/types/jira_users_mapping_input_type.rb
app/graphql/types/jira_users_mapping_input_type.rb
+1
-1
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+62
-62
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+62
-62
ee/app/graphql/mutations/boards/update.rb
ee/app/graphql/mutations/boards/update.rb
+2
-2
ee/app/graphql/mutations/clusters/agents/delete.rb
ee/app/graphql/mutations/clusters/agents/delete.rb
+1
-1
ee/app/graphql/mutations/epic_tree/reorder.rb
ee/app/graphql/mutations/epic_tree/reorder.rb
+1
-1
ee/app/graphql/mutations/epics/add_issue.rb
ee/app/graphql/mutations/epics/add_issue.rb
+1
-1
ee/app/graphql/mutations/epics/base.rb
ee/app/graphql/mutations/epics/base.rb
+1
-1
ee/app/graphql/mutations/namespaces/base.rb
ee/app/graphql/mutations/namespaces/base.rb
+1
-1
ee/app/graphql/mutations/requirements_management/update_requirement.rb
...l/mutations/requirements_management/update_requirement.rb
+1
-1
ee/app/graphql/resolvers/epics_resolver.rb
ee/app/graphql/resolvers/epics_resolver.rb
+1
-1
ee/app/graphql/types/epic_tree/epic_tree_node_input_type.rb
ee/app/graphql/types/epic_tree/epic_tree_node_input_type.rb
+2
-2
No files found.
app/graphql/mutations/alert_management/base.rb
View file @
5b6cb2ab
...
...
@@ -11,7 +11,7 @@ module Mutations
argument
:iid
,
GraphQL
::
STRING_TYPE
,
required:
true
,
description:
"The
iid
of the alert to mutate"
description:
"The
IID
of the alert to mutate"
field
:alert
,
Types
::
AlertManagement
::
AlertType
,
...
...
app/graphql/mutations/alert_management/http_integration/destroy.rb
View file @
5b6cb2ab
...
...
@@ -8,7 +8,7 @@ module Mutations
argument
:id
,
Types
::
GlobalIDType
[
::
AlertManagement
::
HttpIntegration
],
required:
true
,
description:
"The
id
of the integration to remove"
description:
"The
ID
of the integration to remove"
def
resolve
(
id
:)
integration
=
authorized_find!
(
id:
id
)
...
...
app/graphql/mutations/alert_management/http_integration/reset_token.rb
View file @
5b6cb2ab
...
...
@@ -8,7 +8,7 @@ module Mutations
argument
:id
,
Types
::
GlobalIDType
[
::
AlertManagement
::
HttpIntegration
],
required:
true
,
description:
"The
id
of the integration to mutate"
description:
"The
ID
of the integration to mutate"
def
resolve
(
id
:)
integration
=
authorized_find!
(
id:
id
)
...
...
app/graphql/mutations/alert_management/http_integration/update.rb
View file @
5b6cb2ab
...
...
@@ -8,7 +8,7 @@ module Mutations
argument
:id
,
Types
::
GlobalIDType
[
::
AlertManagement
::
HttpIntegration
],
required:
true
,
description:
"The
id
of the integration to mutate"
description:
"The
ID
of the integration to mutate"
argument
:name
,
GraphQL
::
STRING_TYPE
,
required:
false
,
...
...
app/graphql/mutations/alert_management/prometheus_integration/reset_token.rb
View file @
5b6cb2ab
...
...
@@ -8,7 +8,7 @@ module Mutations
argument
:id
,
Types
::
GlobalIDType
[
::
PrometheusService
],
required:
true
,
description:
"The
id
of the integration to mutate"
description:
"The
ID
of the integration to mutate"
def
resolve
(
id
:)
integration
=
authorized_find!
(
id:
id
)
...
...
app/graphql/mutations/alert_management/prometheus_integration/update.rb
View file @
5b6cb2ab
...
...
@@ -8,7 +8,7 @@ module Mutations
argument
:id
,
Types
::
GlobalIDType
[
::
PrometheusService
],
required:
true
,
description:
"The
id
of the integration to mutate"
description:
"The
ID
of the integration to mutate"
argument
:active
,
GraphQL
::
BOOLEAN_TYPE
,
required:
false
,
...
...
app/graphql/mutations/award_emojis/base.rb
View file @
5b6cb2ab
...
...
@@ -12,7 +12,7 @@ module Mutations
argument
:awardable_id
,
::
Types
::
GlobalIDType
[
::
Awardable
],
required:
true
,
description:
'The global
id
of the awardable resource'
description:
'The global
ID
of the awardable resource'
argument
:name
,
GraphQL
::
STRING_TYPE
,
...
...
app/graphql/mutations/ci/base.rb
View file @
5b6cb2ab
...
...
@@ -7,7 +7,7 @@ module Mutations
argument
:id
,
PipelineID
,
required:
true
,
description:
'The
id
of the pipeline to mutate'
description:
'The
ID
of the pipeline to mutate'
private
...
...
app/graphql/mutations/design_management/base.rb
View file @
5b6cb2ab
...
...
@@ -11,7 +11,7 @@ module Mutations
argument
:iid
,
GraphQL
::
ID_TYPE
,
required:
true
,
description:
"The
iid
of the issue to modify designs for"
description:
"The
IID
of the issue to modify designs for"
private
...
...
app/graphql/mutations/discussions/toggle_resolve.rb
View file @
5b6cb2ab
...
...
@@ -10,7 +10,7 @@ module Mutations
argument
:id
,
Types
::
GlobalIDType
[
Discussion
],
required:
true
,
description:
'The global
id
of the discussion'
description:
'The global
ID
of the discussion'
argument
:resolve
,
GraphQL
::
BOOLEAN_TYPE
,
...
...
app/graphql/mutations/merge_requests/base.rb
View file @
5b6cb2ab
...
...
@@ -11,7 +11,7 @@ module Mutations
argument
:iid
,
GraphQL
::
STRING_TYPE
,
required:
true
,
description:
"The
iid
of the merge request to mutate"
description:
"The
IID
of the merge request to mutate"
field
:merge_request
,
Types
::
MergeRequestType
,
...
...
app/graphql/mutations/metrics/dashboard/annotations/create.rb
View file @
5b6cb2ab
...
...
@@ -20,12 +20,12 @@ module Mutations
argument
:environment_id
,
::
Types
::
GlobalIDType
[
::
Environment
],
required:
false
,
description:
'The global
id
of the environment to add an annotation to'
description:
'The global
ID
of the environment to add an annotation to'
argument
:cluster_id
,
::
Types
::
GlobalIDType
[
::
Clusters
::
Cluster
],
required:
false
,
description:
'The global
id
of the cluster to add an annotation to'
description:
'The global
ID
of the cluster to add an annotation to'
argument
:starting_at
,
Types
::
TimeType
,
required:
true
,
...
...
app/graphql/mutations/notes/create/base.rb
View file @
5b6cb2ab
...
...
@@ -11,7 +11,7 @@ module Mutations
argument
:noteable_id
,
::
Types
::
GlobalIDType
[
::
Noteable
],
required:
true
,
description:
'The global
id
of the resource to add a note to'
description:
'The global
ID
of the resource to add a note to'
argument
:body
,
GraphQL
::
STRING_TYPE
,
...
...
app/graphql/mutations/notes/create/note.rb
View file @
5b6cb2ab
...
...
@@ -9,7 +9,7 @@ module Mutations
argument
:discussion_id
,
::
Types
::
GlobalIDType
[
::
Discussion
],
required:
false
,
description:
'The global
id
of the discussion this note is in reply to'
description:
'The global
ID
of the discussion this note is in reply to'
private
...
...
app/graphql/mutations/notes/destroy.rb
View file @
5b6cb2ab
...
...
@@ -10,7 +10,7 @@ module Mutations
argument
:id
,
::
Types
::
GlobalIDType
[
::
Note
],
required:
true
,
description:
'The global
id
of the note to destroy'
description:
'The global
ID
of the note to destroy'
def
resolve
(
id
:)
note
=
authorized_find!
(
id:
id
)
...
...
app/graphql/mutations/notes/reposition_image_diff_note.rb
View file @
5b6cb2ab
...
...
@@ -16,7 +16,7 @@ module Mutations
loads:
Types
::
Notes
::
NoteType
,
as: :note
,
required:
true
,
description:
'The global
id
of the DiffNote to update'
description:
'The global
ID
of the DiffNote to update'
argument
:position
,
Types
::
Notes
::
UpdateDiffImagePositionInputType
,
...
...
app/graphql/mutations/notes/update/base.rb
View file @
5b6cb2ab
...
...
@@ -11,7 +11,7 @@ module Mutations
argument
:id
,
::
Types
::
GlobalIDType
[
::
Note
],
required:
true
,
description:
'The global
id
of the note to update'
description:
'The global
ID
of the note to update'
def
resolve
(
args
)
note
=
authorized_find!
(
id:
args
[
:id
])
...
...
app/graphql/mutations/snippets/destroy.rb
View file @
5b6cb2ab
...
...
@@ -9,7 +9,7 @@ module Mutations
argument
:id
,
::
Types
::
GlobalIDType
[
::
Snippet
],
required:
true
,
description:
'The global
id
of the snippet to destroy'
description:
'The global
ID
of the snippet to destroy'
def
resolve
(
id
:)
snippet
=
authorized_find!
(
id:
id
)
...
...
app/graphql/mutations/snippets/mark_as_spam.rb
View file @
5b6cb2ab
...
...
@@ -7,7 +7,7 @@ module Mutations
argument
:id
,
::
Types
::
GlobalIDType
[
::
Snippet
],
required:
true
,
description:
'The global
id
of the snippet to update'
description:
'The global
ID
of the snippet to update'
def
resolve
(
id
:)
snippet
=
authorized_find!
(
id:
id
)
...
...
app/graphql/mutations/snippets/update.rb
View file @
5b6cb2ab
...
...
@@ -9,7 +9,7 @@ module Mutations
argument
:id
,
::
Types
::
GlobalIDType
[
::
Snippet
],
required:
true
,
description:
'The global
id
of the snippet to update'
description:
'The global
ID
of the snippet to update'
argument
:title
,
GraphQL
::
STRING_TYPE
,
required:
false
,
...
...
app/graphql/mutations/todos/mark_done.rb
View file @
5b6cb2ab
...
...
@@ -10,7 +10,7 @@ module Mutations
argument
:id
,
::
Types
::
GlobalIDType
[
::
Todo
],
required:
true
,
description:
'The global
id
of the todo to mark as done'
description:
'The global
ID
of the todo to mark as done'
field
:todo
,
Types
::
TodoType
,
null:
false
,
...
...
app/graphql/mutations/todos/restore.rb
View file @
5b6cb2ab
...
...
@@ -10,7 +10,7 @@ module Mutations
argument
:id
,
::
Types
::
GlobalIDType
[
::
Todo
],
required:
true
,
description:
'The global
id
of the todo to restore'
description:
'The global
ID
of the todo to restore'
field
:todo
,
Types
::
TodoType
,
null:
false
,
...
...
app/graphql/mutations/todos/restore_many.rb
View file @
5b6cb2ab
...
...
@@ -10,11 +10,11 @@ module Mutations
argument
:ids
,
[
::
Types
::
GlobalIDType
[
::
Todo
]],
required:
true
,
description:
'The global
id
s of the todos to restore (a maximum of 50 is supported at once)'
description:
'The global
ID
s of the todos to restore (a maximum of 50 is supported at once)'
field
:updated_ids
,
[
::
Types
::
GlobalIDType
[
Todo
]],
null:
false
,
description:
'The
id
s of the updated todo items'
,
description:
'The
ID
s of the updated todo items'
,
deprecated:
{
reason:
'Use todos'
,
milestone:
'13.2'
}
field
:todos
,
[
::
Types
::
TodoType
],
...
...
app/graphql/types/jira_users_mapping_input_type.rb
View file @
5b6cb2ab
...
...
@@ -8,7 +8,7 @@ module Types
argument
:jira_account_id
,
GraphQL
::
STRING_TYPE
,
required:
true
,
description:
'Jira account
id
of the user'
description:
'Jira account
ID
of the user'
argument
:gitlab_id
,
GraphQL
::
INT_TYPE
,
required:
false
,
...
...
doc/api/graphql/reference/gitlab_schema.graphql
View file @
5b6cb2ab
This diff is collapsed.
Click to expand it.
doc/api/graphql/reference/gitlab_schema.json
View file @
5b6cb2ab
This diff is collapsed.
Click to expand it.
ee/app/graphql/mutations/boards/update.rb
View file @
5b6cb2ab
...
...
@@ -29,12 +29,12 @@ module Mutations
::
Types
::
GlobalIDType
[
::
User
],
required:
false
,
loads:
::
Types
::
UserType
,
description:
'The
id
of user to be assigned to the board'
description:
'The
ID
of user to be assigned to the board'
argument
:milestone_id
,
::
Types
::
GlobalIDType
[
::
Milestone
],
required:
false
,
description:
'The
id
of milestone to be assigned to the board'
description:
'The
ID
of milestone to be assigned to the board'
argument
:weight
,
GraphQL
::
INT_TYPE
,
...
...
ee/app/graphql/mutations/clusters/agents/delete.rb
View file @
5b6cb2ab
...
...
@@ -12,7 +12,7 @@ module Mutations
argument
:id
,
AgentID
,
required:
true
,
description:
'Global
id
of the cluster agent that will be deleted'
description:
'Global
ID
of the cluster agent that will be deleted'
def
resolve
(
id
:)
cluster_agent
=
authorized_find!
(
id:
id
)
...
...
ee/app/graphql/mutations/epic_tree/reorder.rb
View file @
5b6cb2ab
...
...
@@ -10,7 +10,7 @@ module Mutations
argument
:base_epic_id
,
::
Types
::
GlobalIDType
[
::
Epic
],
required:
true
,
description:
'The
id
of the base epic of the tree'
description:
'The
ID
of the base epic of the tree'
argument
:moved
,
Types
::
EpicTree
::
EpicTreeNodeInputType
,
...
...
ee/app/graphql/mutations/epics/add_issue.rb
View file @
5b6cb2ab
...
...
@@ -15,7 +15,7 @@ module Mutations
argument
:issue_iid
,
GraphQL
::
STRING_TYPE
,
required:
true
,
description:
'The
iid
of the issue to be added'
description:
'The
IID
of the issue to be added'
field
:epic_issue
,
Types
::
EpicIssueType
,
...
...
ee/app/graphql/mutations/epics/base.rb
View file @
5b6cb2ab
...
...
@@ -7,7 +7,7 @@ module Mutations
argument
:iid
,
GraphQL
::
ID_TYPE
,
required:
true
,
description:
"The
iid
of the epic to mutate"
description:
"The
IID
of the epic to mutate"
argument
:group_path
,
GraphQL
::
ID_TYPE
,
required:
true
,
...
...
ee/app/graphql/mutations/namespaces/base.rb
View file @
5b6cb2ab
...
...
@@ -5,7 +5,7 @@ module Mutations
class
Base
<
::
Mutations
::
BaseMutation
argument
:id
,
::
Types
::
GlobalIDType
[
::
Namespace
],
required:
true
,
description:
'The global
id
of the namespace to mutate'
description:
'The global
ID
of the namespace to mutate'
field
:namespace
,
Types
::
NamespaceType
,
...
...
ee/app/graphql/mutations/requirements_management/update_requirement.rb
View file @
5b6cb2ab
...
...
@@ -13,7 +13,7 @@ module Mutations
argument
:iid
,
GraphQL
::
STRING_TYPE
,
required:
true
,
description:
'The
iid
of the requirement to update'
description:
'The
IID
of the requirement to update'
argument
:last_test_report_state
,
Types
::
RequirementsManagement
::
TestReportStateEnum
,
required:
false
,
...
...
ee/app/graphql/resolvers/epics_resolver.rb
View file @
5b6cb2ab
...
...
@@ -39,7 +39,7 @@ module Resolvers
argument
:iid_starts_with
,
GraphQL
::
STRING_TYPE
,
required:
false
,
description:
'Filter epics by
iid
for autocomplete'
description:
'Filter epics by
IID
for autocomplete'
argument
:include_descendant_groups
,
GraphQL
::
BOOLEAN_TYPE
,
required:
false
,
...
...
ee/app/graphql/types/epic_tree/epic_tree_node_input_type.rb
View file @
5b6cb2ab
...
...
@@ -10,12 +10,12 @@ module Types
argument
:id
,
::
Types
::
GlobalIDType
[
::
EpicTreeSorting
],
required:
true
,
description:
'The
id
of the epic_issue or epic that is being moved'
description:
'The
ID
of the epic_issue or epic that is being moved'
argument
:adjacent_reference_id
,
::
Types
::
GlobalIDType
[
::
EpicTreeSorting
],
required:
false
,
description:
'The
id
of the epic_issue or issue that the actual epic or issue is switched with'
description:
'The
ID
of the epic_issue or issue that the actual epic or issue is switched with'
argument
:relative_position
,
MoveTypeEnum
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment