feat(network): add latest package leg totals to network statistics response
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 7m51s

- Introduced new properties for GoldLeftLegTotal, GoldRightLegTotal, SilverLeftLegTotal, and SilverRightLegTotal in GetNetworkStatisticsResponseDto.
- Implemented LoadLatestPackageLegScoresAsync method in GetNetworkStatisticsQueryHandler to fetch the latest leg totals for the user.
- Updated Protobuf definitions to include new fields for leg totals in GetMyNetworkStatisticsResponse.
- Bumped Protobuf project version to reflect the addition of new features.
This commit is contained in:
masoodafar-web
2026-08-27 21:28:03 +03:30
parent ea1d2d4400
commit 87d61abc5b
5 changed files with 88 additions and 96 deletions
@@ -328,6 +328,11 @@ message GetMyNetworkStatisticsResponse
string my_network_leg = 11;
string my_referral_code = 12;
CustomerLastMemberModel last_member = 13;
// آخرین NetworkWeeklyBalance خود کاربر — برای نوار آمار پایین شجره (D3)
int32 gold_left_leg_total = 14;
int32 gold_right_leg_total = 15;
int32 silver_left_leg_total = 16;
int32 silver_right_leg_total = 17;
}
message CustomerLastMemberModel