import { Module } from '@nestjs/common'; import { ConfigModule } from '@nestjs/config'; import { RustfsStorageController } from './rustfs-storage.controller'; import { RustfsStorageService } from './rustfs-storage.service'; import rustfsStorageConfig from './rustfs-storage.config'; @Module({ imports: [ConfigModule.forFeature(rustfsStorageConfig)], controllers: [RustfsStorageController], providers: [RustfsStorageService], exports: [RustfsStorageService], }) export class RustfsStorageModule {}