Lepsi verejna cast, ssr, lepsi prace s fotkamaa
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
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 FRAGMENT_POI_LIST_INFO = gql`
|
||||
fragment pointOfInterestListInfo on PointOfInterest {
|
||||
id
|
||||
@@ -22,20 +24,37 @@ fragment pointOfInterestFullInfo on PointOfInterest {
|
||||
gpsLatitude
|
||||
gpsLongitude
|
||||
createdById
|
||||
|
||||
titlePhoto {
|
||||
id
|
||||
url
|
||||
}
|
||||
|
||||
type {
|
||||
id
|
||||
name
|
||||
}
|
||||
flights {
|
||||
...flightListInfo
|
||||
}
|
||||
photos {
|
||||
thumbnailUrl
|
||||
url
|
||||
name
|
||||
description
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const FRAGMENT_POI_FULL_PRIVATE_INFO = gql`
|
||||
fragment pointOfInterestFullPrivateInfo on PointOfInterest {
|
||||
...pointOfInterestFullInfo
|
||||
flights {
|
||||
...flightListInfo
|
||||
}
|
||||
|
||||
photos {
|
||||
...photoFullInfo
|
||||
|
||||
copilots {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
${FRAGMENT_POI_FULL_INFO}
|
||||
${FRAGMENT_PHOTO_FULL_INFO}
|
||||
${FRAGMENT_FLIGHT_LIST_INFO}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user