mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
feat: refactor helpers (nlu)
This commit is contained in:
@@ -8,13 +8,15 @@
|
||||
|
||||
import path from 'path';
|
||||
|
||||
// eslint-disable-next-line import/order
|
||||
import { MailerModule } from '@nestjs-modules/mailer';
|
||||
// eslint-disable-next-line import/order
|
||||
import { MjmlAdapter } from '@nestjs-modules/mailer/dist/adapters/mjml.adapter';
|
||||
import { CacheModule } from '@nestjs/cache-manager';
|
||||
import { Module } from '@nestjs/common';
|
||||
import { APP_GUARD } from '@nestjs/core';
|
||||
import { EventEmitterModule } from '@nestjs/event-emitter';
|
||||
import { MongooseModule } from '@nestjs/mongoose';
|
||||
import { MailerModule } from '@nestjs-modules/mailer';
|
||||
import { MjmlAdapter } from '@nestjs-modules/mailer/dist/adapters/mjml.adapter';
|
||||
import { CsrfGuard, CsrfModule } from '@tekuconcept/nestjs-csrf';
|
||||
import {
|
||||
AcceptLanguageResolver,
|
||||
@@ -31,6 +33,7 @@ import { ChannelModule } from './channel/channel.module';
|
||||
import { ChatModule } from './chat/chat.module';
|
||||
import { CmsModule } from './cms/cms.module';
|
||||
import { config } from './config';
|
||||
import { HelperModule } from './helper/helper.module';
|
||||
import { I18nModule } from './i18n/i18n.module';
|
||||
import { LoggerModule } from './logger/logger.module';
|
||||
import { NlpModule } from './nlp/nlp.module';
|
||||
@@ -99,6 +102,7 @@ const i18nOptions: I18nOptions = {
|
||||
ChatModule,
|
||||
ChannelModule,
|
||||
PluginsModule,
|
||||
HelperModule,
|
||||
LoggerModule,
|
||||
WebsocketModule,
|
||||
EventEmitterModule.forRoot({
|
||||
|
||||
Reference in New Issue
Block a user