Skip to content

RevenueWindow

A stretch of the ledger, summed: the total, how many sales, and an hour-by-hour line.

buckets: number[]

One per hour from the window’s start, oldest first, for the sparkline.


otherCurrencies: number

Entries in another currency: not added in (there’s no rate to add them at), but counted, so the total can say so.


sales: number


total: number

Minor units of the window’s currency.