Skip to content

Commit

Permalink
feat: cleanup project
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Perchoc <[email protected]>
  • Loading branch information
jperchoc committed Sep 26, 2024
1 parent 0c29e15 commit 6b2792f
Show file tree
Hide file tree
Showing 860 changed files with 7,154 additions and 5,956 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
</strong>
</noscript>
<div id="root"></div>
<script type="module" src="./index.tsx"></script>
<script type="module" src="./src/main.tsx"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions packages/manager/apps/pci-databases-analytics/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import '@ovhcloud/ods-theme-blue-jeans';
import './global.css';

import queryClient from './query.client';
import Router from './Router';
import Loading from './components/Loading/Loading';
import { useLoadingIndicatorContext } from './contexts/loadingIndicatorContext';
import ProgressLoader from './components/Loading/ProgressLoader';
import Router from './routes/Router';
import Loading from './components/loading/Loading.component';
import { useLoadingIndicatorContext } from './contexts/LoadingIndicator.context';
import ProgressLoader from './components/loading/ProgressLoader.component';

odsSetup();

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { FullCapabilities } from '@/hooks/api/availabilities.api.hooks';
import { database } from '@/models/database';
import { FullCapabilities } from '@/hooks/api/database/capabilities/useGetFullCapabilities.hook';
import * as database from '@/types/cloud/project/database';

export const mockedAvailabilities: database.Availability = {
backup: database.BackupTypeEnum.automatic,
Expand All @@ -8,7 +8,7 @@ export const mockedAvailabilities: database.Availability = {
available: true,
retentionDays: 2,
},
category: database.CategoryEnum.all,
category: database.engine.CategoryEnum.all,
default: false,
engine: database.EngineEnum.mongodb,
flavor: 'flavor',
Expand Down Expand Up @@ -51,7 +51,7 @@ export const mockedAvailabilities: database.Availability = {
stepDiskSize: 10,
};

export const mockedSuggestions: database.Suggestion = {
export const mockedSuggestions: database.availability.Suggestion = {
default: true,
engine: database.EngineEnum.mongodb,
flavor: 'flavor',
Expand All @@ -61,7 +61,7 @@ export const mockedSuggestions: database.Suggestion = {
};

export const mockedEngine: database.capabilities.Engine = {
category: database.CategoryEnum.operational,
category: database.engine.CategoryEnum.operational,
defaultVersion: 'defaultVersion',
description: 'description',
name: database.EngineEnum.mongodb,
Expand Down Expand Up @@ -91,7 +91,7 @@ export const mockedFlavor: database.capabilities.Flavor = {
},
},
storage: 250,
tags: [database.capabilities.Tags.current],
tags: [database.capabilities.TagEnum.current],
};

export const mockedOption: database.capabilities.Option = {
Expand All @@ -108,7 +108,7 @@ export const mockedPlan: database.capabilities.Plan = {
},
name: 'plan',
order: 3,
tags: [database.capabilities.Tags.current],
tags: [database.capabilities.TagEnum.current],
};

export const mockedCapabilities: database.Capabilities = {
Expand All @@ -120,8 +120,8 @@ export const mockedCapabilities: database.Capabilities = {
regions: ['Region1', 'Region2'],
};

export const mockedEngineCapabilities: database.EngineCapabilities = {
category: database.CategoryEnum.operational,
export const mockedEngineCapabilities: database.capabilities.EngineCapabilities = {
category: database.engine.CategoryEnum.operational,
description: 'description',
lifecycle: {
startDate: 'startDate',
Expand All @@ -131,7 +131,7 @@ export const mockedEngineCapabilities: database.EngineCapabilities = {
order: 1,
sslModes: ['sslModes'],
storage: database.capabilities.engine.storage.StrategyEnum.distributed,
tags: [database.capabilities.Tags.current],
tags: [database.capabilities.TagEnum.current],
versions: [
{
default: true,
Expand All @@ -140,19 +140,19 @@ export const mockedEngineCapabilities: database.EngineCapabilities = {
status: database.availability.StatusEnum.STABLE,
},
name: 'version',
tags: [database.capabilities.Tags.current],
tags: [database.capabilities.TagEnum.current],
},
],
};

export const mockedRegionCapabilities: database.RegionCapabilities = {
export const mockedRegionCapabilities: database.capabilities.RegionCapabilities = {
lifecycle: {
startDate: 'startDate',
status: database.availability.StatusEnum.STABLE,
},
name: 'region',
order: 1,
tags: [database.capabilities.Tags.current],
tags: [database.capabilities.TagEnum.current],
};

export const mockedFullCapabilities: FullCapabilities = {
Expand All @@ -171,7 +171,7 @@ export const mockedAvailabilitiesUpdate: database.Availability = {
available: true,
retentionDays: 2,
},
category: database.CategoryEnum.all,
category: database.engine.CategoryEnum.all,
default: false,
engine: database.EngineEnum.mongodb,
flavor: 'flavor',
Expand Down
Loading

0 comments on commit 6b2792f

Please sign in to comment.