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
@@ -123,7 +123,7 @@ export class UserResolver {
) {
const isPermissionsV2Enabled =
await this.featureFlagService.isFeatureEnabled(
FeatureFlagKey.IsPermissionsV2Enabled,
FeatureFlagKey.IS_PERMISSIONS_V2_ENABLED,
workspace.id,
);
@@ -334,7 +334,7 @@ export class UserResolver {
})
supportUserHash(@Parent() parent: User): string | null {
if (
this.twentyConfigService.get('SUPPORT_DRIVER') !== SupportDriver.Front
this.twentyConfigService.get('SUPPORT_DRIVER') !== SupportDriver.FRONT
) {
return null;
}