From dbc34a10bd35f44f1c26da93acd5804c9b0fc0c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Fri, 13 Jun 2025 12:05:48 +0100 Subject: [PATCH] chore: remove flag enterprise-payg (#10139) https://linear.app/unleash/issue/2-3602/clean-up-flag-enterprise-payg Removes [enterprise-payg](https://app.unleash-hosted.com/hosted/projects/eg/features/enterprise-payg) Doesn't seem like this is being used anywhere. --- frontend/src/interfaces/uiConfig.ts | 1 - src/lib/types/experimental.ts | 5 ----- 2 files changed, 6 deletions(-) diff --git a/frontend/src/interfaces/uiConfig.ts b/frontend/src/interfaces/uiConfig.ts index c23997600b..45d5b90a11 100644 --- a/frontend/src/interfaces/uiConfig.ts +++ b/frontend/src/interfaces/uiConfig.ts @@ -81,7 +81,6 @@ export type UiFlags = { enableLegacyVariants?: boolean; flagCreator?: boolean; releasePlans?: boolean; - 'enterprise-payg'?: boolean; productivityReportEmail?: boolean; showUserDeviceCount?: boolean; consumptionModel?: boolean; diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index 92710fde76..83ab53db8f 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -47,7 +47,6 @@ export type IFlagKey = | 'releasePlans' | 'productivityReportEmail' | 'productivityReportUnsubscribers' - | 'enterprise-payg' | 'showUserDeviceCount' | 'memorizeStats' | 'streaming' @@ -233,10 +232,6 @@ const flags: IFlags = { process.env.UNLEASH_EXPERIMENTAL_PRODUCTIVITY_REPORT_UNSUBSCRIBERS, false, ), - 'enterprise-payg': parseEnvVarBoolean( - process.env.UNLEASH_EXPERIMENTAL_ENTERPRISE_PAYG, - false, - ), showUserDeviceCount: parseEnvVarBoolean( process.env.UNLEASH_EXPERIMENTAL_SHOW_USER_DEVICE_COUNT, false,