feat: add club membership filters and activation details to network tree
All checks were successful
Build and Deploy to Kubernetes / build-and-deploy (push) Successful in 2m13s

This commit is contained in:
masoodafar-web
2025-12-14 02:56:04 +03:30
parent 6ae1b0cd70
commit cf75f14003
6 changed files with 199 additions and 14 deletions

View File

@@ -155,6 +155,8 @@ message GetNetworkTreeRequest
int64 user_id = 1;
google.protobuf.Int32Value max_depth = 2;
google.protobuf.BoolValue only_active = 3;
google.protobuf.BoolValue is_club_active = 4;
google.protobuf.StringValue activation_week_number = 5;
}
message GetNetworkTreeResponse
@@ -171,6 +173,10 @@ message NetworkTreeNodeModel
int32 network_level = 5;
bool is_active = 6;
google.protobuf.Timestamp joined_at = 7;
google.protobuf.Timestamp club_activated_at = 8; // تاریخ فعال‌سازی در باشگاه
bool is_club_active = 9; // فعال بودن در باشگاه
string activation_week_number = 10; // شماره هفته فعال‌سازی
google.protobuf.Timestamp user_created = 11; // تاریخ ایجاد کاربر
}
// GetHistory Query