mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
15 lines
583 B
TypeScript
15 lines
583 B
TypeScript
import { Global, Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
|
|
import { AcceptedShareEntity } from '../accepted-share/accepted-share.entity';
|
|
import { ShareAccountingService } from './share-accounting.service';
|
|
import { ShareHighScoreService } from './share-high-score.service';
|
|
|
|
@Global()
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([AcceptedShareEntity])],
|
|
providers: [ShareAccountingService, ShareHighScoreService],
|
|
exports: [TypeOrmModule, ShareAccountingService, ShareHighScoreService],
|
|
})
|
|
export class ShareAccountingModule { }
|