Zaklad pro zadavani novych letu
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import gql from "graphql-tag";
|
||||
|
||||
export const AIRPORTS_LIST = gql`
|
||||
query AirportsList {
|
||||
airports {
|
||||
id
|
||||
name
|
||||
icaoCode
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -1,10 +1,13 @@
|
||||
import gql from "graphql-tag";
|
||||
import {FRAGMENT_FLIGHT_FULL_INFO} from "src/graphql/fragments/flight";
|
||||
|
||||
export const FLIGHTS_LIST = gql`
|
||||
query FlightsList {
|
||||
flights {
|
||||
name
|
||||
id
|
||||
...flightFullInfo
|
||||
}
|
||||
}
|
||||
${FRAGMENT_FLIGHT_FULL_INFO}
|
||||
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user