Homepage, lepsi POI
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
import gql from "graphql-tag";
|
||||
import {FRAGMENT_FLIGHT_LIST_INFO} from "src/graphql/fragments/flight_list";
|
||||
|
||||
export const FRAGMENT_POI_LIST_INFO = gql`
|
||||
fragment pointOfInterestListInfo on PointOfInterest {
|
||||
id
|
||||
name
|
||||
isPublic
|
||||
type {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -11,9 +17,18 @@ export const FRAGMENT_POI_FULL_INFO = gql`
|
||||
fragment pointOfInterestFullInfo on PointOfInterest {
|
||||
id
|
||||
name
|
||||
description
|
||||
isPublic
|
||||
gpsLatitude
|
||||
gpsLongitude
|
||||
createdById
|
||||
type {
|
||||
id
|
||||
name
|
||||
}
|
||||
flights {
|
||||
...flightListInfo
|
||||
}
|
||||
photos {
|
||||
thumbnailUrl
|
||||
url
|
||||
@@ -21,4 +36,6 @@ fragment pointOfInterestFullInfo on PointOfInterest {
|
||||
description
|
||||
}
|
||||
}
|
||||
|
||||
${FRAGMENT_FLIGHT_LIST_INFO}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user