1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.parseSelectionSet = void 0;
|
4 | const graphql_1 = require("graphql");
|
5 | function parseSelectionSet(selectionSet, options) {
|
6 | const query = (0, graphql_1.parse)(selectionSet, options).definitions[0];
|
7 | return query.selectionSet;
|
8 | }
|
9 | exports.parseSelectionSet = parseSelectionSet;
|