28 lines
700 B
TypeScript
Raw Normal View History

/**
* 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,
// Unified cancellation
serviceTypeSchema,
cancellationNoticeSchema,
cancellationStatusSchema,
cancellationPreviewSchema,
} from "./schema.js";