@kiwicom/smart-faq
Version:
155 lines (149 loc) • 3.56 kB
JavaScript
/**
* @flow
*/
/* eslint-disable */
'use strict';
/*::
import type { ReaderFragment } from 'relay-runtime';
export type VehicleType = "AIRCRAFT" | "BUS" | "TRAIN" | "%future added value";
export type availabilityStatus = "AT_AIRPORT" | "AVAILABLE" | "IN_FUTURE" | "OTHER" | "%future added value";
import type { FragmentReference } from "relay-runtime";
declare export opaque type BoardingPassesItem$ref: FragmentReference;
declare export opaque type BoardingPassesItem$fragmentType: BoardingPassesItem$ref;
export type BoardingPassesItem = {|
+flightNumber: ?string,
+boardingPassUrl: ?string,
+availableAt: ?any,
+availabilityStatus: ?availabilityStatus,
+leg: ?{|
+id: string,
+type: ?VehicleType,
+departure: ?{|
+airport: ?{|
+city: ?{|
+name: ?string
|}
|}
|},
+arrival: ?{|
+airport: ?{|
+city: ?{|
+name: ?string
|}
|}
|},
|},
+$refType: BoardingPassesItem$ref,
|};
export type BoardingPassesItem$data = BoardingPassesItem;
export type BoardingPassesItem$key = {
+$data?: BoardingPassesItem$data,
+$fragmentRefs: BoardingPassesItem$ref,
};
*/
var node
/*: ReaderFragment*/
= function () {
var v0 = [{
"kind": "LinkedField",
"alias": null,
"name": "airport",
"storageKey": null,
"args": null,
"concreteType": "Location",
"plural": false,
"selections": [{
"kind": "LinkedField",
"alias": null,
"name": "city",
"storageKey": null,
"args": null,
"concreteType": "LocationArea",
"plural": false,
"selections": [{
"kind": "ScalarField",
"alias": null,
"name": "name",
"args": null,
"storageKey": null
}]
}]
}];
return {
"kind": "Fragment",
"name": "BoardingPassesItem",
"type": "BoardingPass",
"metadata": null,
"argumentDefinitions": [],
"selections": [{
"kind": "ScalarField",
"alias": null,
"name": "flightNumber",
"args": null,
"storageKey": null
}, {
"kind": "ScalarField",
"alias": null,
"name": "boardingPassUrl",
"args": null,
"storageKey": null
}, {
"kind": "ScalarField",
"alias": null,
"name": "availableAt",
"args": null,
"storageKey": null
}, {
"kind": "ScalarField",
"alias": null,
"name": "availabilityStatus",
"args": null,
"storageKey": null
}, {
"kind": "LinkedField",
"alias": null,
"name": "leg",
"storageKey": null,
"args": null,
"concreteType": "Leg",
"plural": false,
"selections": [{
"kind": "ScalarField",
"alias": null,
"name": "id",
"args": null,
"storageKey": null
}, {
"kind": "ScalarField",
"alias": null,
"name": "type",
"args": null,
"storageKey": null
}, {
"kind": "LinkedField",
"alias": null,
"name": "departure",
"storageKey": null,
"args": null,
"concreteType": "RouteStop",
"plural": false,
"selections": v0
/*: any*/
}, {
"kind": "LinkedField",
"alias": null,
"name": "arrival",
"storageKey": null,
"args": null,
"concreteType": "RouteStop",
"plural": false,
"selections": v0
/*: any*/
}]
}]
};
}(); // prettier-ignore
node
/*: any*/
.hash = '68802d35b68a4540bc2bbf4621e876f5';
module.exports = node;