blob: 689aa287451bb8efe7e7baa50083141cb3433164 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { Module } from '@nestjs/common';
import { StorageService } from './service/storage.service';
import { StoredFile } from './entity/stored-file.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { StorageCronService } from './service/storage-cron.service';
import { FileMetadata } from 'src/file/entity/file.entity';
@Module({
imports: [TypeOrmModule.forFeature([StoredFile]), FileMetadata],
providers: [StorageService, StorageCronService],
exports: [StorageService],
})
export class StorageModule {}
|