Public API contract changed. The frontend counterpart (#168) is already in develop.
Replaces #203: same diff, a single commit squashed on top of the current develop. The previous commit failed commitlint (body-max-line-length).
## Summary
The system supports only RUB. Non-RUB data is filtered out at ingest, and per-currency collections are collapsed into a single RUB Money.
## Linked Issue
WealthLedger/main#55. Related: WealthLedger/frontend#168, WealthLedger/docs#68 and WealthLedger/specs#86 (already merged).
## Changes
- Ingest filters for T-Bank and MOEX; shared `rubMoney`.
- API: `totalsByCurrency`→`totals`, `cashBalances`→`cash`, `structure.currencies` removed, `unrealizedReturnByCurrency`/income totals/events `incomeTotalsByCurrency` → single Money.
- Screener currency filter removed; `NON_RUB_ACTIVITY` removed; non-RUB flows do not enter XIRR.
- Migrations: `20261108000000_rub_only_value_points`, `20261108000001_rub_only_resync_now`.
## Verification
On top of develop with #202 merged:
- `npm run verify`: pass (367)
- `npm run test:e2e`: pass
## Breaking Changes
Public API contract changed. The frontend counterpart (#168) is already in develop.
Filter non-RUB data at ingest and collapse per-currency collections
into a single RUB Money. Drop currency from TbankPortfolioValuePoint,
remove NON_RUB_ACTIVITY and the screener currency filter.
BREAKING CHANGE: per-currency API fields replaced with single RUB Money.
codex-bot
scheduled this pull request to auto merge when all checks succeed 2026-11-11 09:42:56 +03:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Replaces #203: same diff, a single commit squashed on top of the current develop. The previous commit failed commitlint (body-max-line-length).
Summary
The system supports only RUB. Non-RUB data is filtered out at ingest, and per-currency collections are collapsed into a single RUB Money.
Linked Issue
WealthLedger/main#55. Related: WealthLedger/frontend#168, WealthLedger/docs#68 and WealthLedger/specs#86 (already merged).
Changes
rubMoney.totalsByCurrency→totals,cashBalances→cash,structure.currenciesremoved,unrealizedReturnByCurrency/income totals/eventsincomeTotalsByCurrency→ single Money.NON_RUB_ACTIVITYremoved; non-RUB flows do not enter XIRR.20261108000000_rub_only_value_points,20261108000001_rub_only_resync_now.Verification
On top of develop with #202 merged:
npm run verify: pass (367)npm run test:e2e: passBreaking Changes
Public API contract changed. The frontend counterpart (#168) is already in develop.