18 lines
665 B
TypeScript
18 lines
665 B
TypeScript
import { forwardRef, Module } from '@nestjs/common';
|
|
|
|
import { AuthModule } from '../auth/auth.module';
|
|
import { PrismaModule } from '../prisma/prisma.module';
|
|
|
|
import { BillingController } from './billing.controller';
|
|
import { BillingService } from './billing.service';
|
|
import { StripeWebhookController } from './stripe/stripe-webhook.controller';
|
|
import { StripeWebhookService } from './stripe/stripe-webhook.service';
|
|
|
|
@Module({
|
|
imports: [PrismaModule, forwardRef(() => AuthModule)],
|
|
controllers: [BillingController, StripeWebhookController],
|
|
providers: [BillingService, StripeWebhookService],
|
|
exports: [BillingService],
|
|
})
|
|
export class BillingModule {}
|