- 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
22 lines
544 B
TypeScript
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";
|