Pridan fotoeditor
This commit is contained in:
@@ -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}
|
||||
`;
|
||||
Reference in New Issue
Block a user