organizations.module.ts 585 Bytes
Newer Older
Hidde-Jan Jongsma's avatar
Hidde-Jan Jongsma committed
1 2 3 4 5 6
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';

import { OrganizationsController } from './organizations.controller';
import { OrganizationsService } from './organizations.service';
import { Organization } from './organization.entity';
7
import { ConnectorsModule } from 'src/connectors/connectors.module';
Hidde-Jan Jongsma's avatar
Hidde-Jan Jongsma committed
8 9

@Module({
10
  imports: [TypeOrmModule.forFeature([Organization]), ConnectorsModule],
Hidde-Jan Jongsma's avatar
Hidde-Jan Jongsma committed
11 12
  controllers: [OrganizationsController],
  providers: [OrganizationsService],
13
  exports: [OrganizationsService],
Hidde-Jan Jongsma's avatar
Hidde-Jan Jongsma committed
14 15
})
export class OrganizationsModule {}