import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";

import { GpsDevice } from "./entities/gps-device.entity";
import { GpsPosition } from "./entities/gps-position.entity";
import { GpsDeviceRepository, GpsPositionRepository } from "./gps.repository";
import { GpsIngestService } from "./gps-ingest.service";
import { Gt06Server } from "./gt06/gt06.server";

@Module({
  imports: [TypeOrmModule.forFeature([GpsDevice, GpsPosition])],
  providers: [GpsDeviceRepository, GpsPositionRepository, GpsIngestService, Gt06Server],
})
export class GpsModule {}
