diff options
Diffstat (limited to 'app/assets/javascripts/ci/ci_variable_list/graphql/mutations/group_update_variable.mutation.graphql')
-rw-r--r-- | app/assets/javascripts/ci/ci_variable_list/graphql/mutations/group_update_variable.mutation.graphql | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/assets/javascripts/ci/ci_variable_list/graphql/mutations/group_update_variable.mutation.graphql b/app/assets/javascripts/ci/ci_variable_list/graphql/mutations/group_update_variable.mutation.graphql new file mode 100644 index 00000000000..4ffc091b490 --- /dev/null +++ b/app/assets/javascripts/ci/ci_variable_list/graphql/mutations/group_update_variable.mutation.graphql @@ -0,0 +1,26 @@ +#import "~/ci/ci_variable_list/graphql/fragments/ci_variable.fragment.graphql" + +mutation updateGroupVariable($variable: CiVariable!, $endpoint: String!, $fullPath: ID!, $id: ID!) { + ciVariableMutation: updateGroupVariable( + variable: $variable + endpoint: $endpoint + fullPath: $fullPath + id: $id + ) @client { + group { + id + ciVariables { + nodes { + ...BaseCiVariable + ... on CiGroupVariable { + environmentScope + masked + protected + raw + } + } + } + } + errors + } +} |