@kiwicom/smart-faq
Version:
178 lines (172 loc) • 3.92 kB
JavaScript
/**
* @flow
*/
/* eslint-disable */
'use strict';
/*::
import type { ReaderFragment } from 'relay-runtime';
type Multicity_booking$ref = any;
type OneWay_booking$ref = any;
type Return_booking$ref = any;
import type { FragmentReference } from "relay-runtime";
declare export opaque type MobileBookingDetail_booking$ref: FragmentReference;
declare export opaque type MobileBookingDetail_booking$fragmentType: MobileBookingDetail_booking$ref;
export type MobileBookingDetail_booking = {|
+type: string,
+databaseId: string,
+isPastBooking: ?boolean,
+directAccessURL: ?string,
+trip?: ?{|
+departure: ?{|
+time: ?any
|}
|},
+outbound?: ?{|
+departure: ?{|
+time: ?any
|}
|},
+start?: ?{|
+time: ?any
|},
+$fragmentRefs: OneWay_booking$ref & Return_booking$ref & Multicity_booking$ref,
+$refType: MobileBookingDetail_booking$ref,
|};
export type MobileBookingDetail_booking$data = MobileBookingDetail_booking;
export type MobileBookingDetail_booking$key = {
+$data?: MobileBookingDetail_booking$data,
+$fragmentRefs: MobileBookingDetail_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": "MobileBookingDetail_booking",
"type": "BookingInterface",
"metadata": null,
"argumentDefinitions": [],
"selections": [
{
"kind": "ScalarField",
"alias": "type",
"name": "__typename",
"args": null,
"storageKey": null
},
{
"kind": "ScalarField",
"alias": "databaseId",
"name": "id",
"args": [
{
"kind": "Literal",
"name": "opaque",
"value": false
}
],
"storageKey": "id(opaque:false)"
},
{
"kind": "ScalarField",
"alias": null,
"name": "isPastBooking",
"args": null,
"storageKey": null
},
{
"kind": "ScalarField",
"alias": null,
"name": "directAccessURL",
"args": null,
"storageKey": null
},
{
"kind": "InlineFragment",
"type": "BookingOneWay",
"selections": [
{
"kind": "LinkedField",
"alias": null,
"name": "trip",
"storageKey": null,
"args": null,
"concreteType": "Trip",
"plural": false,
"selections": (v1/*: any*/)
},
{
"kind": "FragmentSpread",
"name": "OneWay_booking",
"args": null
}
]
},
{
"kind": "InlineFragment",
"type": "BookingReturn",
"selections": [
{
"kind": "LinkedField",
"alias": null,
"name": "outbound",
"storageKey": null,
"args": null,
"concreteType": "Trip",
"plural": false,
"selections": (v1/*: any*/)
},
{
"kind": "FragmentSpread",
"name": "Return_booking",
"args": null
}
]
},
{
"kind": "InlineFragment",
"type": "BookingMulticity",
"selections": [
{
"kind": "LinkedField",
"alias": null,
"name": "start",
"storageKey": null,
"args": null,
"concreteType": "RouteStop",
"plural": false,
"selections": (v0/*: any*/)
},
{
"kind": "FragmentSpread",
"name": "Multicity_booking",
"args": null
}
]
}
]
};
})();
// prettier-ignore
(node/*: any*/).hash = 'c95b5a9e4a6767f265342435077368e5';
module.exports = node;