- Added a new script to check domain imports, promoting better import hygiene across the codebase. - Refactored multiple domain index files to remove unnecessary type re-exports, streamlining the module structure. - Expanded documentation on import patterns and validation processes to provide clearer guidance for developers. - Included an architecture diagram to illustrate the relationships between the Portal, BFF, and Domain packages.
15 lines
327 B
TypeScript
15 lines
327 B
TypeScript
/**
|
|
* Billing Domain
|
|
*
|
|
* Exports all billing-related contracts, schemas, and provider mappers.
|
|
*
|
|
* Types are derived from Zod schemas (Schema-First Approach)
|
|
*/
|
|
|
|
// Constants
|
|
export { INVOICE_STATUS } from "./contract.js";
|
|
export * from "./constants.js";
|
|
|
|
// Schemas (includes derived types)
|
|
export * from "./schema.js";
|