TorbatYar/frontend/shared/utils/README.md
Mortezakoohjani 6f4a484051 Migrate Beauty, Healthcare, and Accounting frontend to modular src/modules architecture.
Move business logic out of App Router into module packages, add boundary validation scripts, and keep all routes as thin re-exports without changing URLs or API behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 22:28:27 +03:30

26 lines
542 B
Markdown

# `shared/utils/`
## Purpose
Pure utility functions with no React or domain dependencies.
## Legacy source (not moved)
- `lib/utils.ts``cn`, `parseMoneyInput`, `formatMoney`, and related helpers (~47 import sites)
## Planned contents
- `cn()` — clsx + tailwind-merge
- Money formatting/parsing (Rial)
- Phone normalization
- URL/query helpers
## Allowed dependencies
- External: `clsx`, `tailwind-merge`
- No React, no API clients
## Status
📁 Scaffold only — utilities remain in `lib/utils.ts`.