diff options
Diffstat (limited to 'app/assets/javascripts/runner/graphql/details/runner_update.mutation.graphql')
-rw-r--r-- | app/assets/javascripts/runner/graphql/details/runner_update.mutation.graphql | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/assets/javascripts/runner/graphql/details/runner_update.mutation.graphql b/app/assets/javascripts/runner/graphql/details/runner_update.mutation.graphql new file mode 100644 index 00000000000..e4bf51e2c30 --- /dev/null +++ b/app/assets/javascripts/runner/graphql/details/runner_update.mutation.graphql @@ -0,0 +1,15 @@ +#import "ee_else_ce/runner/graphql/details/runner_details.fragment.graphql" + +# Mutation for updates from the runner form, loads +# attributes shown in the runner details. + +mutation runnerUpdate($input: RunnerUpdateInput!) { + runnerUpdate(input: $input) { + # We have an id in deep nested fragment + # eslint-disable-next-line @graphql-eslint/require-id-when-available + runner { + ...RunnerDetails + } + errors + } +} |