feat: free tier region limits

This commit is contained in:
2026-03-22 05:24:01 +04:00
parent 42b6aae54e
commit 40c4d3341c
4 changed files with 21 additions and 6 deletions
+4
View File
@@ -3,20 +3,24 @@ export type Plan = "free" | "pro" | "lifetime";
export interface PlanLimits {
maxMonitors: number;
minIntervalS: number;
maxRegions: number;
}
const PLANS: Record<Plan, PlanLimits> = {
free: {
maxMonitors: 10,
minIntervalS: 30,
maxRegions: 1,
},
pro: {
maxMonitors: 200,
minIntervalS: 2,
maxRegions: 99,
},
lifetime: {
maxMonitors: 200,
minIntervalS: 2,
maxRegions: 99,
},
};