2026-04-15-4

This commit is contained in:
Hamza-Ayed
2026-04-15 19:56:49 +03:00
parent 9cd1ac4c1d
commit 3d61362602
54 changed files with 12659 additions and 436 deletions
+15 -2
View File
@@ -1,5 +1,5 @@
import { Module } from '@nestjs/common';
import { APP_GUARD } from '@nestjs/core';
import { APP_GUARD, APP_INTERCEPTOR } from '@nestjs/core';
import { ConfigModule, ConfigService } from '@nestjs/config';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ScheduleModule } from '@nestjs/schedule';
@@ -8,6 +8,10 @@ import { MapsModule } from './maps/maps.module';
import { GeocodingModule } from './geocoding/geocoding.module';
import { AuthModule } from './auth/auth.module';
import { ThrottlerModule } from '@nestjs/throttler';
import { UsageModule } from './usage/usage.module';
import { BillingModule } from './billing/billing.module';
import { MailModule } from './common/mail.module';
import { UsageInterceptor } from './usage/usage.interceptor';
@Module({
imports: [
@@ -33,7 +37,16 @@ import { ThrottlerModule } from '@nestjs/throttler';
TelemetryModule,
MapsModule,
GeocodingModule,
UsageModule,
BillingModule,
MailModule,
],
controllers: [],
providers: [
{
provide: APP_INTERCEPTOR,
useClass: UsageInterceptor,
},
],
providers: [],
})
export class AppModule {}