code wiki / (root) / nx_finance_web.nx

nx_finance_web.nx

buildroot/runtime/nx_finance_web.nx

30395 B392 linesdepth 9pulls 24 transitivereach 6 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_finance_web.nx -- the SOVEREIGN, ZERO-JAVASCRIPT nishifamily.com/finance dashboard renderer. ONE renderer (fw_render), TWO consumers (DRY #15): the static emitter (nx_fin_dashboard -> a file the Publisher ships) AND the live OPAQUE route (olg_route GET /finance, session-gated like /audio). The page is SERVER-COMPUTED: the debt-payoff plan (avalanche vs snowball) is run LIVE through nx_debt -> nx_money at render time, so the numbers are the real engine's output, not hardcoded. dbt_strategy is pure (no store), so this is safe to run inside the daemon request path. 0 <script>: themes via radio/:checked, no client code -- all logic is in this Nishi organ (operator: "no js, nishi everywhere"). license_tier: ORIGINAL

dependencies 13 imports · 3 importers

nx_syscalls.nx nx_money.nx nx_debt_payoff.nx nx_fin_finance.nx nx_bills.nx nx_accommodate.nx nx_adhd.nx nx_purchase.nx nx_climbout.nx nx_intake_profile.nx nx_finance_web.nx nx_fin_dashboard.nx nx_fin_dashboard_gate.nx nx_opaque_login_routes.nx

diagram shows first 10 each side; +3 more imports, +0 more importers in the complete lists below.

imports: nx_syscalls.nxnx_money.nxnx_debt_payoff.nxnx_fin_finance.nxnx_bills.nxnx_accommodate.nxnx_adhd.nxnx_purchase.nxnx_climbout.nxnx_intake_profile.nxnx_climbout_real.nxnx_climbout_progress.nxnx_bills_store.nx

imported by: nx_fin_dashboard.nxnx_fin_dashboard_gate.nxnx_opaque_login_routes.nx

structs

none

consts

none

functions

23func fw_cat(out: *u8, off: i64, s: *u8) -> i64
called by 1: fw_render
29func fw_n(out: *u8, off: i64, v: i64) -> i64
called by 2: fw_moneyfw_render calls 1: sys_mmap
38func fw_money(out: *u8, off: i64, cents: i64) -> i64
called by 1: fw_render calls 1: fw_n
53func fw_day_of_month(epoch_sec: i64) -> i64
66func fw_tier_label(tier: i64) -> *u8
called by 1: fw_render
79func fw_progress_advance(respondent: *u8) -> i64
97func fw_bill_cat_label(cat: i64) -> *u8
called by 1: fw_render
105func fw_cadence_label(cad: i64) -> *u8
called by 1: fw_render
114func fw_render(out: *u8, respondent: *u8) -> i64