Files
gamegroup/src/modules/appointments/appointments.module.ts

28 lines
943 B
TypeScript
Raw Normal View History

import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { AppointmentsService } from "./appointments.service";
import { AppointmentsController } from "./appointments.controller";
import { Appointment } from "../../entities/appointment.entity";
import { AppointmentParticipant } from "../../entities/appointment-participant.entity";
import { Group } from "../../entities/group.entity";
import { GroupMember } from "../../entities/group-member.entity";
import { Game } from "../../entities/game.entity";
import { User } from "../../entities/user.entity";
@Module({
imports: [
TypeOrmModule.forFeature([
Appointment,
AppointmentParticipant,
Group,
GroupMember,
Game,
User,
]),
],
controllers: [AppointmentsController],
providers: [AppointmentsService],
exports: [AppointmentsService],
})
export class AppointmentsModule {}