You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
560 B
15 lines
560 B
import { forwardRef, Module } from "@nestjs/common";
|
|
import { TypeOrmModule } from "@nestjs/typeorm";
|
|
import { User } from "./entity/user.entity";
|
|
import { UsersController } from "./users.controller";
|
|
import { UsersService } from "./users.service";
|
|
import { PongModule } from "src/pong/pong.module";
|
|
import { ChatModule } from "src/chat/chat.module";
|
|
|
|
@Module({
|
|
imports: [forwardRef(() => PongModule), TypeOrmModule.forFeature([User])],
|
|
controllers: [UsersController],
|
|
providers: [UsersService],
|
|
exports: [UsersService],
|
|
})
|
|
export class UsersModule {}
|
|
|