@tsed/platform-aws
Version:
Module to support AWS function with Ts.ED
18 lines • 552 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ParseApiGatewayPipe = void 0;
const tslib_1 = require("tslib");
const common_1 = require("@tsed/common");
/**
* @ignore
*/
let ParseApiGatewayPipe = class ParseApiGatewayPipe {
transform(value) {
return JSON.parse(decodeURIComponent(value));
}
};
ParseApiGatewayPipe = (0, tslib_1.__decorate)([
(0, common_1.Injectable)()
], ParseApiGatewayPipe);
exports.ParseApiGatewayPipe = ParseApiGatewayPipe;
//# sourceMappingURL=ParseApiGatewayPipe.js.map