20 lines
711 B
TypeScript
20 lines
711 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { ChannelManagementService } from './channel-management.service';
|
|
import { ChannelManagementController } from './channel-management.controller';
|
|
import { Channel } from '../../entities/channel.entity';
|
|
import { NotificationsModule } from '../notifications/notifications.module';
|
|
import { ScheduleModule } from '@nestjs/schedule';
|
|
|
|
@Module({
|
|
imports: [
|
|
TypeOrmModule.forFeature([Channel]),
|
|
NotificationsModule,
|
|
ScheduleModule,
|
|
],
|
|
controllers: [ChannelManagementController],
|
|
providers: [ChannelManagementService],
|
|
exports: [ChannelManagementService],
|
|
})
|
|
export class ChannelManagementModule {}
|