2025-10-03 14:26:55 +09:00
|
|
|
/**
|
|
|
|
|
* Domain Toolkit
|
|
|
|
|
*
|
|
|
|
|
* Utility functions and helpers used across all domain packages.
|
|
|
|
|
*/
|
|
|
|
|
|
2025-10-08 18:35:05 +09:00
|
|
|
export * as Formatting from "./formatting/index";
|
|
|
|
|
export * as Validation from "./validation/index";
|
|
|
|
|
export * as Typing from "./typing/index";
|
2025-10-03 14:26:55 +09:00
|
|
|
|
2025-10-09 10:49:03 +09:00
|
|
|
// Re-export commonly used utilities for convenience
|
2025-10-20 14:01:29 +09:00
|
|
|
export { formatCurrency } from "./formatting/currency";
|
2025-10-09 10:49:03 +09:00
|
|
|
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";
|
|
|
|
|
|