pricing4ts
Version:
 Pricing4TS is a TypeScript-based toolkit designed to enhance the server-side functionality of a pricing-driven SaaS by enabling the seamless integration of pricing plans into the application logic. T
12 lines (11 loc) • 514 B
JavaScript
;
// deno-lint-ignore-file no-explicit-any
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = v30Tov31Updater;
var version_manager_1 = require("../../version-manager");
function v30Tov31Updater(extractedPricing) {
var nextVersion = (0, version_manager_1.calculateNextVersion)(extractedPricing.syntaxVersion);
extractedPricing.syntaxVersion = nextVersion;
// No more actions are needed, since only the variables field is extended
return extractedPricing;
}