28 lines
696 B
TypeScript
Raw Normal View History

/**
* Domain Toolkit
*
* Utility functions and helpers used across all domain packages.
*/
export * as Formatting from "./formatting/index.js";
export * as Validation from "./validation/index.js";
export * as Typing from "./typing/index.js";
// Re-export commonly used utilities for convenience
export { formatCurrency } from "./formatting/currency.js";
export type { SupportedCurrency } from "./formatting/currency.js";
// Re-export AsyncState types and helpers
export type { AsyncState } from "./typing/helpers.js";
export {
createIdleState,
createLoadingState,
createSuccessState,
createErrorState,
isIdle,
isLoading,
isSuccess,
isError,
} from "./typing/helpers.js";