/api/internal/costs and /estimate now include a meters array (same consumption/cost-split/basis rows as the in-app Reports/Estimates pages) alongside the existing category totals, so external callers (reports app's Weekly Actuals) can render a per-meter table instead of just category rollups. Adds /api/internal/trend?months=12 — per-category cost/consumption for the last N months plus the same N months a year earlier, computed in one call for a "this year vs last year" chart. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Dockerfile | ||
| package.json | ||