Vizzuality/landgriffon

View on GitHub
api/src/modules/units/units.module.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
100%
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Unit } from 'modules/units/unit.entity';
import { UnitsController } from 'modules/units/units.controller';
import { UnitsService } from 'modules/units/units.service';
import { UnitRepository } from 'modules/units/unit.repository';

@Module({
  imports: [TypeOrmModule.forFeature([Unit])],
  controllers: [UnitsController],
  providers: [UnitsService, UnitRepository],
  exports: [UnitsService],
})
export class UnitsModule {}