import { InMemoryAdminUserRepository } from '@core/admin/infrastructure/persistence/InMemoryAdminUserRepository';
import { Module } from '@nestjs/common';

import { ADMIN_USER_REPOSITORY_TOKEN } from '../admin/AdminPersistenceTokens';

@Module({
  providers: [
    {
      provide: ADMIN_USER_REPOSITORY_TOKEN,
      useClass: InMemoryAdminUserRepository,
    },
  ],
  exports: [ADMIN_USER_REPOSITORY_TOKEN],
})
export class InMemoryAdminPersistenceModule {}