Files
Home_Buying_App/node_modules/@apollo/utils.dropunuseddefinitions/dist/index.js
jackbeeby b412dfe2ca Initialisation
Added the packages and files for the backend server
2024-12-15 17:48:45 +11:00

13 lines
445 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.dropUnusedDefinitions = void 0;
const graphql_1 = require("graphql");
function dropUnusedDefinitions(ast, operationName) {
const separated = (0, graphql_1.separateOperations)(ast)[operationName];
if (!separated) {
return ast;
}
return separated;
}
exports.dropUnusedDefinitions = dropUnusedDefinitions;
//# sourceMappingURL=index.js.map