import { Module } from '@nestjs/common';
import { MediaPersistenceModule } from '../../persistence/media/MediaPersistenceModule';
import { MediaController } from './MediaController';
import { MediaProviders } from './MediaProviders';
import { MediaService } from './MediaService';

@Module({
  imports: [MediaPersistenceModule],
  controllers: [MediaController],
  providers: [MediaService, ...MediaProviders],
  exports: [MediaService],
})
export class MediaModule {}
