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
8a9db249
Commit
8a9db249
authored
Aug 31, 2021
by
Luke Duncalfe
Committed by
Kerri Miller
Aug 31, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Rubocop Graphql/Description offenses
parent
d16f720d
Changes
26
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
123 additions
and
148 deletions
+123
-148
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-25
app/graphql/types/repository/blob_type.rb
app/graphql/types/repository/blob_type.rb
+3
-3
app/graphql/types/root_storage_statistics_type.rb
app/graphql/types/root_storage_statistics_type.rb
+9
-9
app/graphql/types/snippet_type.rb
app/graphql/types/snippet_type.rb
+2
-2
app/graphql/types/snippets/blob_type.rb
app/graphql/types/snippets/blob_type.rb
+1
-1
app/graphql/types/snippets/visibility_scopes_enum.rb
app/graphql/types/snippets/visibility_scopes_enum.rb
+3
-3
app/graphql/types/terraform/state_type.rb
app/graphql/types/terraform/state_type.rb
+2
-2
app/graphql/types/terraform/state_version_type.rb
app/graphql/types/terraform/state_version_type.rb
+2
-2
app/graphql/types/timelog_type.rb
app/graphql/types/timelog_type.rb
+6
-6
app/graphql/types/todo_state_enum.rb
app/graphql/types/todo_state_enum.rb
+2
-2
app/graphql/types/todo_target_enum.rb
app/graphql/types/todo_target_enum.rb
+5
-5
app/graphql/types/todo_type.rb
app/graphql/types/todo_type.rb
+2
-2
app/graphql/types/user_interface.rb
app/graphql/types/user_interface.rb
+1
-1
app/graphql/types/user_merge_request_interaction_type.rb
app/graphql/types/user_merge_request_interaction_type.rb
+1
-1
app/graphql/types/user_state_enum.rb
app/graphql/types/user_state_enum.rb
+3
-3
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+63
-63
ee/app/graphql/ee/mutations/alert_management/http_integration/create.rb
.../ee/mutations/alert_management/http_integration/create.rb
+2
-2
ee/app/graphql/ee/mutations/alert_management/http_integration/update.rb
.../ee/mutations/alert_management/http_integration/update.rb
+2
-2
ee/app/graphql/ee/mutations/issues/create.rb
ee/app/graphql/ee/mutations/issues/create.rb
+1
-1
ee/app/graphql/ee/mutations/issues/update.rb
ee/app/graphql/ee/mutations/issues/update.rb
+1
-1
ee/app/graphql/ee/types/alert_management/http_integration_type.rb
...raphql/ee/types/alert_management/http_integration_type.rb
+1
-1
ee/app/graphql/ee/types/board_list_type.rb
ee/app/graphql/ee/types/board_list_type.rb
+1
-1
ee/app/graphql/ee/types/board_type.rb
ee/app/graphql/ee/types/board_type.rb
+3
-3
ee/app/graphql/ee/types/group_type.rb
ee/app/graphql/ee/types/group_type.rb
+2
-2
ee/app/graphql/ee/types/project_type.rb
ee/app/graphql/ee/types/project_type.rb
+3
-3
ee/app/graphql/ee/types/query_type.rb
ee/app/graphql/ee/types/query_type.rb
+2
-2
No files found.
.rubocop_manual_todo.yml
View file @
8a9db249
...
@@ -23,31 +23,6 @@ Graphql/Descriptions:
...
@@ -23,31 +23,6 @@ Graphql/Descriptions:
-
'
ee/app/graphql/types/vulnerability_severity_enum.rb'
-
'
ee/app/graphql/types/vulnerability_severity_enum.rb'
-
'
ee/app/graphql/types/vulnerability_state_enum.rb'
-
'
ee/app/graphql/types/vulnerability_state_enum.rb'
-
'
ee/app/graphql/types/vulnerability_confidence_enum.rb'
-
'
ee/app/graphql/types/vulnerability_confidence_enum.rb'
-
'
app/graphql/types/repository/blob_type.rb'
-
'
app/graphql/types/root_storage_statistics_type.rb'
-
'
app/graphql/types/snippet_type.rb'
-
'
app/graphql/types/snippets/blob_type.rb'
-
'
app/graphql/types/snippets/visibility_scopes_enum.rb'
-
'
app/graphql/types/terraform/state_type.rb'
-
'
app/graphql/types/terraform/state_version_type.rb'
-
'
app/graphql/types/timelog_type.rb'
-
'
app/graphql/types/todo_state_enum.rb'
-
'
app/graphql/types/todo_target_enum.rb'
-
'
app/graphql/types/todo_type.rb'
-
'
app/graphql/types/user_interface.rb'
-
'
app/graphql/types/user_merge_request_interaction_type.rb'
-
'
app/graphql/types/user_state_enum.rb'
-
'
ee/app/graphql/ee/mutations/alert_management/http_integration/create.rb'
-
'
ee/app/graphql/ee/mutations/alert_management/http_integration/update.rb'
-
'
ee/app/graphql/ee/mutations/boards/issues/issue_move_list.rb'
-
'
ee/app/graphql/ee/mutations/issues/create.rb'
-
'
ee/app/graphql/ee/mutations/issues/update.rb'
-
'
ee/app/graphql/ee/types/alert_management/http_integration_type.rb'
-
'
ee/app/graphql/ee/types/board_list_type.rb'
-
'
ee/app/graphql/ee/types/board_type.rb'
-
'
ee/app/graphql/ee/types/group_type.rb'
-
'
ee/app/graphql/ee/types/project_type.rb'
-
'
ee/app/graphql/ee/types/query_type.rb'
-
'
ee/app/graphql/mutations/app_sec/fuzzing/api/ci_configuration/create.rb'
-
'
ee/app/graphql/mutations/app_sec/fuzzing/api/ci_configuration/create.rb'
-
'
ee/app/graphql/mutations/boards/epic_boards/create.rb'
-
'
ee/app/graphql/mutations/boards/epic_boards/create.rb'
-
'
ee/app/graphql/mutations/boards/epic_boards/epic_move_list.rb'
-
'
ee/app/graphql/mutations/boards/epic_boards/epic_move_list.rb'
...
...
app/graphql/types/repository/blob_type.rb
View file @
8a9db249
...
@@ -48,10 +48,10 @@ module Types
...
@@ -48,10 +48,10 @@ module Types
description:
'Size (in bytes) of the blob, or the blob target if stored externally.'
description:
'Size (in bytes) of the blob, or the blob target if stored externally.'
field
:raw_blob
,
GraphQL
::
Types
::
String
,
null:
true
,
method: :data
,
field
:raw_blob
,
GraphQL
::
Types
::
String
,
null:
true
,
method: :data
,
description:
'
The r
aw content of the blob.'
description:
'
R
aw content of the blob.'
field
:raw_text_blob
,
GraphQL
::
Types
::
String
,
null:
true
,
method: :text_only_data
,
field
:raw_text_blob
,
GraphQL
::
Types
::
String
,
null:
true
,
method: :text_only_data
,
description:
'
The r
aw content of the blob, if the blob is text data.'
description:
'
R
aw content of the blob, if the blob is text data.'
field
:stored_externally
,
GraphQL
::
Types
::
Boolean
,
null:
true
,
method: :stored_externally?
,
field
:stored_externally
,
GraphQL
::
Types
::
Boolean
,
null:
true
,
method: :stored_externally?
,
description:
"Whether the blob's content is stored externally (for instance, in LFS)."
description:
"Whether the blob's content is stored externally (for instance, in LFS)."
...
@@ -69,7 +69,7 @@ module Types
...
@@ -69,7 +69,7 @@ module Types
description:
'Web path to replace the blob content.'
description:
'Web path to replace the blob content.'
field
:file_type
,
GraphQL
::
Types
::
String
,
null:
true
,
field
:file_type
,
GraphQL
::
Types
::
String
,
null:
true
,
description:
'
The e
xpected format of the blob based on the extension.'
description:
'
E
xpected format of the blob based on the extension.'
field
:simple_viewer
,
type:
Types
::
BlobViewerType
,
field
:simple_viewer
,
type:
Types
::
BlobViewerType
,
description:
'Blob content simple viewer.'
,
description:
'Blob content simple viewer.'
,
...
...
app/graphql/types/root_storage_statistics_type.rb
View file @
8a9db249
...
@@ -6,14 +6,14 @@ module Types
...
@@ -6,14 +6,14 @@ module Types
authorize
:read_statistics
authorize
:read_statistics
field
:storage_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'T
he t
otal storage in bytes.'
field
:storage_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'Total storage in bytes.'
field
:repository_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'
The
Git repository size in bytes.'
field
:repository_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'Git repository size in bytes.'
field
:lfs_objects_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'
The
LFS objects size in bytes.'
field
:lfs_objects_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'LFS objects size in bytes.'
field
:build_artifacts_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'
The
CI artifacts size in bytes.'
field
:build_artifacts_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'CI artifacts size in bytes.'
field
:packages_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'
The p
ackages size in bytes.'
field
:packages_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'
P
ackages size in bytes.'
field
:wiki_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'
The w
iki size in bytes.'
field
:wiki_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'
W
iki size in bytes.'
field
:snippets_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'
The s
nippets size in bytes.'
field
:snippets_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'
S
nippets size in bytes.'
field
:pipeline_artifacts_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'
The
CI pipeline artifacts size in bytes.'
field
:pipeline_artifacts_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'CI pipeline artifacts size in bytes.'
field
:uploads_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'
The u
ploads size in bytes.'
field
:uploads_size
,
GraphQL
::
FLOAT_TYPE
,
null:
false
,
description:
'
U
ploads size in bytes.'
end
end
end
end
app/graphql/types/snippet_type.rb
View file @
8a9db249
...
@@ -22,7 +22,7 @@ module Types
...
@@ -22,7 +22,7 @@ module Types
null:
false
null:
false
field
:project
,
Types
::
ProjectType
,
field
:project
,
Types
::
ProjectType
,
description:
'
The p
roject the snippet is associated with.'
,
description:
'
P
roject the snippet is associated with.'
,
null:
true
,
null:
true
,
authorize: :read_project
authorize: :read_project
...
@@ -30,7 +30,7 @@ module Types
...
@@ -30,7 +30,7 @@ module Types
# when the admin setting restricted visibility
# when the admin setting restricted visibility
# level is set to public
# level is set to public
field
:author
,
Types
::
UserType
,
field
:author
,
Types
::
UserType
,
description:
'
The o
wner of the snippet.'
,
description:
'
O
wner of the snippet.'
,
null:
true
null:
true
field
:file_name
,
GraphQL
::
Types
::
String
,
field
:file_name
,
GraphQL
::
Types
::
String
,
...
...
app/graphql/types/snippets/blob_type.rb
View file @
8a9db249
...
@@ -17,7 +17,7 @@ module Types
...
@@ -17,7 +17,7 @@ module Types
null:
true
null:
true
field
:raw_plain_data
,
GraphQL
::
Types
::
String
,
field
:raw_plain_data
,
GraphQL
::
Types
::
String
,
description:
'
The r
aw content of the blob, if the blob is text data.'
,
description:
'
R
aw content of the blob, if the blob is text data.'
,
null:
true
null:
true
field
:raw_path
,
GraphQL
::
Types
::
String
,
field
:raw_path
,
GraphQL
::
Types
::
String
,
...
...
app/graphql/types/snippets/visibility_scopes_enum.rb
View file @
8a9db249
...
@@ -3,9 +3,9 @@
...
@@ -3,9 +3,9 @@
module
Types
module
Types
module
Snippets
module
Snippets
class
VisibilityScopesEnum
<
BaseEnum
class
VisibilityScopesEnum
<
BaseEnum
value
'private'
,
description:
'
The s
nippet is visible only to the snippet creator.'
,
value:
'are_private'
value
'private'
,
description:
'
S
nippet is visible only to the snippet creator.'
,
value:
'are_private'
value
'internal'
,
description:
'
The s
nippet is visible for any logged in user except external users.'
,
value:
'are_internal'
value
'internal'
,
description:
'
S
nippet is visible for any logged in user except external users.'
,
value:
'are_internal'
value
'public'
,
description:
'
The s
nippet can be accessed without any authentication.'
,
value:
'are_public'
value
'public'
,
description:
'
S
nippet can be accessed without any authentication.'
,
value:
'are_public'
end
end
end
end
end
end
app/graphql/types/terraform/state_type.rb
View file @
8a9db249
...
@@ -19,7 +19,7 @@ module Types
...
@@ -19,7 +19,7 @@ module Types
field
:locked_by_user
,
Types
::
UserType
,
field
:locked_by_user
,
Types
::
UserType
,
null:
true
,
null:
true
,
description:
'
The u
ser currently holding a lock on the Terraform state.'
description:
'
U
ser currently holding a lock on the Terraform state.'
field
:locked_at
,
Types
::
TimeType
,
field
:locked_at
,
Types
::
TimeType
,
null:
true
,
null:
true
,
...
@@ -28,7 +28,7 @@ module Types
...
@@ -28,7 +28,7 @@ module Types
field
:latest_version
,
Types
::
Terraform
::
StateVersionType
,
field
:latest_version
,
Types
::
Terraform
::
StateVersionType
,
complexity:
3
,
complexity:
3
,
null:
true
,
null:
true
,
description:
'
The l
atest version of the Terraform state.'
description:
'
L
atest version of the Terraform state.'
field
:created_at
,
Types
::
TimeType
,
field
:created_at
,
Types
::
TimeType
,
null:
false
,
null:
false
,
...
...
app/graphql/types/terraform/state_version_type.rb
View file @
8a9db249
...
@@ -15,7 +15,7 @@ module Types
...
@@ -15,7 +15,7 @@ module Types
field
:created_by_user
,
Types
::
UserType
,
field
:created_by_user
,
Types
::
UserType
,
null:
true
,
null:
true
,
description:
'
The u
ser that created this version.'
description:
'
U
ser that created this version.'
field
:download_path
,
GraphQL
::
Types
::
String
,
field
:download_path
,
GraphQL
::
Types
::
String
,
null:
true
,
null:
true
,
...
@@ -23,7 +23,7 @@ module Types
...
@@ -23,7 +23,7 @@ module Types
field
:job
,
Types
::
Ci
::
JobType
,
field
:job
,
Types
::
Ci
::
JobType
,
null:
true
,
null:
true
,
description:
'
The j
ob that created this version.'
description:
'
J
ob that created this version.'
field
:serial
,
GraphQL
::
Types
::
Int
,
field
:serial
,
GraphQL
::
Types
::
Int
,
null:
true
,
null:
true
,
...
...
app/graphql/types/timelog_type.rb
View file @
8a9db249
...
@@ -14,31 +14,31 @@ module Types
...
@@ -14,31 +14,31 @@ module Types
field
:time_spent
,
field
:time_spent
,
GraphQL
::
Types
::
Int
,
GraphQL
::
Types
::
Int
,
null:
false
,
null:
false
,
description:
'T
he t
ime spent displayed in seconds.'
description:
'Time spent displayed in seconds.'
field
:user
,
field
:user
,
Types
::
UserType
,
Types
::
UserType
,
null:
false
,
null:
false
,
description:
'
The u
ser that logged the time.'
description:
'
U
ser that logged the time.'
field
:issue
,
field
:issue
,
Types
::
IssueType
,
Types
::
IssueType
,
null:
true
,
null:
true
,
description:
'
The i
ssue that logged time was added to.'
description:
'
I
ssue that logged time was added to.'
field
:merge_request
,
field
:merge_request
,
Types
::
MergeRequestType
,
Types
::
MergeRequestType
,
null:
true
,
null:
true
,
description:
'
The m
erge request that logged time was added to.'
description:
'
M
erge request that logged time was added to.'
field
:note
,
field
:note
,
Types
::
Notes
::
NoteType
,
Types
::
Notes
::
NoteType
,
null:
true
,
null:
true
,
description:
'
The note where the quick action to add the logged time was executed
.'
description:
'
Note where the quick action was executed to add the logged time
.'
field
:summary
,
GraphQL
::
Types
::
String
,
field
:summary
,
GraphQL
::
Types
::
String
,
null:
true
,
null:
true
,
description:
'
The s
ummary of how the time was spent.'
description:
'
S
ummary of how the time was spent.'
def
user
def
user
Gitlab
::
Graphql
::
Loaders
::
BatchModelLoader
.
new
(
User
,
object
.
user_id
).
find
Gitlab
::
Graphql
::
Loaders
::
BatchModelLoader
.
new
(
User
,
object
.
user_id
).
find
...
...
app/graphql/types/todo_state_enum.rb
View file @
8a9db249
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
module
Types
module
Types
class
TodoStateEnum
<
BaseEnum
class
TodoStateEnum
<
BaseEnum
value
'pending'
,
description:
"
The s
tate of the todo is pending."
value
'pending'
,
description:
"
S
tate of the todo is pending."
value
'done'
,
description:
"
The s
tate of the todo is done."
value
'done'
,
description:
"
S
tate of the todo is done."
end
end
end
end
app/graphql/types/todo_target_enum.rb
View file @
8a9db249
...
@@ -2,11 +2,11 @@
...
@@ -2,11 +2,11 @@
module
Types
module
Types
class
TodoTargetEnum
<
BaseEnum
class
TodoTargetEnum
<
BaseEnum
value
'COMMIT'
,
value:
'Commit'
,
description:
'
A
Commit.'
value
'COMMIT'
,
value:
'Commit'
,
description:
'Commit.'
value
'ISSUE'
,
value:
'Issue'
,
description:
'
An
Issue.'
value
'ISSUE'
,
value:
'Issue'
,
description:
'Issue.'
value
'MERGEREQUEST'
,
value:
'MergeRequest'
,
description:
'
A MergeR
equest.'
value
'MERGEREQUEST'
,
value:
'MergeRequest'
,
description:
'
Merge r
equest.'
value
'DESIGN'
,
value:
'DesignManagement::Design'
,
description:
'
A
Design.'
value
'DESIGN'
,
value:
'DesignManagement::Design'
,
description:
'Design.'
value
'ALERT'
,
value:
'AlertManagement::Alert'
,
description:
'A
n A
lert.'
value
'ALERT'
,
value:
'AlertManagement::Alert'
,
description:
'Alert.'
end
end
end
end
...
...
app/graphql/types/todo_type.rb
View file @
8a9db249
...
@@ -14,7 +14,7 @@ module Types
...
@@ -14,7 +14,7 @@ module Types
null:
false
null:
false
field
:project
,
Types
::
ProjectType
,
field
:project
,
Types
::
ProjectType
,
description:
'
The p
roject this to-do item is associated with.'
,
description:
'
P
roject this to-do item is associated with.'
,
null:
true
,
null:
true
,
authorize: :read_project
authorize: :read_project
...
@@ -24,7 +24,7 @@ module Types
...
@@ -24,7 +24,7 @@ module Types
authorize: :read_group
authorize: :read_group
field
:author
,
Types
::
UserType
,
field
:author
,
Types
::
UserType
,
description:
'
The a
uthor of this to-do item.'
,
description:
'
A
uthor of this to-do item.'
,
null:
false
null:
false
field
:action
,
Types
::
TodoActionEnum
,
field
:action
,
Types
::
TodoActionEnum
,
...
...
app/graphql/types/user_interface.rb
View file @
8a9db249
...
@@ -72,7 +72,7 @@ module Types
...
@@ -72,7 +72,7 @@ module Types
field
:location
,
field
:location
,
type:
::
GraphQL
::
Types
::
String
,
type:
::
GraphQL
::
Types
::
String
,
null:
true
,
null:
true
,
description:
'
The l
ocation of the user.'
description:
'
L
ocation of the user.'
field
:project_memberships
,
field
:project_memberships
,
type:
Types
::
ProjectMemberType
.
connection_type
,
type:
Types
::
ProjectMemberType
.
connection_type
,
null:
true
,
null:
true
,
...
...
app/graphql/types/user_merge_request_interaction_type.rb
View file @
8a9db249
...
@@ -28,7 +28,7 @@ module Types
...
@@ -28,7 +28,7 @@ module Types
field
:review_state
,
field
:review_state
,
::
Types
::
MergeRequestReviewStateEnum
,
::
Types
::
MergeRequestReviewStateEnum
,
null:
true
,
null:
true
,
description:
'
The s
tate of the review by this user.'
description:
'
S
tate of the review by this user.'
field
:reviewed
,
field
:reviewed
,
type:
::
GraphQL
::
Types
::
Boolean
,
type:
::
GraphQL
::
Types
::
Boolean
,
...
...
app/graphql/types/user_state_enum.rb
View file @
8a9db249
...
@@ -5,8 +5,8 @@ module Types
...
@@ -5,8 +5,8 @@ module Types
graphql_name
'UserState'
graphql_name
'UserState'
description
'Possible states of a user'
description
'Possible states of a user'
value
'active'
,
'
The u
ser is active and is able to use the system.'
,
value:
'active'
value
'active'
,
'
U
ser is active and is able to use the system.'
,
value:
'active'
value
'blocked'
,
'
The u
ser has been blocked and is prevented from using the system.'
,
value:
'blocked'
value
'blocked'
,
'
U
ser has been blocked and is prevented from using the system.'
,
value:
'blocked'
value
'deactivated'
,
'
The u
ser is no longer active and is unable to use the system.'
,
value:
'deactivated'
value
'deactivated'
,
'
U
ser is no longer active and is unable to use the system.'
,
value:
'deactivated'
end
end
end
end
doc/api/graphql/reference/index.md
View file @
8a9db249
This diff is collapsed.
Click to expand it.
ee/app/graphql/ee/mutations/alert_management/http_integration/create.rb
View file @
8a9db249
...
@@ -10,11 +10,11 @@ module EE
...
@@ -10,11 +10,11 @@ module EE
prepended
do
prepended
do
argument
:payload_example
,
::
Types
::
JsonStringType
,
argument
:payload_example
,
::
Types
::
JsonStringType
,
required:
false
,
required:
false
,
description:
'
The e
xample of an alert payload.'
description:
'
E
xample of an alert payload.'
argument
:payload_attribute_mappings
,
[
::
Types
::
AlertManagement
::
PayloadAlertFieldInputType
],
argument
:payload_attribute_mappings
,
[
::
Types
::
AlertManagement
::
PayloadAlertFieldInputType
],
required:
false
,
required:
false
,
description:
'
The custom mapping of GitLab alert attributes to fields from the payload_
example.'
description:
'
Custom mapping of GitLab alert attributes to fields from the payload
example.'
end
end
end
end
end
end
...
...
ee/app/graphql/ee/mutations/alert_management/http_integration/update.rb
View file @
8a9db249
...
@@ -10,11 +10,11 @@ module EE
...
@@ -10,11 +10,11 @@ module EE
prepended
do
prepended
do
argument
:payload_example
,
::
Types
::
JsonStringType
,
argument
:payload_example
,
::
Types
::
JsonStringType
,
required:
false
,
required:
false
,
description:
'
The e
xample of an alert payload.'
description:
'
E
xample of an alert payload.'
argument
:payload_attribute_mappings
,
[
::
Types
::
AlertManagement
::
PayloadAlertFieldInputType
],
argument
:payload_attribute_mappings
,
[
::
Types
::
AlertManagement
::
PayloadAlertFieldInputType
],
required:
false
,
required:
false
,
description:
'
The custom mapping of GitLab alert attributes to fields from the payload_
example.'
description:
'
Custom mapping of GitLab alert attributes to fields from the payload
example.'
end
end
end
end
end
end
...
...
ee/app/graphql/ee/mutations/issues/create.rb
View file @
8a9db249
...
@@ -12,7 +12,7 @@ module EE
...
@@ -12,7 +12,7 @@ module EE
argument
:epic_id
,
::
Types
::
GlobalIDType
[
::
Epic
],
argument
:epic_id
,
::
Types
::
GlobalIDType
[
::
Epic
],
required:
false
,
required:
false
,
description:
'
The
ID of an epic to associate the issue with.'
description:
'ID of an epic to associate the issue with.'
end
end
override
:resolve
override
:resolve
...
...
ee/app/graphql/ee/mutations/issues/update.rb
View file @
8a9db249
...
@@ -12,7 +12,7 @@ module EE
...
@@ -12,7 +12,7 @@ module EE
argument
:epic_id
,
::
Types
::
GlobalIDType
[
::
Epic
],
argument
:epic_id
,
::
Types
::
GlobalIDType
[
::
Epic
],
required:
false
,
required:
false
,
loads:
::
Types
::
EpicType
,
loads:
::
Types
::
EpicType
,
description:
'
The
ID of the parent epic. NULL when removing the association.'
description:
'ID of the parent epic. NULL when removing the association.'
end
end
def
resolve
(
**
args
)
def
resolve
(
**
args
)
...
...
ee/app/graphql/ee/types/alert_management/http_integration_type.rb
View file @
8a9db249
...
@@ -9,7 +9,7 @@ module EE
...
@@ -9,7 +9,7 @@ module EE
prepended
do
prepended
do
field
:payload_example
,
::
Types
::
JsonStringType
,
field
:payload_example
,
::
Types
::
JsonStringType
,
null:
true
,
null:
true
,
description:
'
The e
xample of an alert payload.'
description:
'
E
xample of an alert payload.'
field
:payload_attribute_mappings
,
[
::
Types
::
AlertManagement
::
PayloadAlertMappingFieldType
],
field
:payload_attribute_mappings
,
[
::
Types
::
AlertManagement
::
PayloadAlertMappingFieldType
],
null:
true
,
null:
true
,
...
...
ee/app/graphql/ee/types/board_list_type.rb
View file @
8a9db249
...
@@ -17,7 +17,7 @@ module EE
...
@@ -17,7 +17,7 @@ module EE
field
:assignee
,
::
Types
::
UserType
,
null:
true
,
field
:assignee
,
::
Types
::
UserType
,
null:
true
,
description:
'Assignee in the list.'
description:
'Assignee in the list.'
field
:limit_metric
,
::
EE
::
Types
::
ListLimitMetricEnum
,
null:
true
,
field
:limit_metric
,
::
EE
::
Types
::
ListLimitMetricEnum
,
null:
true
,
description:
'
The c
urrent limit metric for the list.'
description:
'
C
urrent limit metric for the list.'
field
:total_weight
,
GraphQL
::
Types
::
Int
,
null:
true
,
field
:total_weight
,
GraphQL
::
Types
::
Int
,
null:
true
,
description:
'Total weight of all issues in the list.'
description:
'Total weight of all issues in the list.'
...
...
ee/app/graphql/ee/types/board_type.rb
View file @
8a9db249
...
@@ -7,7 +7,7 @@ module EE
...
@@ -7,7 +7,7 @@ module EE
prepended
do
prepended
do
field
:assignee
,
type:
::
Types
::
UserType
,
null:
true
,
field
:assignee
,
type:
::
Types
::
UserType
,
null:
true
,
description:
'
The b
oard assignee.'
description:
'
B
oard assignee.'
field
:epics
,
::
Types
::
Boards
::
BoardEpicType
.
connection_type
,
null:
true
,
field
:epics
,
::
Types
::
Boards
::
BoardEpicType
.
connection_type
,
null:
true
,
description:
'Epics associated with board issues.'
,
description:
'Epics associated with board issues.'
,
...
@@ -18,10 +18,10 @@ module EE
...
@@ -18,10 +18,10 @@ module EE
description:
'Labels of the board.'
description:
'Labels of the board.'
field
:milestone
,
type:
::
Types
::
MilestoneType
,
null:
true
,
field
:milestone
,
type:
::
Types
::
MilestoneType
,
null:
true
,
description:
'
The b
oard milestone.'
description:
'
B
oard milestone.'
field
:iteration
,
type:
::
Types
::
IterationType
,
null:
true
,
field
:iteration
,
type:
::
Types
::
IterationType
,
null:
true
,
description:
'
The b
oard iteration.'
description:
'
B
oard iteration.'
field
:weight
,
type:
GraphQL
::
Types
::
Int
,
null:
true
,
field
:weight
,
type:
GraphQL
::
Types
::
Int
,
null:
true
,
description:
'Weight of the board.'
description:
'Weight of the board.'
...
...
ee/app/graphql/ee/types/group_type.rb
View file @
8a9db249
...
@@ -85,13 +85,13 @@ module EE
...
@@ -85,13 +85,13 @@ module EE
field
:billable_members_count
,
::
GraphQL
::
Types
::
Int
,
field
:billable_members_count
,
::
GraphQL
::
Types
::
Int
,
null:
true
,
null:
true
,
description:
'
The n
umber of billable users in the group.'
description:
'
N
umber of billable users in the group.'
field
:dora
,
field
:dora
,
::
Types
::
DoraType
,
::
Types
::
DoraType
,
null:
true
,
null:
true
,
method: :itself
,
method: :itself
,
description:
"
The g
roup's DORA metrics."
description:
"
G
roup's DORA metrics."
end
end
end
end
end
end
...
...
ee/app/graphql/ee/types/project_type.rb
View file @
8a9db249
...
@@ -87,7 +87,7 @@ module EE
...
@@ -87,7 +87,7 @@ module EE
field
:dast_scanner_profiles
,
field
:dast_scanner_profiles
,
::
Types
::
DastScannerProfileType
.
connection_type
,
::
Types
::
DastScannerProfileType
.
connection_type
,
null:
true
,
null:
true
,
description:
'
The
DAST scanner profiles associated with the project.'
description:
'DAST scanner profiles associated with the project.'
field
:dast_site_validations
,
field
:dast_site_validations
,
::
Types
::
DastSiteValidationType
.
connection_type
,
::
Types
::
DastSiteValidationType
.
connection_type
,
...
@@ -165,7 +165,7 @@ module EE
...
@@ -165,7 +165,7 @@ module EE
field
:push_rules
,
field
:push_rules
,
::
Types
::
PushRulesType
,
::
Types
::
PushRulesType
,
null:
true
,
null:
true
,
description:
"
The p
roject's push rules settings."
,
description:
"
P
roject's push rules settings."
,
method: :push_rule
method: :push_rule
field
:path_locks
,
field
:path_locks
,
...
@@ -192,7 +192,7 @@ module EE
...
@@ -192,7 +192,7 @@ module EE
::
Types
::
DoraType
,
::
Types
::
DoraType
,
null:
true
,
null:
true
,
method: :itself
,
method: :itself
,
description:
"
The p
roject's DORA metrics."
description:
"
P
roject's DORA metrics."
end
end
def
api_fuzzing_ci_configuration
def
api_fuzzing_ci_configuration
...
...
ee/app/graphql/ee/types/query_type.rb
View file @
8a9db249
...
@@ -26,7 +26,7 @@ module EE
...
@@ -26,7 +26,7 @@ module EE
description:
"Find a vulnerability."
do
description:
"Find a vulnerability."
do
argument
:id
,
::
Types
::
GlobalIDType
[
::
Vulnerability
],
argument
:id
,
::
Types
::
GlobalIDType
[
::
Vulnerability
],
required:
true
,
required:
true
,
description:
'
The
Global ID of the Vulnerability.'
description:
'Global ID of the Vulnerability.'
end
end
field
:vulnerabilities_count_by_day
,
field
:vulnerabilities_count_by_day
,
...
@@ -64,7 +64,7 @@ module EE
...
@@ -64,7 +64,7 @@ module EE
field
:ci_minutes_usage
,
::
Types
::
Ci
::
Minutes
::
NamespaceMonthlyUsageType
.
connection_type
,
field
:ci_minutes_usage
,
::
Types
::
Ci
::
Minutes
::
NamespaceMonthlyUsageType
.
connection_type
,
null:
true
,
null:
true
,
description:
'
The m
onthly CI minutes usage data for the current user.'
description:
'
M
onthly CI minutes usage data for the current user.'
end
end
def
vulnerability
(
id
:)
def
vulnerability
(
id
:)
...
...
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