chore(app): сгенерированный Dart-клиент
just gen-client — покрывает links, cashflow-broker, ручные цены, imports/pending, goals/income/rebalance/tax/benchmarks.
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
|
||||
/// tests for RebalanceApi
|
||||
void main() {
|
||||
final instance = FintrackerApi().getRebalanceApi();
|
||||
|
||||
group(RebalanceApi, () {
|
||||
// Rebalance
|
||||
//
|
||||
//Future<RebalanceOut> rebalanceRebalance(int portfolioId, { String dimension, CashAvailable cashAvailable }) async
|
||||
test('test rebalanceRebalance', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Set Targets
|
||||
//
|
||||
// Replace the whole set for one dimension. The weights must add up to 1 within `WEIGHT_TOLERANCE`; otherwise the request is refused with the actual sum in the message, so the user can see by how much the plan misses rather than being handed a silently rescaled one.
|
||||
//
|
||||
//Future<TargetsOut> rebalanceSetTargets(int portfolioId, TargetsIn targetsIn) async
|
||||
test('test rebalanceSetTargets', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Targets
|
||||
//
|
||||
//Future<TargetsOut> rebalanceTargets(int portfolioId, { String dimension }) async
|
||||
test('test rebalanceTargets', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user