Drop the unused root hello-world controller, empty CommonModule imports, development seeding code, legacy student report entity, stale DTOs, notification hook, and their placeholder tests.
35 lines
1.1 KiB
TypeScript
35 lines
1.1 KiB
TypeScript
import { Module } from '@nestjs/common';
|
|
import { NotificationsModule } from '../notifications/notifications.module';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { Bill } from '../entities/bill.entity';
|
|
import { BillItem } from '../entities/bill-item.entity';
|
|
import { RoomExpense } from '../entities/room-expense.entity';
|
|
import { PersonalExpense } from '../entities/personal-expense.entity';
|
|
import { Occupancy } from '../entities/occupancy.entity';
|
|
import { Room } from '../entities/room.entity';
|
|
import { Deposit } from '../entities/deposit.entity';
|
|
import { Student } from '../entities/student.entity';
|
|
import { BillsService } from './bills.service';
|
|
import { BillsExportService } from './bills-export.service';
|
|
import { BillsController } from './bills.controller';
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([
|
|
Bill,
|
|
BillItem,
|
|
RoomExpense,
|
|
PersonalExpense,
|
|
Occupancy,
|
|
Room,
|
|
Deposit,
|
|
Student,
|
|
]),
|
|
NotificationsModule,
|
|
],
|
|
controllers: [BillsController],
|
|
providers: [BillsService, BillsExportService],
|
|
exports: [BillsService],
|
|
})
|
|
export class BillsModule {}
|