diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-13 18:12:59 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-13 18:12:59 +0300 |
commit | aacba12c6e9817b552989de77b54e89b7c863b85 (patch) | |
tree | 08baff36c06079f8442d7cd8d5add675da90074f /app/assets/javascripts/environments | |
parent | b0891151f160d287e48a5317d3152b195ef950ae (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/environments')
-rw-r--r-- | app/assets/javascripts/environments/graphql/typedefs.graphql | 27 |
1 files changed, 22 insertions, 5 deletions
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 } |