mirror of
https://git.meshkee.com/Meshkee/backend.git
synced 2026-08-11 22:30:59 +04:30
Add defaultLocale, EN names, and dashboard activity endpoints.
Expose branding.defaultLocale, optional user EN name fields, and lightweight dual daily activity for orders/customers; update project context and rules. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
4598add88c
commit
43e3912662
@@ -18,7 +18,9 @@ API prefix: `/api/v1`. Package name: `meshkee-cms-api`.
|
||||
- Multi-tenant: `Business` is the tenant root; routes are `businesses/:businessId/...`
|
||||
- **Content Category** (`categories`) ≠ **Business Category** (`business_categories`) — do not confuse them
|
||||
- **Location Cities** (`cities`) — system reference tree (country → province → city) for address forms; not business-scoped. Distinct from **Addresses** (`addresses`) which store user/business street addresses
|
||||
- Blogs/portfolios exist in DB + permissions but have no Prisma models or API modules yet
|
||||
- Blogs + portfolios have Prisma models and CMS modules (`blogs/`, `portfolios/`)
|
||||
- Branding JSON includes `defaultLocale` (`fa` \| `en`, default `fa`) for dashboard language
|
||||
- Dashboard activity charts: `GET businesses/:id/orders/activity` and `.../customers/activity` (dual daily series, not website-facing)
|
||||
|
||||
## Schema changes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user