21 lines
661 B
TypeScript
21 lines
661 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { AuditModule } from '../audit/audit.module';
|
|
import { AuthModule } from '../auth/auth.module';
|
|
import { ListsController } from './lists.controller';
|
|
import { ListsService } from './lists.service';
|
|
import { UserListEntity } from './user-list.entity';
|
|
import { UserListItemEntity } from './user-list-item.entity';
|
|
|
|
@Module({
|
|
imports: [
|
|
AuditModule,
|
|
AuthModule,
|
|
TypeOrmModule.forFeature([UserListEntity, UserListItemEntity]),
|
|
],
|
|
controllers: [ListsController],
|
|
providers: [ListsService],
|
|
exports: [ListsService],
|
|
})
|
|
export class ListsModule {}
|