chore(app): сгенерированный Dart-клиент
just gen-client — покрывает links, cashflow-broker, ручные цены, imports/pending, goals/income/rebalance/tax/benchmarks.
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
|
||||
/// tests for BenchmarksApi
|
||||
void main() {
|
||||
final instance = FintrackerApi().getBenchmarksApi();
|
||||
|
||||
group(BenchmarksApi, () {
|
||||
// Benchmarks
|
||||
//
|
||||
// The portfolio's TWR beside each benchmark's, on the same grid of days. `days_skipped` is returned on both sides and is not cosmetic: a non-zero value on either means the two chains did not cover the same days, and the difference is then an approximation of an excess return rather than one.
|
||||
//
|
||||
//Future<BenchmarkComparison> benchmarksBenchmarks({ String scope, List<String?> period }) async
|
||||
test('test benchmarksBenchmarks', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Create
|
||||
//
|
||||
//Future<BenchmarkOut> benchmarksCreate(BenchmarkCreate benchmarkCreate) async
|
||||
test('test benchmarksCreate', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Delete
|
||||
//
|
||||
//Future benchmarksDelete(int benchmarkId) async
|
||||
test('test benchmarksDelete', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List
|
||||
//
|
||||
// Every benchmark, defaults first — the order the comparison block shows them in.
|
||||
//
|
||||
//Future<List<BenchmarkOut>> benchmarksList() async
|
||||
test('test benchmarksList', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Patch
|
||||
//
|
||||
//Future<BenchmarkOut> benchmarksPatch(int benchmarkId, BenchmarkPatch benchmarkPatch) async
|
||||
test('test benchmarksPatch', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user