@kiwicom/smart-faq
Version:
146 lines (140 loc) • 2.92 kB
JavaScript
/**
* @flow
*/
/* eslint-disable */
;
/*::
import type { ReaderFragment } from 'relay-runtime';
import type { FragmentReference } from "relay-runtime";
declare export opaque type BookingAnalyticsTracker_booking$ref: FragmentReference;
export type BookingAnalyticsTracker_booking = {|
+id: string,
+type: string,
+upcomingDeparture: ?{|
+departure: ?{|
+time: ?any
|}
|},
+trip?: ?{|
+departure: ?{|
+time: ?any
|}
|},
+outbound?: ?{|
+departure: ?{|
+time: ?any
|}
|},
+start?: ?{|
+time: ?any
|},
+$refType: BookingAnalyticsTracker_booking$ref,
|};
*/
const node/*: ReaderFragment*/ = (function(){
var v0 = [
{
"kind": "ScalarField",
"alias": null,
"name": "time",
"args": null,
"storageKey": null
}
],
v1 = [
{
"kind": "LinkedField",
"alias": null,
"name": "departure",
"storageKey": null,
"args": null,
"concreteType": "RouteStop",
"plural": false,
"selections": (v0/*: any*/)
}
];
return {
"kind": "Fragment",
"name": "BookingAnalyticsTracker_booking",
"type": "BookingInterface",
"metadata": null,
"argumentDefinitions": [],
"selections": [
{
"kind": "ScalarField",
"alias": null,
"name": "id",
"args": null,
"storageKey": null
},
{
"kind": "ScalarField",
"alias": "type",
"name": "__typename",
"args": null,
"storageKey": null
},
{
"kind": "LinkedField",
"alias": "upcomingDeparture",
"name": "upcomingLeg",
"storageKey": null,
"args": null,
"concreteType": "Leg",
"plural": false,
"selections": (v1/*: any*/)
},
{
"kind": "InlineFragment",
"type": "BookingMulticity",
"selections": [
{
"kind": "LinkedField",
"alias": null,
"name": "start",
"storageKey": null,
"args": null,
"concreteType": "RouteStop",
"plural": false,
"selections": (v0/*: any*/)
}
]
},
{
"kind": "InlineFragment",
"type": "BookingReturn",
"selections": [
{
"kind": "LinkedField",
"alias": null,
"name": "outbound",
"storageKey": null,
"args": null,
"concreteType": "Trip",
"plural": false,
"selections": (v1/*: any*/)
}
]
},
{
"kind": "InlineFragment",
"type": "BookingOneWay",
"selections": [
{
"kind": "LinkedField",
"alias": null,
"name": "trip",
"storageKey": null,
"args": null,
"concreteType": "Trip",
"plural": false,
"selections": (v1/*: any*/)
}
]
}
]
};
})();
// prettier-ignore
(node/*: any*/).hash = 'ce761ec1cb05c0c0b47e14c6aa15a98c';
module.exports = node;