UNPKG

@yandex-cloud/function-types

Version:

TypeScript typings for Serverless Functions in Yandex.Cloud

12 lines (11 loc) 334 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.handler = void 0; const handler = (event) => { var _a; return { statusCode: 200, body: ((_a = event.messages[0]) === null || _a === void 0 ? void 0 : _a.budgeted_amount.toString()) || "", }; }; exports.handler = handler;