mirror of
https://github.com/hanzoai/dataroom.git
synced 2026-10-30 18:41:07 +00:00
The dataroom carried its own plan catalog, feature grid and Stripe price-id mapper with no payment SDK behind them, so nothing there could take money. Plans and pricing now open pay.hanzo.ai, invoices and payment method open billing.hanzo.ai, both named once in lib/billing/hosted.ts. UpgradePlanModal keeps its name, props and children API across all 45 call sites; clickedPlan rides the analytics event and highlightItem no longer has an effect, since the hosted page owns the catalog.
18 lines
419 B
TypeScript
18 lines
419 B
TypeScript
export enum PlanEnum {
|
|
Pro = "Pro",
|
|
Business = "Business",
|
|
DataRooms = "Data Rooms",
|
|
DataRoomsPlus = "Data Rooms Plus",
|
|
DataRoomsPremium = "Data Rooms Premium",
|
|
}
|
|
|
|
export const PLAN_NAME_MAP: Record<string, string> = {
|
|
free: "Free",
|
|
starter: "Starter",
|
|
pro: "Pro",
|
|
business: "Business",
|
|
datarooms: "Data Rooms",
|
|
"datarooms-plus": "Data Rooms Plus",
|
|
"datarooms-premium": "Data Rooms Premium",
|
|
};
|