27 lines
587 B
TypeScript
27 lines
587 B
TypeScript
/**
|
|
* Subscriptions Domain
|
|
*
|
|
* Exports all subscription-related contracts, schemas, and provider mappers.
|
|
*
|
|
* Types are derived from Zod schemas (Schema-First Approach)
|
|
*/
|
|
|
|
// Constants
|
|
export { SUBSCRIPTION_STATUS, SUBSCRIPTION_CYCLE } from "./contract";
|
|
|
|
// Schemas (includes derived types)
|
|
export * from "./schema";
|
|
|
|
// Re-export types for convenience
|
|
export type {
|
|
SubscriptionStatus,
|
|
SubscriptionCycle,
|
|
Subscription,
|
|
SubscriptionList,
|
|
SubscriptionQueryParams,
|
|
SubscriptionQuery,
|
|
} from './schema';
|
|
|
|
// Provider adapters
|
|
export * as Providers from "./providers";
|