9ca3dbeb70
* Init add choose your plan page component * Update price format * Add billing refund trial duration env variable * Add billing benefits * Add Button * Call checkout endpoint * Fix theme color * Add Payment success modale * Add loader to createWorkspace submit button * Fix lint * Fix dark mode * Code review returns * Use a resolver for front requests * Fix 'create workspace' loader at sign up * Fix 'create workspace' with enter key bug
24 lines
910 B
TypeScript
24 lines
910 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
|
|
import { BillingController } from 'src/core/billing/billing.controller';
|
|
import { BillingService } from 'src/core/billing/billing.service';
|
|
import { StripeModule } from 'src/core/billing/stripe/stripe.module';
|
|
import { BillingSubscription } from 'src/core/billing/entities/billing-subscription.entity';
|
|
import { BillingSubscriptionItem } from 'src/core/billing/entities/billing-subscription-item.entity';
|
|
import { Workspace } from 'src/core/workspace/workspace.entity';
|
|
import { BillingResolver } from 'src/core/billing/billing.resolver';
|
|
|
|
@Module({
|
|
imports: [
|
|
StripeModule,
|
|
TypeOrmModule.forFeature(
|
|
[BillingSubscription, BillingSubscriptionItem, Workspace],
|
|
'core',
|
|
),
|
|
],
|
|
controllers: [BillingController],
|
|
providers: [BillingService, BillingResolver],
|
|
})
|
|
export class BillingModule {}
|