@@ -22,19 +22,19 @@ export const ADMIN_CAN_NOT_BE_DELETED =
2222 * Token Authorization failed (Check 'Authorization' Header)
2323 * (GqlAuthGuard)
2424 */
25- export const AUTH_FAIL = 'auth/fail' ;
25+ export const AUTH_FAIL = 'auth/fail' as const ;
2626
2727/**
2828 * Invalid JSON
2929 * (Utils)
3030 */
31- export const JSON_INVALID = 'json_invalid' ;
31+ export const JSON_INVALID = 'json_invalid' as const ;
3232
3333/**
3434 * Auth Provider not specified
3535 * (Auth)
3636 */
37- export const AUTH_PROVIDER_NOT_SPECIFIED = 'auth/provider_not_specified' ;
37+ export const AUTH_PROVIDER_NOT_SPECIFIED = 'auth/provider_not_specified' as const ;
3838
3939/**
4040 * Email not provided by OAuth provider
@@ -168,7 +168,7 @@ export const TEAM_NOT_REQUIRED_ROLE = 'team/not_required_role' as const;
168168 * Team name validation failure
169169 * (TeamService)
170170 */
171- export const TEAM_NAME_INVALID = 'team/name_invalid' ;
171+ export const TEAM_NAME_INVALID = 'team/name_invalid' as const ;
172172
173173/**
174174 * Couldn't find the sync data from the user
@@ -432,47 +432,41 @@ export const USER_ENVIRONMENT_GLOBAL_ENV_DOES_NOT_EXISTS =
432432 */
433433export const USER_ENVIRONMENT_GLOBAL_ENV_EXISTS =
434434 'user_environment/global_env_already_exists' as const ;
435- /*
436435
437436/**
438437 * User environment doesn't exist for the user
439438 * (UserEnvironmentsService)
440439 */
441440export const USER_ENVIRONMENT_ENV_DOES_NOT_EXISTS =
442441 'user_environment/user_env_does_not_exists' as const ;
443- /*
444442
445443/**
446444 * Cannot delete the global user environment
447445 * (UserEnvironmentsService)
448446 */
449447export const USER_ENVIRONMENT_GLOBAL_ENV_DELETION_FAILED =
450448 'user_environment/user_env_global_env_deletion_failed' as const ;
451- /*
452449
453450/**
454451 * User environment is not a global environment
455452 * (UserEnvironmentsService)
456453 */
457454export const USER_ENVIRONMENT_IS_NOT_GLOBAL =
458455 'user_environment/user_env_is_not_global' as const ;
459- /*
460456
461457/**
462458 * User environment update failed
463459 * (UserEnvironmentsService)
464460 */
465461export const USER_ENVIRONMENT_UPDATE_FAILED =
466462 'user_environment/user_env_update_failed' as const ;
467- /*
468463
469464/**
470465 * User environment invalid environment name
471466 * (UserEnvironmentsService)
472467 */
473468export const USER_ENVIRONMENT_INVALID_ENVIRONMENT_NAME =
474469 'user_environment/user_env_invalid_env_name' as const ;
475- /*
476470
477471/**
478472 * User history not found
0 commit comments