From 1abe401efb31da0c1ae37aee93a1379272091987 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 24 Apr 2023 18:50:46 +0200 Subject: [PATCH] refactor: cleanup storage type case MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/performance/storage/MikroOrmStorage.ts | 4 ++-- src/types/index.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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, -- 2.34.1