/**
 * Dashboard Module
 */

import { Module } from '@nestjs/common';
import { DashboardController } from './dashboard.controller';
import { AnalyticsService } from '../services/analytics.service';
import { BookingsModule } from '../bookings/bookings.module';
import { RatesModule } from '../rates/rates.module';
import { CsvBookingsModule } from '../csv-bookings/csv-bookings.module';
import { SubscriptionsModule } from '../subscriptions/subscriptions.module';
import { FeatureFlagGuard } from '../guards/feature-flag.guard';

@Module({
  imports: [BookingsModule, RatesModule, CsvBookingsModule, SubscriptionsModule],
  controllers: [DashboardController],
  providers: [AnalyticsService, FeatureFlagGuard],
  exports: [AnalyticsService],
})
export class DashboardModule {}
