36 lines
1.1 KiB
TypeScript
36 lines
1.1 KiB
TypeScript
|
|
import { Module } from '@nestjs/common';
|
||
|
|
import { ConfigModule } from '@nestjs/config';
|
||
|
|
import { WhmcsDataTransformer } from './transformers/whmcs-data.transformer';
|
||
|
|
import { WhmcsCacheService } from './cache/whmcs-cache.service';
|
||
|
|
import { WhmcsService } from './whmcs.service';
|
||
|
|
import { WhmcsConnectionService } from './services/whmcs-connection.service';
|
||
|
|
import { WhmcsInvoiceService } from './services/whmcs-invoice.service';
|
||
|
|
import { WhmcsSubscriptionService } from './services/whmcs-subscription.service';
|
||
|
|
import { WhmcsClientService } from './services/whmcs-client.service';
|
||
|
|
import { WhmcsPaymentService } from './services/whmcs-payment.service';
|
||
|
|
import { WhmcsSsoService } from './services/whmcs-sso.service';
|
||
|
|
|
||
|
|
@Module({
|
||
|
|
imports: [
|
||
|
|
ConfigModule,
|
||
|
|
],
|
||
|
|
providers: [
|
||
|
|
WhmcsDataTransformer,
|
||
|
|
WhmcsCacheService,
|
||
|
|
WhmcsConnectionService,
|
||
|
|
WhmcsInvoiceService,
|
||
|
|
WhmcsSubscriptionService,
|
||
|
|
WhmcsClientService,
|
||
|
|
WhmcsPaymentService,
|
||
|
|
WhmcsSsoService,
|
||
|
|
WhmcsService,
|
||
|
|
],
|
||
|
|
exports: [
|
||
|
|
WhmcsService,
|
||
|
|
WhmcsConnectionService,
|
||
|
|
WhmcsDataTransformer,
|
||
|
|
WhmcsCacheService,
|
||
|
|
],
|
||
|
|
})
|
||
|
|
export class WhmcsModule {}
|