Lepsi verejna cast, ssr, lepsi prace s fotkamaa
This commit is contained in:
@@ -7,6 +7,15 @@ query photo($id: Int!) {
|
||||
photo(id: $id) {
|
||||
...photoFullInfo
|
||||
|
||||
pointOfInterest {
|
||||
id
|
||||
name
|
||||
}
|
||||
copilots {
|
||||
id
|
||||
name
|
||||
}
|
||||
|
||||
adjustment {
|
||||
contrast
|
||||
saturation
|
||||
@@ -28,3 +37,14 @@ query photo($id: Int!) {
|
||||
${FRAGMENT_PHOTO_FULL_INFO}
|
||||
${FRAGMENT_FLIGHT_LIST_INFO}
|
||||
`;
|
||||
|
||||
export const PHOTOS_PUBLIC_LIST = gql`
|
||||
query photos($flightId: Int, $pointOfInterestId: Int, $aircraftId: Int, $copilotId: Int) {
|
||||
photos(public: true, flightId: $flightId, pointOfInterestId: $pointOfInterestId, aircraftId: $aircraftId, copilotId: $copilotId) {
|
||||
...photoFullInfo
|
||||
}
|
||||
}
|
||||
|
||||
${FRAGMENT_PHOTO_FULL_INFO}
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user