dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_CustomerModule cluster_CustomerModule_exports cluster_CustomerModule_imports cluster_CustomerModule_providers ProductModule ProductModule CustomerModule CustomerModule ProductModule->CustomerModule CustomerService CustomerService CustomerModule->CustomerService CustomerService CustomerService CustomerService->CustomerModule

File

packages/server/src/modules/customer/customer.module.ts

Providers

Controllers

Imports

Exports

import entities from "@bill/database";
import { Global, Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";

import { MenuService } from "@/modules/menu/menu.service";
import { ProductModule } from "@/modules/product/product.module";

import { CustomerController } from "./customer.controller";
import { CustomerService } from "./customer.service";

@Module({
  controllers: [CustomerController],
  imports: [TypeOrmModule.forFeature(entities), ProductModule],
  providers: [CustomerService],
  exports: [CustomerService],
})
@Global()
export class CustomerModule {}

results matching ""

    No results matching ""