learning_ai_common_plat/services/platform-service/src
saravanakumardb1 365061566a feat(platform-service): add getRequestProductId() + getRequestProductConfig() helpers
- New lib/request-context.ts with product validation against cache
- Priority: JWT payload > X-Product-Id header > env var fallback
- Rejects unknown or disabled products with 400 Bad Request
- Augments FastifyRequest with jwtPayload type declaration
- getRequestProductConfig() for modules needing product-specific values
2026-02-15 14:14:17 -08:00
..
lib feat(platform-service): add getRequestProductId() + getRequestProductConfig() helpers 2026-02-15 14:14:17 -08:00
modules feat(platform-service): add products module (types, repository, cache, routes) 2026-02-15 14:13:03 -08:00
server.ts feat(platform-service): add products module (types, repository, cache, routes) 2026-02-15 14:13:03 -08:00