-export { PerformanceStatistics, type Storage, StorageFactory } from './internal';
+export { PerformanceStatistics } from './PerformanceStatistics';
+export { type Storage } from './storage/Storage';
+export { StorageFactory } from './storage/StorageFactory';
+++ /dev/null
-export * from './storage/JsonFileStorage';
-export * from './storage/MikroOrmStorage';
-export * from './storage/MongoDBStorage';
-export * from './storage/Storage';
-export * from './storage/StorageFactory';
-
-export * from './PerformanceStatistics';
import fs from 'node:fs';
import path from 'node:path';
+import { Storage } from './Storage';
import { FileType, type Statistics } from '../../types';
import { AsyncLock, AsyncLockType, Constants, FileUtils, Utils } from '../../utils';
-import { Storage } from '../internal';
export class JsonFileStorage extends Storage {
private fd: number | null = null;
} from '@mikro-orm/core';
import { TsMorphMetadataProvider } from '@mikro-orm/reflection';
+import { Storage } from './Storage';
import {
type MikroOrmDbType,
PerformanceData,
StorageType,
} from '../../types';
import { Constants } from '../../utils';
-import { Storage } from '../internal';
export class MikroOrmStorage extends Storage {
private storageType: StorageType;
import { MongoClient } from 'mongodb';
+import { Storage } from './Storage';
import { type Statistics, StorageType } from '../../types';
import { Constants } from '../../utils';
-import { Storage } from '../internal';
export class MongoDBStorage extends Storage {
private readonly client: MongoClient | null;
// Copyright Jerome Benoit. 2021-2023. All Rights Reserved.
+import { JsonFileStorage } from './JsonFileStorage';
+import { MikroOrmStorage } from './MikroOrmStorage';
+import { MongoDBStorage } from './MongoDBStorage';
+import type { Storage } from './Storage';
import { StorageType } from '../../types';
-import { JsonFileStorage, MikroOrmStorage, MongoDBStorage, type Storage } from '../internal';
export class StorageFactory {
private constructor() {