Verejna cast, hezci 404ka, refaktoring
This commit is contained in:
@@ -2,6 +2,7 @@ import gql from "graphql-tag";
|
||||
|
||||
export const FRAGMENT_AIRPORT_INFO = gql`
|
||||
fragment airportInfo on Airport {
|
||||
id
|
||||
name
|
||||
icaoCode
|
||||
gpsLatitude
|
||||
|
||||
@@ -37,6 +37,11 @@ fragment flightFullInfo on Flight {
|
||||
...airportInfo
|
||||
}
|
||||
|
||||
copilot {
|
||||
id
|
||||
name
|
||||
}
|
||||
|
||||
gpxTrackUrl
|
||||
track {
|
||||
pointOfInterest {
|
||||
@@ -103,15 +108,3 @@ ${FRAGMENT_AIRPORT_INFO}
|
||||
${FRAGMENT_AIRCRAFT_BASIC_INFO}
|
||||
`
|
||||
|
||||
export const FRAGMENT_FLIGHT_EDIT_IDS = gql`
|
||||
fragment flightEditIds on Flight {
|
||||
landingAirportId
|
||||
takeoffAirportId
|
||||
aircraftId
|
||||
copilotId
|
||||
copilot {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user