import { Global, Module } from '@nestjs/common';
import { MediaStorageModule } from '../../common/media/media-storage.module';
import { ImageProcessingService } from './image-processing.service';
import { ManagedStorageService } from './managed-storage.service';
import { MediaProbeService } from './media-probe.service';
import { VideoProcessingService } from './video-processing.service';

@Global()
@Module({
  imports: [MediaStorageModule],
  providers: [
    ManagedStorageService,
    VideoProcessingService,
    ImageProcessingService,
    MediaProbeService,
  ],
  exports: [
    ManagedStorageService,
    VideoProcessingService,
    ImageProcessingService,
    MediaProbeService,
  ],
})
export class StorageModule {}
