import { Module } from '@nestjs/common';

import { InMemoryRacingPersistenceModule } from '../../persistence/inmemory/InMemoryRacingPersistenceModule';
import { InMemorySocialPersistenceModule } from '../../persistence/inmemory/InMemorySocialPersistenceModule';

/**
 * @deprecated Legacy compatibility module.
 *
 * The real in-memory persistence wiring lives in bounded, non-global modules:
 * - `InMemoryRacingPersistenceModule`
 * - `InMemorySocialPersistenceModule`
 *
 * This module intentionally does not define providers itself (to avoid competing instances).
 */
@Module({
  imports: [InMemoryRacingPersistenceModule, InMemorySocialPersistenceModule],
  exports: [InMemoryRacingPersistenceModule, InMemorySocialPersistenceModule],
})
export class InMemoryPersistenceModule {}