Otaceni fotek

This commit is contained in:
Michal Kváček
2023-09-21 09:39:22 +02:00
parent d1baec342f
commit b64c426179
6 changed files with 85 additions and 21 deletions
+11
View File
@@ -21,6 +21,17 @@ mutation editPhoto($id: Int!, $input: EditPhotoInput!) {
${FRAGMENT_PHOTO_FULL_INFO}
`;
export const ROTATE_PHOTO = gql`
mutation rotatePhoto($id: Int!, $angle: Int!) {
rotatePhoto(id: $id, angle: $angle) {
...photoFullInfo
}
}
${FRAGMENT_PHOTO_FULL_INFO}
`;
export const DELETE_PHOTO = gql`
mutation deletePhoto($id: Int!) {
deletePhoto(id: $id) {