Skip to main content

Module reports

Module reports 

Source
Expand description

Wire → view mapping for the three report natives.

All functions are pure and DB-free: they accept a nomiscript::Value decoded from the wire string and project it into the server-side view structs the TUI renders.

Functions§

value_to_activity_periods
Map the activity-report wire string into period views for the chart adapter.
value_to_balance_rows
Map the balance-report wire string into a flat row list for the chart adapter.
value_to_breakdown_periods
Map the category-breakdown wire string into period views for the chart adapter.