dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_UserModule cluster_UserModule_providers cluster_UserModule_exports UserService UserService UserModule UserModule UserModule->UserService IsUserAlreadyExist IsUserAlreadyExist IsUserAlreadyExist->UserModule UserService UserService UserService->UserModule

File

apps/api/src/user/user.module.ts

import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'

import { ProfileController } from './profile.controller'
import { UserService } from './user.service'
import { IsUserAlreadyExist } from './is-user-already-exist.validator'
import { ProfileEntity } from '../entities/profile.entity'
import { UserEntity } from '../entities/user.entity'

@Module({
  imports: [TypeOrmModule.forFeature([UserEntity, ProfileEntity])],
  controllers: [ProfileController],
  providers: [UserService, IsUserAlreadyExist],
  exports: [UserService]
})
export class UserModule {}

results matching ""

    No results matching ""