mirror of https://github.com/fantasticit/think.git
14 lines
440 B
TypeScript
14 lines
440 B
TypeScript
import { ViewController } from '@controllers/view.controller';
|
|
import { ViewEntity } from '@entities/view.entity';
|
|
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 {}
|