15974 add missing plan to creator check (#16005)

* Change creator functionality to premium

* Remove unused isEnterprisePlan function

* Add ENTERPRISE_BASIC constant

* Renamed isPremiumPlan to isPremiumOrAbove based on feedback.

* Added premium_plus plan to creators.

* Added premium_plus to PlanType list.
This commit is contained in:
Conor Webb 2025-04-24 11:06:07 +01:00 committed by GitHub
parent 33c8c37742
commit 45d95ae0be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@
$: isPremiumOrAbove = [
Constants.PlanType.PREMIUM,
Constants.PlanType.PREMIUM_PLUS,
Constants.PlanType.ENTERPRISE,
Constants.PlanType.ENTERPRISE_BASIC_TRIAL,
Constants.PlanType.ENTERPRISE_BASIC,

View File

@ -86,6 +86,7 @@ export const PlanType = {
PRO: "pro",
BUSINESS: "business",
PREMIUM: "premium",
PREMIUM_PLUS: "premium_plus",
ENTERPRISE: "enterprise",
ENTERPRISE_BASIC_TRIAL: "enterprise_basic_trial",
}