think/packages/server/src/modules/view.module.ts

14 lines
440 B
TypeScript
Raw Normal View History

2022-05-16 09:23:59 +00:00
import { ViewController } from '@controllers/view.controller';
import { ViewEntity } from '@entities/view.entity';
2022-02-20 11:51:55 +00:00
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ViewService } from '@services/view.service';
@Module({
imports: [TypeOrmModule.forFeature([ViewEntity])],
providers: [ViewService],
exports: [ViewService],
controllers: [ViewController],
})
export class ViewModule {}