28 lines
694 B
TypeScript

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