planning
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s

This commit is contained in:
2024-10-14 09:15:30 +02:00
parent bcba00a730
commit 6e64e138e2
21059 changed files with 2317811 additions and 1 deletions

20
node_modules/apollo-link/lib/test-utils/setContext.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var link_1 = require("../link");
var SetContextLink = (function (_super) {
tslib_1.__extends(SetContextLink, _super);
function SetContextLink(setContext) {
if (setContext === void 0) { setContext = function (c) { return c; }; }
var _this = _super.call(this) || this;
_this.setContext = setContext;
return _this;
}
SetContextLink.prototype.request = function (operation, forward) {
operation.setContext(this.setContext(operation.getContext()));
return forward(operation);
};
return SetContextLink;
}(link_1.ApolloLink));
exports.default = SetContextLink;
//# sourceMappingURL=setContext.js.map