2022-10-09 22:30:32 +02:00
|
|
|
import { Module } from "@nestjs/common";
|
|
|
|
|
import { JwtModule } from "@nestjs/jwt";
|
|
|
|
|
import { ShareModule } from "src/share/share.module";
|
|
|
|
|
import { FileController } from "./file.controller";
|
|
|
|
|
import { FileService } from "./file.service";
|
2022-11-28 15:04:32 +01:00
|
|
|
import { FileValidationPipe } from "./pipe/fileValidation.pipe";
|
2022-10-09 22:30:32 +02:00
|
|
|
|
|
|
|
|
@Module({
|
|
|
|
|
imports: [JwtModule.register({}), ShareModule],
|
|
|
|
|
controllers: [FileController],
|
2022-11-28 15:04:32 +01:00
|
|
|
providers: [FileService, FileValidationPipe],
|
2022-10-09 22:30:32 +02:00
|
|
|
exports: [FileService],
|
|
|
|
|
})
|
|
|
|
|
export class FileModule {}
|