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
32 lines (31 loc) • 548 B
YAML
saasName: Test
version: '2.0'
currency: EUR
createdAt: '2024-08-31'
variables:
vip: true
x: 15
features:
foo:
type: DOMAIN
valueType: TEXT
defaultValue: baz
addOnFeature:
type: DOMAIN
valueType: BOOLEAN
defaultValue: false
plans:
PRO:
description: Pro plan
price: 15.99
unit: user/month
features: null
usageLimits: null
addOns:
test:
description: Test addOn
price: 'Math.floor(#x / 5) < 1 ? #x * 10 : 100.0'
unit: user/month
features:
addOnFeature:
value: true