This commit is contained in:
2026-03-22 06:01:05 +04:00
parent fd592a5a2e
commit d5510aae14
5 changed files with 18 additions and 18 deletions
+7 -7
View File
@@ -8,10 +8,10 @@ export interface PlanLimits {
const PLANS: Record<Plan, PlanLimits> = {
free: { maxMonitors: 10, minIntervalS: 30, maxRegions: 1 },
pro: { maxMonitors: 200, minIntervalS: 5, maxRegions: 99 },
pro2x: { maxMonitors: 400, minIntervalS: 2, maxRegions: 99 },
pro4x: { maxMonitors: 800, minIntervalS: 1, maxRegions: 99 },
lifetime: { maxMonitors: 200, minIntervalS: 5, maxRegions: 99 },
pro: { maxMonitors: 200, minIntervalS: 10, maxRegions: 99 },
pro2x: { maxMonitors: 400, minIntervalS: 5, maxRegions: 99 },
pro4x: { maxMonitors: 800, minIntervalS: 2, maxRegions: 99 },
lifetime: { maxMonitors: 200, minIntervalS: 10, maxRegions: 99 },
};
export function getPlanLimits(plan: string): PlanLimits {
@@ -24,9 +24,9 @@ export const PLAN_LABELS: Record<string, string> = {
};
export const PRO_MULTIPLIERS = [
{ plan: "pro", label: "1x", monitors: 200, interval: "5s", priceMultiplier: 1 },
{ plan: "pro2x", label: "2x", monitors: 400, interval: "2s", priceMultiplier: 2 },
{ plan: "pro4x", label: "4x", monitors: 800, interval: "1s", priceMultiplier: 4 },
{ plan: "pro", label: "1x", monitors: 200, interval: "10s", priceMultiplier: 1 },
{ plan: "pro2x", label: "2x", monitors: 400, interval: "5s", priceMultiplier: 2 },
{ plan: "pro4x", label: "4x", monitors: 800, interval: "2s", priceMultiplier: 4 },
];
export const PRO_MONTHLY_USD = 12;