add editshot operation
All checks were successful
Tests / Tests (pull_request) Successful in 17s

This commit is contained in:
2024-12-09 14:00:36 -07:00
parent af461fff00
commit 976cc66ccb
2 changed files with 135 additions and 0 deletions

View File

@@ -178,3 +178,15 @@ fragment ShotWithAllFeatures on ShotGQL {
notes
}
}
mutation EditShot($shotId: Int!, $fieldsToEdit: EditableShotFieldInputGQL!) {
editShot(shotId: $shotId, fieldsToEdit: $fieldsToEdit) {
error {
shotId
msg
}
shot {
...ShotWithAllFeatures
}
}
}