Update enums to be all caps (#12372)

- Make custom domain public (remove from lab)
- Use ALL_CAPS definition for enums
This commit is contained in:
Félix Malfait
2025-05-29 14:08:36 +02:00
committed by GitHub
parent 76d0be7f81
commit 4485e8e3db
165 changed files with 845 additions and 847 deletions

View File

@ -34,9 +34,9 @@ export const validateRemoteServerType = async (
const getFeatureFlagKey = (remoteServerType: RemoteServerType) => {
switch (remoteServerType) {
case RemoteServerType.POSTGRES_FDW:
return FeatureFlagKey.IsPostgreSQLIntegrationEnabled;
return FeatureFlagKey.IS_POSTGRESQL_INTEGRATION_ENABLED;
case RemoteServerType.STRIPE_FDW:
return FeatureFlagKey.IsStripeIntegrationEnabled;
return FeatureFlagKey.IS_STRIPE_INTEGRATION_ENABLED;
default:
throw new RemoteServerException(
`Type ${remoteServerType} is not supported.`,