mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 11:08:12 +00:00
26 lines
942 B
TypeScript
26 lines
942 B
TypeScript
import { Module, forwardRef } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
|
|
import { BookingsModule } from '../bookings/bookings.module';
|
|
import { DriversModule } from '../drivers/drivers.module';
|
|
import { NotificationsModule } from '../notifications/notifications.module';
|
|
import { VehiclesModule } from '../vehicles/vehicles.module';
|
|
import { LastMile } from './entities/last-mile.entity';
|
|
import { LastMileController } from './last-mile.controller';
|
|
import { LastMileRepository } from './last-mile.repository';
|
|
import { LastMileService } from './last-mile.service';
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([LastMile]),
|
|
forwardRef(() => BookingsModule),
|
|
VehiclesModule,
|
|
DriversModule,
|
|
NotificationsModule,
|
|
],
|
|
controllers: [LastMileController],
|
|
providers: [LastMileRepository, LastMileService],
|
|
exports: [LastMileRepository, LastMileService],
|
|
})
|
|
export class LastMileModule {}
|