- Changed TypeScript target and library settings in tsconfig files to align with ESNext standards. - Updated pnpm version in GitHub workflows for better dependency management. - Modified Dockerfile to reflect the updated pnpm version. - Adjusted import statements across various domain modules to include file extensions for consistency and compatibility. - Cleaned up TypeScript configuration files for improved clarity and organization.
28 lines
696 B
TypeScript
28 lines
696 B
TypeScript
/**
|
|
* 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";
|
|
|