dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_ProductModule cluster_ProductModule_exports cluster_ProductModule_providers ProductService ProductService ProductModule ProductModule ProductModule->ProductService ProductCategoryService ProductCategoryService ProductCategoryService->ProductModule ProductService ProductService ProductService->ProductModule ProductUnitService ProductUnitService ProductUnitService->ProductModule

File

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

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

import { ProductCategoryService } from "@/modules/productCategory/category.service";
import { ProductUnitService } from "@/modules/productUnit/unit.service";

import { ProductController } from "./product.controller";
import { ProductService } from "./product.service";

@Module({
  imports: [TypeOrmModule.forFeature(entities)],
  providers: [ProductService, ProductCategoryService, ProductUnitService],
  exports: [ProductService],
  controllers: [ProductController],
})
export class ProductModule {}

results matching ""

    No results matching ""