import { Module } from '@nestjs/common';
import { ScheduleModule } from '@nestjs/schedule';
import { GpsController } from './gps.controller';
import { GpsService } from './gps.service';
import { TraccarClientService } from './traccar-client.service';
import { PrismaModule } from '../prisma/prisma.module';
import { SignalModule } from '../signal/signal.module';

@Module({
  imports: [
    PrismaModule,
    SignalModule,
    ScheduleModule.forRoot(),
  ],
  controllers: [GpsController],
  providers: [GpsService, TraccarClientService],
  exports: [GpsService, TraccarClientService],
})
export class GpsModule {}
