graphiql-rails 1.4.4 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/graphiql/rails/application.js +3 -3
- data/app/assets/javascripts/graphiql/rails/{graphiql-0.11.2.js → graphiql-0.11.5.js} +342 -194
- data/app/assets/javascripts/graphiql/rails/{react-15.6.1.js → react-15.6.2.js} +79 -131
- data/app/assets/javascripts/graphiql/rails/{react-dom-15.6.1.js → react-dom-15.6.2.js} +449 -708
- data/app/assets/stylesheets/graphiql/rails/application.css +1 -1
- data/app/assets/stylesheets/graphiql/rails/{graphiql-0.11.2.css → graphiql-0.11.5.css} +3 -2
- data/lib/graphiql/rails/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2aa7e8d51bfed2a4eb1701b152d514989896750
|
4
|
+
data.tar.gz: 7944a50c821672c39f064b2b07fc74e8db92eb4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c65d7928e319e439aac2b4fcebd406e018267b077bfc2d46a0e8f53a01a6d1ec1cab7a1d36faf0b26e72adf664b97054c09b6c752053513a4314ffcabed18b7f
|
7
|
+
data.tar.gz: ecb437fa829017a16ee0e1a9074cc13a086e00242e1f50c6ea0cef71bf3ea812e3c69cb4fdeb13b139614d065d1ef8ab39a4f917559bc9e0c0ccf5d9745967fb
|
@@ -1,4 +1,4 @@
|
|
1
|
-
//= require ./react-15.6.
|
2
|
-
//= require ./react-dom-15.6.
|
1
|
+
//= require ./react-15.6.2
|
2
|
+
//= require ./react-dom-15.6.2
|
3
3
|
//= require ./fetch-0.10.1
|
4
|
-
//= require ./graphiql-0.11.
|
4
|
+
//= require ./graphiql-0.11.5
|
@@ -256,7 +256,7 @@ DocExplorer.propTypes = {
|
|
256
256
|
schema: _propTypes2.default.instanceOf(_graphql.GraphQLSchema)
|
257
257
|
};
|
258
258
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
259
|
-
},{"./DocExplorer/FieldDoc":3,"./DocExplorer/SchemaDoc":5,"./DocExplorer/SearchBox":6,"./DocExplorer/SearchResults":7,"./DocExplorer/TypeDoc":8,"graphql":
|
259
|
+
},{"./DocExplorer/FieldDoc":3,"./DocExplorer/SchemaDoc":5,"./DocExplorer/SearchBox":6,"./DocExplorer/SearchResults":7,"./DocExplorer/TypeDoc":8,"graphql":93,"prop-types":173}],2:[function(require,module,exports){
|
260
260
|
(function (global){
|
261
261
|
'use strict';
|
262
262
|
|
@@ -323,7 +323,7 @@ Argument.propTypes = {
|
|
323
323
|
showDefaultValue: _propTypes2.default.bool
|
324
324
|
};
|
325
325
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
326
|
-
},{"./TypeLink":9,"graphql":
|
326
|
+
},{"./TypeLink":9,"graphql":93,"prop-types":173}],3:[function(require,module,exports){
|
327
327
|
(function (global){
|
328
328
|
'use strict';
|
329
329
|
|
@@ -451,7 +451,7 @@ FieldDoc.propTypes = {
|
|
451
451
|
};
|
452
452
|
exports.default = FieldDoc;
|
453
453
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
454
|
-
},{"./Argument":2,"./MarkdownContent":4,"./TypeLink":9,"prop-types":
|
454
|
+
},{"./Argument":2,"./MarkdownContent":4,"./TypeLink":9,"prop-types":173}],4:[function(require,module,exports){
|
455
455
|
(function (global){
|
456
456
|
'use strict';
|
457
457
|
|
@@ -526,7 +526,7 @@ MarkdownContent.propTypes = {
|
|
526
526
|
};
|
527
527
|
exports.default = MarkdownContent;
|
528
528
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
529
|
-
},{"marked":
|
529
|
+
},{"marked":168,"prop-types":173}],5:[function(require,module,exports){
|
530
530
|
(function (global){
|
531
531
|
'use strict';
|
532
532
|
|
@@ -654,7 +654,7 @@ SchemaDoc.propTypes = {
|
|
654
654
|
};
|
655
655
|
exports.default = SchemaDoc;
|
656
656
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
657
|
-
},{"./MarkdownContent":4,"./TypeLink":9,"prop-types":
|
657
|
+
},{"./MarkdownContent":4,"./TypeLink":9,"prop-types":173}],6:[function(require,module,exports){
|
658
658
|
(function (global){
|
659
659
|
'use strict';
|
660
660
|
|
@@ -745,7 +745,7 @@ SearchBox.propTypes = {
|
|
745
745
|
};
|
746
746
|
exports.default = SearchBox;
|
747
747
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
748
|
-
},{"../../utility/debounce":25,"prop-types":
|
748
|
+
},{"../../utility/debounce":25,"prop-types":173}],7:[function(require,module,exports){
|
749
749
|
(function (global){
|
750
750
|
'use strict';
|
751
751
|
|
@@ -869,7 +869,8 @@ var SearchResults = function (_React$Component) {
|
|
869
869
|
withinType !== type && [_react2.default.createElement(_TypeLink2.default, { key: 'type', type: type, onClick: onClickType }), '.'],
|
870
870
|
_react2.default.createElement(
|
871
871
|
'a',
|
872
|
-
{
|
872
|
+
{
|
873
|
+
className: 'field-name',
|
873
874
|
onClick: function onClick(event) {
|
874
875
|
return onClickField(field, type, event);
|
875
876
|
} },
|
@@ -979,7 +980,7 @@ function isMatch(sourceText, searchValue) {
|
|
979
980
|
}
|
980
981
|
}
|
981
982
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
982
|
-
},{"./Argument":2,"./TypeLink":9,"prop-types":
|
983
|
+
},{"./Argument":2,"./TypeLink":9,"prop-types":173}],8:[function(require,module,exports){
|
983
984
|
(function (global){
|
984
985
|
'use strict';
|
985
986
|
|
@@ -1130,7 +1131,9 @@ var TypeDoc = function (_React$Component) {
|
|
1130
1131
|
),
|
1131
1132
|
!this.state.showDeprecated ? _react2.default.createElement(
|
1132
1133
|
'button',
|
1133
|
-
{
|
1134
|
+
{
|
1135
|
+
className: 'show-btn',
|
1136
|
+
onClick: this.handleShowDeprecated },
|
1134
1137
|
'Show deprecated fields...'
|
1135
1138
|
) : deprecatedFields.map(function (field) {
|
1136
1139
|
return _react2.default.createElement(Field, {
|
@@ -1178,7 +1181,9 @@ var TypeDoc = function (_React$Component) {
|
|
1178
1181
|
),
|
1179
1182
|
!this.state.showDeprecated ? _react2.default.createElement(
|
1180
1183
|
'button',
|
1181
|
-
{
|
1184
|
+
{
|
1185
|
+
className: 'show-btn',
|
1186
|
+
onClick: this.handleShowDeprecated },
|
1182
1187
|
'Show deprecated values...'
|
1183
1188
|
) : deprecatedValues.map(function (value) {
|
1184
1189
|
return _react2.default.createElement(EnumValue, { key: value.name, value: value });
|
@@ -1238,11 +1243,7 @@ function Field(_ref) {
|
|
1238
1243
|
'span',
|
1239
1244
|
{ key: 'args' },
|
1240
1245
|
field.args.map(function (arg) {
|
1241
|
-
return _react2.default.createElement(_Argument2.default, {
|
1242
|
-
key: arg.name,
|
1243
|
-
arg: arg,
|
1244
|
-
onClickType: onClickType
|
1245
|
-
});
|
1246
|
+
return _react2.default.createElement(_Argument2.default, { key: arg.name, arg: arg, onClickType: onClickType });
|
1246
1247
|
})
|
1247
1248
|
), ')'],
|
1248
1249
|
': ',
|
@@ -1292,7 +1293,7 @@ EnumValue.propTypes = {
|
|
1292
1293
|
value: _propTypes2.default.object
|
1293
1294
|
};
|
1294
1295
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
1295
|
-
},{"./Argument":2,"./MarkdownContent":4,"./TypeLink":9,"graphql":
|
1296
|
+
},{"./Argument":2,"./MarkdownContent":4,"./TypeLink":9,"graphql":93,"prop-types":173}],9:[function(require,module,exports){
|
1296
1297
|
(function (global){
|
1297
1298
|
'use strict';
|
1298
1299
|
|
@@ -1384,7 +1385,7 @@ function renderType(type, _onClick) {
|
|
1384
1385
|
);
|
1385
1386
|
}
|
1386
1387
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
1387
|
-
},{"graphql":
|
1388
|
+
},{"graphql":93,"prop-types":173}],10:[function(require,module,exports){
|
1388
1389
|
(function (global){
|
1389
1390
|
'use strict';
|
1390
1391
|
|
@@ -1557,7 +1558,7 @@ ExecuteButton.propTypes = {
|
|
1557
1558
|
operations: _propTypes2.default.array
|
1558
1559
|
};
|
1559
1560
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
1560
|
-
},{"prop-types":
|
1561
|
+
},{"prop-types":173}],11:[function(require,module,exports){
|
1561
1562
|
(function (global){
|
1562
1563
|
'use strict';
|
1563
1564
|
|
@@ -1650,12 +1651,15 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|
1650
1651
|
* LICENSE file in the root directory of this source tree.
|
1651
1652
|
*/
|
1652
1653
|
|
1654
|
+
var DEFAULT_DOC_EXPLORER_WIDTH = 350;
|
1655
|
+
|
1653
1656
|
/**
|
1654
1657
|
* The top-level React component for GraphiQL, intended to encompass the entire
|
1655
1658
|
* browser viewport.
|
1656
1659
|
*
|
1657
1660
|
* @see https://github.com/graphql/graphiql#usage
|
1658
1661
|
*/
|
1662
|
+
|
1659
1663
|
var GraphiQL = exports.GraphiQL = function (_React$Component) {
|
1660
1664
|
_inherits(GraphiQL, _React$Component);
|
1661
1665
|
|
@@ -1698,7 +1702,7 @@ var GraphiQL = exports.GraphiQL = function (_React$Component) {
|
|
1698
1702
|
variableEditorHeight: Number(_this._storage.get('variableEditorHeight')) || 200,
|
1699
1703
|
docExplorerOpen: _this._storage.get('docExplorerOpen') === 'true' || false,
|
1700
1704
|
historyPaneOpen: _this._storage.get('historyPaneOpen') === 'true' || false,
|
1701
|
-
docExplorerWidth: Number(_this._storage.get('docExplorerWidth')) ||
|
1705
|
+
docExplorerWidth: Number(_this._storage.get('docExplorerWidth')) || DEFAULT_DOC_EXPLORER_WIDTH,
|
1702
1706
|
isWaitingForResponse: false,
|
1703
1707
|
subscription: null
|
1704
1708
|
}, queryFacts);
|
@@ -1825,7 +1829,7 @@ var GraphiQL = exports.GraphiQL = function (_React$Component) {
|
|
1825
1829
|
null,
|
1826
1830
|
_react2.default.createElement(_ToolbarButton.ToolbarButton, {
|
1827
1831
|
onClick: this.handlePrettifyQuery,
|
1828
|
-
title: 'Prettify Query',
|
1832
|
+
title: 'Prettify Query (Shift-Ctrl-P)',
|
1829
1833
|
label: 'Prettify'
|
1830
1834
|
}),
|
1831
1835
|
_react2.default.createElement(_ToolbarButton.ToolbarButton, {
|
@@ -1916,6 +1920,7 @@ var GraphiQL = exports.GraphiQL = function (_React$Component) {
|
|
1916
1920
|
_this3.editorBarComponent = n;
|
1917
1921
|
},
|
1918
1922
|
className: 'editorBar',
|
1923
|
+
onDoubleClick: this.handleResetResize,
|
1919
1924
|
onMouseDown: this.handleResizeStart },
|
1920
1925
|
_react2.default.createElement(
|
1921
1926
|
'div',
|
@@ -1929,6 +1934,7 @@ var GraphiQL = exports.GraphiQL = function (_React$Component) {
|
|
1929
1934
|
onEdit: this.handleEditQuery,
|
1930
1935
|
onHintInformationRender: this.handleHintInformationRender,
|
1931
1936
|
onClickReference: this.handleClickReference,
|
1937
|
+
onPrettifyQuery: this.handlePrettifyQuery,
|
1932
1938
|
onRunQuery: this.handleEditorRunQuery,
|
1933
1939
|
editorTheme: this.props.editorTheme
|
1934
1940
|
}),
|
@@ -1951,6 +1957,7 @@ var GraphiQL = exports.GraphiQL = function (_React$Component) {
|
|
1951
1957
|
variableToType: this.state.variableToType,
|
1952
1958
|
onEdit: this.handleEditVariables,
|
1953
1959
|
onHintInformationRender: this.handleHintInformationRender,
|
1960
|
+
onPrettifyQuery: this.handlePrettifyQuery,
|
1954
1961
|
onRunQuery: this.handleEditorRunQuery,
|
1955
1962
|
editorTheme: this.props.editorTheme
|
1956
1963
|
})
|
@@ -1969,7 +1976,8 @@ var GraphiQL = exports.GraphiQL = function (_React$Component) {
|
|
1969
1976
|
_this3.resultComponent = c;
|
1970
1977
|
},
|
1971
1978
|
value: this.state.response,
|
1972
|
-
editorTheme: this.props.editorTheme
|
1979
|
+
editorTheme: this.props.editorTheme,
|
1980
|
+
ResultsTooltip: this.props.ResultsTooltip
|
1973
1981
|
}),
|
1974
1982
|
footer
|
1975
1983
|
)
|
@@ -1980,6 +1988,7 @@ var GraphiQL = exports.GraphiQL = function (_React$Component) {
|
|
1980
1988
|
{ className: docExplorerWrapClasses, style: docWrapStyle },
|
1981
1989
|
_react2.default.createElement('div', {
|
1982
1990
|
className: 'docExplorerResizer',
|
1991
|
+
onDoubleClick: this.handleDocsResetResize,
|
1983
1992
|
onMouseDown: this.handleDocsResizeStart
|
1984
1993
|
}),
|
1985
1994
|
_react2.default.createElement(
|
@@ -2283,7 +2292,8 @@ GraphiQL.propTypes = {
|
|
2283
2292
|
onToggleDocs: _propTypes2.default.func,
|
2284
2293
|
getDefaultFieldNames: _propTypes2.default.func,
|
2285
2294
|
editorTheme: _propTypes2.default.string,
|
2286
|
-
onToggleHistory: _propTypes2.default.func
|
2295
|
+
onToggleHistory: _propTypes2.default.func,
|
2296
|
+
ResultsTooltip: _propTypes2.default.any
|
2287
2297
|
};
|
2288
2298
|
|
2289
2299
|
var _initialiseProps = function _initialiseProps() {
|
@@ -2487,6 +2497,10 @@ var _initialiseProps = function _initialiseProps() {
|
|
2487
2497
|
document.addEventListener('mouseup', onMouseUp);
|
2488
2498
|
};
|
2489
2499
|
|
2500
|
+
this.handleResetResize = function () {
|
2501
|
+
_this6.setState({ editorFlex: 1 });
|
2502
|
+
};
|
2503
|
+
|
2490
2504
|
this.handleDocsResizeStart = function (downEvent) {
|
2491
2505
|
downEvent.preventDefault();
|
2492
2506
|
|
@@ -2537,6 +2551,12 @@ var _initialiseProps = function _initialiseProps() {
|
|
2537
2551
|
document.addEventListener('mouseup', onMouseUp);
|
2538
2552
|
};
|
2539
2553
|
|
2554
|
+
this.handleDocsResetResize = function () {
|
2555
|
+
_this6.setState({
|
2556
|
+
docExplorerWidth: DEFAULT_DOC_EXPLORER_WIDTH
|
2557
|
+
});
|
2558
|
+
};
|
2559
|
+
|
2540
2560
|
this.handleVariableResizeStart = function (downEvent) {
|
2541
2561
|
downEvent.preventDefault();
|
2542
2562
|
|
@@ -2621,6 +2641,11 @@ GraphiQL.Toolbar = function GraphiQLToolbar(props) {
|
|
2621
2641
|
);
|
2622
2642
|
};
|
2623
2643
|
|
2644
|
+
// Export main windows/panes to be used separately if desired.
|
2645
|
+
GraphiQL.QueryEditor = _QueryEditor.QueryEditor;
|
2646
|
+
GraphiQL.VariableEditor = _VariableEditor.VariableEditor;
|
2647
|
+
GraphiQL.ResultViewer = _ResultViewer.ResultViewer;
|
2648
|
+
|
2624
2649
|
// Add a button to the Toolbar.
|
2625
2650
|
GraphiQL.Button = _ToolbarButton.ToolbarButton;
|
2626
2651
|
GraphiQL.ToolbarButton = _ToolbarButton.ToolbarButton; // Don't break existing API.
|
@@ -2645,7 +2670,7 @@ GraphiQL.Footer = function GraphiQLFooter(props) {
|
|
2645
2670
|
);
|
2646
2671
|
};
|
2647
2672
|
|
2648
|
-
var defaultQuery = '# Welcome to GraphiQL\n#\n# GraphiQL is an in-browser tool for writing, validating, and\n# testing GraphQL queries.\n#\n# Type queries into this side of the screen, and you will see intelligent\n# typeaheads aware of the current GraphQL type schema and live syntax and\n# validation errors highlighted within the text.\n#\n# GraphQL queries typically start with a "{" character. Lines that starts\n# with a # are ignored.\n#\n# An example GraphQL query might look like:\n#\n# {\n# field(arg: "value") {\n# subField\n# }\n# }\n#\n# Keyboard shortcuts:\n#\n# Run Query: Ctrl-Enter (or press the play button above)\n#\n# Auto Complete: Ctrl-Space (or just start typing)\n#\n\n';
|
2673
|
+
var defaultQuery = '# Welcome to GraphiQL\n#\n# GraphiQL is an in-browser tool for writing, validating, and\n# testing GraphQL queries.\n#\n# Type queries into this side of the screen, and you will see intelligent\n# typeaheads aware of the current GraphQL type schema and live syntax and\n# validation errors highlighted within the text.\n#\n# GraphQL queries typically start with a "{" character. Lines that starts\n# with a # are ignored.\n#\n# An example GraphQL query might look like:\n#\n# {\n# field(arg: "value") {\n# subField\n# }\n# }\n#\n# Keyboard shortcuts:\n#\n# Prettify Query: Shift-Ctrl-P (or press the prettify button above)\n#\n# Run Query: Ctrl-Enter (or press the play button above)\n#\n# Auto Complete: Ctrl-Space (or just start typing)\n#\n\n';
|
2649
2674
|
|
2650
2675
|
// Duck-type promise detection.
|
2651
2676
|
function isPromise(value) {
|
@@ -2672,7 +2697,7 @@ function isObservable(value) {
|
|
2672
2697
|
return (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && typeof value.subscribe === 'function';
|
2673
2698
|
}
|
2674
2699
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
2675
|
-
},{"../utility/CodeMirrorSizer":22,"../utility/StorageAPI":24,"../utility/debounce":25,"../utility/elementPosition":26,"../utility/fillLeafs":27,"../utility/find":28,"../utility/getQueryFacts":29,"../utility/getSelectedOperationName":30,"../utility/introspectionQueries":31,"./DocExplorer":1,"./ExecuteButton":10,"./QueryEditor":13,"./QueryHistory":14,"./ResultViewer":15,"./ToolbarButton":16,"./ToolbarGroup":17,"./ToolbarMenu":18,"./ToolbarSelect":19,"./VariableEditor":20,"graphql":
|
2700
|
+
},{"../utility/CodeMirrorSizer":22,"../utility/StorageAPI":24,"../utility/debounce":25,"../utility/elementPosition":26,"../utility/fillLeafs":27,"../utility/find":28,"../utility/getQueryFacts":29,"../utility/getSelectedOperationName":30,"../utility/introspectionQueries":31,"./DocExplorer":1,"./ExecuteButton":10,"./QueryEditor":13,"./QueryHistory":14,"./ResultViewer":15,"./ToolbarButton":16,"./ToolbarGroup":17,"./ToolbarMenu":18,"./ToolbarSelect":19,"./VariableEditor":20,"graphql":93,"prop-types":173}],12:[function(require,module,exports){
|
2676
2701
|
(function (global){
|
2677
2702
|
'use strict';
|
2678
2703
|
|
@@ -2790,7 +2815,7 @@ HistoryQuery.propTypes = {
|
|
2790
2815
|
};
|
2791
2816
|
exports.default = HistoryQuery;
|
2792
2817
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
2793
|
-
},{"prop-types":
|
2818
|
+
},{"prop-types":173}],13:[function(require,module,exports){
|
2794
2819
|
(function (global){
|
2795
2820
|
'use strict';
|
2796
2821
|
|
@@ -2847,6 +2872,7 @@ var AUTO_COMPLETE_AFTER_KEY = /^[a-zA-Z0-9_@(]$/;
|
|
2847
2872
|
* - schema: A GraphQLSchema instance enabling editor linting and hinting.
|
2848
2873
|
* - value: The text of the editor.
|
2849
2874
|
* - onEdit: A function called when the editor changes, given the edited text.
|
2875
|
+
* - readOnly: Turns the editor to read-only mode.
|
2850
2876
|
*
|
2851
2877
|
*/
|
2852
2878
|
|
@@ -2898,6 +2924,10 @@ var QueryEditor = exports.QueryEditor = function (_React$Component) {
|
|
2898
2924
|
require('codemirror/addon/edit/closebrackets');
|
2899
2925
|
require('codemirror/addon/fold/foldgutter');
|
2900
2926
|
require('codemirror/addon/fold/brace-fold');
|
2927
|
+
require('codemirror/addon/search/search');
|
2928
|
+
require('codemirror/addon/search/searchcursor');
|
2929
|
+
require('codemirror/addon/search/jump-to-line');
|
2930
|
+
require('codemirror/addon/dialog/dialog');
|
2901
2931
|
require('codemirror/addon/lint/lint');
|
2902
2932
|
require('codemirror/keymap/sublime');
|
2903
2933
|
require('codemirror-graphql/hint');
|
@@ -2916,6 +2946,7 @@ var QueryEditor = exports.QueryEditor = function (_React$Component) {
|
|
2916
2946
|
autoCloseBrackets: true,
|
2917
2947
|
matchBrackets: true,
|
2918
2948
|
showCursorWhenSelecting: true,
|
2949
|
+
readOnly: this.props.readOnly ? 'nocursor' : false,
|
2919
2950
|
foldGutter: {
|
2920
2951
|
minFoldSize: 4
|
2921
2952
|
},
|
@@ -2968,6 +2999,16 @@ var QueryEditor = exports.QueryEditor = function (_React$Component) {
|
|
2968
2999
|
}
|
2969
3000
|
},
|
2970
3001
|
|
3002
|
+
'Shift-Ctrl-P': function ShiftCtrlP() {
|
3003
|
+
if (_this2.props.onPrettifyQuery) {
|
3004
|
+
_this2.props.onPrettifyQuery();
|
3005
|
+
}
|
3006
|
+
},
|
3007
|
+
|
3008
|
+
// Persistent search box in Query Editor
|
3009
|
+
'Cmd-F': 'findPersistent',
|
3010
|
+
'Ctrl-F': 'findPersistent',
|
3011
|
+
|
2971
3012
|
// Editor improvements
|
2972
3013
|
'Ctrl-Left': 'goSubwordLeft',
|
2973
3014
|
'Ctrl-Right': 'goSubwordRight',
|
@@ -3068,13 +3109,15 @@ QueryEditor.propTypes = {
|
|
3068
3109
|
schema: _propTypes2.default.instanceOf(_graphql.GraphQLSchema),
|
3069
3110
|
value: _propTypes2.default.string,
|
3070
3111
|
onEdit: _propTypes2.default.func,
|
3112
|
+
readOnly: _propTypes2.default.boolean,
|
3071
3113
|
onHintInformationRender: _propTypes2.default.func,
|
3072
3114
|
onClickReference: _propTypes2.default.func,
|
3115
|
+
onPrettifyQuery: _propTypes2.default.func,
|
3073
3116
|
onRunQuery: _propTypes2.default.func,
|
3074
3117
|
editorTheme: _propTypes2.default.string
|
3075
3118
|
};
|
3076
3119
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
3077
|
-
},{"../utility/normalizeWhitespace":32,"../utility/onHasCompletion":33,"codemirror":
|
3120
|
+
},{"../utility/normalizeWhitespace":32,"../utility/onHasCompletion":33,"codemirror":64,"codemirror-graphql/hint":35,"codemirror-graphql/info":36,"codemirror-graphql/jump":37,"codemirror-graphql/lint":38,"codemirror-graphql/mode":39,"codemirror/addon/comment/comment":51,"codemirror/addon/dialog/dialog":52,"codemirror/addon/edit/closebrackets":53,"codemirror/addon/edit/matchbrackets":54,"codemirror/addon/fold/brace-fold":55,"codemirror/addon/fold/foldgutter":57,"codemirror/addon/hint/show-hint":58,"codemirror/addon/lint/lint":59,"codemirror/addon/search/jump-to-line":60,"codemirror/addon/search/search":61,"codemirror/addon/search/searchcursor":62,"codemirror/keymap/sublime":63,"graphql":93,"marked":168,"prop-types":173}],14:[function(require,module,exports){
|
3078
3121
|
(function (global){
|
3079
3122
|
'use strict';
|
3080
3123
|
|
@@ -3252,7 +3295,7 @@ var _initialiseProps = function _initialiseProps() {
|
|
3252
3295
|
};
|
3253
3296
|
};
|
3254
3297
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
3255
|
-
},{"../utility/QueryStore":23,"./HistoryQuery":12,"graphql":
|
3298
|
+
},{"../utility/QueryStore":23,"./HistoryQuery":12,"graphql":93,"prop-types":173}],15:[function(require,module,exports){
|
3256
3299
|
(function (global){
|
3257
3300
|
'use strict';
|
3258
3301
|
|
@@ -3267,6 +3310,10 @@ var _react = (typeof window !== "undefined" ? window['React'] : typeof global !=
|
|
3267
3310
|
|
3268
3311
|
var _react2 = _interopRequireDefault(_react);
|
3269
3312
|
|
3313
|
+
var _reactDom = (typeof window !== "undefined" ? window['ReactDOM'] : typeof global !== "undefined" ? global['ReactDOM'] : null);
|
3314
|
+
|
3315
|
+
var _reactDom2 = _interopRequireDefault(_reactDom);
|
3316
|
+
|
3270
3317
|
var _propTypes = require('prop-types');
|
3271
3318
|
|
3272
3319
|
var _propTypes2 = _interopRequireDefault(_propTypes);
|
@@ -3301,12 +3348,14 @@ var ResultViewer = exports.ResultViewer = function (_React$Component) {
|
|
3301
3348
|
function ResultViewer() {
|
3302
3349
|
_classCallCheck(this, ResultViewer);
|
3303
3350
|
|
3304
|
-
return _possibleConstructorReturn(this, (ResultViewer.__proto__ || Object.getPrototypeOf(ResultViewer)).
|
3351
|
+
return _possibleConstructorReturn(this, (ResultViewer.__proto__ || Object.getPrototypeOf(ResultViewer)).call(this));
|
3305
3352
|
}
|
3306
3353
|
|
3307
3354
|
_createClass(ResultViewer, [{
|
3308
3355
|
key: 'componentDidMount',
|
3309
3356
|
value: function componentDidMount() {
|
3357
|
+
var _this2 = this;
|
3358
|
+
|
3310
3359
|
// Lazily require to ensure requiring GraphiQL outside of a Browser context
|
3311
3360
|
// does not produce an error.
|
3312
3361
|
var CodeMirror = require('codemirror');
|
@@ -3314,9 +3363,21 @@ var ResultViewer = exports.ResultViewer = function (_React$Component) {
|
|
3314
3363
|
require('codemirror/addon/fold/brace-fold');
|
3315
3364
|
require('codemirror/addon/dialog/dialog');
|
3316
3365
|
require('codemirror/addon/search/search');
|
3366
|
+
require('codemirror/addon/search/searchcursor');
|
3367
|
+
require('codemirror/addon/search/jump-to-line');
|
3317
3368
|
require('codemirror/keymap/sublime');
|
3318
3369
|
require('codemirror-graphql/results/mode');
|
3319
3370
|
|
3371
|
+
if (this.props.ResultsTooltip) {
|
3372
|
+
require('codemirror-graphql/utils/info-addon');
|
3373
|
+
var tooltipDiv = document.createElement('div');
|
3374
|
+
CodeMirror.registerHelper('info', 'graphql-results', function (token, options, cm, pos) {
|
3375
|
+
var Tooltip = _this2.props.ResultsTooltip;
|
3376
|
+
_reactDom2.default.render(_react2.default.createElement(Tooltip, { pos: pos }), tooltipDiv);
|
3377
|
+
return tooltipDiv;
|
3378
|
+
});
|
3379
|
+
}
|
3380
|
+
|
3320
3381
|
this.viewer = CodeMirror(this._node, {
|
3321
3382
|
lineWrapping: true,
|
3322
3383
|
value: this.props.value || '',
|
@@ -3328,7 +3389,12 @@ var ResultViewer = exports.ResultViewer = function (_React$Component) {
|
|
3328
3389
|
minFoldSize: 4
|
3329
3390
|
},
|
3330
3391
|
gutters: ['CodeMirror-foldgutter'],
|
3392
|
+
info: Boolean(this.props.ResultsTooltip),
|
3331
3393
|
extraKeys: {
|
3394
|
+
// Persistent search box in Query Editor
|
3395
|
+
'Cmd-F': 'findPersistent',
|
3396
|
+
'Ctrl-F': 'findPersistent',
|
3397
|
+
|
3332
3398
|
// Editor improvements
|
3333
3399
|
'Ctrl-Left': 'goSubwordLeft',
|
3334
3400
|
'Ctrl-Right': 'goSubwordRight',
|
@@ -3355,12 +3421,12 @@ var ResultViewer = exports.ResultViewer = function (_React$Component) {
|
|
3355
3421
|
}, {
|
3356
3422
|
key: 'render',
|
3357
3423
|
value: function render() {
|
3358
|
-
var
|
3424
|
+
var _this3 = this;
|
3359
3425
|
|
3360
3426
|
return _react2.default.createElement('div', {
|
3361
3427
|
className: 'result-window',
|
3362
3428
|
ref: function ref(node) {
|
3363
|
-
|
3429
|
+
_this3._node = node;
|
3364
3430
|
}
|
3365
3431
|
});
|
3366
3432
|
}
|
@@ -3392,10 +3458,11 @@ var ResultViewer = exports.ResultViewer = function (_React$Component) {
|
|
3392
3458
|
|
3393
3459
|
ResultViewer.propTypes = {
|
3394
3460
|
value: _propTypes2.default.string,
|
3395
|
-
editorTheme: _propTypes2.default.string
|
3461
|
+
editorTheme: _propTypes2.default.string,
|
3462
|
+
ResultsTooltip: _propTypes2.default.any
|
3396
3463
|
};
|
3397
3464
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
3398
|
-
},{"codemirror":
|
3465
|
+
},{"codemirror":64,"codemirror-graphql/results/mode":40,"codemirror-graphql/utils/info-addon":45,"codemirror/addon/dialog/dialog":52,"codemirror/addon/fold/brace-fold":55,"codemirror/addon/fold/foldgutter":57,"codemirror/addon/search/jump-to-line":60,"codemirror/addon/search/search":61,"codemirror/addon/search/searchcursor":62,"codemirror/keymap/sublime":63,"prop-types":173}],16:[function(require,module,exports){
|
3399
3466
|
(function (global){
|
3400
3467
|
'use strict';
|
3401
3468
|
|
@@ -3486,7 +3553,7 @@ function preventDefault(e) {
|
|
3486
3553
|
e.preventDefault();
|
3487
3554
|
}
|
3488
3555
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
3489
|
-
},{"prop-types":
|
3556
|
+
},{"prop-types":173}],17:[function(require,module,exports){
|
3490
3557
|
(function (global){
|
3491
3558
|
"use strict";
|
3492
3559
|
|
@@ -3679,7 +3746,7 @@ function preventDefault(e) {
|
|
3679
3746
|
e.preventDefault();
|
3680
3747
|
}
|
3681
3748
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
3682
|
-
},{"prop-types":
|
3749
|
+
},{"prop-types":173}],19:[function(require,module,exports){
|
3683
3750
|
(function (global){
|
3684
3751
|
'use strict';
|
3685
3752
|
|
@@ -3839,8 +3906,7 @@ function ToolbarSelectOption(_ref) {
|
|
3839
3906
|
selected && _react2.default.createElement(
|
3840
3907
|
'svg',
|
3841
3908
|
{ width: '13', height: '13' },
|
3842
|
-
_react2.default.createElement('polygon', { points: '4.851,10.462 0,5.611 2.314,3.297 4.851,5.835 10.686,0 13,2.314 4.851,10.462'
|
3843
|
-
})
|
3909
|
+
_react2.default.createElement('polygon', { points: '4.851,10.462 0,5.611 2.314,3.297 4.851,5.835 10.686,0 13,2.314 4.851,10.462' })
|
3844
3910
|
)
|
3845
3911
|
);
|
3846
3912
|
}
|
@@ -3856,7 +3922,7 @@ function preventDefault(e) {
|
|
3856
3922
|
e.preventDefault();
|
3857
3923
|
}
|
3858
3924
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
3859
|
-
},{"prop-types":
|
3925
|
+
},{"prop-types":173}],20:[function(require,module,exports){
|
3860
3926
|
(function (global){
|
3861
3927
|
'use strict';
|
3862
3928
|
|
@@ -3903,6 +3969,7 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
|
|
3903
3969
|
* - variableToType: A mapping of variable name to GraphQLType.
|
3904
3970
|
* - value: The text of the editor.
|
3905
3971
|
* - onEdit: A function called when the editor changes, given the edited text.
|
3972
|
+
* - readOnly: Turns the editor to read-only mode.
|
3906
3973
|
*
|
3907
3974
|
*/
|
3908
3975
|
var VariableEditor = exports.VariableEditor = function (_React$Component) {
|
@@ -3958,6 +4025,9 @@ var VariableEditor = exports.VariableEditor = function (_React$Component) {
|
|
3958
4025
|
require('codemirror/addon/fold/brace-fold');
|
3959
4026
|
require('codemirror/addon/fold/foldgutter');
|
3960
4027
|
require('codemirror/addon/lint/lint');
|
4028
|
+
require('codemirror/addon/search/searchcursor');
|
4029
|
+
require('codemirror/addon/search/jump-to-line');
|
4030
|
+
require('codemirror/addon/dialog/dialog');
|
3961
4031
|
require('codemirror/keymap/sublime');
|
3962
4032
|
require('codemirror-graphql/variables/hint');
|
3963
4033
|
require('codemirror-graphql/variables/lint');
|
@@ -3973,6 +4043,7 @@ var VariableEditor = exports.VariableEditor = function (_React$Component) {
|
|
3973
4043
|
autoCloseBrackets: true,
|
3974
4044
|
matchBrackets: true,
|
3975
4045
|
showCursorWhenSelecting: true,
|
4046
|
+
readOnly: this.props.readOnly ? 'nocursor' : false,
|
3976
4047
|
foldGutter: {
|
3977
4048
|
minFoldSize: 4
|
3978
4049
|
},
|
@@ -4008,6 +4079,16 @@ var VariableEditor = exports.VariableEditor = function (_React$Component) {
|
|
4008
4079
|
}
|
4009
4080
|
},
|
4010
4081
|
|
4082
|
+
'Shift-Ctrl-P': function ShiftCtrlP() {
|
4083
|
+
if (_this2.props.onPrettifyQuery) {
|
4084
|
+
_this2.props.onPrettifyQuery();
|
4085
|
+
}
|
4086
|
+
},
|
4087
|
+
|
4088
|
+
// Persistent search box in Query Editor
|
4089
|
+
'Cmd-F': 'findPersistent',
|
4090
|
+
'Ctrl-F': 'findPersistent',
|
4091
|
+
|
4011
4092
|
// Editor improvements
|
4012
4093
|
'Ctrl-Left': 'goSubwordLeft',
|
4013
4094
|
'Ctrl-Right': 'goSubwordRight',
|
@@ -4090,12 +4171,14 @@ VariableEditor.propTypes = {
|
|
4090
4171
|
variableToType: _propTypes2.default.object,
|
4091
4172
|
value: _propTypes2.default.string,
|
4092
4173
|
onEdit: _propTypes2.default.func,
|
4174
|
+
readOnly: _propTypes2.default.boolean,
|
4093
4175
|
onHintInformationRender: _propTypes2.default.func,
|
4176
|
+
onPrettifyQuery: _propTypes2.default.func,
|
4094
4177
|
onRunQuery: _propTypes2.default.func,
|
4095
4178
|
editorTheme: _propTypes2.default.string
|
4096
4179
|
};
|
4097
4180
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
4098
|
-
},{"../utility/onHasCompletion":33,"codemirror":
|
4181
|
+
},{"../utility/onHasCompletion":33,"codemirror":64,"codemirror-graphql/variables/hint":48,"codemirror-graphql/variables/lint":49,"codemirror-graphql/variables/mode":50,"codemirror/addon/dialog/dialog":52,"codemirror/addon/edit/closebrackets":53,"codemirror/addon/edit/matchbrackets":54,"codemirror/addon/fold/brace-fold":55,"codemirror/addon/fold/foldgutter":57,"codemirror/addon/hint/show-hint":58,"codemirror/addon/lint/lint":59,"codemirror/addon/search/jump-to-line":60,"codemirror/addon/search/searchcursor":62,"codemirror/keymap/sublime":63,"prop-types":173}],21:[function(require,module,exports){
|
4099
4182
|
'use strict';
|
4100
4183
|
|
4101
4184
|
/**
|
@@ -4250,6 +4333,14 @@ var _createClass = function () { function defineProperties(target, props) { for
|
|
4250
4333
|
|
4251
4334
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
4252
4335
|
|
4336
|
+
/**
|
4337
|
+
* Copyright (c) Facebook, Inc.
|
4338
|
+
* All rights reserved.
|
4339
|
+
*
|
4340
|
+
* This source code is licensed under the license found in the
|
4341
|
+
* LICENSE file in the root directory of this source tree.
|
4342
|
+
*/
|
4343
|
+
|
4253
4344
|
var StorageAPI = function () {
|
4254
4345
|
function StorageAPI(storage) {
|
4255
4346
|
_classCallCheck(this, StorageAPI);
|
@@ -4565,7 +4656,7 @@ function getIndentation(str, index) {
|
|
4565
4656
|
}
|
4566
4657
|
return str.substring(indentStart, indentEnd);
|
4567
4658
|
}
|
4568
|
-
},{"graphql":
|
4659
|
+
},{"graphql":93}],28:[function(require,module,exports){
|
4569
4660
|
"use strict";
|
4570
4661
|
|
4571
4662
|
Object.defineProperty(exports, "__esModule", {
|
@@ -4662,7 +4753,7 @@ function collectVariables(schema, documentAST) {
|
|
4662
4753
|
});
|
4663
4754
|
return variableToType;
|
4664
4755
|
}
|
4665
|
-
},{"graphql":
|
4756
|
+
},{"graphql":93}],30:[function(require,module,exports){
|
4666
4757
|
"use strict";
|
4667
4758
|
|
4668
4759
|
Object.defineProperty(exports, "__esModule", {
|
@@ -4730,7 +4821,7 @@ Object.defineProperty(exports, 'introspectionQuery', {
|
|
4730
4821
|
// query which includes the `subscriptionType` field as the stock introspection
|
4731
4822
|
// query does. This backup query removes that field.
|
4732
4823
|
var introspectionQuerySansSubscriptions = exports.introspectionQuerySansSubscriptions = '\n query IntrospectionQuery {\n __schema {\n queryType { name }\n mutationType { name }\n types {\n ...FullType\n }\n directives {\n name\n description\n locations\n args {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n description\n fields(includeDeprecated: true) {\n name\n description\n args {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n description\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n description\n type { ...TypeRef }\n defaultValue\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n';
|
4733
|
-
},{"graphql":
|
4824
|
+
},{"graphql":93}],32:[function(require,module,exports){
|
4734
4825
|
'use strict';
|
4735
4826
|
|
4736
4827
|
Object.defineProperty(exports, "__esModule", {
|
@@ -4851,7 +4942,7 @@ function renderType(type) {
|
|
4851
4942
|
}
|
4852
4943
|
return '<a class="typeName">' + type.name + '</a>';
|
4853
4944
|
}
|
4854
|
-
},{"codemirror":
|
4945
|
+
},{"codemirror":64,"graphql":93,"marked":168}],34:[function(require,module,exports){
|
4855
4946
|
(function (global){
|
4856
4947
|
'use strict';
|
4857
4948
|
|
@@ -5345,7 +5436,7 @@ var objectKeys = Object.keys || function (obj) {
|
|
5345
5436
|
};
|
5346
5437
|
|
5347
5438
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
5348
|
-
},{"util/":
|
5439
|
+
},{"util/":177}],35:[function(require,module,exports){
|
5349
5440
|
'use strict';
|
5350
5441
|
|
5351
5442
|
var _codemirror = require('codemirror');
|
@@ -5429,7 +5520,7 @@ _codemirror2.default.registerHelper('hint', 'graphql', function (editor, options
|
|
5429
5520
|
|
5430
5521
|
return results;
|
5431
5522
|
});
|
5432
|
-
},{"codemirror":
|
5523
|
+
},{"codemirror":64,"graphql-language-service-interface":74}],36:[function(require,module,exports){
|
5433
5524
|
'use strict';
|
5434
5525
|
|
5435
5526
|
var _graphql = require('graphql');
|
@@ -5622,7 +5713,7 @@ function text(into, content, className, options, ref) {
|
|
5622
5713
|
into.appendChild(document.createTextNode(content));
|
5623
5714
|
}
|
5624
5715
|
}
|
5625
|
-
},{"./utils/SchemaReference":41,"./utils/getTypeInfo":43,"./utils/info-addon":45,"codemirror":
|
5716
|
+
},{"./utils/SchemaReference":41,"./utils/getTypeInfo":43,"./utils/info-addon":45,"codemirror":64,"graphql":93}],37:[function(require,module,exports){
|
5626
5717
|
'use strict';
|
5627
5718
|
|
5628
5719
|
var _codemirror = require('codemirror');
|
@@ -5686,7 +5777,7 @@ _codemirror2.default.registerHelper('jump', 'graphql', function (token, options)
|
|
5686
5777
|
return (0, _SchemaReference.getTypeReference)(typeInfo);
|
5687
5778
|
}
|
5688
5779
|
});
|
5689
|
-
},{"./utils/SchemaReference":41,"./utils/getTypeInfo":43,"./utils/jump-addon":47,"codemirror":
|
5780
|
+
},{"./utils/SchemaReference":41,"./utils/getTypeInfo":43,"./utils/jump-addon":47,"codemirror":64}],38:[function(require,module,exports){
|
5690
5781
|
'use strict';
|
5691
5782
|
|
5692
5783
|
var _codemirror = require('codemirror');
|
@@ -5706,7 +5797,12 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
5706
5797
|
* of patent rights can be found in the PATENTS file in the same directory.
|
5707
5798
|
*/
|
5708
5799
|
|
5709
|
-
var SEVERITY = ['
|
5800
|
+
var SEVERITY = ['error', 'warning', 'information', 'hint'];
|
5801
|
+
var TYPE = {
|
5802
|
+
'GraphQL: Validation': 'validation',
|
5803
|
+
'GraphQL: Deprecation': 'deprecation',
|
5804
|
+
'GraphQL: Syntax': 'syntax'
|
5805
|
+
};
|
5710
5806
|
|
5711
5807
|
/**
|
5712
5808
|
* Registers a "lint" helper for CodeMirror.
|
@@ -5729,16 +5825,16 @@ _codemirror2.default.registerHelper('lint', 'graphql', function (text, options)
|
|
5729
5825
|
var results = rawResults.map(function (error) {
|
5730
5826
|
return {
|
5731
5827
|
message: error.message,
|
5732
|
-
severity: SEVERITY[error.severity],
|
5733
|
-
type: error.source,
|
5734
|
-
from: error.range.start,
|
5735
|
-
to: error.range.end
|
5828
|
+
severity: SEVERITY[error.severity - 1],
|
5829
|
+
type: TYPE[error.source],
|
5830
|
+
from: _codemirror2.default.Pos(error.range.start.line, error.range.start.character),
|
5831
|
+
to: _codemirror2.default.Pos(error.range.end.line, error.range.end.character)
|
5736
5832
|
};
|
5737
5833
|
});
|
5738
5834
|
|
5739
5835
|
return results;
|
5740
5836
|
});
|
5741
|
-
},{"codemirror":
|
5837
|
+
},{"codemirror":64,"graphql-language-service-interface":74}],39:[function(require,module,exports){
|
5742
5838
|
'use strict';
|
5743
5839
|
|
5744
5840
|
var _codemirror = require('codemirror');
|
@@ -5810,7 +5906,7 @@ function indent(state, textAfter) {
|
|
5810
5906
|
var level = !levels || levels.length === 0 ? state.indentLevel : levels[levels.length - 1] - (this.electricInput.test(textAfter) ? 1 : 0);
|
5811
5907
|
return level * this.config.indentUnit;
|
5812
5908
|
}
|
5813
|
-
},{"codemirror":
|
5909
|
+
},{"codemirror":64,"graphql-language-service-parser":78}],40:[function(require,module,exports){
|
5814
5910
|
'use strict';
|
5815
5911
|
|
5816
5912
|
var _codemirror = require('codemirror');
|
@@ -5923,7 +6019,7 @@ var ParseRules = {
|
|
5923
6019
|
ObjectValue: [(0, _graphqlLanguageServiceParser.p)('{'), (0, _graphqlLanguageServiceParser.list)('ObjectField', (0, _graphqlLanguageServiceParser.p)(',')), (0, _graphqlLanguageServiceParser.p)('}')],
|
5924
6020
|
ObjectField: [(0, _graphqlLanguageServiceParser.t)('String', 'property'), (0, _graphqlLanguageServiceParser.p)(':'), 'Value']
|
5925
6021
|
};
|
5926
|
-
},{"codemirror":
|
6022
|
+
},{"codemirror":64,"graphql-language-service-parser":78}],41:[function(require,module,exports){
|
5927
6023
|
'use strict';
|
5928
6024
|
|
5929
6025
|
Object.defineProperty(exports, "__esModule", {
|
@@ -5998,7 +6094,7 @@ function getTypeReference(typeInfo, type) {
|
|
5998
6094
|
function isMetaField(fieldDef) {
|
5999
6095
|
return fieldDef.name.slice(0, 2) === '__';
|
6000
6096
|
}
|
6001
|
-
},{"graphql":
|
6097
|
+
},{"graphql":93}],42:[function(require,module,exports){
|
6002
6098
|
"use strict";
|
6003
6099
|
|
6004
6100
|
Object.defineProperty(exports, "__esModule", {
|
@@ -6166,7 +6262,7 @@ function find(array, predicate) {
|
|
6166
6262
|
}
|
6167
6263
|
}
|
6168
6264
|
}
|
6169
|
-
},{"./forEachState":42,"graphql":
|
6265
|
+
},{"./forEachState":42,"graphql":93,"graphql/type/introspection":116}],44:[function(require,module,exports){
|
6170
6266
|
'use strict';
|
6171
6267
|
|
6172
6268
|
Object.defineProperty(exports, "__esModule", {
|
@@ -6455,7 +6551,7 @@ function showPopup(cm, box, info) {
|
|
6455
6551
|
_codemirror2.default.on(popup, 'mouseout', onMouseOut);
|
6456
6552
|
_codemirror2.default.on(cm.getWrapperElement(), 'mouseout', onMouseOut);
|
6457
6553
|
}
|
6458
|
-
},{"codemirror":
|
6554
|
+
},{"codemirror":64}],46:[function(require,module,exports){
|
6459
6555
|
'use strict';
|
6460
6556
|
|
6461
6557
|
Object.defineProperty(exports, "__esModule", {
|
@@ -6923,7 +7019,7 @@ function disableJumpMode(cm) {
|
|
6923
7019
|
|
6924
7020
|
marker.clear();
|
6925
7021
|
}
|
6926
|
-
},{"codemirror":
|
7022
|
+
},{"codemirror":64}],48:[function(require,module,exports){
|
6927
7023
|
'use strict';
|
6928
7024
|
|
6929
7025
|
var _codemirror = require('codemirror');
|
@@ -7076,7 +7172,7 @@ function getTypeInfo(variableToType, tokenState) {
|
|
7076
7172
|
|
7077
7173
|
return info;
|
7078
7174
|
}
|
7079
|
-
},{"../utils/forEachState":42,"../utils/hintList":44,"codemirror":
|
7175
|
+
},{"../utils/forEachState":42,"../utils/hintList":44,"codemirror":64,"graphql":93}],49:[function(require,module,exports){
|
7080
7176
|
'use strict';
|
7081
7177
|
|
7082
7178
|
var _codemirror = require('codemirror');
|
@@ -7254,7 +7350,7 @@ function isNullish(value) {
|
|
7254
7350
|
function mapCat(array, mapper) {
|
7255
7351
|
return Array.prototype.concat.apply([], array.map(mapper));
|
7256
7352
|
}
|
7257
|
-
},{"../utils/jsonParse":46,"codemirror":
|
7353
|
+
},{"../utils/jsonParse":46,"codemirror":64,"graphql":93}],50:[function(require,module,exports){
|
7258
7354
|
'use strict';
|
7259
7355
|
|
7260
7356
|
var _codemirror = require('codemirror');
|
@@ -7380,7 +7476,7 @@ function namedKey(style) {
|
|
7380
7476
|
}
|
7381
7477
|
};
|
7382
7478
|
}
|
7383
|
-
},{"codemirror":
|
7479
|
+
},{"codemirror":64,"graphql-language-service-parser":78}],51:[function(require,module,exports){
|
7384
7480
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
7385
7481
|
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
7386
7482
|
|
@@ -7595,7 +7691,7 @@ function namedKey(style) {
|
|
7595
7691
|
});
|
7596
7692
|
});
|
7597
7693
|
|
7598
|
-
},{"../../lib/codemirror":
|
7694
|
+
},{"../../lib/codemirror":64}],52:[function(require,module,exports){
|
7599
7695
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
7600
7696
|
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
7601
7697
|
|
@@ -7754,7 +7850,7 @@ function namedKey(style) {
|
|
7754
7850
|
});
|
7755
7851
|
});
|
7756
7852
|
|
7757
|
-
},{"../../lib/codemirror":
|
7853
|
+
},{"../../lib/codemirror":64}],53:[function(require,module,exports){
|
7758
7854
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
7759
7855
|
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
7760
7856
|
|
@@ -7958,7 +8054,7 @@ function namedKey(style) {
|
|
7958
8054
|
}
|
7959
8055
|
});
|
7960
8056
|
|
7961
|
-
},{"../../lib/codemirror":
|
8057
|
+
},{"../../lib/codemirror":64}],54:[function(require,module,exports){
|
7962
8058
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
7963
8059
|
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
7964
8060
|
|
@@ -8100,7 +8196,7 @@ function namedKey(style) {
|
|
8100
8196
|
});
|
8101
8197
|
});
|
8102
8198
|
|
8103
|
-
},{"../../lib/codemirror":
|
8199
|
+
},{"../../lib/codemirror":64}],55:[function(require,module,exports){
|
8104
8200
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
8105
8201
|
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
8106
8202
|
|
@@ -8207,7 +8303,7 @@ CodeMirror.registerHelper("fold", "include", function(cm, start) {
|
|
8207
8303
|
|
8208
8304
|
});
|
8209
8305
|
|
8210
|
-
},{"../../lib/codemirror":
|
8306
|
+
},{"../../lib/codemirror":64}],56:[function(require,module,exports){
|
8211
8307
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
8212
8308
|
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
8213
8309
|
|
@@ -8359,7 +8455,7 @@ CodeMirror.registerHelper("fold", "include", function(cm, start) {
|
|
8359
8455
|
});
|
8360
8456
|
});
|
8361
8457
|
|
8362
|
-
},{"../../lib/codemirror":
|
8458
|
+
},{"../../lib/codemirror":64}],57:[function(require,module,exports){
|
8363
8459
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
8364
8460
|
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
8365
8461
|
|
@@ -8507,7 +8603,7 @@ CodeMirror.registerHelper("fold", "include", function(cm, start) {
|
|
8507
8603
|
}
|
8508
8604
|
});
|
8509
8605
|
|
8510
|
-
},{"../../lib/codemirror":
|
8606
|
+
},{"../../lib/codemirror":64,"./foldcode":56}],58:[function(require,module,exports){
|
8511
8607
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
8512
8608
|
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
8513
8609
|
|
@@ -8947,7 +9043,7 @@ CodeMirror.registerHelper("fold", "include", function(cm, start) {
|
|
8947
9043
|
CodeMirror.defineOption("hintOptions", null);
|
8948
9044
|
});
|
8949
9045
|
|
8950
|
-
},{"../../lib/codemirror":
|
9046
|
+
},{"../../lib/codemirror":64}],59:[function(require,module,exports){
|
8951
9047
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
8952
9048
|
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
8953
9049
|
|
@@ -9193,7 +9289,58 @@ CodeMirror.registerHelper("fold", "include", function(cm, start) {
|
|
9193
9289
|
});
|
9194
9290
|
});
|
9195
9291
|
|
9196
|
-
},{"../../lib/codemirror":
|
9292
|
+
},{"../../lib/codemirror":64}],60:[function(require,module,exports){
|
9293
|
+
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
9294
|
+
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
9295
|
+
|
9296
|
+
// Defines jumpToLine command. Uses dialog.js if present.
|
9297
|
+
|
9298
|
+
(function(mod) {
|
9299
|
+
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
9300
|
+
mod(require("../../lib/codemirror"), require("../dialog/dialog"));
|
9301
|
+
else if (typeof define == "function" && define.amd) // AMD
|
9302
|
+
define(["../../lib/codemirror", "../dialog/dialog"], mod);
|
9303
|
+
else // Plain browser env
|
9304
|
+
mod(CodeMirror);
|
9305
|
+
})(function(CodeMirror) {
|
9306
|
+
"use strict";
|
9307
|
+
|
9308
|
+
function dialog(cm, text, shortText, deflt, f) {
|
9309
|
+
if (cm.openDialog) cm.openDialog(text, f, {value: deflt, selectValueOnOpen: true});
|
9310
|
+
else f(prompt(shortText, deflt));
|
9311
|
+
}
|
9312
|
+
|
9313
|
+
var jumpDialog =
|
9314
|
+
'Jump to line: <input type="text" style="width: 10em" class="CodeMirror-search-field"/> <span style="color: #888" class="CodeMirror-search-hint">(Use line:column or scroll% syntax)</span>';
|
9315
|
+
|
9316
|
+
function interpretLine(cm, string) {
|
9317
|
+
var num = Number(string)
|
9318
|
+
if (/^[-+]/.test(string)) return cm.getCursor().line + num
|
9319
|
+
else return num - 1
|
9320
|
+
}
|
9321
|
+
|
9322
|
+
CodeMirror.commands.jumpToLine = function(cm) {
|
9323
|
+
var cur = cm.getCursor();
|
9324
|
+
dialog(cm, jumpDialog, "Jump to line:", (cur.line + 1) + ":" + cur.ch, function(posStr) {
|
9325
|
+
if (!posStr) return;
|
9326
|
+
|
9327
|
+
var match;
|
9328
|
+
if (match = /^\s*([\+\-]?\d+)\s*\:\s*(\d+)\s*$/.exec(posStr)) {
|
9329
|
+
cm.setCursor(interpretLine(cm, match[1]), Number(match[2]))
|
9330
|
+
} else if (match = /^\s*([\+\-]?\d+(\.\d+)?)\%\s*/.exec(posStr)) {
|
9331
|
+
var line = Math.round(cm.lineCount() * Number(match[1]) / 100);
|
9332
|
+
if (/^[-+]/.test(match[1])) line = cur.line + line + 1;
|
9333
|
+
cm.setCursor(line - 1, cur.ch);
|
9334
|
+
} else if (match = /^\s*\:?\s*([\+\-]?\d+)\s*/.exec(posStr)) {
|
9335
|
+
cm.setCursor(interpretLine(cm, match[1]), cur.ch);
|
9336
|
+
}
|
9337
|
+
});
|
9338
|
+
};
|
9339
|
+
|
9340
|
+
CodeMirror.keyMap["default"]["Alt-G"] = "jumpToLine";
|
9341
|
+
});
|
9342
|
+
|
9343
|
+
},{"../../lib/codemirror":64,"../dialog/dialog":52}],61:[function(require,module,exports){
|
9197
9344
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
9198
9345
|
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
9199
9346
|
|
@@ -9447,7 +9594,7 @@ CodeMirror.registerHelper("fold", "include", function(cm, start) {
|
|
9447
9594
|
CodeMirror.commands.replaceAll = function(cm) {replace(cm, true);};
|
9448
9595
|
});
|
9449
9596
|
|
9450
|
-
},{"../../lib/codemirror":
|
9597
|
+
},{"../../lib/codemirror":64,"../dialog/dialog":52,"./searchcursor":62}],62:[function(require,module,exports){
|
9451
9598
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
9452
9599
|
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
9453
9600
|
|
@@ -9736,7 +9883,7 @@ CodeMirror.registerHelper("fold", "include", function(cm, start) {
|
|
9736
9883
|
})
|
9737
9884
|
});
|
9738
9885
|
|
9739
|
-
},{"../../lib/codemirror":
|
9886
|
+
},{"../../lib/codemirror":64}],63:[function(require,module,exports){
|
9740
9887
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
9741
9888
|
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
9742
9889
|
|
@@ -10334,7 +10481,7 @@ CodeMirror.registerHelper("fold", "include", function(cm, start) {
|
|
10334
10481
|
CodeMirror.normalizeKeyMap(map);
|
10335
10482
|
});
|
10336
10483
|
|
10337
|
-
},{"../addon/edit/matchbrackets":54,"../addon/search/searchcursor":
|
10484
|
+
},{"../addon/edit/matchbrackets":54,"../addon/search/searchcursor":62,"../lib/codemirror":64}],64:[function(require,module,exports){
|
10338
10485
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
10339
10486
|
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
10340
10487
|
|
@@ -19835,7 +19982,7 @@ return CodeMirror$1;
|
|
19835
19982
|
|
19836
19983
|
})));
|
19837
19984
|
|
19838
|
-
},{}],
|
19985
|
+
},{}],65:[function(require,module,exports){
|
19839
19986
|
"use strict";
|
19840
19987
|
|
19841
19988
|
/**
|
@@ -19874,7 +20021,7 @@ emptyFunction.thatReturnsArgument = function (arg) {
|
|
19874
20021
|
};
|
19875
20022
|
|
19876
20023
|
module.exports = emptyFunction;
|
19877
|
-
},{}],
|
20024
|
+
},{}],66:[function(require,module,exports){
|
19878
20025
|
(function (process){
|
19879
20026
|
/**
|
19880
20027
|
* Copyright (c) 2013-present, Facebook, Inc.
|
@@ -19932,7 +20079,7 @@ function invariant(condition, format, a, b, c, d, e, f) {
|
|
19932
20079
|
|
19933
20080
|
module.exports = invariant;
|
19934
20081
|
}).call(this,require('_process'))
|
19935
|
-
},{"_process":
|
20082
|
+
},{"_process":169}],67:[function(require,module,exports){
|
19936
20083
|
(function (process){
|
19937
20084
|
/**
|
19938
20085
|
* Copyright 2014-2015, Facebook, Inc.
|
@@ -20001,7 +20148,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
20001
20148
|
|
20002
20149
|
module.exports = warning;
|
20003
20150
|
}).call(this,require('_process'))
|
20004
|
-
},{"./emptyFunction":
|
20151
|
+
},{"./emptyFunction":65,"_process":169}],68:[function(require,module,exports){
|
20005
20152
|
'use strict';
|
20006
20153
|
|
20007
20154
|
Object.defineProperty(exports, "__esModule", {
|
@@ -20083,11 +20230,13 @@ var GraphQLLanguageService = exports.GraphQLLanguageService = function () {
|
|
20083
20230
|
customRulesModulePath = this._graphQLConfig.getCustomValidationRulesModulePath(appName);
|
20084
20231
|
|
20085
20232
|
if (customRulesModulePath) {
|
20086
|
-
|
20233
|
+
/* eslint-disable no-implicit-coercion */
|
20234
|
+
rulesPath = require.resolve('' + customRulesModulePath);
|
20087
20235
|
|
20088
20236
|
if (rulesPath) {
|
20089
|
-
customRules = require(rulesPath)(this._graphQLConfig);
|
20237
|
+
customRules = require('' + rulesPath)(this._graphQLConfig);
|
20090
20238
|
}
|
20239
|
+
/* eslint-enable no-implicit-coercion */
|
20091
20240
|
}
|
20092
20241
|
|
20093
20242
|
case 18:
|
@@ -20231,7 +20380,7 @@ var GraphQLLanguageService = exports.GraphQLLanguageService = function () {
|
|
20231
20380
|
|
20232
20381
|
return GraphQLLanguageService;
|
20233
20382
|
}();
|
20234
|
-
},{"./getAutocompleteSuggestions":
|
20383
|
+
},{"./getAutocompleteSuggestions":70,"./getDefinition":71,"./getDiagnostics":72,"graphql":93,"graphql-language-service-utils":82,"graphql/language/kinds":103}],69:[function(require,module,exports){
|
20235
20384
|
'use strict';
|
20236
20385
|
|
20237
20386
|
Object.defineProperty(exports, "__esModule", {
|
@@ -20421,7 +20570,7 @@ function lexicalDistance(a, b) {
|
|
20421
20570
|
|
20422
20571
|
return d[aLength][bLength];
|
20423
20572
|
}
|
20424
|
-
},{"graphql":
|
20573
|
+
},{"graphql":93,"graphql/type/introspection":116}],70:[function(require,module,exports){
|
20425
20574
|
'use strict';
|
20426
20575
|
|
20427
20576
|
Object.defineProperty(exports, "__esModule", {
|
@@ -20955,7 +21104,7 @@ function find(array, predicate) {
|
|
20955
21104
|
}
|
20956
21105
|
return null;
|
20957
21106
|
}
|
20958
|
-
},{"./autocompleteUtils":
|
21107
|
+
},{"./autocompleteUtils":69,"graphql":93,"graphql-language-service-parser":78}],71:[function(require,module,exports){
|
20959
21108
|
(function (process){
|
20960
21109
|
'use strict';
|
20961
21110
|
|
@@ -21010,7 +21159,7 @@ function getDefinitionQueryResultForFragmentSpread(text, fragment, dependencies)
|
|
21010
21159
|
return definition.name.value === name;
|
21011
21160
|
});
|
21012
21161
|
|
21013
|
-
if (!(defNodes ===
|
21162
|
+
if (!(defNodes.length === 0)) {
|
21014
21163
|
_context.next = 5;
|
21015
21164
|
break;
|
21016
21165
|
}
|
@@ -21061,7 +21210,7 @@ function getDefinitionForFragmentDefinition(path, text, definition) {
|
|
21061
21210
|
};
|
21062
21211
|
}
|
21063
21212
|
}).call(this,require('_process'))
|
21064
|
-
},{"_process":
|
21213
|
+
},{"_process":169,"assert":34,"graphql-language-service-utils":82}],72:[function(require,module,exports){
|
21065
21214
|
'use strict';
|
21066
21215
|
|
21067
21216
|
Object.defineProperty(exports, "__esModule", {
|
@@ -21199,7 +21348,7 @@ function getRange(location, queryText) {
|
|
21199
21348
|
|
21200
21349
|
return new _graphqlLanguageServiceUtils.Range(new _graphqlLanguageServiceUtils.Position(line, start), new _graphqlLanguageServiceUtils.Position(line, end));
|
21201
21350
|
}
|
21202
|
-
},{"assert":34,"graphql":
|
21351
|
+
},{"assert":34,"graphql":93,"graphql-language-service-parser":78,"graphql-language-service-utils":82}],73:[function(require,module,exports){
|
21203
21352
|
'use strict';
|
21204
21353
|
|
21205
21354
|
Object.defineProperty(exports, "__esModule", {
|
@@ -21318,7 +21467,7 @@ function concatMap(arr, fn) {
|
|
21318
21467
|
}
|
21319
21468
|
return res;
|
21320
21469
|
}
|
21321
|
-
},{"graphql":
|
21470
|
+
},{"graphql":93,"graphql-language-service-utils":82,"graphql/language/kinds":103}],74:[function(require,module,exports){
|
21322
21471
|
'use strict';
|
21323
21472
|
|
21324
21473
|
Object.defineProperty(exports, "__esModule", {
|
@@ -21414,7 +21563,7 @@ Object.defineProperty(exports, 'GraphQLLanguageService', {
|
|
21414
21563
|
return _GraphQLLanguageService.GraphQLLanguageService;
|
21415
21564
|
}
|
21416
21565
|
});
|
21417
|
-
},{"./GraphQLLanguageService":
|
21566
|
+
},{"./GraphQLLanguageService":68,"./autocompleteUtils":69,"./getAutocompleteSuggestions":70,"./getDefinition":71,"./getDiagnostics":72,"./getOutline":73}],75:[function(require,module,exports){
|
21418
21567
|
'use strict';
|
21419
21568
|
|
21420
21569
|
Object.defineProperty(exports, "__esModule", {
|
@@ -21602,7 +21751,7 @@ var CharacterStream = function () {
|
|
21602
21751
|
*/
|
21603
21752
|
|
21604
21753
|
exports.default = CharacterStream;
|
21605
|
-
},{}],
|
21754
|
+
},{}],76:[function(require,module,exports){
|
21606
21755
|
'use strict';
|
21607
21756
|
|
21608
21757
|
Object.defineProperty(exports, "__esModule", {
|
@@ -21668,7 +21817,7 @@ function p(value, style) {
|
|
21668
21817
|
}
|
21669
21818
|
};
|
21670
21819
|
}
|
21671
|
-
},{}],
|
21820
|
+
},{}],77:[function(require,module,exports){
|
21672
21821
|
'use strict';
|
21673
21822
|
|
21674
21823
|
Object.defineProperty(exports, "__esModule", {
|
@@ -21883,7 +22032,7 @@ function type(style) {
|
|
21883
22032
|
}
|
21884
22033
|
};
|
21885
22034
|
}
|
21886
|
-
},{"./RuleHelpers":
|
22035
|
+
},{"./RuleHelpers":76}],78:[function(require,module,exports){
|
21887
22036
|
'use strict';
|
21888
22037
|
|
21889
22038
|
Object.defineProperty(exports, "__esModule", {
|
@@ -21963,7 +22112,7 @@ Object.defineProperty(exports, 'onlineParser', {
|
|
21963
22112
|
});
|
21964
22113
|
|
21965
22114
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
21966
|
-
},{"./CharacterStream":
|
22115
|
+
},{"./CharacterStream":75,"./RuleHelpers":76,"./Rules":77,"./onlineParser":79}],79:[function(require,module,exports){
|
21967
22116
|
'use strict';
|
21968
22117
|
|
21969
22118
|
Object.defineProperty(exports, "__esModule", {
|
@@ -22260,7 +22409,7 @@ function lex(lexRules, stream) {
|
|
22260
22409
|
}
|
22261
22410
|
}
|
22262
22411
|
}
|
22263
|
-
},{"./Rules":
|
22412
|
+
},{"./Rules":77}],80:[function(require,module,exports){
|
22264
22413
|
'use strict';
|
22265
22414
|
|
22266
22415
|
Object.defineProperty(exports, "__esModule", {
|
@@ -22292,10 +22441,8 @@ var Range = exports.Range = function () {
|
|
22292
22441
|
return _this.start.character <= position.character;
|
22293
22442
|
} else if (_this.end.line === position.line) {
|
22294
22443
|
return _this.end.character >= position.character;
|
22295
|
-
} else if (_this.start.line > position.line || _this.end.line < position.line) {
|
22296
|
-
return false;
|
22297
22444
|
} else {
|
22298
|
-
return
|
22445
|
+
return _this.start.line <= position.line && _this.end.line >= position.line;
|
22299
22446
|
}
|
22300
22447
|
};
|
22301
22448
|
|
@@ -22352,7 +22499,7 @@ function locToRange(text, loc) {
|
|
22352
22499
|
var end = offsetToPosition(text, loc.end);
|
22353
22500
|
return new Range(start, end);
|
22354
22501
|
}
|
22355
|
-
},{}],
|
22502
|
+
},{}],81:[function(require,module,exports){
|
22356
22503
|
'use strict';
|
22357
22504
|
|
22358
22505
|
Object.defineProperty(exports, "__esModule", {
|
@@ -22398,11 +22545,12 @@ function pointToOffset(text, point) {
|
|
22398
22545
|
var linesUntilPosition = text.split('\n').slice(0, point.line);
|
22399
22546
|
return point.character + linesUntilPosition.map(function (line) {
|
22400
22547
|
return line.length + 1;
|
22401
|
-
}
|
22548
|
+
} // count EOL
|
22549
|
+
).reduce(function (a, b) {
|
22402
22550
|
return a + b;
|
22403
22551
|
}, 0);
|
22404
22552
|
}
|
22405
|
-
},{"./Range":
|
22553
|
+
},{"./Range":80,"graphql":93}],82:[function(require,module,exports){
|
22406
22554
|
'use strict';
|
22407
22555
|
|
22408
22556
|
Object.defineProperty(exports, "__esModule", {
|
@@ -22459,7 +22607,7 @@ Object.defineProperty(exports, 'validateWithCustomRules', {
|
|
22459
22607
|
return _validateWithCustomRules.validateWithCustomRules;
|
22460
22608
|
}
|
22461
22609
|
});
|
22462
|
-
},{"./Range":
|
22610
|
+
},{"./Range":80,"./getASTNodeAtPosition":81,"./validateWithCustomRules":83}],83:[function(require,module,exports){
|
22463
22611
|
'use strict';
|
22464
22612
|
|
22465
22613
|
Object.defineProperty(exports, "__esModule", {
|
@@ -22504,7 +22652,7 @@ function validateWithCustomRules(schema, ast, customRules) {
|
|
22504
22652
|
*
|
22505
22653
|
*
|
22506
22654
|
*/
|
22507
|
-
},{"graphql":
|
22655
|
+
},{"graphql":93,"graphql/validation/rules/NoUnusedFragments":150}],84:[function(require,module,exports){
|
22508
22656
|
'use strict';
|
22509
22657
|
|
22510
22658
|
Object.defineProperty(exports, "__esModule", {
|
@@ -22620,7 +22768,7 @@ GraphQLError.prototype = Object.create(Error.prototype, {
|
|
22620
22768
|
constructor: { value: GraphQLError },
|
22621
22769
|
name: { value: 'GraphQLError' }
|
22622
22770
|
});
|
22623
|
-
},{"../language/location":
|
22771
|
+
},{"../language/location":105}],85:[function(require,module,exports){
|
22624
22772
|
'use strict';
|
22625
22773
|
|
22626
22774
|
Object.defineProperty(exports, "__esModule", {
|
@@ -22654,7 +22802,7 @@ function formatError(error) {
|
|
22654
22802
|
* LICENSE file in the root directory of this source tree. An additional grant
|
22655
22803
|
* of patent rights can be found in the PATENTS file in the same directory.
|
22656
22804
|
*/
|
22657
|
-
},{"../jsutils/invariant":
|
22805
|
+
},{"../jsutils/invariant":95}],86:[function(require,module,exports){
|
22658
22806
|
'use strict';
|
22659
22807
|
|
22660
22808
|
Object.defineProperty(exports, "__esModule", {
|
@@ -22696,7 +22844,7 @@ Object.defineProperty(exports, 'formatError', {
|
|
22696
22844
|
return _formatError.formatError;
|
22697
22845
|
}
|
22698
22846
|
});
|
22699
|
-
},{"./GraphQLError":
|
22847
|
+
},{"./GraphQLError":84,"./formatError":85,"./locatedError":87,"./syntaxError":88}],87:[function(require,module,exports){
|
22700
22848
|
'use strict';
|
22701
22849
|
|
22702
22850
|
Object.defineProperty(exports, "__esModule", {
|
@@ -22729,7 +22877,7 @@ function locatedError(originalError, nodes, path) {
|
|
22729
22877
|
* LICENSE file in the root directory of this source tree. An additional grant
|
22730
22878
|
* of patent rights can be found in the PATENTS file in the same directory.
|
22731
22879
|
*/
|
22732
|
-
},{"./GraphQLError":
|
22880
|
+
},{"./GraphQLError":84}],88:[function(require,module,exports){
|
22733
22881
|
'use strict';
|
22734
22882
|
|
22735
22883
|
Object.defineProperty(exports, "__esModule", {
|
@@ -22778,7 +22926,7 @@ function highlightSourceAtLocation(source, location) {
|
|
22778
22926
|
function lpad(len, str) {
|
22779
22927
|
return Array(len - str.length + 1).join(' ') + str;
|
22780
22928
|
}
|
22781
|
-
},{"../language/location":
|
22929
|
+
},{"../language/location":105,"./GraphQLError":84}],89:[function(require,module,exports){
|
22782
22930
|
'use strict';
|
22783
22931
|
|
22784
22932
|
Object.defineProperty(exports, "__esModule", {
|
@@ -23608,7 +23756,7 @@ function getFieldDef(schema, parentType, fieldName) {
|
|
23608
23756
|
}
|
23609
23757
|
return parentType.getFields()[fieldName];
|
23610
23758
|
}
|
23611
|
-
},{"../error":
|
23759
|
+
},{"../error":86,"../jsutils/invariant":95,"../jsutils/isNullish":97,"../language/kinds":103,"../type/definition":113,"../type/directives":114,"../type/introspection":116,"../type/schema":118,"../utilities/typeFromAST":136,"./values":91,"iterall":167}],90:[function(require,module,exports){
|
23612
23760
|
'use strict';
|
23613
23761
|
|
23614
23762
|
Object.defineProperty(exports, "__esModule", {
|
@@ -23644,7 +23792,7 @@ Object.defineProperty(exports, 'getDirectiveValues', {
|
|
23644
23792
|
return _values.getDirectiveValues;
|
23645
23793
|
}
|
23646
23794
|
});
|
23647
|
-
},{"./execute":
|
23795
|
+
},{"./execute":89,"./values":91}],91:[function(require,module,exports){
|
23648
23796
|
'use strict';
|
23649
23797
|
|
23650
23798
|
Object.defineProperty(exports, "__esModule", {
|
@@ -23902,7 +24050,7 @@ function coerceValue(type, value) {
|
|
23902
24050
|
|
23903
24051
|
return parsed;
|
23904
24052
|
}
|
23905
|
-
},{"../error":
|
24053
|
+
},{"../error":86,"../jsutils/find":94,"../jsutils/invariant":95,"../jsutils/isInvalid":96,"../jsutils/isNullish":97,"../jsutils/keyMap":98,"../language/kinds":103,"../language/printer":107,"../type/definition":113,"../utilities/isValidJSValue":131,"../utilities/isValidLiteralValue":132,"../utilities/typeFromAST":136,"../utilities/valueFromAST":137,"iterall":167}],92:[function(require,module,exports){
|
23906
24054
|
'use strict';
|
23907
24055
|
|
23908
24056
|
Object.defineProperty(exports, "__esModule", {
|
@@ -23983,7 +24131,7 @@ function graphqlImpl(schema, source, rootValue, contextValue, variableValues, op
|
|
23983
24131
|
resolve((0, _execute.execute)(schema, document, rootValue, contextValue, variableValues, operationName, fieldResolver));
|
23984
24132
|
});
|
23985
24133
|
}
|
23986
|
-
},{"./execution/execute":
|
24134
|
+
},{"./execution/execute":89,"./language/parser":106,"./validation/validate":166}],93:[function(require,module,exports){
|
23987
24135
|
'use strict';
|
23988
24136
|
|
23989
24137
|
Object.defineProperty(exports, "__esModule", {
|
@@ -24763,7 +24911,7 @@ Object.defineProperty(exports, 'findDeprecatedUsages', {
|
|
24763
24911
|
return _utilities.findDeprecatedUsages;
|
24764
24912
|
}
|
24765
24913
|
});
|
24766
|
-
},{"./error":
|
24914
|
+
},{"./error":86,"./execution":90,"./graphql":92,"./language":102,"./subscription":110,"./type":115,"./utilities":129,"./validation":138}],94:[function(require,module,exports){
|
24767
24915
|
"use strict";
|
24768
24916
|
|
24769
24917
|
Object.defineProperty(exports, "__esModule", {
|
@@ -24787,7 +24935,7 @@ function find(list, predicate) {
|
|
24787
24935
|
}
|
24788
24936
|
}
|
24789
24937
|
}
|
24790
|
-
},{}],
|
24938
|
+
},{}],95:[function(require,module,exports){
|
24791
24939
|
"use strict";
|
24792
24940
|
|
24793
24941
|
Object.defineProperty(exports, "__esModule", {
|
@@ -24809,7 +24957,7 @@ function invariant(condition, message) {
|
|
24809
24957
|
throw new Error(message);
|
24810
24958
|
}
|
24811
24959
|
}
|
24812
|
-
},{}],
|
24960
|
+
},{}],96:[function(require,module,exports){
|
24813
24961
|
"use strict";
|
24814
24962
|
|
24815
24963
|
Object.defineProperty(exports, "__esModule", {
|
@@ -24832,7 +24980,7 @@ exports.default = isInvalid;
|
|
24832
24980
|
function isInvalid(value) {
|
24833
24981
|
return value === undefined || value !== value;
|
24834
24982
|
}
|
24835
|
-
},{}],
|
24983
|
+
},{}],97:[function(require,module,exports){
|
24836
24984
|
"use strict";
|
24837
24985
|
|
24838
24986
|
Object.defineProperty(exports, "__esModule", {
|
@@ -24855,7 +25003,7 @@ exports.default = isNullish;
|
|
24855
25003
|
function isNullish(value) {
|
24856
25004
|
return value === null || value === undefined || value !== value;
|
24857
25005
|
}
|
24858
|
-
},{}],
|
25006
|
+
},{}],98:[function(require,module,exports){
|
24859
25007
|
"use strict";
|
24860
25008
|
|
24861
25009
|
Object.defineProperty(exports, "__esModule", {
|
@@ -24900,7 +25048,7 @@ function keyMap(list, keyFn) {
|
|
24900
25048
|
return map[keyFn(item)] = item, map;
|
24901
25049
|
}, Object.create(null));
|
24902
25050
|
}
|
24903
|
-
},{}],
|
25051
|
+
},{}],99:[function(require,module,exports){
|
24904
25052
|
"use strict";
|
24905
25053
|
|
24906
25054
|
Object.defineProperty(exports, "__esModule", {
|
@@ -24939,7 +25087,7 @@ function keyValMap(list, keyFn, valFn) {
|
|
24939
25087
|
return map[keyFn(item)] = valFn(item), map;
|
24940
25088
|
}, Object.create(null));
|
24941
25089
|
}
|
24942
|
-
},{}],
|
25090
|
+
},{}],100:[function(require,module,exports){
|
24943
25091
|
'use strict';
|
24944
25092
|
|
24945
25093
|
Object.defineProperty(exports, "__esModule", {
|
@@ -24969,7 +25117,7 @@ function quotedOrList(items) {
|
|
24969
25117
|
return list + (selected.length > 2 ? ', ' : ' ') + (index === selected.length - 1 ? 'or ' : '') + quoted;
|
24970
25118
|
});
|
24971
25119
|
}
|
24972
|
-
},{}],
|
25120
|
+
},{}],101:[function(require,module,exports){
|
24973
25121
|
"use strict";
|
24974
25122
|
|
24975
25123
|
Object.defineProperty(exports, "__esModule", {
|
@@ -25049,7 +25197,7 @@ function lexicalDistance(a, b) {
|
|
25049
25197
|
|
25050
25198
|
return d[aLength][bLength];
|
25051
25199
|
}
|
25052
|
-
},{}],
|
25200
|
+
},{}],102:[function(require,module,exports){
|
25053
25201
|
'use strict';
|
25054
25202
|
|
25055
25203
|
Object.defineProperty(exports, "__esModule", {
|
@@ -25160,7 +25308,7 @@ var Kind = _interopRequireWildcard(_kinds);
|
|
25160
25308
|
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
|
25161
25309
|
|
25162
25310
|
exports.Kind = Kind;
|
25163
|
-
},{"./kinds":
|
25311
|
+
},{"./kinds":103,"./lexer":104,"./location":105,"./parser":106,"./printer":107,"./source":108,"./visitor":109}],103:[function(require,module,exports){
|
25164
25312
|
'use strict';
|
25165
25313
|
|
25166
25314
|
Object.defineProperty(exports, "__esModule", {
|
@@ -25242,7 +25390,7 @@ var TYPE_EXTENSION_DEFINITION = exports.TYPE_EXTENSION_DEFINITION = 'TypeExtensi
|
|
25242
25390
|
// Directive Definitions
|
25243
25391
|
|
25244
25392
|
var DIRECTIVE_DEFINITION = exports.DIRECTIVE_DEFINITION = 'DirectiveDefinition';
|
25245
|
-
},{}],
|
25393
|
+
},{}],104:[function(require,module,exports){
|
25246
25394
|
'use strict';
|
25247
25395
|
|
25248
25396
|
Object.defineProperty(exports, "__esModule", {
|
@@ -25745,7 +25893,7 @@ function readName(source, position, line, col, prev) {
|
|
25745
25893
|
}
|
25746
25894
|
return new Tok(NAME, position, end, line, col, prev, slice.call(body, position, end));
|
25747
25895
|
}
|
25748
|
-
},{"../error":
|
25896
|
+
},{"../error":86}],105:[function(require,module,exports){
|
25749
25897
|
'use strict';
|
25750
25898
|
|
25751
25899
|
Object.defineProperty(exports, "__esModule", {
|
@@ -25783,7 +25931,7 @@ function getLocation(source, position) {
|
|
25783
25931
|
/**
|
25784
25932
|
* Represents a location in a Source.
|
25785
25933
|
*/
|
25786
|
-
},{}],
|
25934
|
+
},{}],106:[function(require,module,exports){
|
25787
25935
|
'use strict';
|
25788
25936
|
|
25789
25937
|
Object.defineProperty(exports, "__esModule", {
|
@@ -26811,7 +26959,7 @@ function many(lexer, openKind, parseFn, closeKind) {
|
|
26811
26959
|
}
|
26812
26960
|
return nodes;
|
26813
26961
|
}
|
26814
|
-
},{"../error":
|
26962
|
+
},{"../error":86,"./kinds":103,"./lexer":104,"./source":108}],107:[function(require,module,exports){
|
26815
26963
|
'use strict';
|
26816
26964
|
|
26817
26965
|
Object.defineProperty(exports, "__esModule", {
|
@@ -27094,7 +27242,7 @@ function wrap(start, maybeString, end) {
|
|
27094
27242
|
function indent(maybeString) {
|
27095
27243
|
return maybeString && maybeString.replace(/\n/g, '\n ');
|
27096
27244
|
}
|
27097
|
-
},{"./visitor":
|
27245
|
+
},{"./visitor":109}],108:[function(require,module,exports){
|
27098
27246
|
'use strict';
|
27099
27247
|
|
27100
27248
|
Object.defineProperty(exports, "__esModule", {
|
@@ -27124,7 +27272,7 @@ var Source = exports.Source = function Source(body, name) {
|
|
27124
27272
|
this.body = body;
|
27125
27273
|
this.name = name || 'GraphQL request';
|
27126
27274
|
};
|
27127
|
-
},{}],
|
27275
|
+
},{}],109:[function(require,module,exports){
|
27128
27276
|
'use strict';
|
27129
27277
|
|
27130
27278
|
Object.defineProperty(exports, "__esModule", {
|
@@ -27516,7 +27664,7 @@ function getVisitFn(visitor, kind, isLeaving) {
|
|
27516
27664
|
}
|
27517
27665
|
}
|
27518
27666
|
}
|
27519
|
-
},{}],
|
27667
|
+
},{}],110:[function(require,module,exports){
|
27520
27668
|
'use strict';
|
27521
27669
|
|
27522
27670
|
Object.defineProperty(exports, "__esModule", {
|
@@ -27537,7 +27685,7 @@ Object.defineProperty(exports, 'createSourceEventStream', {
|
|
27537
27685
|
return _subscribe.createSourceEventStream;
|
27538
27686
|
}
|
27539
27687
|
});
|
27540
|
-
},{"./subscribe":
|
27688
|
+
},{"./subscribe":112}],111:[function(require,module,exports){
|
27541
27689
|
'use strict';
|
27542
27690
|
|
27543
27691
|
Object.defineProperty(exports, "__esModule", {
|
@@ -27607,7 +27755,7 @@ function asyncMapValue(value, callback) {
|
|
27607
27755
|
function iteratorResult(value) {
|
27608
27756
|
return { value: value, done: false };
|
27609
27757
|
}
|
27610
|
-
},{"iterall":
|
27758
|
+
},{"iterall":167}],112:[function(require,module,exports){
|
27611
27759
|
'use strict';
|
27612
27760
|
|
27613
27761
|
Object.defineProperty(exports, "__esModule", {
|
@@ -27726,7 +27874,7 @@ function createSourceEventStream(schema, document, rootValue, contextValue, vari
|
|
27726
27874
|
|
27727
27875
|
return subscription;
|
27728
27876
|
}
|
27729
|
-
},{"../execution/execute":
|
27877
|
+
},{"../execution/execute":89,"../jsutils/invariant":95,"../type/schema":118,"./mapAsyncIterator":111,"iterall":167}],113:[function(require,module,exports){
|
27730
27878
|
'use strict';
|
27731
27879
|
|
27732
27880
|
Object.defineProperty(exports, "__esModule", {
|
@@ -28510,7 +28658,7 @@ var GraphQLNonNull = exports.GraphQLNonNull = function () {
|
|
28510
28658
|
|
28511
28659
|
|
28512
28660
|
GraphQLNonNull.prototype.toJSON = GraphQLNonNull.prototype.inspect = GraphQLNonNull.prototype.toString;
|
28513
|
-
},{"../jsutils/invariant":
|
28661
|
+
},{"../jsutils/invariant":95,"../jsutils/isNullish":97,"../language/kinds":103,"../utilities/assertValidName":120}],114:[function(require,module,exports){
|
28514
28662
|
'use strict';
|
28515
28663
|
|
28516
28664
|
Object.defineProperty(exports, "__esModule", {
|
@@ -28653,7 +28801,7 @@ var GraphQLDeprecatedDirective = exports.GraphQLDeprecatedDirective = new GraphQ
|
|
28653
28801
|
* The full list of specified directives.
|
28654
28802
|
*/
|
28655
28803
|
var specifiedDirectives = exports.specifiedDirectives = [GraphQLIncludeDirective, GraphQLSkipDirective, GraphQLDeprecatedDirective];
|
28656
|
-
},{"../jsutils/invariant":
|
28804
|
+
},{"../jsutils/invariant":95,"../utilities/assertValidName":120,"./definition":113,"./scalars":117}],115:[function(require,module,exports){
|
28657
28805
|
'use strict';
|
28658
28806
|
|
28659
28807
|
Object.defineProperty(exports, "__esModule", {
|
@@ -28968,7 +29116,7 @@ Object.defineProperty(exports, 'TypeNameMetaFieldDef', {
|
|
28968
29116
|
return _introspection.TypeNameMetaFieldDef;
|
28969
29117
|
}
|
28970
29118
|
});
|
28971
|
-
},{"./definition":
|
29119
|
+
},{"./definition":113,"./directives":114,"./introspection":116,"./scalars":117,"./schema":118}],116:[function(require,module,exports){
|
28972
29120
|
'use strict';
|
28973
29121
|
|
28974
29122
|
Object.defineProperty(exports, "__esModule", {
|
@@ -29428,7 +29576,7 @@ var TypeNameMetaFieldDef = exports.TypeNameMetaFieldDef = {
|
|
29428
29576
|
return parentType.name;
|
29429
29577
|
}
|
29430
29578
|
};
|
29431
|
-
},{"../jsutils/isInvalid":
|
29579
|
+
},{"../jsutils/isInvalid":96,"../language/printer":107,"../utilities/astFromValue":121,"./definition":113,"./directives":114,"./scalars":117}],117:[function(require,module,exports){
|
29432
29580
|
'use strict';
|
29433
29581
|
|
29434
29582
|
Object.defineProperty(exports, "__esModule", {
|
@@ -29543,7 +29691,7 @@ var GraphQLID = exports.GraphQLID = new _definition.GraphQLScalarType({
|
|
29543
29691
|
return ast.kind === Kind.STRING || ast.kind === Kind.INT ? ast.value : null;
|
29544
29692
|
}
|
29545
29693
|
});
|
29546
|
-
},{"../language/kinds":
|
29694
|
+
},{"../language/kinds":103,"./definition":113}],118:[function(require,module,exports){
|
29547
29695
|
'use strict';
|
29548
29696
|
|
29549
29697
|
Object.defineProperty(exports, "__esModule", {
|
@@ -29817,7 +29965,7 @@ function assertObjectImplementsInterface(schema, object, iface) {
|
|
29817
29965
|
});
|
29818
29966
|
});
|
29819
29967
|
}
|
29820
|
-
},{"../jsutils/find":
|
29968
|
+
},{"../jsutils/find":94,"../jsutils/invariant":95,"../utilities/typeComparators":135,"./definition":113,"./directives":114,"./introspection":116}],119:[function(require,module,exports){
|
29821
29969
|
'use strict';
|
29822
29970
|
|
29823
29971
|
Object.defineProperty(exports, "__esModule", {
|
@@ -30053,7 +30201,7 @@ function getFieldDef(schema, parentType, fieldNode) {
|
|
30053
30201
|
return parentType.getFields()[name];
|
30054
30202
|
}
|
30055
30203
|
}
|
30056
|
-
},{"../jsutils/find":
|
30204
|
+
},{"../jsutils/find":94,"../language/kinds":103,"../type/definition":113,"../type/introspection":116,"./typeFromAST":136}],120:[function(require,module,exports){
|
30057
30205
|
(function (process){
|
30058
30206
|
'use strict';
|
30059
30207
|
|
@@ -30119,7 +30267,7 @@ function formatWarning(error) {
|
|
30119
30267
|
return formatted.trim();
|
30120
30268
|
}
|
30121
30269
|
}).call(this,require('_process'))
|
30122
|
-
},{"_process":
|
30270
|
+
},{"_process":169}],121:[function(require,module,exports){
|
30123
30271
|
'use strict';
|
30124
30272
|
|
30125
30273
|
Object.defineProperty(exports, "__esModule", {
|
@@ -30281,7 +30429,7 @@ function astFromValue(value, type) {
|
|
30281
30429
|
* LICENSE file in the root directory of this source tree. An additional grant
|
30282
30430
|
* of patent rights can be found in the PATENTS file in the same directory.
|
30283
30431
|
*/
|
30284
|
-
},{"../jsutils/invariant":
|
30432
|
+
},{"../jsutils/invariant":95,"../jsutils/isInvalid":96,"../jsutils/isNullish":97,"../language/kinds":103,"../type/definition":113,"../type/scalars":117,"iterall":167}],122:[function(require,module,exports){
|
30285
30433
|
'use strict';
|
30286
30434
|
|
30287
30435
|
Object.defineProperty(exports, "__esModule", {
|
@@ -30756,7 +30904,7 @@ function leadingSpaces(str) {
|
|
30756
30904
|
function cannotExecuteSchema() {
|
30757
30905
|
throw new Error('Generated Schema cannot use Interface or Union types for execution.');
|
30758
30906
|
}
|
30759
|
-
},{"../execution/values":
|
30907
|
+
},{"../execution/values":91,"../jsutils/invariant":95,"../jsutils/keyValMap":99,"../language/kinds":103,"../language/lexer":104,"../language/parser":106,"../type/definition":113,"../type/directives":114,"../type/introspection":116,"../type/scalars":117,"../type/schema":118,"./valueFromAST":137}],123:[function(require,module,exports){
|
30760
30908
|
'use strict';
|
30761
30909
|
|
30762
30910
|
Object.defineProperty(exports, "__esModule", {
|
@@ -31066,7 +31214,7 @@ function buildClientSchema(introspection) {
|
|
31066
31214
|
function cannotExecuteClientSchema() {
|
31067
31215
|
throw new Error('Client Schema cannot use Interface or Union types for execution.');
|
31068
31216
|
}
|
31069
|
-
},{"../jsutils/invariant":
|
31217
|
+
},{"../jsutils/invariant":95,"../jsutils/keyMap":98,"../jsutils/keyValMap":99,"../language/parser":106,"../type/definition":113,"../type/directives":114,"../type/introspection":116,"../type/scalars":117,"../type/schema":118,"./valueFromAST":137}],124:[function(require,module,exports){
|
31070
31218
|
'use strict';
|
31071
31219
|
|
31072
31220
|
Object.defineProperty(exports, "__esModule", {
|
@@ -31101,7 +31249,7 @@ function concatAST(asts) {
|
|
31101
31249
|
* LICENSE file in the root directory of this source tree. An additional grant
|
31102
31250
|
* of patent rights can be found in the PATENTS file in the same directory.
|
31103
31251
|
*/
|
31104
|
-
},{}],
|
31252
|
+
},{}],125:[function(require,module,exports){
|
31105
31253
|
'use strict';
|
31106
31254
|
|
31107
31255
|
Object.defineProperty(exports, "__esModule", {
|
@@ -31636,7 +31784,7 @@ function extendSchema(schema, documentAST) {
|
|
31636
31784
|
function cannotExecuteExtendedSchema() {
|
31637
31785
|
throw new Error('Extended Schema cannot use Interface or Union types for execution.');
|
31638
31786
|
}
|
31639
|
-
},{"../error/GraphQLError":
|
31787
|
+
},{"../error/GraphQLError":84,"../jsutils/invariant":95,"../jsutils/keyMap":98,"../jsutils/keyValMap":99,"../language/kinds":103,"../type/definition":113,"../type/directives":114,"../type/introspection":116,"../type/scalars":117,"../type/schema":118,"./buildASTSchema":122,"./valueFromAST":137}],126:[function(require,module,exports){
|
31640
31788
|
'use strict';
|
31641
31789
|
|
31642
31790
|
Object.defineProperty(exports, "__esModule", {
|
@@ -32073,7 +32221,7 @@ function findInterfacesRemovedFromObjectTypes(oldSchema, newSchema) {
|
|
32073
32221
|
});
|
32074
32222
|
return breakingChanges;
|
32075
32223
|
}
|
32076
|
-
},{"../type/definition":
|
32224
|
+
},{"../type/definition":113,"../type/schema":118}],127:[function(require,module,exports){
|
32077
32225
|
'use strict';
|
32078
32226
|
|
32079
32227
|
Object.defineProperty(exports, "__esModule", {
|
@@ -32133,7 +32281,7 @@ function findDeprecatedUsages(schema, ast) {
|
|
32133
32281
|
* LICENSE file in the root directory of this source tree. An additional grant
|
32134
32282
|
* of patent rights can be found in the PATENTS file in the same directory.
|
32135
32283
|
*/
|
32136
|
-
},{"../error/GraphQLError":
|
32284
|
+
},{"../error/GraphQLError":84,"../language/visitor":109,"../type/definition":113,"../type/schema":118,"./TypeInfo":119}],128:[function(require,module,exports){
|
32137
32285
|
'use strict';
|
32138
32286
|
|
32139
32287
|
Object.defineProperty(exports, "__esModule", {
|
@@ -32176,7 +32324,7 @@ function getOperationAST(documentAST, operationName) {
|
|
32176
32324
|
* LICENSE file in the root directory of this source tree. An additional grant
|
32177
32325
|
* of patent rights can be found in the PATENTS file in the same directory.
|
32178
32326
|
*/
|
32179
|
-
},{"../language/kinds":
|
32327
|
+
},{"../language/kinds":103}],129:[function(require,module,exports){
|
32180
32328
|
'use strict';
|
32181
32329
|
|
32182
32330
|
Object.defineProperty(exports, "__esModule", {
|
@@ -32386,7 +32534,7 @@ Object.defineProperty(exports, 'findDeprecatedUsages', {
|
|
32386
32534
|
return _findDeprecatedUsages.findDeprecatedUsages;
|
32387
32535
|
}
|
32388
32536
|
});
|
32389
|
-
},{"./TypeInfo":
|
32537
|
+
},{"./TypeInfo":119,"./assertValidName":120,"./astFromValue":121,"./buildASTSchema":122,"./buildClientSchema":123,"./concatAST":124,"./extendSchema":125,"./findBreakingChanges":126,"./findDeprecatedUsages":127,"./getOperationAST":128,"./introspectionQuery":130,"./isValidJSValue":131,"./isValidLiteralValue":132,"./schemaPrinter":133,"./separateOperations":134,"./typeComparators":135,"./typeFromAST":136,"./valueFromAST":137}],130:[function(require,module,exports){
|
32390
32538
|
'use strict';
|
32391
32539
|
|
32392
32540
|
Object.defineProperty(exports, "__esModule", {
|
@@ -32401,7 +32549,7 @@ var introspectionQuery = exports.introspectionQuery = '\n query IntrospectionQu
|
|
32401
32549
|
* LICENSE file in the root directory of this source tree. An additional grant
|
32402
32550
|
* of patent rights can be found in the PATENTS file in the same directory.
|
32403
32551
|
*/
|
32404
|
-
},{}],
|
32552
|
+
},{}],131:[function(require,module,exports){
|
32405
32553
|
'use strict';
|
32406
32554
|
|
32407
32555
|
Object.defineProperty(exports, "__esModule", {
|
@@ -32508,7 +32656,7 @@ function isValidJSValue(value, type) {
|
|
32508
32656
|
|
32509
32657
|
return [];
|
32510
32658
|
}
|
32511
|
-
},{"../jsutils/invariant":
|
32659
|
+
},{"../jsutils/invariant":95,"../jsutils/isNullish":97,"../type/definition":113,"iterall":167}],132:[function(require,module,exports){
|
32512
32660
|
'use strict';
|
32513
32661
|
|
32514
32662
|
Object.defineProperty(exports, "__esModule", {
|
@@ -32624,7 +32772,7 @@ function isValidLiteralValue(type, valueNode) {
|
|
32624
32772
|
* LICENSE file in the root directory of this source tree. An additional grant
|
32625
32773
|
* of patent rights can be found in the PATENTS file in the same directory.
|
32626
32774
|
*/
|
32627
|
-
},{"../jsutils/invariant":
|
32775
|
+
},{"../jsutils/invariant":95,"../jsutils/keyMap":98,"../language/kinds":103,"../language/printer":107,"../type/definition":113}],133:[function(require,module,exports){
|
32628
32776
|
'use strict';
|
32629
32777
|
|
32630
32778
|
Object.defineProperty(exports, "__esModule", {
|
@@ -32909,7 +33057,7 @@ function breakLine(line, len) {
|
|
32909
33057
|
}
|
32910
33058
|
return sublines;
|
32911
33059
|
}
|
32912
|
-
},{"../jsutils/invariant":
|
33060
|
+
},{"../jsutils/invariant":95,"../jsutils/isInvalid":96,"../jsutils/isNullish":97,"../language/printer":107,"../type/definition":113,"../type/directives":114,"../type/scalars":117,"../utilities/astFromValue":121}],134:[function(require,module,exports){
|
32913
33061
|
'use strict';
|
32914
33062
|
|
32915
33063
|
Object.defineProperty(exports, "__esModule", {
|
@@ -33005,7 +33153,7 @@ function collectTransitiveDependencies(collected, depGraph, fromName) {
|
|
33005
33153
|
});
|
33006
33154
|
}
|
33007
33155
|
}
|
33008
|
-
},{"../language/visitor":
|
33156
|
+
},{"../language/visitor":109}],135:[function(require,module,exports){
|
33009
33157
|
'use strict';
|
33010
33158
|
|
33011
33159
|
Object.defineProperty(exports, "__esModule", {
|
@@ -33130,7 +33278,7 @@ function doTypesOverlap(schema, typeA, typeB) {
|
|
33130
33278
|
// Otherwise the types do not overlap.
|
33131
33279
|
return false;
|
33132
33280
|
}
|
33133
|
-
},{"../type/definition":
|
33281
|
+
},{"../type/definition":113}],136:[function(require,module,exports){
|
33134
33282
|
'use strict';
|
33135
33283
|
|
33136
33284
|
Object.defineProperty(exports, "__esModule", {
|
@@ -33188,7 +33336,7 @@ function typeFromASTImpl(schema, typeNode) {
|
|
33188
33336
|
*/
|
33189
33337
|
|
33190
33338
|
var typeFromAST = exports.typeFromAST = typeFromASTImpl;
|
33191
|
-
},{"../jsutils/invariant":
|
33339
|
+
},{"../jsutils/invariant":95,"../language/kinds":103,"../type/definition":113}],137:[function(require,module,exports){
|
33192
33340
|
'use strict';
|
33193
33341
|
|
33194
33342
|
Object.defineProperty(exports, "__esModule", {
|
@@ -33361,7 +33509,7 @@ function valueFromAST(valueNode, type, variables) {
|
|
33361
33509
|
function isMissingVariable(valueNode, variables) {
|
33362
33510
|
return valueNode.kind === Kind.VARIABLE && (!variables || (0, _isInvalid2.default)(variables[valueNode.name.value]));
|
33363
33511
|
}
|
33364
|
-
},{"../jsutils/invariant":
|
33512
|
+
},{"../jsutils/invariant":95,"../jsutils/isInvalid":96,"../jsutils/isNullish":97,"../jsutils/keyMap":98,"../language/kinds":103,"../type/definition":113}],138:[function(require,module,exports){
|
33365
33513
|
'use strict';
|
33366
33514
|
|
33367
33515
|
Object.defineProperty(exports, "__esModule", {
|
@@ -33625,7 +33773,7 @@ Object.defineProperty(exports, 'VariablesInAllowedPositionRule', {
|
|
33625
33773
|
return _VariablesInAllowedPosition.VariablesInAllowedPosition;
|
33626
33774
|
}
|
33627
33775
|
});
|
33628
|
-
},{"./rules/ArgumentsOfCorrectType":
|
33776
|
+
},{"./rules/ArgumentsOfCorrectType":139,"./rules/DefaultValuesOfCorrectType":140,"./rules/FieldsOnCorrectType":141,"./rules/FragmentsOnCompositeTypes":142,"./rules/KnownArgumentNames":143,"./rules/KnownDirectives":144,"./rules/KnownFragmentNames":145,"./rules/KnownTypeNames":146,"./rules/LoneAnonymousOperation":147,"./rules/NoFragmentCycles":148,"./rules/NoUndefinedVariables":149,"./rules/NoUnusedFragments":150,"./rules/NoUnusedVariables":151,"./rules/OverlappingFieldsCanBeMerged":152,"./rules/PossibleFragmentSpreads":153,"./rules/ProvidedNonNullArguments":154,"./rules/ScalarLeafs":155,"./rules/SingleFieldSubscriptions":156,"./rules/UniqueArgumentNames":157,"./rules/UniqueDirectivesPerLocation":158,"./rules/UniqueFragmentNames":159,"./rules/UniqueInputFieldNames":160,"./rules/UniqueOperationNames":161,"./rules/UniqueVariableNames":162,"./rules/VariablesAreInputTypes":163,"./rules/VariablesInAllowedPosition":164,"./specifiedRules":165,"./validate":166}],139:[function(require,module,exports){
|
33629
33777
|
'use strict';
|
33630
33778
|
|
33631
33779
|
Object.defineProperty(exports, "__esModule", {
|
@@ -33674,7 +33822,7 @@ function ArgumentsOfCorrectType(context) {
|
|
33674
33822
|
}
|
33675
33823
|
};
|
33676
33824
|
}
|
33677
|
-
},{"../../error":
|
33825
|
+
},{"../../error":86,"../../language/printer":107,"../../utilities/isValidLiteralValue":132}],140:[function(require,module,exports){
|
33678
33826
|
'use strict';
|
33679
33827
|
|
33680
33828
|
Object.defineProperty(exports, "__esModule", {
|
@@ -33741,7 +33889,7 @@ function DefaultValuesOfCorrectType(context) {
|
|
33741
33889
|
}
|
33742
33890
|
};
|
33743
33891
|
}
|
33744
|
-
},{"../../error":
|
33892
|
+
},{"../../error":86,"../../language/printer":107,"../../type/definition":113,"../../utilities/isValidLiteralValue":132}],141:[function(require,module,exports){
|
33745
33893
|
'use strict';
|
33746
33894
|
|
33747
33895
|
Object.defineProperty(exports, "__esModule", {
|
@@ -33864,7 +34012,7 @@ function getSuggestedFieldNames(schema, type, fieldName) {
|
|
33864
34012
|
// Otherwise, must be a Union type, which does not define fields.
|
33865
34013
|
return [];
|
33866
34014
|
}
|
33867
|
-
},{"../../error":
|
34015
|
+
},{"../../error":86,"../../jsutils/quotedOrList":100,"../../jsutils/suggestionList":101,"../../type/definition":113}],142:[function(require,module,exports){
|
33868
34016
|
'use strict';
|
33869
34017
|
|
33870
34018
|
Object.defineProperty(exports, "__esModule", {
|
@@ -33923,7 +34071,7 @@ function FragmentsOnCompositeTypes(context) {
|
|
33923
34071
|
}
|
33924
34072
|
};
|
33925
34073
|
}
|
33926
|
-
},{"../../error":
|
34074
|
+
},{"../../error":86,"../../language/printer":107,"../../type/definition":113,"../../utilities/typeFromAST":136}],143:[function(require,module,exports){
|
33927
34075
|
'use strict';
|
33928
34076
|
|
33929
34077
|
Object.defineProperty(exports, "__esModule", {
|
@@ -34023,7 +34171,7 @@ function KnownArgumentNames(context) {
|
|
34023
34171
|
}
|
34024
34172
|
};
|
34025
34173
|
}
|
34026
|
-
},{"../../error":
|
34174
|
+
},{"../../error":86,"../../jsutils/find":94,"../../jsutils/invariant":95,"../../jsutils/quotedOrList":100,"../../jsutils/suggestionList":101,"../../language/kinds":103}],144:[function(require,module,exports){
|
34027
34175
|
'use strict';
|
34028
34176
|
|
34029
34177
|
Object.defineProperty(exports, "__esModule", {
|
@@ -34135,7 +34283,7 @@ function getDirectiveLocationForASTPath(ancestors) {
|
|
34135
34283
|
return parentNode.kind === Kind.INPUT_OBJECT_TYPE_DEFINITION ? _directives.DirectiveLocation.INPUT_FIELD_DEFINITION : _directives.DirectiveLocation.ARGUMENT_DEFINITION;
|
34136
34284
|
}
|
34137
34285
|
}
|
34138
|
-
},{"../../error":
|
34286
|
+
},{"../../error":86,"../../jsutils/find":94,"../../language/kinds":103,"../../type/directives":114}],145:[function(require,module,exports){
|
34139
34287
|
'use strict';
|
34140
34288
|
|
34141
34289
|
Object.defineProperty(exports, "__esModule", {
|
@@ -34176,7 +34324,7 @@ function KnownFragmentNames(context) {
|
|
34176
34324
|
}
|
34177
34325
|
};
|
34178
34326
|
}
|
34179
|
-
},{"../../error":
|
34327
|
+
},{"../../error":86}],146:[function(require,module,exports){
|
34180
34328
|
'use strict';
|
34181
34329
|
|
34182
34330
|
Object.defineProperty(exports, "__esModule", {
|
@@ -34247,7 +34395,7 @@ function KnownTypeNames(context) {
|
|
34247
34395
|
}
|
34248
34396
|
};
|
34249
34397
|
}
|
34250
|
-
},{"../../error":
|
34398
|
+
},{"../../error":86,"../../jsutils/quotedOrList":100,"../../jsutils/suggestionList":101}],147:[function(require,module,exports){
|
34251
34399
|
'use strict';
|
34252
34400
|
|
34253
34401
|
Object.defineProperty(exports, "__esModule", {
|
@@ -34295,7 +34443,7 @@ function LoneAnonymousOperation(context) {
|
|
34295
34443
|
}
|
34296
34444
|
};
|
34297
34445
|
}
|
34298
|
-
},{"../../error":
|
34446
|
+
},{"../../error":86,"../../language/kinds":103}],148:[function(require,module,exports){
|
34299
34447
|
'use strict';
|
34300
34448
|
|
34301
34449
|
Object.defineProperty(exports, "__esModule", {
|
@@ -34382,7 +34530,7 @@ function NoFragmentCycles(context) {
|
|
34382
34530
|
spreadPathIndexByName[fragmentName] = undefined;
|
34383
34531
|
}
|
34384
34532
|
}
|
34385
|
-
},{"../../error":
|
34533
|
+
},{"../../error":86}],149:[function(require,module,exports){
|
34386
34534
|
'use strict';
|
34387
34535
|
|
34388
34536
|
Object.defineProperty(exports, "__esModule", {
|
@@ -34438,7 +34586,7 @@ function NoUndefinedVariables(context) {
|
|
34438
34586
|
}
|
34439
34587
|
};
|
34440
34588
|
}
|
34441
|
-
},{"../../error":
|
34589
|
+
},{"../../error":86}],150:[function(require,module,exports){
|
34442
34590
|
'use strict';
|
34443
34591
|
|
34444
34592
|
Object.defineProperty(exports, "__esModule", {
|
@@ -34501,7 +34649,7 @@ function NoUnusedFragments(context) {
|
|
34501
34649
|
}
|
34502
34650
|
};
|
34503
34651
|
}
|
34504
|
-
},{"../../error":
|
34652
|
+
},{"../../error":86}],151:[function(require,module,exports){
|
34505
34653
|
'use strict';
|
34506
34654
|
|
34507
34655
|
Object.defineProperty(exports, "__esModule", {
|
@@ -34563,7 +34711,7 @@ function NoUnusedVariables(context) {
|
|
34563
34711
|
}
|
34564
34712
|
};
|
34565
34713
|
}
|
34566
|
-
},{"../../error":
|
34714
|
+
},{"../../error":86}],152:[function(require,module,exports){
|
34567
34715
|
'use strict';
|
34568
34716
|
|
34569
34717
|
Object.defineProperty(exports, "__esModule", {
|
@@ -35121,7 +35269,7 @@ function _pairSetAdd(data, a, b, areMutuallyExclusive) {
|
|
35121
35269
|
}
|
35122
35270
|
map[b] = areMutuallyExclusive;
|
35123
35271
|
}
|
35124
|
-
},{"../../error":
|
35272
|
+
},{"../../error":86,"../../jsutils/find":94,"../../language/kinds":103,"../../language/printer":107,"../../type/definition":113,"../../utilities/typeFromAST":136}],153:[function(require,module,exports){
|
35125
35273
|
'use strict';
|
35126
35274
|
|
35127
35275
|
Object.defineProperty(exports, "__esModule", {
|
@@ -35185,7 +35333,7 @@ function getFragmentType(context, name) {
|
|
35185
35333
|
var frag = context.getFragment(name);
|
35186
35334
|
return frag && (0, _typeFromAST.typeFromAST)(context.getSchema(), frag.typeCondition);
|
35187
35335
|
}
|
35188
|
-
},{"../../error":
|
35336
|
+
},{"../../error":86,"../../utilities/typeComparators":135,"../../utilities/typeFromAST":136}],154:[function(require,module,exports){
|
35189
35337
|
'use strict';
|
35190
35338
|
|
35191
35339
|
Object.defineProperty(exports, "__esModule", {
|
@@ -35273,7 +35421,7 @@ function ProvidedNonNullArguments(context) {
|
|
35273
35421
|
}
|
35274
35422
|
};
|
35275
35423
|
}
|
35276
|
-
},{"../../error":
|
35424
|
+
},{"../../error":86,"../../jsutils/keyMap":98,"../../type/definition":113}],155:[function(require,module,exports){
|
35277
35425
|
'use strict';
|
35278
35426
|
|
35279
35427
|
Object.defineProperty(exports, "__esModule", {
|
@@ -35325,7 +35473,7 @@ function ScalarLeafs(context) {
|
|
35325
35473
|
}
|
35326
35474
|
};
|
35327
35475
|
}
|
35328
|
-
},{"../../error":
|
35476
|
+
},{"../../error":86,"../../type/definition":113}],156:[function(require,module,exports){
|
35329
35477
|
'use strict';
|
35330
35478
|
|
35331
35479
|
Object.defineProperty(exports, "__esModule", {
|
@@ -35365,7 +35513,7 @@ function SingleFieldSubscriptions(context) {
|
|
35365
35513
|
}
|
35366
35514
|
};
|
35367
35515
|
}
|
35368
|
-
},{"../../error":
|
35516
|
+
},{"../../error":86}],157:[function(require,module,exports){
|
35369
35517
|
'use strict';
|
35370
35518
|
|
35371
35519
|
Object.defineProperty(exports, "__esModule", {
|
@@ -35415,7 +35563,7 @@ function UniqueArgumentNames(context) {
|
|
35415
35563
|
}
|
35416
35564
|
};
|
35417
35565
|
}
|
35418
|
-
},{"../../error":
|
35566
|
+
},{"../../error":86}],158:[function(require,module,exports){
|
35419
35567
|
'use strict';
|
35420
35568
|
|
35421
35569
|
Object.defineProperty(exports, "__esModule", {
|
@@ -35465,7 +35613,7 @@ function UniqueDirectivesPerLocation(context) {
|
|
35465
35613
|
}
|
35466
35614
|
};
|
35467
35615
|
}
|
35468
|
-
},{"../../error":
|
35616
|
+
},{"../../error":86}],159:[function(require,module,exports){
|
35469
35617
|
'use strict';
|
35470
35618
|
|
35471
35619
|
Object.defineProperty(exports, "__esModule", {
|
@@ -35511,7 +35659,7 @@ function UniqueFragmentNames(context) {
|
|
35511
35659
|
}
|
35512
35660
|
};
|
35513
35661
|
}
|
35514
|
-
},{"../../error":
|
35662
|
+
},{"../../error":86}],160:[function(require,module,exports){
|
35515
35663
|
'use strict';
|
35516
35664
|
|
35517
35665
|
Object.defineProperty(exports, "__esModule", {
|
@@ -35566,7 +35714,7 @@ function UniqueInputFieldNames(context) {
|
|
35566
35714
|
}
|
35567
35715
|
};
|
35568
35716
|
}
|
35569
|
-
},{"../../error":
|
35717
|
+
},{"../../error":86}],161:[function(require,module,exports){
|
35570
35718
|
'use strict';
|
35571
35719
|
|
35572
35720
|
Object.defineProperty(exports, "__esModule", {
|
@@ -35615,7 +35763,7 @@ function UniqueOperationNames(context) {
|
|
35615
35763
|
}
|
35616
35764
|
};
|
35617
35765
|
}
|
35618
|
-
},{"../../error":
|
35766
|
+
},{"../../error":86}],162:[function(require,module,exports){
|
35619
35767
|
'use strict';
|
35620
35768
|
|
35621
35769
|
Object.defineProperty(exports, "__esModule", {
|
@@ -35661,7 +35809,7 @@ function UniqueVariableNames(context) {
|
|
35661
35809
|
}
|
35662
35810
|
};
|
35663
35811
|
}
|
35664
|
-
},{"../../error":
|
35812
|
+
},{"../../error":86}],163:[function(require,module,exports){
|
35665
35813
|
'use strict';
|
35666
35814
|
|
35667
35815
|
Object.defineProperty(exports, "__esModule", {
|
@@ -35711,7 +35859,7 @@ function VariablesAreInputTypes(context) {
|
|
35711
35859
|
}
|
35712
35860
|
};
|
35713
35861
|
}
|
35714
|
-
},{"../../error":
|
35862
|
+
},{"../../error":86,"../../language/printer":107,"../../type/definition":113,"../../utilities/typeFromAST":136}],164:[function(require,module,exports){
|
35715
35863
|
'use strict';
|
35716
35864
|
|
35717
35865
|
Object.defineProperty(exports, "__esModule", {
|
@@ -35787,7 +35935,7 @@ function VariablesInAllowedPosition(context) {
|
|
35787
35935
|
function effectiveType(varType, varDef) {
|
35788
35936
|
return !varDef.defaultValue || varType instanceof _definition.GraphQLNonNull ? varType : new _definition.GraphQLNonNull(varType);
|
35789
35937
|
}
|
35790
|
-
},{"../../error":
|
35938
|
+
},{"../../error":86,"../../type/definition":113,"../../utilities/typeComparators":135,"../../utilities/typeFromAST":136}],165:[function(require,module,exports){
|
35791
35939
|
'use strict';
|
35792
35940
|
|
35793
35941
|
Object.defineProperty(exports, "__esModule", {
|
@@ -35939,7 +36087,7 @@ var specifiedRules = exports.specifiedRules = [_UniqueOperationNames.UniqueOpera
|
|
35939
36087
|
|
35940
36088
|
|
35941
36089
|
// Spec Section: "Lone Anonymous Operation"
|
35942
|
-
},{"./rules/ArgumentsOfCorrectType":
|
36090
|
+
},{"./rules/ArgumentsOfCorrectType":139,"./rules/DefaultValuesOfCorrectType":140,"./rules/FieldsOnCorrectType":141,"./rules/FragmentsOnCompositeTypes":142,"./rules/KnownArgumentNames":143,"./rules/KnownDirectives":144,"./rules/KnownFragmentNames":145,"./rules/KnownTypeNames":146,"./rules/LoneAnonymousOperation":147,"./rules/NoFragmentCycles":148,"./rules/NoUndefinedVariables":149,"./rules/NoUnusedFragments":150,"./rules/NoUnusedVariables":151,"./rules/OverlappingFieldsCanBeMerged":152,"./rules/PossibleFragmentSpreads":153,"./rules/ProvidedNonNullArguments":154,"./rules/ScalarLeafs":155,"./rules/SingleFieldSubscriptions":156,"./rules/UniqueArgumentNames":157,"./rules/UniqueDirectivesPerLocation":158,"./rules/UniqueFragmentNames":159,"./rules/UniqueInputFieldNames":160,"./rules/UniqueOperationNames":161,"./rules/UniqueVariableNames":162,"./rules/VariablesAreInputTypes":163,"./rules/VariablesInAllowedPosition":164}],166:[function(require,module,exports){
|
35943
36091
|
'use strict';
|
35944
36092
|
|
35945
36093
|
Object.defineProperty(exports, "__esModule", {
|
@@ -36172,7 +36320,7 @@ var ValidationContext = exports.ValidationContext = function () {
|
|
36172
36320
|
|
36173
36321
|
return ValidationContext;
|
36174
36322
|
}();
|
36175
|
-
},{"../error":
|
36323
|
+
},{"../error":86,"../jsutils/invariant":95,"../language/kinds":103,"../language/visitor":109,"../type/schema":118,"../utilities/TypeInfo":119,"./specifiedRules":165}],167:[function(require,module,exports){
|
36176
36324
|
/**
|
36177
36325
|
* Copyright (c) 2016, Lee Byron
|
36178
36326
|
* All rights reserved.
|
@@ -36830,7 +36978,7 @@ function forAwaitEach(source, callback, thisArg) {
|
|
36830
36978
|
}
|
36831
36979
|
exports.forAwaitEach = forAwaitEach
|
36832
36980
|
|
36833
|
-
},{}],
|
36981
|
+
},{}],168:[function(require,module,exports){
|
36834
36982
|
(function (global){
|
36835
36983
|
/**
|
36836
36984
|
* marked - a markdown parser
|
@@ -38120,7 +38268,7 @@ if (typeof module !== 'undefined' && typeof exports === 'object') {
|
|
38120
38268
|
}());
|
38121
38269
|
|
38122
38270
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
38123
|
-
},{}],
|
38271
|
+
},{}],169:[function(require,module,exports){
|
38124
38272
|
// shim for using process in browser
|
38125
38273
|
var process = module.exports = {};
|
38126
38274
|
|
@@ -38306,7 +38454,7 @@ process.chdir = function (dir) {
|
|
38306
38454
|
};
|
38307
38455
|
process.umask = function() { return 0; };
|
38308
38456
|
|
38309
|
-
},{}],
|
38457
|
+
},{}],170:[function(require,module,exports){
|
38310
38458
|
(function (process){
|
38311
38459
|
/**
|
38312
38460
|
* Copyright 2013-present, Facebook, Inc.
|
@@ -38371,7 +38519,7 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
38371
38519
|
module.exports = checkPropTypes;
|
38372
38520
|
|
38373
38521
|
}).call(this,require('_process'))
|
38374
|
-
},{"./lib/ReactPropTypesSecret":
|
38522
|
+
},{"./lib/ReactPropTypesSecret":174,"_process":169,"fbjs/lib/invariant":66,"fbjs/lib/warning":67}],171:[function(require,module,exports){
|
38375
38523
|
/**
|
38376
38524
|
* Copyright 2013-present, Facebook, Inc.
|
38377
38525
|
* All rights reserved.
|
@@ -38427,7 +38575,7 @@ module.exports = function() {
|
|
38427
38575
|
return ReactPropTypes;
|
38428
38576
|
};
|
38429
38577
|
|
38430
|
-
},{"fbjs/lib/emptyFunction":
|
38578
|
+
},{"fbjs/lib/emptyFunction":65,"fbjs/lib/invariant":66}],172:[function(require,module,exports){
|
38431
38579
|
(function (process){
|
38432
38580
|
/**
|
38433
38581
|
* Copyright 2013-present, Facebook, Inc.
|
@@ -38909,7 +39057,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
38909
39057
|
};
|
38910
39058
|
|
38911
39059
|
}).call(this,require('_process'))
|
38912
|
-
},{"./checkPropTypes":
|
39060
|
+
},{"./checkPropTypes":170,"./lib/ReactPropTypesSecret":174,"_process":169,"fbjs/lib/emptyFunction":65,"fbjs/lib/invariant":66,"fbjs/lib/warning":67}],173:[function(require,module,exports){
|
38913
39061
|
(function (process){
|
38914
39062
|
/**
|
38915
39063
|
* Copyright 2013-present, Facebook, Inc.
|
@@ -38943,7 +39091,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
38943
39091
|
}
|
38944
39092
|
|
38945
39093
|
}).call(this,require('_process'))
|
38946
|
-
},{"./factoryWithThrowingShims":
|
39094
|
+
},{"./factoryWithThrowingShims":171,"./factoryWithTypeCheckers":172,"_process":169}],174:[function(require,module,exports){
|
38947
39095
|
/**
|
38948
39096
|
* Copyright 2013-present, Facebook, Inc.
|
38949
39097
|
* All rights reserved.
|
@@ -38959,7 +39107,7 @@ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
38959
39107
|
|
38960
39108
|
module.exports = ReactPropTypesSecret;
|
38961
39109
|
|
38962
|
-
},{}],
|
39110
|
+
},{}],175:[function(require,module,exports){
|
38963
39111
|
if (typeof Object.create === 'function') {
|
38964
39112
|
// implementation from standard node.js 'util' module
|
38965
39113
|
module.exports = function inherits(ctor, superCtor) {
|
@@ -38984,14 +39132,14 @@ if (typeof Object.create === 'function') {
|
|
38984
39132
|
}
|
38985
39133
|
}
|
38986
39134
|
|
38987
|
-
},{}],
|
39135
|
+
},{}],176:[function(require,module,exports){
|
38988
39136
|
module.exports = function isBuffer(arg) {
|
38989
39137
|
return arg && typeof arg === 'object'
|
38990
39138
|
&& typeof arg.copy === 'function'
|
38991
39139
|
&& typeof arg.fill === 'function'
|
38992
39140
|
&& typeof arg.readUInt8 === 'function';
|
38993
39141
|
}
|
38994
|
-
},{}],
|
39142
|
+
},{}],177:[function(require,module,exports){
|
38995
39143
|
(function (process,global){
|
38996
39144
|
// Copyright Joyent, Inc. and other Node contributors.
|
38997
39145
|
//
|
@@ -39581,5 +39729,5 @@ function hasOwnProperty(obj, prop) {
|
|
39581
39729
|
}
|
39582
39730
|
|
39583
39731
|
}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
39584
|
-
},{"./support/isBuffer":
|
39732
|
+
},{"./support/isBuffer":176,"_process":169,"inherits":175}]},{},[21])(21)
|
39585
39733
|
});
|