mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 17:15:03 -07:00
15 lines
386 B
TypeScript
15 lines
386 B
TypeScript
import { Global, Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
|
|
import { ClientEntity } from './client.entity';
|
|
import { ClientService } from './client.service';
|
|
|
|
|
|
@Global()
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([ClientEntity])],
|
|
providers: [ClientService],
|
|
exports: [TypeOrmModule, ClientService],
|
|
})
|
|
export class ClientModule { }
|