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
c2d73f37
Commit
c2d73f37
authored
Dec 13, 2021
by
Natalia Tepluhina
Committed by
Nicolò Maria Mezzopera
Dec 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed local GraphQL input types to have a correct type
parent
20d55baf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
7 deletions
+24
-7
app/assets/javascripts/environments/graphql/typedefs.graphql
app/assets/javascripts/environments/graphql/typedefs.graphql
+22
-5
app/assets/javascripts/work_items/graphql/typedefs.graphql
app/assets/javascripts/work_items/graphql/typedefs.graphql
+2
-2
No files found.
app/assets/javascripts/environments/graphql/typedefs.graphql
View file @
c2d73f37
...
...
@@ -9,12 +9,29 @@ type LocalEnvironment {
autoStopPath
:
String
}
input
LocalEnvironmentInput
{
id
:
Int
!
globalId
:
ID
!
name
:
String
!
folderPath
:
String
stopPath
:
String
deletePath
:
String
retryUrl
:
String
autoStopPath
:
String
}
type
NestedLocalEnvironment
{
name
:
String
!
size
:
Int
!
latest
:
LocalEnvironment
!
}
input
NestedLocalEnvironmentInput
{
name
:
String
!
size
:
Int
!
latest
:
LocalEnvironmentInput
!
}
type
LocalEnvironmentFolder
{
environments
:
[
LocalEnvironment
!]!
availableCount
:
Int
!
...
...
@@ -40,13 +57,13 @@ type LocalErrors {
extend
type
Query
{
environmentApp
:
LocalEnvironmentApp
folder
(
environment
:
NestedLocalEnvironment
):
LocalEnvironmentFolder
folder
(
environment
:
NestedLocalEnvironment
Input
):
LocalEnvironmentFolder
isLastDeployment
:
Boolean
}
extend
type
Mutation
{
stopEnvironment
(
environment
:
LocalEnvironment
):
LocalErrors
deleteEnvironment
(
environment
:
LocalEnvironment
):
LocalErrors
rollbackEnvironment
(
environment
:
LocalEnvironment
):
LocalErrors
cancelAutoStop
(
environment
:
LocalEnvironment
):
LocalErrors
stopEnvironment
(
environment
:
LocalEnvironment
Input
):
LocalErrors
deleteEnvironment
(
environment
:
LocalEnvironment
Input
):
LocalErrors
rollbackEnvironment
(
environment
:
LocalEnvironment
Input
):
LocalErrors
cancelAutoStop
(
environment
:
LocalEnvironment
Input
):
LocalErrors
}
app/assets/javascripts/work_items/graphql/typedefs.graphql
View file @
c2d73f37
...
...
@@ -33,11 +33,11 @@ type LocalWorkItem {
widgets
:
[
LocalWorkItemWidgetConnection
]
}
type
LocalCreateWorkItemInput
{
input
LocalCreateWorkItemInput
{
title
:
String
!
}
type
LocalUpdateWorkItemInput
{
input
LocalUpdateWorkItemInput
{
id
:
ID
!
title
:
String
}
...
...
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