- Removed the domain mappings module, consolidating related types and schemas into the id-mappings feature. - Updated import paths across the BFF to reflect the new structure, ensuring compliance with import hygiene rules. - Cleaned up unused files and optimized the codebase for better maintainability and clarity.
23 lines
568 B
TypeScript
23 lines
568 B
TypeScript
/**
|
|
* Subscriptions Domain
|
|
*
|
|
* Exports subscriptions contracts + schemas.
|
|
*
|
|
* Provider adapters (BFF-only) live under: `@customer-portal/domain/subscriptions/providers`.
|
|
*
|
|
* Types are derived from Zod schemas (Schema-First Approach)
|
|
*/
|
|
|
|
// Constants
|
|
export { SUBSCRIPTION_STATUS, SUBSCRIPTION_CYCLE } from "./contract.js";
|
|
|
|
// Schemas (includes derived types)
|
|
export * from "./schema.js";
|
|
|
|
// Re-export schemas for validation
|
|
export {
|
|
internetCancellationMonthSchema,
|
|
internetCancellationPreviewSchema,
|
|
internetCancelRequestSchema,
|
|
} from "./schema.js";
|