@@ -86,20 +86,23 @@ input ListMergeRequestsQueryInput {
86
86
87
87
type ListMergeRequestsQuery {
88
88
"The project the Merge Request belongs to"
89
- Project : ListMergeRequestsProject @graphql (key : " project(fullPath: $project_id)" )
89
+ Project : ListMergeRequestsProject
90
+ @graphql (key : " project(fullPath: $project_id)" )
90
91
}
91
92
92
93
type ListMergeRequestsProject {
93
- MergeRequests : ListMergeRequestsProjectMergeRequestNodes @graphql (key : " mergeRequests(state: $state, first: $first)" ) @internal
94
+ MergeRequests : ListMergeRequestsProjectMergeRequestNodes
95
+ @graphql (key : " mergeRequests(state: $state, first: $first)" )
96
+ @internal
94
97
}
95
98
96
99
type ListMergeRequestsProjectMergeRequestNodes {
97
100
Nodes : [ListMergeRequestsProjectMergeRequest ! ]
98
101
}
99
102
100
103
type ListMergeRequestsProjectMergeRequest {
101
- ID : String ! @graphql (key : " iid" ) @internal
102
- DiffHeadSha : String @graphql (key : " diffHeadSha" ) @internal
104
+ ID : String ! @graphql (key : " iid" ) @internal
105
+ DiffHeadSha : String @graphql (key : " diffHeadSha" ) @internal
103
106
}
104
107
105
108
# https://docs.gitlab.com/ee/api/graphql/reference/#project
@@ -136,9 +139,11 @@ type ContextProject {
136
139
"Labels available on this project"
137
140
Labels : [ContextLabel ! ] @generated
138
141
139
- ResponseLabels : ContextLabelNode @internal @graphql (key : " labels(first: 200)" )
140
- MergeRequest : ContextMergeRequest @internal @graphql (key : " mergeRequest(iid: $mr_id)" )
141
- ResponseGroup : ContextGroup @internal @graphql (key : " group" )
142
+ ResponseLabels : ContextLabelNode @internal @graphql (key : " labels(first: 200)" )
143
+ MergeRequest : ContextMergeRequest
144
+ @internal
145
+ @graphql (key : " mergeRequest(iid: $mr_id)" )
146
+ ResponseGroup : ContextGroup @internal @graphql (key : " group" )
142
147
}
143
148
144
149
# https://docs.gitlab.com/ee/api/graphql/reference/#group
@@ -261,24 +266,28 @@ type ContextMergeRequest {
261
266
Notes : [ContextNote ! ] @generated
262
267
263
268
"Information about the first commit made"
264
- FirstCommit : ContextCommit @generated ()
269
+ FirstCommit : ContextCommit @generated
265
270
"Information about the last commit made"
266
- LastCommit : ContextCommit @generated ()
271
+ LastCommit : ContextCommit @generated
267
272
"Duration between first and last commit made"
268
- TimeBetweenFirstAndLastCommit : Duration @generated ()
273
+ TimeBetweenFirstAndLastCommit : Duration @generated
269
274
"Duration (from 'now') since the first commit was made"
270
- TimeSinceFirstCommit : Duration @generated ()
275
+ TimeSinceFirstCommit : Duration @generated
271
276
"Duration (from 'now') since the last commit was made"
272
- TimeSinceLastCommit : Duration @generated ()
277
+ TimeSinceLastCommit : Duration @generated
273
278
274
279
#
275
280
# scm-engine internal
276
281
#
277
282
278
283
CurrentUser : ContextUser ! @generated @internal
279
284
ResponseLabels : ContextLabelNode @internal @graphql (key : " labels(first: 200)" )
280
- ResponseFirstCommits : ContextCommitsNode @internal @graphql (key : " first_commit: commits(first:1)" )
281
- ResponseLastCommits : ContextCommitsNode @internal @graphql (key : " last_commit: commits(last:1)" )
285
+ ResponseFirstCommits : ContextCommitsNode
286
+ @internal
287
+ @graphql (key : " first_commit: commits(first:1)" )
288
+ ResponseLastCommits : ContextCommitsNode
289
+ @internal
290
+ @graphql (key : " last_commit: commits(last:1)" )
282
291
ResponseNotes : ContextNotesNode @internal @graphql (key : " notes(last: 10)" )
283
292
}
284
293
0 commit comments