Files
evig/scripts
g-butandClaude Opus 4.5 da9351f6f4 feat(services): unify admin and public services with SSOT architecture
- Create unified service layer merging DB operational data with presentation config
- Add migration 017 to align service_types slugs with marketing data
- Refactor service detail pages to use getService() from unified layer
- Update API route to use getFeaturedServices/getBookableServices
- Add SERVICE_CATEGORIES and FEATURED_SERVICE_SLUGS constants
- Update service components to import types from @/lib/services
- Fix Next.js 16 params handling (await params)
- Mark src/data/services.ts as deprecated

Architecture:
- Database (service_types) = SSOT for operational data (prices, availability)
- Presentation config = rich display data (icons, features, process steps)
- Unified layer merges both for components to consume

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 12:29:35 +01:00
..
2026-01-07 19:57:05 +01:00