@kiwicom/smart-faq
Version:
143 lines (140 loc) • 3.46 kB
JavaScript
/**
* @flow
*/
/* eslint-disable */
'use strict';
/*::
import type { ReaderFragment } from 'relay-runtime';
type BookingCardsList_bookings$ref = any;
import type { FragmentReference } from "relay-runtime";
declare export opaque type PastBookingsPaginationContainer$ref: FragmentReference;
declare export opaque type PastBookingsPaginationContainer$fragmentType: PastBookingsPaginationContainer$ref;
export type PastBookingsPaginationContainer = {|
+past: ?{|
+pageInfo: {|
+hasNextPage: boolean,
+endCursor: ?string,
|},
+edges: ?$ReadOnlyArray<?{|
+node: ?{|
+$fragmentRefs: BookingCardsList_bookings$ref
|}
|}>,
|},
+$refType: PastBookingsPaginationContainer$ref,
|};
export type PastBookingsPaginationContainer$data = PastBookingsPaginationContainer;
export type PastBookingsPaginationContainer$key = {
+$data?: PastBookingsPaginationContainer$data,
+$fragmentRefs: PastBookingsPaginationContainer$ref,
};
*/
var node
/*: ReaderFragment*/
= {
"kind": "Fragment",
"name": "PastBookingsPaginationContainer",
"type": "RootQuery",
"metadata": {
"connection": [{
"count": "first",
"cursor": "after",
"direction": "forward",
"path": ["past"]
}]
},
"argumentDefinitions": [{
"kind": "RootArgument",
"name": "first",
"type": "Int"
}, {
"kind": "RootArgument",
"name": "after",
"type": "String"
}, {
"kind": "RootArgument",
"name": "brand",
"type": "String"
}],
"selections": [{
"kind": "LinkedField",
"alias": "past",
"name": "__PastBookingsPaginationContainer_past_connection",
"storageKey": null,
"args": [{
"kind": "Variable",
"name": "brand",
"variableName": "brand"
}, {
"kind": "Literal",
"name": "only",
"value": "PAST"
}, {
"kind": "Literal",
"name": "order",
"value": "DESC"
}],
"concreteType": "BookingInterfaceConnection",
"plural": false,
"selections": [{
"kind": "LinkedField",
"alias": null,
"name": "pageInfo",
"storageKey": null,
"args": null,
"concreteType": "PageInfo",
"plural": false,
"selections": [{
"kind": "ScalarField",
"alias": null,
"name": "hasNextPage",
"args": null,
"storageKey": null
}, {
"kind": "ScalarField",
"alias": null,
"name": "endCursor",
"args": null,
"storageKey": null
}]
}, {
"kind": "LinkedField",
"alias": null,
"name": "edges",
"storageKey": null,
"args": null,
"concreteType": "BookingInterfaceEdge",
"plural": true,
"selections": [{
"kind": "LinkedField",
"alias": null,
"name": "node",
"storageKey": null,
"args": null,
"concreteType": null,
"plural": false,
"selections": [{
"kind": "ScalarField",
"alias": null,
"name": "__typename",
"args": null,
"storageKey": null
}, {
"kind": "FragmentSpread",
"name": "BookingCardsList_bookings",
"args": null
}]
}, {
"kind": "ScalarField",
"alias": null,
"name": "cursor",
"args": null,
"storageKey": null
}]
}]
}]
}; // prettier-ignore
node
/*: any*/
.hash = '98882ae55b5925aa9dad378ee32c1ffa';
module.exports = node;