mirror of
https://github.com/xtr-dev/payload-billing.git
synced 2025-12-10 02:43:24 +00:00
fix: export mollieProvider and stripeProvider from main package
- Add re-exports for mollieProvider and stripeProvider in src/index.ts - Export related provider types: PaymentProvider, ProviderData - Export provider config types: MollieProviderConfig, StripeProviderConfig - Resolves issue where providers were not accessible despite being documented Fixes #14 Co-authored-by: Bas <bvdaakster@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
|
|
||||||
export { billingPlugin } from './plugin/index.js'
|
export { billingPlugin } from './plugin/index.js'
|
||||||
|
export { mollieProvider, stripeProvider } from './providers/index.js'
|
||||||
export type { BillingPluginConfig, CustomerInfoExtractor } from './plugin/config.js'
|
export type { BillingPluginConfig, CustomerInfoExtractor } from './plugin/config.js'
|
||||||
export type { Invoice, Payment, Refund } from './plugin/types/index.js'
|
export type { Invoice, Payment, Refund } from './plugin/types/index.js'
|
||||||
|
export type { PaymentProvider, ProviderData } from './providers/types.js'
|
||||||
|
export type { MollieProviderConfig } from './providers/mollie.js'
|
||||||
|
export type { StripeProviderConfig } from './providers/stripe.js'
|
||||||
|
|||||||
Reference in New Issue
Block a user