- 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.
19 lines
394 B
TypeScript
19 lines
394 B
TypeScript
/**
|
|
* Support Domain
|
|
*
|
|
* Exports all support-related contracts, schemas, and provider mappers.
|
|
*
|
|
* Types are derived from Zod schemas (Schema-First Approach)
|
|
*/
|
|
|
|
// Business types and constants
|
|
export {
|
|
SUPPORT_CASE_STATUS,
|
|
SUPPORT_CASE_PRIORITY,
|
|
SUPPORT_CASE_CATEGORY,
|
|
PORTAL_CASE_ORIGIN,
|
|
} from "./contract.js";
|
|
|
|
// Schemas (includes derived types)
|
|
export * from "./schema.js";
|