Mapa s trasami letu u eventu, drobna uprava vizualu eventu
This commit is contained in:
@@ -20,13 +20,29 @@ query eventsList($limit: Int!, $offset: Int) {
|
||||
${FRAGMENT_EVENT_LIST_INFO}
|
||||
`;
|
||||
|
||||
export const EVENTS_FLIGHTS_TRACKS = gql`
|
||||
query eventsFlightsTracks($eventId: Int!, $onlyPublic: Boolean) {
|
||||
event(id: $eventId) {
|
||||
flights(onlyPublic: $onlyPublic) {
|
||||
durationMinCalculated
|
||||
gpxTrack {
|
||||
coordinates {
|
||||
lat
|
||||
lng
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const EVENTS_PUBLIC_LIST = gql`
|
||||
query eventsPublicList($username: String, $limit: Int!, $offset: Int) {
|
||||
events(username: $username, limit: $limit, offset: $offset, public: true) {
|
||||
items {
|
||||
...eventListInfo
|
||||
|
||||
flights {
|
||||
flights(onlyPublic: true) {
|
||||
titlePhoto {
|
||||
thumbnailUrl
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user