Files
Home_Buying_App/node_modules/@graphql-tools/utils/cjs/selectionSets.js
jackbeeby b412dfe2ca Initialisation
Added the packages and files for the backend server
2024-12-15 17:48:45 +11:00

10 lines
361 B
JavaScript

"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;