barsa 0c63bc5c33 refactor: domain package cleanup
- Remove validation wrapper functions from common/validation.ts (use Zod schemas directly)
- Delete duplicate CheckoutItem/CheckoutTotals/CheckoutCart/OrderCreateResponse from orders/contract.ts
- Delete empty orders/checkout.ts
- Remove unused MIGRATION_STEPS/MIGRATION_TRANSFER_ITEMS UI constants from auth/forms.ts
- Standardize checkout/contract.ts to not re-export schema types
- Fix customer/providers/index.ts to not re-export contract types through providers barrel
2026-02-24 11:57:43 +09:00

22 lines
544 B
TypeScript

/**
* Customer Domain - Providers
*
* Providers handle mapping from external systems to domain types:
* - Portal: Prisma (portal DB) → UserAuth
* - Whmcs: WHMCS API → WhmcsClient
*/
export * from "./portal/index.js";
export * from "./whmcs/index.js";
// Provider-specific WHMCS integration types (BFF-only)
export type {
WhmcsAddClientParams,
WhmcsValidateLoginParams,
WhmcsCreateSsoTokenParams,
WhmcsClientResponse,
WhmcsAddClientResponse,
WhmcsValidateLoginResponse,
WhmcsSsoResponse,
} from "./whmcs/raw.types.js";