dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_OrganizationModule cluster_OrganizationModule_providers cluster_OrganizationModule_imports cluster_OrganizationModule_exports OrganizationEntity OrganizationEntity OrganizationModule OrganizationModule OrganizationEntity->OrganizationModule UserOrganizationEntity UserOrganizationEntity UserOrganizationEntity->OrganizationModule OrganizationService OrganizationService OrganizationModule->OrganizationService OrganizationService OrganizationService OrganizationService->OrganizationModule

File

apps/api/src/organization/organization.module.ts

import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { OrganizationService } from './organization.service'
import { OrganizationEntity } from '../entities/organization.entity'
import { UserOrganizationEntity } from '../entities/user-organization.entity'

@Module({
  imports: [
    TypeOrmModule.forFeature([OrganizationEntity, UserOrganizationEntity]),
    OrganizationEntity,
    UserOrganizationEntity
  ],
  providers: [OrganizationService],
  exports: [OrganizationService]
})
export class OrganizationModule {}

results matching ""

    No results matching ""