multiple payout page and small fixes

This commit is contained in:
Arseni
2026-02-11 02:48:30 +03:00
parent 66989ea36c
commit edb43f9909
77 changed files with 2120 additions and 1289 deletions

View File

@@ -10,12 +10,13 @@ part 'login_pending.g.dart';
class PendingLoginResponse {
final AccountResponse account;
final TokenData pendingToken;
final String destination;
@JsonKey(name: 'destination')
final String target;
const PendingLoginResponse({
required this.account,
required this.pendingToken,
required this.destination,
required this.target,
});
factory PendingLoginResponse.fromJson(Map<String, dynamic> json) => _$PendingLoginResponseFromJson(json);

View File

@@ -9,6 +9,7 @@ part 'payments.g.dart';
@JsonSerializable(explicitToJson: true)
class PaymentsResponse extends CursorPageResponse {
@JsonKey(defaultValue: <PaymentDTO>[])
final List<PaymentDTO> payments;
const PaymentsResponse({