tpmjs/packages/npm-client/src
Ajax Davis 48c41e8733 feat: add use cases marketing product with AI-generated content
Transform qualifying scenarios into marketing-ready use cases with:
- AI-generated titles, descriptions, ROI estimates, business value
- Persona/industry/category taxonomy for targeting
- Browseable feed with filtering and ranking
- SEO-optimized case study pages
- Daily cron job for generation and ranking

Database:
- Add Persona, Industry, Category lookup tables
- Add UseCase model with marketing content fields
- Add junction tables for personas/industries/categories
- Add SocialProof model for cached metrics

API:
- GET /api/use-cases - Global directory with filtering
- GET /api/use-cases/[id] - Individual use case details
- GET /api/public/users/[username]/collections/[slug]/use-cases
- POST /api/cron/use-cases - Nightly generation job

Frontend:
- /use-cases - Global feed with persona dropdown
- /use-cases/[slug] - SEO case study page
- /[username]/collections/[slug]/use-cases - Collection feed
- UseCasesFeed component - Sortable table component
- UseCaseCaseStudy component - Full case study layout
2026-01-20 16:17:35 +10:00
..
changes.ts feat(npm-client): create NPM registry API client package 2025-11-28 02:19:59 +10:00
github.ts feat: add GitHub stars syncing to metrics sync 2026-01-07 14:11:06 +10:00
index.ts feat: add use cases marketing product with AI-generated content 2026-01-20 16:17:35 +10:00
package.ts feat: upgrade to AI SDK v6 beta and Zod v4 to fix tool schema errors 2025-11-30 19:14:01 +10:00
rate-limiter.ts feat(npm-client): create NPM registry API client package 2025-11-28 02:19:59 +10:00
search.ts feat(npm-client): create NPM registry API client package 2025-11-28 02:19:59 +10:00
stats.ts feat(npm-client): create NPM registry API client package 2025-11-28 02:19:59 +10:00