barsa a3dbd07183 Enhance ESLint Rules and Refactor Domain Imports
- Updated ESLint configuration to enforce stricter import rules for the @customer-portal/domain package, promoting better import hygiene and preventing deep imports.
- Refactored various files across the BFF and portal applications to comply with the new import rules, ensuring that only the appropriate modules are imported from the domain.
- Cleaned up unused imports and optimized code structure for improved maintainability and clarity.
- Updated documentation to reflect changes in import practices and domain structure.
2025-12-26 14:53:03 +09:00

24 lines
516 B
TypeScript

/**
* Payments Domain
*
* Exports all payment-related contracts, schemas, and provider mappers.
*
* Types are derived from Zod schemas (Schema-First Approach)
*/
// Constants
export { PAYMENT_METHOD_TYPE, PAYMENT_GATEWAY_TYPE } from "./contract.js";
// Schemas (includes derived types)
export * from "./schema.js";
// Re-export types for convenience
export type {
PaymentMethodType,
PaymentMethod,
PaymentMethodList,
PaymentGatewayType,
PaymentGateway,
PaymentGatewayList,
} from "./schema.js";