1.1 KiB
1.1 KiB
Static App Data
Purpose
Static UI configuration lives in frontend/src/shared/constants/appData.ts.
Current Contents
The file contains only non-secret frontend configuration and static UI assets:
- module navigation metadata
- hero and handbook images
Rules
- Keep only UI configuration and static UI assets in this file.
- Do not use this file for tenant-owned persisted records or product/content catalogs.
- Move newly persisted workflows to typed backend APIs and business hooks.
- Further domain split is allowed when UI configuration becomes large enough to justify its own shared constant file.
- Campus records and branding are backend-owned and are loaded through
GET /api/public/campuses; frontend campus helpers must not define campus rows, names, mascot labels, descriptions, or per-campus branding. - Editable/scoped product content catalogs are backend-owned and are loaded through authenticated
GET /api/content-catalog/read/:contentType. Truly global static catalogs, such as classroom-timer presets and personality quiz content, live in dedicated shared constant files.