Initialisation
Added the packages and files for the backend server
This commit is contained in:
9
node_modules/@graphql-tools/utils/cjs/selectionSets.js
generated
vendored
Normal file
9
node_modules/@graphql-tools/utils/cjs/selectionSets.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.parseSelectionSet = void 0;
|
||||
const graphql_1 = require("graphql");
|
||||
function parseSelectionSet(selectionSet, options) {
|
||||
const query = (0, graphql_1.parse)(selectionSet, options).definitions[0];
|
||||
return query.selectionSet;
|
||||
}
|
||||
exports.parseSelectionSet = parseSelectionSet;
|
||||
Reference in New Issue
Block a user