import { ActionsModule } from '@actions/actions.module'
import { AuthGuard } from '@authentication/auth.guard'
import { ImportModule } from '@import/import.module'
import { forwardRef, Module } from '@nestjs/common'
import { ViewModule } from '@view/view.module'
import { XlPortModule } from '@xlport/xlport.module'

import { ExcelIoController } from './excel-io.controller'
import { ExcelIoService } from './excel-io.service'

@Module({
  imports: [ViewModule, XlPortModule, forwardRef(() => ActionsModule), forwardRef(() => ImportModule)],
  controllers: [ExcelIoController],
  providers: [ExcelIoService, AuthGuard],
  exports: [ExcelIoService],
})
export class ExcelIoModule {}
