From aacba12c6e9817b552989de77b54e89b7c863b85 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 13 Dec 2021 15:12:59 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- .../environments/graphql/typedefs.graphql | 27 ++++++++++++++++++---- 1 file changed, 22 insertions(+), 5 deletions(-) (limited to 'app/assets/javascripts/environments/graphql') diff --git a/app/assets/javascripts/environments/graphql/typedefs.graphql b/app/assets/javascripts/environments/graphql/typedefs.graphql index f0172765ebe..026f2ca9375 100644 --- a/app/assets/javascripts/environments/graphql/typedefs.graphql +++ b/app/assets/javascripts/environments/graphql/typedefs.graphql @@ -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: NestedLocalEnvironmentInput): LocalEnvironmentFolder isLastDeployment: Boolean } extend type Mutation { - stopEnvironment(environment: LocalEnvironment): LocalErrors - deleteEnvironment(environment: LocalEnvironment): LocalErrors - rollbackEnvironment(environment: LocalEnvironment): LocalErrors - cancelAutoStop(environment: LocalEnvironment): LocalErrors + stopEnvironment(environment: LocalEnvironmentInput): LocalErrors + deleteEnvironment(environment: LocalEnvironmentInput): LocalErrors + rollbackEnvironment(environment: LocalEnvironmentInput): LocalErrors + cancelAutoStop(environment: LocalEnvironmentInput): LocalErrors } -- cgit v1.2.1