Pridan fotoeditor

This commit is contained in:
Michal Kváček
2023-10-27 22:30:47 +02:00
parent 4c8952117b
commit 100e1fa33b
18 changed files with 502 additions and 23 deletions
+30
View File
@@ -0,0 +1,30 @@
import gql from "graphql-tag";
import {FRAGMENT_PHOTO_FULL_INFO} from "src/graphql/fragments/photo";
import {FRAGMENT_FLIGHT_LIST_INFO} from "src/graphql/fragments/flight_list";
export const PHOTO_DETAIL = gql`
query photo($id: Int!) {
photo(id: $id) {
...photoFullInfo
adjustment {
contrast
saturation
brightness
rotate
sharpness
cropLeft
cropTop
cropWidth
cropHeight
}
flight {
...flightListInfo
}
}
}
${FRAGMENT_PHOTO_FULL_INFO}
${FRAGMENT_FLIGHT_LIST_INFO}
`;