@kiwicom/smart-faq
Version:
Smart FAQ
130 lines (127 loc) • 2.83 kB
JavaScript
/**
* @flow
*/
/* eslint-disable */
;
/*::
import type { ConcreteFragment } from 'relay-runtime';
export type BookingType = ('MULTICITY' | 'ONE_WAY' | 'RETURN' | '%future added value');
import type { FragmentReference } from 'relay-runtime';
declare export opaque type BookingAnalyticsTracker_booking$ref: FragmentReference;
export type BookingAnalyticsTracker_booking = {|
+id: string,
+type: ?BookingType,
+upcomingDeparture: ?{|
+departure: ?{|
+time: ?any,
|},
|},
+trip?: ?{|
+departure: ?{|
+time: ?any,
|},
|},
+outbound?: ?{|
+departure: ?{|
+time: ?any,
|},
|},
+start?: ?{|
+time: ?any,
|},
+$refType: BookingAnalyticsTracker_booking$ref,
|};
*/
var node
/*: ConcreteFragment*/
= 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
}];
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": null,
"name": "type",
"args": null,
"storageKey": null
}, {
"kind": "LinkedField",
"alias": "upcomingDeparture",
"name": "upcomingLeg",
"storageKey": null,
"args": null,
"concreteType": "Leg",
"plural": false,
"selections": v1
}, {
"kind": "InlineFragment",
"type": "BookingMulticity",
"selections": [{
"kind": "LinkedField",
"alias": null,
"name": "start",
"storageKey": null,
"args": null,
"concreteType": "RouteStop",
"plural": false,
"selections": v0
}]
}, {
"kind": "InlineFragment",
"type": "BookingReturn",
"selections": [{
"kind": "LinkedField",
"alias": null,
"name": "outbound",
"storageKey": null,
"args": null,
"concreteType": "Trip",
"plural": false,
"selections": v1
}]
}, {
"kind": "InlineFragment",
"type": "BookingOneWay",
"selections": [{
"kind": "LinkedField",
"alias": null,
"name": "trip",
"storageKey": null,
"args": null,
"concreteType": "Trip",
"plural": false,
"selections": v1
}]
}]
};
}();
node
/*: any*/
.hash = '75b87ca51e8302f5b6fee8efe436e3db';
module.exports = node;