import { Global, Module } from '@nestjs/common';
import { FILE_STORAGE } from './file-storage';
import { MinioStorageService } from './minio-storage.service';

@Global()
@Module({
  providers: [{ provide: FILE_STORAGE, useClass: MinioStorageService }],
  exports: [FILE_STORAGE],
})
export class FilesModule {}
