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
56 lines (54 loc) • 909 B
YAML
saasName: To purchase addOn A you have to purchase two plans
version: '2.0'
createdAt: 2024-11-19
currency: EUR
hasAnnualPayment: false
features:
feature1:
description: ''
valueType: BOOLEAN
defaultValue: false
type: DOMAIN
feature2:
description: ''
valueType: BOOLEAN
defaultValue: false
type: DOMAIN
feature3:
description: ''
valueType: BOOLEAN
defaultValue: true
type: DOMAIN
feature4:
description: ''
valueType: BOOLEAN
defaultValue: false
type: DOMAIN
plans:
BASIC:
price: 10
features: null
PRO:
price: 20
features:
feature4:
value: true
addOns:
A:
price: 10
unit: ''
availableFor:
- BASIC
features:
feature1:
value: true
dependsOn:
- B
B:
price: 10
unit: ''
availableFor:
- PRO
features:
feature2:
value: true