Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(
@InjectStripe() private readonly stripeClient: Stripe,
@Inject(CACHE_MANAGER) private readonly cacheStore: CacheStore,
) {}
public constructor(
@InjectStripe() private readonly stripeClient: Stripe,
private readonly eventBus: EventBus,
) {}
public constructor(
@InjectStripe() private readonly stripeClient: Stripe,
@Inject(CACHE_MANAGER) private readonly cacheStore: CacheStore,
) {}
public constructor(
@InjectStripe() private readonly stripeClient: Stripe,
@Inject(CACHE_MANAGER) private readonly cacheStore: CacheStore,
) {}
public constructor(
@InjectStripe() private readonly stripeClient: Stripe,
private readonly eventBus: EventBus,
) {}
public constructor(@InjectStripe() private readonly stripeClient: Stripe) {}
constructor(
@InjectStripe() private readonly stripeClient: Stripe,
@Inject(CACHE_MANAGER) private readonly cacheStore: CacheStore,
) {}
GraphqlDistributedModule.forRoot({
autoSchemaFile: 'graphs/plan.gql',
introspection: true,
buildSchemaOptions: {
orphanedTypes: [Plan],
},
playground: {
workspaceName: 'GRAPHQL SERVICE PLAN',
settings: {
'editor.theme': 'light',
},
},
context: ({ req, res }) => buildContext({ req, res }),
}),
CoreModule,
StripeModule.forRoot({
apiKey: AppConfig.payment?.stripe?.secretKey,
}),
TerminusModule.forRootAsync({
imports: [AppModule],
useClass: HealthOptionsService,
}),
BillingModule,
PlanModule,
CardModule,
InvoiceModule,
SubscriptionModule,
],
controllers: [AppController],
providers: [
AppService,
MongoHealthIndicator,