Atualização repositorio
This commit is contained in:
46
src/app.module.ts
Normal file
46
src/app.module.ts
Normal file
@@ -0,0 +1,46 @@
|
||||
import { BaseModule } from './core/services/base.module';
|
||||
import { BaseService } from './core/services/base.service';
|
||||
import { LogisticModule } from './logistic/logistic.module';
|
||||
import { OrdersPaymentModule } from './orders-payment/orders-payment.module';
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
/* eslint-disable prettier/prettier */
|
||||
|
||||
import { Module } from '@nestjs/common';
|
||||
import { AppController } from './app.controller';
|
||||
import { AppService } from './app.service';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { typeOrmConfig, typeOrmPgConfig } from './core/configs/typeorm.config';
|
||||
import { ProductsModule } from './products/products.module';
|
||||
import { AuthModule } from './auth/auth/auth.module';
|
||||
import { DataConsultModule } from './data-consult/data-consult.module';
|
||||
import { OrdersModule } from './orders/orders.module';
|
||||
import { OcorrencesController } from './crm/occurrences/ocorrences.controller';
|
||||
import { OccurrencesModule } from './crm/occurrences/occurrences.module';
|
||||
import { ReasonTableModule } from './crm/reason-table/reason-table.module';
|
||||
import { NegotiationsModule } from './crm/negotiations/negotiations.module';
|
||||
import { HttpModule } from '@nestjs/axios';
|
||||
import { LogisticController } from './logistic/logistic.controller';
|
||||
import { LogisticService } from './logistic/logistic.service';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
BaseModule,
|
||||
LogisticModule,
|
||||
OrdersPaymentModule,
|
||||
HttpModule,
|
||||
NegotiationsModule,
|
||||
OccurrencesModule,
|
||||
ReasonTableModule,
|
||||
DataConsultModule,
|
||||
ProductsModule,
|
||||
AuthModule,
|
||||
OrdersModule,
|
||||
TypeOrmModule.forRoot(typeOrmConfig),
|
||||
TypeOrmModule.forRoot(typeOrmPgConfig),
|
||||
],
|
||||
controllers: [
|
||||
OcorrencesController, AppController, LogisticController,],
|
||||
providers: [
|
||||
BaseService, AppService, LogisticService,],
|
||||
})
|
||||
export class AppModule { }
|
||||
Reference in New Issue
Block a user