import { Module } from '@nestjs/common';
import { JwtAuthGuard } from './guards/jwt-auth.guard';
import { RolesGuard } from './guards/roles.guard';
import { LogInterceptor } from './interceptors/log.interceptor';
import { OperationLogService } from './operation-log.service';
import { SchoolOperationLogController, AdminOperationLogController } from './operation-log.controller';

@Module({
  controllers: [SchoolOperationLogController, AdminOperationLogController],
  providers: [JwtAuthGuard, RolesGuard, LogInterceptor, OperationLogService],
  exports: [JwtAuthGuard, RolesGuard, LogInterceptor, OperationLogService],
})
export class CommonModule {}
