teableio/teable

View on GitHub
apps/nestjs-backend/src/features/attachments/attachments.module.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Module } from '@nestjs/common';
import { AuthModule } from '../auth/auth.module';
import { ShareAuthModule } from '../share/share-auth.module';
import { AttachmentsStorageModule } from './attachments-storage.module';
import { AttachmentsController } from './attachments.controller';
import { AttachmentsService } from './attachments.service';
import { DynamicAuthGuardFactory } from './guard/auth.guard';
import { StorageModule } from './plugins/storage.module';

@Module({
  providers: [AttachmentsService, DynamicAuthGuardFactory],
  controllers: [AttachmentsController],
  imports: [StorageModule, AttachmentsStorageModule, ShareAuthModule, AuthModule],
  exports: [AttachmentsService],
})
export class AttachmentsModule {}