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

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