File size: 487 Bytes
d44ff09
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { Global, Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { License, User } from '../../database/entities';
import { LicensingService } from './licensing.service';
import { LicensingController } from './licensing.controller';

@Global()
@Module({
  imports: [TypeOrmModule.forFeature([License, User])],
  providers: [LicensingService],
  controllers: [LicensingController],
  exports: [LicensingService],
})
export class LicensingModule {}