mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-22 13:26:42 +02:00
- Add StripeService for PaymentIntent creation and webhook verification - Add credit purchase flow (POST /credits/purchase) - Add stripe_customers table for Stripe customer mapping - Add subscriptions schema (plans, subscriptions, invoices) - Add SubscriptionsService with Checkout, Portal, Cancel, Reactivate - Add subscription plans (Free: 150 Mana, Pro: €9.99, Enterprise: €49.99) - Handle subscription and invoice webhooks - Update roadmap with completed tasks Credit pricing: 1 Mana = 1 Cent (no volume discounts)
6 lines
210 B
TypeScript
6 lines
210 B
TypeScript
import { createDrizzleConfig } from '@manacore/shared-drizzle-config';
|
|
|
|
export default createDrizzleConfig({
|
|
dbName: 'manacore',
|
|
schemaFilter: ['auth', 'credits', 'referrals', 'subscriptions', 'public'],
|
|
});
|