repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert Statistics interface to type
[e-mobility-charging-stations-simulator.git]
/
src
/
performance
/
storage
/
MongoDBStorage.ts
diff --git
a/src/performance/storage/MongoDBStorage.ts
b/src/performance/storage/MongoDBStorage.ts
index cefab6f39a4b1cadb4f5681e51218adc592b81a6..711799083d28f1f36e775f3f83d8910b4eb3fb72 100644
(file)
--- a/
src/performance/storage/MongoDBStorage.ts
+++ b/
src/performance/storage/MongoDBStorage.ts
@@
-1,10
+1,11
@@
// Copyright Jerome Benoit. 2021. All Rights Reserved.
// Copyright Jerome Benoit. 2021. All Rights Reserved.
-import Constants from '../../utils/Constants';
import { MongoClient } from 'mongodb';
import { MongoClient } from 'mongodb';
-import Statistics from '../../types/Statistics';
-import
{ Storage } from './Storage
';
+
+import
type { Statistics } from '../../types/Statistics
';
import { StorageType } from '../../types/Storage';
import { StorageType } from '../../types/Storage';
+import Constants from '../../utils/Constants';
+import { Storage } from './Storage';
export class MongoDBStorage extends Storage {
private readonly client: MongoClient | null;
export class MongoDBStorage extends Storage {
private readonly client: MongoClient | null;