Finfry::Changeset
Inherits JSON::Serializable < Struct < Value < Object
A reversible unit of work — one manual command, or one approved AI plan. Records exactly what it changed so it can be undone. The ledger is an append-only set of independent, self-balancing transactions, so removing the transactions a changeset added never unbalances anything that came after.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
added_transaction_ids
Sourceat
Sourcebudget_changes
Sourcedeclared_accounts
Sourceempty?
Sourceid
Sourcekind
Sourceorigin
Sourcereversal?
SourceIf set, this changeset is the reversing entry that undid changeset N.
reverted
Views over the log (not persisted): undone by a revert mark; the commit kind (ledger / bookkeeping / mark); who made it.
reverted=(reverted : Bool)
Views over the log (not persisted): undone by a revert mark; the commit kind (ledger / bookkeeping / mark); who made it.
summary
Source