06112602ec
Version the NestJS TDLib gateway with Docker deployment, migrations, automated tests and platform integration documentation while excluding all account sessions, credentials, runtime databases and backups.
16 lines
610 B
TypeScript
16 lines
610 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
import { TgChat } from '../../database/entities/tg-chat.entity';
|
|
import { TgChatsService } from './tg-chats.service';
|
|
import { TgChatsController } from './tg-chats.controller';
|
|
import { TdlibModule } from '../tdlib/tdlib.module';
|
|
import { TgAccountsModule } from '../tg-accounts/tg-accounts.module';
|
|
|
|
@Module({
|
|
imports: [TypeOrmModule.forFeature([TgChat]), TdlibModule, TgAccountsModule],
|
|
providers: [TgChatsService],
|
|
controllers: [TgChatsController],
|
|
exports: [TgChatsService],
|
|
})
|
|
export class TgChatsModule {}
|