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
@@ -4,11 +4,11 @@ import { FeatureFlagKey } from '~/generated/graphql';
const getFeatureKey = (databaseKey: string): FeatureFlagKey | null => {
switch (databaseKey) {
case 'airtable':
return FeatureFlagKey.IsAirtableIntegrationEnabled;
return FeatureFlagKey.IS_AIRTABLE_INTEGRATION_ENABLED;
case 'postgresql':
return FeatureFlagKey.IsPostgreSQLIntegrationEnabled;
return FeatureFlagKey.IS_POSTGRESQL_INTEGRATION_ENABLED;
case 'stripe':
return FeatureFlagKey.IsStripeIntegrationEnabled;
return FeatureFlagKey.IS_STRIPE_INTEGRATION_ENABLED;
default:
return null;
}