UNPKG

pricing4ts

Version:

![NPM Version](https://img.shields.io/npm/v/pricing4ts) 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

43 lines (42 loc) 955 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.generateEmptyPricing = generateEmptyPricing; exports.generatePricingToBeWritten = generatePricingToBeWritten; function generateEmptyPricing() { return { saasName: "", syntaxVersion: "0.0", version: "", url: "", createdAt: new Date(), currency: "", billing: { "monthly": 1, }, variables: {}, tags: [], features: {}, usageLimits: {}, plans: {}, addOns: {} }; } function generatePricingToBeWritten() { return { saasName: "", syntaxVersion: "0.0", version: "", url: "", createdAt: "", currency: "", billing: { "monthly": 1, }, variables: {}, tags: [], features: {}, usageLimits: {}, plans: {}, addOns: {} }; }