* chore: Billing Service * chore: others * chore: don't type * chore: typo * chore: use proper wh secret * chore: updates * chore: lockfile * chore: docs and comment out * chore: updates and include plan * chore: config * chore: bring back alias * chore: update lockfile * chore: refactor * chore: default none plan in db * chore: read from env vars * chore: feedback * chore: remove json config * chore: proper type
18 lines
937 B
TypeScript
18 lines
937 B
TypeScript
import { BillingRepository } from "@/modules/billing/billing.repository";
|
|
import { BillingController } from "@/modules/billing/controllers/billing.controller";
|
|
import { BillingConfigService } from "@/modules/billing/services/billing.config.service";
|
|
import { BillingService } from "@/modules/billing/services/billing.service";
|
|
import { MembershipsModule } from "@/modules/memberships/memberships.module";
|
|
import { OrganizationsModule } from "@/modules/organizations/organizations.module";
|
|
import { PrismaModule } from "@/modules/prisma/prisma.module";
|
|
import { StripeModule } from "@/modules/stripe/stripe.module";
|
|
import { Module } from "@nestjs/common";
|
|
|
|
@Module({
|
|
imports: [PrismaModule, StripeModule, MembershipsModule, OrganizationsModule],
|
|
providers: [BillingConfigService, BillingService, BillingRepository],
|
|
exports: [BillingService, BillingRepository],
|
|
controllers: [BillingController],
|
|
})
|
|
export class BillingModule {}
|