diff options
Diffstat (limited to 'app/assets/javascripts/work_items/graphql/update_work_item.mutation.graphql')
-rw-r--r-- | app/assets/javascripts/work_items/graphql/update_work_item.mutation.graphql | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/assets/javascripts/work_items/graphql/update_work_item.mutation.graphql b/app/assets/javascripts/work_items/graphql/update_work_item.mutation.graphql new file mode 100644 index 00000000000..f0563f099b2 --- /dev/null +++ b/app/assets/javascripts/work_items/graphql/update_work_item.mutation.graphql @@ -0,0 +1,18 @@ +#import './widget.fragment.graphql' + +mutation updateWorkItem($input: LocalUpdateWorkItemInput) { + localUpdateWorkItem(input: $input) @client { + workItem { + id + type + widgets { + nodes { + ...WidgetBase + ... on LocalTitleWidget { + contentText + } + } + } + } + } +} |