X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fperformance%2Fstorage%2FMikroOrmStorage.ts;h=e5b09b588b2a373ea14aa76854f9a3e5fc1df7f5;hb=3e8d029bbd0a072ae80c45e9a50770de3218cbc1;hp=72fc82e87e21d1fb990553fd2b12b7328ed436a0;hpb=c8aafe0d6d0ccc1c9bbce5db003e3bb27be9044f;p=e-mobility-charging-stations-simulator.git diff --git a/src/performance/storage/MikroOrmStorage.ts b/src/performance/storage/MikroOrmStorage.ts index 72fc82e8..e5b09b58 100644 --- a/src/performance/storage/MikroOrmStorage.ts +++ b/src/performance/storage/MikroOrmStorage.ts @@ -9,15 +9,15 @@ import { } from '@mikro-orm/core'; import { TsMorphMetadataProvider } from '@mikro-orm/reflection'; +import { Storage } from './Storage'; import { - type MikroORMDBType, + type MikroOrmDbType, PerformanceData, PerformanceRecord, type Statistics, StorageType, } from '../../types'; import { Constants } from '../../utils'; -import { Storage } from '../internal'; export class MikroOrmStorage extends Storage { private storageType: StorageType; @@ -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(), }; }