Jiny pristup k vytvareni letu, polofunkcni editace letu

This commit is contained in:
Michal Kváček
2023-06-27 22:45:24 +02:00
parent 4d9950e362
commit d399e1aaf1
20 changed files with 672 additions and 261 deletions
+11 -5
View File
@@ -8,20 +8,18 @@ fragment flightFullInfo on Flight {
takeoffDatetime
landingDatetime
durationMinCalculated
solo
takeoffAirport {
id
name
icaoCode
}
landingAirport {
id
name
icaoCode
}
aircraft {
id
name
@@ -30,6 +28,14 @@ fragment flightFullInfo on Flight {
}
`;
export const FRAGMENT_FLIGHT_EDIT_IDS = gql`
fragment flightEditIds on Flight {
landingAirportId
takeoffAirportId
aircraftId
copilotId
}
`;
// export const FRAGMENT_LOCATION = gql`
// fragment airportInfo on Airport {