From 6ab5d31fbab4f0c987b04d38c5a9c11f84be082e Mon Sep 17 00:00:00 2001 From: bosiraphael Date: Thu, 10 Oct 2024 12:06:41 +0200 Subject: [PATCH] replace enum folder to types --- .../InformationBannerReconnectAccountEmailAliases.tsx | 2 +- ...InformationBannerReconnectAccountInsufficientPermissions.tsx | 2 +- .../modules/information-banner/hooks/useAccountToReconnect.ts | 2 +- .../InformationBannerKeys.ts} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename packages/twenty-front/src/modules/information-banner/{enums/InformationBannerKeys.enum.ts => types/InformationBannerKeys.ts} (100%) diff --git a/packages/twenty-front/src/modules/information-banner/components/reconnect-account/InformationBannerReconnectAccountEmailAliases.tsx b/packages/twenty-front/src/modules/information-banner/components/reconnect-account/InformationBannerReconnectAccountEmailAliases.tsx index 03e7e04802f9..c3f381c1bcd5 100644 --- a/packages/twenty-front/src/modules/information-banner/components/reconnect-account/InformationBannerReconnectAccountEmailAliases.tsx +++ b/packages/twenty-front/src/modules/information-banner/components/reconnect-account/InformationBannerReconnectAccountEmailAliases.tsx @@ -1,6 +1,6 @@ import { InformationBanner } from '@/information-banner/components/InformationBanner'; -import { InformationBannerKeys } from '@/information-banner/enums/InformationBannerKeys.enum'; import { useAccountToReconnect } from '@/information-banner/hooks/useAccountToReconnect'; +import { InformationBannerKeys } from '@/information-banner/types/InformationBannerKeys'; import { useTriggerGoogleApisOAuth } from '@/settings/accounts/hooks/useTriggerGoogleApisOAuth'; import { IconRefresh } from 'twenty-ui'; diff --git a/packages/twenty-front/src/modules/information-banner/components/reconnect-account/InformationBannerReconnectAccountInsufficientPermissions.tsx b/packages/twenty-front/src/modules/information-banner/components/reconnect-account/InformationBannerReconnectAccountInsufficientPermissions.tsx index 45a4ca00b20b..7f74a129b652 100644 --- a/packages/twenty-front/src/modules/information-banner/components/reconnect-account/InformationBannerReconnectAccountInsufficientPermissions.tsx +++ b/packages/twenty-front/src/modules/information-banner/components/reconnect-account/InformationBannerReconnectAccountInsufficientPermissions.tsx @@ -1,6 +1,6 @@ import { InformationBanner } from '@/information-banner/components/InformationBanner'; -import { InformationBannerKeys } from '@/information-banner/enums/InformationBannerKeys.enum'; import { useAccountToReconnect } from '@/information-banner/hooks/useAccountToReconnect'; +import { InformationBannerKeys } from '@/information-banner/types/InformationBannerKeys'; import { useTriggerGoogleApisOAuth } from '@/settings/accounts/hooks/useTriggerGoogleApisOAuth'; import { IconRefresh } from 'twenty-ui'; diff --git a/packages/twenty-front/src/modules/information-banner/hooks/useAccountToReconnect.ts b/packages/twenty-front/src/modules/information-banner/hooks/useAccountToReconnect.ts index e73031015a44..ea74778ff536 100644 --- a/packages/twenty-front/src/modules/information-banner/hooks/useAccountToReconnect.ts +++ b/packages/twenty-front/src/modules/information-banner/hooks/useAccountToReconnect.ts @@ -1,6 +1,6 @@ import { ConnectedAccount } from '@/accounts/types/ConnectedAccount'; import { currentUserState } from '@/auth/states/currentUserState'; -import { InformationBannerKeys } from '@/information-banner/enums/InformationBannerKeys.enum'; +import { InformationBannerKeys } from '@/information-banner/types/InformationBannerKeys'; import { CoreObjectNameSingular } from '@/object-metadata/types/CoreObjectNameSingular'; import { useFindOneRecord } from '@/object-record/hooks/useFindOneRecord'; import { useRecoilValue } from 'recoil'; diff --git a/packages/twenty-front/src/modules/information-banner/enums/InformationBannerKeys.enum.ts b/packages/twenty-front/src/modules/information-banner/types/InformationBannerKeys.ts similarity index 100% rename from packages/twenty-front/src/modules/information-banner/enums/InformationBannerKeys.enum.ts rename to packages/twenty-front/src/modules/information-banner/types/InformationBannerKeys.ts