@kiwicom/smart-faq
Version:
193 lines (185 loc) • 4.54 kB
JavaScript
/**
* @flow
* @relayHash 90cdd78fd1144dc4c59f7599dfbd2215
*/
/* eslint-disable */
'use strict';
/*::
import type { ConcreteRequest } from 'relay-runtime';
type ArticleContent_article$ref = any;
export type TestRendererQueryVariables = {||};
export type TestRendererQueryResponse = {|
+ignoreThis: ?{|
+$fragmentRefs: ArticleContent_article$ref
|}
|};
export type TestRendererQuery = {|
variables: TestRendererQueryVariables,
response: TestRendererQueryResponse,
|};
*/
/*
query TestRendererQuery {
ignoreThis: FAQArticle(id: "test-id") {
...ArticleContent_article
id
}
}
fragment ArticleContent_article on FAQArticle {
...FAQContentRender_article
id
originalId: id(opaque: false)
title
perex
content
}
fragment FAQContentRender_article on FAQArticle {
articleId: id(opaque: false)
}
*/
var node
/*: ConcreteRequest*/
= function () {
var v0 = [{
"kind": "Literal",
"name": "id",
"value": "test-id"
}],
v1 = [{
"kind": "Literal",
"name": "opaque",
"value": false
}],
v2 = {
"type": "ID",
"enumValues": null,
"plural": false,
"nullable": false
},
v3 = {
"type": "String",
"enumValues": null,
"plural": false,
"nullable": true
};
return {
"kind": "Request",
"fragment": {
"kind": "Fragment",
"name": "TestRendererQuery",
"type": "RootQuery",
"metadata": null,
"argumentDefinitions": [],
"selections": [{
"kind": "LinkedField",
"alias": "ignoreThis",
"name": "FAQArticle",
"storageKey": "FAQArticle(id:\"test-id\")",
"args": v0
/*: any*/
,
"concreteType": "FAQArticle",
"plural": false,
"selections": [{
"kind": "FragmentSpread",
"name": "ArticleContent_article",
"args": null
}]
}]
},
"operation": {
"kind": "Operation",
"name": "TestRendererQuery",
"argumentDefinitions": [],
"selections": [{
"kind": "LinkedField",
"alias": "ignoreThis",
"name": "FAQArticle",
"storageKey": "FAQArticle(id:\"test-id\")",
"args": v0
/*: any*/
,
"concreteType": "FAQArticle",
"plural": false,
"selections": [{
"kind": "ScalarField",
"alias": "articleId",
"name": "id",
"args": v1
/*: any*/
,
"storageKey": "id(opaque:false)"
}, {
"kind": "ScalarField",
"alias": null,
"name": "id",
"args": null,
"storageKey": null
}, {
"kind": "ScalarField",
"alias": "originalId",
"name": "id",
"args": v1
/*: any*/
,
"storageKey": "id(opaque:false)"
}, {
"kind": "ScalarField",
"alias": null,
"name": "title",
"args": null,
"storageKey": null
}, {
"kind": "ScalarField",
"alias": null,
"name": "perex",
"args": null,
"storageKey": null
}, {
"kind": "ScalarField",
"alias": null,
"name": "content",
"args": null,
"storageKey": null
}]
}]
},
"params": {
"operationKind": "query",
"name": "TestRendererQuery",
"id": null,
"text": "query TestRendererQuery {\n ignoreThis: FAQArticle(id: \"test-id\") {\n ...ArticleContent_article\n id\n }\n}\n\nfragment ArticleContent_article on FAQArticle {\n ...FAQContentRender_article\n id\n originalId: id(opaque: false)\n title\n perex\n content\n}\n\nfragment FAQContentRender_article on FAQArticle {\n articleId: id(opaque: false)\n}\n",
"metadata": {
"relayTestingSelectionTypeInfo": {
"ignoreThis": {
"type": "FAQArticle",
"enumValues": null,
"plural": false,
"nullable": true
},
"ignoreThis.id": v2
/*: any*/
,
"ignoreThis.originalId": v2
/*: any*/
,
"ignoreThis.title": v3
/*: any*/
,
"ignoreThis.perex": v3
/*: any*/
,
"ignoreThis.content": v3
/*: any*/
,
"ignoreThis.articleId": v2
/*: any*/
}
}
}
};
}(); // prettier-ignore
node
/*: any*/
.hash = '5091d9dbf9f499f3154aaf0c78d1878a';
module.exports = node;