Otaceni fotek
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user