Revert "feat: 🎸 volume-based tiered pricing"

This commit is contained in:
amianthus
2026-02-25 19:19:10 +00:00
committed by GitHub
parent 54ab118fd6
commit 544581a8ca
64 changed files with 339 additions and 4730 deletions

View File

@@ -1,22 +1,18 @@
import { priceIsTieredOneOff } from "@utils/productUtils/priceUtils/classifyPrice/priceIsTieredOneOff.js";
import { priceToAllowanceInPacks } from "@utils/productUtils/priceUtils/convertPrice/priceToAllowanceInPacks.js";
import { priceToStripeCreatePriceParams } from "@utils/productUtils/priceUtils/convertPrice/priceToStripeCreatePriceParams.js";
import { priceToStripeTiersMode } from "./convertPrice/priceToStripeTiersMode.js";
export * from "./classifyPrice/priceIsTieredOneOff.js";
export * from "./classifyPriceUtils.js";
export * from "./convertAmountUtils.js";
export * from "./convertPrice/priceToStripeTiersMode.js";
export * from "./convertPriceUtils.js";
export * from "./findPrice/findPriceByFeatureId.js";
export * from "./formatPriceUtils.js";
export * from "./getPriceForOverage.js";
export const priceUtils = {
convert: {
toAllowanceInPacks: priceToAllowanceInPacks,
toStripeCreatePriceParams: priceToStripeCreatePriceParams,
toStripeTiersMode: priceToStripeTiersMode,
},
isTieredOneOff: priceIsTieredOneOff,