UNPKG

ng-apimock-with-presets

Version:

An ng-apimock fork with preset functionality

15 lines 636 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var http_1 = require("../../http"); var GetVariablesHandler = (function () { function GetVariablesHandler() { } GetVariablesHandler.prototype.handleRequest = function (request, response, next, registry, ngApimockId) { var variables = this.getVariables(registry, ngApimockId); response.writeHead(200, http_1.httpHeaders.CONTENT_TYPE_APPLICATION_JSON); response.end(JSON.stringify(variables)); }; return GetVariablesHandler; }()); exports.default = GetVariablesHandler; //# sourceMappingURL=getVariablesHandler.js.map