2025-10-03 14:26:55 +09:00
|
|
|
/**
|
|
|
|
|
* Domain Toolkit
|
|
|
|
|
*
|
|
|
|
|
* Utility functions and helpers used across all domain packages.
|
|
|
|
|
*/
|
|
|
|
|
|
2025-12-10 15:22:10 +09:00
|
|
|
export * as Formatting from "./formatting/index.js";
|
|
|
|
|
export * as Validation from "./validation/index.js";
|
|
|
|
|
export * as Typing from "./typing/index.js";
|
2025-10-03 14:26:55 +09:00
|
|
|
|
2025-10-09 10:49:03 +09:00
|
|
|
// Re-export commonly used utilities for convenience
|
2025-12-10 15:22:10 +09:00
|
|
|
export { formatCurrency } from "./formatting/currency.js";
|
|
|
|
|
export type { SupportedCurrency } from "./formatting/currency.js";
|
2025-10-09 10:49:03 +09:00
|
|
|
|
|
|
|
|
// Re-export AsyncState types and helpers
|
2025-12-10 15:22:10 +09:00
|
|
|
export type { AsyncState } from "./typing/helpers.js";
|
2025-10-09 10:49:03 +09:00
|
|
|
export {
|
|
|
|
|
createIdleState,
|
|
|
|
|
createLoadingState,
|
|
|
|
|
createSuccessState,
|
|
|
|
|
createErrorState,
|
|
|
|
|
isIdle,
|
|
|
|
|
isLoading,
|
|
|
|
|
isSuccess,
|
|
|
|
|
isError,
|
2025-12-10 15:22:10 +09:00
|
|
|
} from "./typing/helpers.js";
|
2025-10-09 10:49:03 +09:00
|
|
|
|