fix: platformPlanGuard per active users plan (#21642)

* fix: platformPlanGuard per active users plan

* fix: refactor
This commit is contained in:
Morgan authored and GitHub committed 2025-05-30 09:42:23 +00:00
1 parent d8145bbc78
commit 24bb52d2e9
2 files changed
+14 -5

No files matched your search

+10 -1
View File
@@ -7,4 +7,13 @@ export enum PlatformPlan {
PER_ACTIVE_USER = "PER_ACTIVE_USER",
}
export type PlatformPlanType = "FREE" | "STARTER" | "ESSENTIALS" | "SCALE" | "ENTERPRISE" | "PER_ACTIVE_USER";
export const orderedPlans = [
"FREE",
"STARTER",
"ESSENTIALS",
"SCALE",
"PER_ACTIVE_USER",
"ENTERPRISE",
] as const;
export type PlatformPlanType = (typeof orderedPlans)[number];