TorbatYar/frontend/shared/constants/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

27 lines
735 B
Markdown

# `shared/constants/`
## Purpose
Application-wide constants: query keys, feature flags, app catalog entries, environment defaults.
## Legacy source (not moved)
- `lib/apps-catalog.ts` — SuperApp module launcher
- Query key prefixes documented in audit (`["me"]`, `["accounting", tenantId, …]`)
- Env defaults in `next.config.mjs`
## Planned contents
- `QUERY_KEYS` — platform-level cache keys
- `APP_MODULES` — app store catalog
- Route path constants for platform (not module routes)
## Rules
- Module nav configs stay in `lib/{module}-portals.ts` until module migration
- Module query key factories stay with module API clients
## Status
📁 Scaffold only — constants remain in `lib/`.