Commit graph

4 commits

Author SHA1 Message Date
b31e8666a5 feat(entities): production + report — types, lib, api, tests floutage (Sprint 3 étape 13) 2026-04-19 03:37:41 +03:00
107a37d197 feat(entities/user): PlanStatus + getPlanStatus + hook usePlan (Sprint 1 étape 1)
Fondations data plan utilisateur pour le dashboard conditionnel :
- entities/user/types.ts : interface PlanStatus (plan, permissions, simulations_used/remaining, plan_expires_at)
- entities/user/api.ts : getPlanStatus() via apiFetch<PlanStatus>('/plans/status')
- features/dashboard/hooks/usePlan.ts : useQuery + PLAN_QUERY_KEY + staleTime 5 min

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 02:00:12 +03:00
720d4dbbf8 style(format): appliquer Prettier sur 6 fichiers du scaffold Sprint 0
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 17:56:20 +03:00
ef9a84433e feat(entities/user): access.ts (copie backend) + lib.ts (hasAccess/canSimulate) + 37 tests 2026-04-17 17:45:40 +03:00