Homepage, lepsi POI

This commit is contained in:
Michal Kváček
2023-08-23 21:40:32 +02:00
parent 8c3b8d19dd
commit 19b078b43c
33 changed files with 370 additions and 141 deletions
+17
View File
@@ -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}
`;