39 lines
1.1 KiB
TypeScript
39 lines
1.1 KiB
TypeScript
import { Module, forwardRef } from '@nestjs/common';
|
|
import { AnalyticsModule } from '../analytics/analytics.module';
|
|
import { IntegrationsModule } from '../../integrations/integrations.module';
|
|
import { IamModule } from '../iam/iam.module';
|
|
import { BenefitModule } from '../benefit/benefit.module';
|
|
import { CatalogModule } from '../catalog/catalog.module';
|
|
import { CommonModule } from '../common/common.module';
|
|
import { CityScopeModule } from '../city-scope/city-scope.module';
|
|
import { PromoModule } from '../promo/promo.module';
|
|
import {
|
|
TradeController,
|
|
PartnerOrderController,
|
|
PartnerProxyOrderController,
|
|
PartnerReshipmentController,
|
|
} from './trade.controller';
|
|
import { TradeService } from './trade.service';
|
|
|
|
@Module({
|
|
imports: [
|
|
IntegrationsModule,
|
|
IamModule,
|
|
CatalogModule,
|
|
AnalyticsModule,
|
|
CityScopeModule,
|
|
PromoModule,
|
|
forwardRef(() => BenefitModule),
|
|
CommonModule,
|
|
],
|
|
controllers: [
|
|
TradeController,
|
|
PartnerOrderController,
|
|
PartnerProxyOrderController,
|
|
PartnerReshipmentController,
|
|
],
|
|
providers: [TradeService],
|
|
exports: [TradeService],
|
|
})
|
|
export class TradeModule {}
|