Initialisation
Added the packages and files for the backend server
This commit is contained in:
13
node_modules/@apollo/utils.dropunuseddefinitions/dist/index.js
generated
vendored
Normal file
13
node_modules/@apollo/utils.dropunuseddefinitions/dist/index.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
"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
|
||||
Reference in New Issue
Block a user