@kiwicom/smart-faq
Version:
Smart FAQ
151 lines (148 loc) • 3.55 kB
JavaScript
/**
* @flow
*/
/* eslint-disable */
'use strict';
/*::
import type { ConcreteFragment } from 'relay-runtime';
type MultiCityTripMobile_booking$ref = any;
type OneWayTripMobile_booking$ref = any;
type ReturnTripMobile_booking$ref = any;
export type BookingType = ('MULTICITY' | 'ONE_WAY' | 'RETURN' | '%future added value');
import type { FragmentReference } from 'relay-runtime';
declare export opaque type MobileBookingDetail_booking$ref: FragmentReference;
export type MobileBookingDetail_booking = {|
+type: ?BookingType,
+databaseId: string,
+isPastBooking: ?boolean,
+directAccessURL: ?string,
+trip?: ?{|
+departure: ?{|
+time: ?any,
|},
|},
+outbound?: ?{|
+departure: ?{|
+time: ?any,
|},
|},
+start?: ?{|
+time: ?any,
|},
+$fragmentRefs: (OneWayTripMobile_booking$ref & ReturnTripMobile_booking$ref & MultiCityTripMobile_booking$ref),
+$refType: MobileBookingDetail_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": "MobileBookingDetail_booking",
"type": "BookingInterface",
"metadata": null,
"argumentDefinitions": [],
"selections": [{
"kind": "ScalarField",
"alias": null,
"name": "type",
"args": null,
"storageKey": null
}, {
"kind": "ScalarField",
"alias": "databaseId",
"name": "id",
"args": [{
"kind": "Literal",
"name": "opaque",
"value": false,
"type": "Boolean"
}],
"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": "BookingMulticity",
"selections": [{
"kind": "FragmentSpread",
"name": "MultiCityTripMobile_booking",
"args": null
}, {
"kind": "LinkedField",
"alias": null,
"name": "start",
"storageKey": null,
"args": null,
"concreteType": "RouteStop",
"plural": false,
"selections": v0
}]
}, {
"kind": "InlineFragment",
"type": "BookingReturn",
"selections": [{
"kind": "FragmentSpread",
"name": "ReturnTripMobile_booking",
"args": null
}, {
"kind": "LinkedField",
"alias": null,
"name": "outbound",
"storageKey": null,
"args": null,
"concreteType": "Trip",
"plural": false,
"selections": v1
}]
}, {
"kind": "InlineFragment",
"type": "BookingOneWay",
"selections": [{
"kind": "FragmentSpread",
"name": "OneWayTripMobile_booking",
"args": null
}, {
"kind": "LinkedField",
"alias": null,
"name": "trip",
"storageKey": null,
"args": null,
"concreteType": "Trip",
"plural": false,
"selections": v1
}]
}]
};
}();
node
/*: any*/
.hash = 'bb450dabade91c8a24fb9e6305888c35';
module.exports = node;