From: Jérôme Benoit Date: Mon, 24 Apr 2023 16:50:46 +0000 (+0200) Subject: refactor: cleanup storage type case X-Git-Tag: v1.2.12~91 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1abe401efb31da0c1ae37aee93a1379272091987;p=e-mobility-charging-stations-simulator.git refactor: cleanup storage type case Signed-off-by: Jérôme Benoit --- diff --git a/src/performance/storage/MikroOrmStorage.ts b/src/performance/storage/MikroOrmStorage.ts index 72fc82e8..d77b95a0 100644 --- a/src/performance/storage/MikroOrmStorage.ts +++ b/src/performance/storage/MikroOrmStorage.ts @@ -10,7 +10,7 @@ import { import { TsMorphMetadataProvider } from '@mikro-orm/reflection'; import { - type MikroORMDBType, + type MikroOrmDbType, PerformanceData, PerformanceRecord, type Statistics, @@ -75,7 +75,7 @@ export class MikroOrmStorage extends Storage { return { metadataProvider: TsMorphMetadataProvider, entities: [PerformanceRecord, PerformanceData], - type: this.storageType as MikroORMDBType, + type: this.storageType as MikroOrmDbType, clientUrl: this.getClientUrl(), }; } diff --git a/src/types/index.ts b/src/types/index.ts index 1e1842de..8b060dd0 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -92,7 +92,7 @@ export { MeterValueUnit, type MeterValuesRequest, type MeterValuesResponse, - type MikroOrmDbType as MikroORMDBType, + type MikroOrmDbType, OCPP16AuthorizationStatus, type OCPP16AuthorizeRequest, type OCPP16AuthorizeResponse,