13 lines
474 B
TypeScript
13 lines
474 B
TypeScript
import { CommonsModule } from './../commons/commons.module';
|
|
import { Module } from '@nestjs/common';
|
|
import { ArticlesService } from './articles.service';
|
|
import { ArticlesResolver } from './articles.resolver';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { Article } from './entities/article.entity';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Article]), CommonsModule],
|
|
providers: [ArticlesResolver, ArticlesService],
|
|
})
|
|
export class ArticlesModule {}
|