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

File

src/modules/user/user.module.ts

import { forwardRef, Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AuthModule } from 'modules/auth/auth.module';
import { UserController } from 'modules/user/controllers';
import {
  UserAuthRepository,
  UserConfigRepository,
  UserRepository,
} from 'modules/user/repositories';
import {
  UserAuthService,
  UserConfigService,
  UserService,
} from 'modules/user/services';
import { PartnerModule } from 'modules/partner/partner.module';


@Module({
  imports: [
    forwardRef(() => AuthModule),
    forwardRef(() => PartnerModule),
    TypeOrmModule.forFeature([
      UserRepository,
      UserAuthRepository,
      UserConfigRepository,
    ]),
  ],
  controllers: [UserController],
  exports: [UserAuthService, UserConfigService, UserService],
  providers: [UserAuthService, UserConfigService, UserService],
})
export class UserModule {}

result-matching ""

    No results matching ""