2026-09-26 14:59:48 +03:30
|
|
|
import { Module } from '@nestjs/common';
|
|
|
|
|
import { APP_INTERCEPTOR } from '@nestjs/core';
|
|
|
|
|
import { AuthModule } from '../auth/auth.module';
|
|
|
|
|
import { BillingModule } from '../billing/billing.module';
|
2026-10-19 13:34:55 +03:30
|
|
|
import { AttendanceModule } from '../attendance/attendance.module';
|
2026-09-26 14:59:48 +03:30
|
|
|
import { AuditLogsController } from './audit-logs.controller';
|
|
|
|
|
import { AuditLogsInterceptor } from './audit-logs.interceptor';
|
|
|
|
|
import { AuditLogsService } from './audit-logs.service';
|
|
|
|
|
|
|
|
|
|
@Module({
|
2026-10-19 13:34:55 +03:30
|
|
|
imports: [AuthModule, BillingModule, AttendanceModule],
|
2026-09-26 14:59:48 +03:30
|
|
|
controllers: [AuditLogsController],
|
|
|
|
|
providers: [
|
|
|
|
|
AuditLogsService,
|
|
|
|
|
{
|
|
|
|
|
provide: APP_INTERCEPTOR,
|
|
|
|
|
useClass: AuditLogsInterceptor,
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
exports: [AuditLogsService],
|
|
|
|
|
})
|
|
|
|
|
export class AuditLogsModule {}
|