diff --git a/admin/src/utils/feature_flags.ts b/admin/src/utils/feature_flags.ts index bef862d182..a42116b6fd 100644 --- a/admin/src/utils/feature_flags.ts +++ b/admin/src/utils/feature_flags.ts @@ -6,7 +6,7 @@ export function hasPaidFeature(): boolean { // If the user is not a turkey user then no need to check. if (configs.ITA_SERVER != "turkey") return true; - const authorizedTiers: PaidTiers[] = ["p1", "b1","b0"]; + const authorizedTiers: PaidTiers[] = ["p1", "b0", "b1"]; return authorizedTiers.includes(configs.TIER); } diff --git a/admin/types.d.ts b/admin/types.d.ts index 2b8bc91529..83c9b2f073 100644 --- a/admin/types.d.ts +++ b/admin/types.d.ts @@ -7,13 +7,14 @@ export type ReticulumMetaT = { }; /** - * p0 : FREE TIER - * p1 : STANDARD TIER + * p0 : Starter + * p1 : Personal + * b0 : Professional * b1: BUSINESS TIER */ -export type TiersT = "p0" | "p1" | "b1"; +export type TiersT = "p0" | "p1" | "b0" | "b1"; -export type PaidTiers = "p1" | "b1"; +export type PaidTiers = "p1" | "b0" | "b1"; export type ReticulumRepoT = { accounts: {