chore(app): сгенерированный Dart-клиент

just gen-client — покрывает links, cashflow-broker, ручные цены,
imports/pending, goals/income/rebalance/tax/benchmarks.
This commit is contained in:
Dmitry
2026-09-19 10:46:09 +03:00
parent b69bb4a0c9
commit ccd06f32f7
242 changed files with 25877 additions and 3 deletions
@@ -0,0 +1,29 @@
import 'package:test/test.dart';
import 'package:fintracker_api/fintracker_api.dart';
/// tests for TaxApi
void main() {
final instance = FintrackerApi().getTaxApi();
group(TaxApi, () {
// Lots
//
// Open lots with the date after which a sale falls under the long-term exemption. `year` selects the rate the \"what if I sold today\" figure is computed at; the lots themselves are always the ones open right now. `lot` is rebuilt from the ledger on every refresh and holds today's state only, so there is no honest way to answer \"which lots were open on 31 December two years ago\" — and inventing one would be worse than the limitation.
//
//Future<TaxLotsOut> taxLots({ int year, int accountId }) async
test('test taxLots', () async {
// TODO
});
// Summary
//
// The year's estimated tax position, per account and in total.
//
//Future<TaxYearOut> taxSummary({ int year, int accountId }) async
test('test taxSummary', () async {
// TODO
});
});
}