14 lines
517 B
TypeScript
14 lines
517 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { Project } from '../projects/project.entity';
|
|
import { ReposResolver } from './repos.resolver';
|
|
import { ReposService } from './repos.service';
|
|
import { ConfigModule } from '@nestjs/config';
|
|
import { ProjectsModule } from '../projects/projects.module';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([Project]), ConfigModule, ProjectsModule],
|
|
providers: [ReposResolver, ReposService],
|
|
})
|
|
export class ReposModule {}
|