diff --git a/packages/manager/apps/hycu/src/data/api/hycu.ts b/packages/manager/apps/hycu/src/data/api/hycu.ts index b7ebf0617df5..a21d12cf6aeb 100644 --- a/packages/manager/apps/hycu/src/data/api/hycu.ts +++ b/packages/manager/apps/hycu/src/data/api/hycu.ts @@ -1,6 +1,6 @@ import { AxiosResponse } from 'axios'; import { fetchIcebergV6, apiClient } from '@ovh-ux/manager-core-api'; -import { IHycuDetails } from '@/type/hycu.details.interface'; +import { IHycuDetails } from '@/types/hycu.details.interface'; export type GetlicenseHycuListParams = { /** Filter resources on IAM tags */ diff --git a/packages/manager/apps/hycu/src/hooks/api/license.ts b/packages/manager/apps/hycu/src/hooks/api/license.ts index 3c7854b22c14..f92474b566f6 100644 --- a/packages/manager/apps/hycu/src/hooks/api/license.ts +++ b/packages/manager/apps/hycu/src/hooks/api/license.ts @@ -1,7 +1,7 @@ import { AxiosResponse } from 'axios'; import { DefinedInitialDataOptions, useQuery } from '@tanstack/react-query'; import { getlicenseHycuService } from '@/data/api/hycu'; -import { IHycuDetails } from '@/type/hycu.details.interface'; +import { IHycuDetails } from '@/types/hycu.details.interface'; export const useDetailsLicenseHYCU = ( serviceName: string, diff --git a/packages/manager/apps/hycu/src/mocks/licenseHycu/licenseHycu.data.ts b/packages/manager/apps/hycu/src/mocks/licenseHycu/licenseHycu.data.ts index 998a3e14e3fb..4136c839cbab 100644 --- a/packages/manager/apps/hycu/src/mocks/licenseHycu/licenseHycu.data.ts +++ b/packages/manager/apps/hycu/src/mocks/licenseHycu/licenseHycu.data.ts @@ -1,4 +1,4 @@ -import { IHycuDetails, LicenseStatus } from '@/type/hycu.details.interface'; +import { IHycuDetails, LicenseStatus } from '@/types/hycu.details.interface'; export const licensesHycu: IHycuDetails[] = [ { diff --git a/packages/manager/apps/hycu/src/mocks/licenseHycu/licenseHycu.ts b/packages/manager/apps/hycu/src/mocks/licenseHycu/licenseHycu.ts index 9d12981a842b..896897416377 100644 --- a/packages/manager/apps/hycu/src/mocks/licenseHycu/licenseHycu.ts +++ b/packages/manager/apps/hycu/src/mocks/licenseHycu/licenseHycu.ts @@ -1,4 +1,4 @@ -import { LicenseStatus } from '@/type/hycu.details.interface'; +import { LicenseStatus } from '@/types/hycu.details.interface'; import { Handler } from '../../../../../../../playwright-helpers'; import { licensesHycu } from './licenseHycu.data'; diff --git a/packages/manager/apps/hycu/src/mocks/serviceLicenseHycu/serviceLicenseHycu.ts b/packages/manager/apps/hycu/src/mocks/serviceLicenseHycu/serviceLicenseHycu.ts index 8168d84c5468..27ea5e1218e6 100644 --- a/packages/manager/apps/hycu/src/mocks/serviceLicenseHycu/serviceLicenseHycu.ts +++ b/packages/manager/apps/hycu/src/mocks/serviceLicenseHycu/serviceLicenseHycu.ts @@ -1,4 +1,4 @@ -import { LicenseStatus } from '@/type/hycu.details.interface'; +import { LicenseStatus } from '@/types/hycu.details.interface'; import { Handler } from '../../../../../../../playwright-helpers'; import { licensesHycuService } from './serviceLicenseHycu.data'; diff --git a/packages/manager/apps/hycu/src/pages/dashboard/general-information/GeneralInformationsTiles/GeneralInformationsTile.spec.tsx b/packages/manager/apps/hycu/src/pages/dashboard/general-information/GeneralInformationsTiles/GeneralInformationsTile.spec.tsx index 850d04f7e0f6..338b97b16a21 100644 --- a/packages/manager/apps/hycu/src/pages/dashboard/general-information/GeneralInformationsTiles/GeneralInformationsTile.spec.tsx +++ b/packages/manager/apps/hycu/src/pages/dashboard/general-information/GeneralInformationsTiles/GeneralInformationsTile.spec.tsx @@ -2,7 +2,7 @@ import { screen, waitFor } from '@testing-library/react'; import { renderTestApp } from '@/utils/tests/renderTestApp'; import '@testing-library/jest-dom'; import { labels } from '@/utils/tests/init.i18n'; -import { LicenseStatus } from '@/type/hycu.details.interface'; +import { LicenseStatus } from '@/types/hycu.details.interface'; describe('License Hycu general informations tile for dashboard test suite', () => { it('should show informations of services', async () => { diff --git a/packages/manager/apps/hycu/src/pages/dashboard/general-information/GeneralInformationsTiles/GeneralInformationsTile.tsx b/packages/manager/apps/hycu/src/pages/dashboard/general-information/GeneralInformationsTiles/GeneralInformationsTile.tsx index b453d3984efa..c3f20b738151 100644 --- a/packages/manager/apps/hycu/src/pages/dashboard/general-information/GeneralInformationsTiles/GeneralInformationsTile.tsx +++ b/packages/manager/apps/hycu/src/pages/dashboard/general-information/GeneralInformationsTiles/GeneralInformationsTile.tsx @@ -24,7 +24,7 @@ import React from 'react'; import { useTranslation } from 'react-i18next'; import { getStatusColor } from '@/utils/statusColor'; import { useDetailsLicenseHYCU } from '@/hooks/api/license'; -import { LicenseStatus } from '@/type/hycu.details.interface'; +import { LicenseStatus } from '@/types/hycu.details.interface'; const DownloadHycuLicense = ({ serviceName }: { serviceName: string }) => { const { t } = useTranslation('hycu/dashboard'); diff --git a/packages/manager/apps/hycu/src/pages/dashboard/general-information/ShortcutsTile/ShortcutsTile.spec.tsx b/packages/manager/apps/hycu/src/pages/dashboard/general-information/ShortcutsTile/ShortcutsTile.spec.tsx index f28b5348f1be..a346035d6a91 100644 --- a/packages/manager/apps/hycu/src/pages/dashboard/general-information/ShortcutsTile/ShortcutsTile.spec.tsx +++ b/packages/manager/apps/hycu/src/pages/dashboard/general-information/ShortcutsTile/ShortcutsTile.spec.tsx @@ -2,7 +2,7 @@ import '@testing-library/jest-dom'; import { screen, waitFor } from '@testing-library/react'; import { renderTestApp } from '@/utils/tests/renderTestApp'; import { labels } from '@/utils/tests/init.i18n'; -import { LicenseStatus } from '@/type/hycu.details.interface'; +import { LicenseStatus } from '@/types/hycu.details.interface'; describe('License Hycu shortcuts tile for dashboard test suite', () => { it('should show links of service to activate', async () => { diff --git a/packages/manager/apps/hycu/src/pages/dashboard/general-information/ShortcutsTile/ShortcutsTile.tsx b/packages/manager/apps/hycu/src/pages/dashboard/general-information/ShortcutsTile/ShortcutsTile.tsx index 055cf9ee3029..f94f4c5bf6b7 100644 --- a/packages/manager/apps/hycu/src/pages/dashboard/general-information/ShortcutsTile/ShortcutsTile.tsx +++ b/packages/manager/apps/hycu/src/pages/dashboard/general-information/ShortcutsTile/ShortcutsTile.tsx @@ -6,7 +6,7 @@ import { useTranslation } from 'react-i18next'; import { ODS_ICON_NAME } from '@ovhcloud/ods-components'; import { ODS_THEME_COLOR_INTENT } from '@ovhcloud/ods-common-theming'; import { useDetailsLicenseHYCU } from '@/hooks/api/license'; -import { LicenseStatus } from '@/type/hycu.details.interface'; +import { LicenseStatus } from '@/types/hycu.details.interface'; const ShortcutsItem = ({ children, diff --git a/packages/manager/apps/hycu/src/pages/listing/Listing.page.tsx b/packages/manager/apps/hycu/src/pages/listing/Listing.page.tsx index 0028e304b05e..458d15dd4694 100644 --- a/packages/manager/apps/hycu/src/pages/listing/Listing.page.tsx +++ b/packages/manager/apps/hycu/src/pages/listing/Listing.page.tsx @@ -30,7 +30,7 @@ import { useFormattedDate, } from '@ovh-ux/manager-react-components/src/hooks/date/useFormattedDate'; import HYCU_CONFIG from '@/hycu.config'; -import { IHycuDetails } from '@/type/hycu.details.interface'; +import { IHycuDetails } from '@/types/hycu.details.interface'; import { urls, subRoutes } from '@/routes/routes.constant'; import HycuActionMenu from './menu/HycuActionMenu.component'; diff --git a/packages/manager/apps/hycu/src/pages/listing/menu/HycuActionMenu.component.tsx b/packages/manager/apps/hycu/src/pages/listing/menu/HycuActionMenu.component.tsx index 24d7466a0bbc..1bc6481d690f 100644 --- a/packages/manager/apps/hycu/src/pages/listing/menu/HycuActionMenu.component.tsx +++ b/packages/manager/apps/hycu/src/pages/listing/menu/HycuActionMenu.component.tsx @@ -3,7 +3,7 @@ import { ODS_THEME_COLOR_INTENT } from '@ovhcloud/ods-common-theming'; import React from 'react'; import { ODS_ICON_NAME } from '@ovhcloud/ods-components'; import { useTranslation } from 'react-i18next'; -import { IHycuDetails } from '@/type/hycu.details.interface'; +import { IHycuDetails } from '@/types/hycu.details.interface'; const HycuActionMenu = ({ serviceName: _serviceName, diff --git a/packages/manager/apps/hycu/src/type/hycu.details.interface.ts b/packages/manager/apps/hycu/src/types/hycu.details.interface.ts similarity index 100% rename from packages/manager/apps/hycu/src/type/hycu.details.interface.ts rename to packages/manager/apps/hycu/src/types/hycu.details.interface.ts diff --git a/packages/manager/apps/hycu/src/utils/statusColor.ts b/packages/manager/apps/hycu/src/utils/statusColor.ts index 75efb753736a..a904a26482d2 100644 --- a/packages/manager/apps/hycu/src/utils/statusColor.ts +++ b/packages/manager/apps/hycu/src/utils/statusColor.ts @@ -1,5 +1,5 @@ import { ODS_THEME_COLOR_INTENT } from '@ovhcloud/ods-common-theming'; -import { LicenseStatus } from '@/type/hycu.details.interface'; +import { LicenseStatus } from '@/types/hycu.details.interface'; /* v8 ignore start */ export const getStatusColor = (