add: system methods for search
Some checks failed
Publish / Publish Job (push) Failing after 2m35s

This commit is contained in:
Дмитрий
2026-04-19 10:50:12 +03:00
parent 5053e031dd
commit 4be5b29131
2 changed files with 35 additions and 0 deletions

View File

@@ -17,6 +17,8 @@ service UsersService {
rpc GetBlockedUsers (GetBlockedUsersRequest) returns (GetBlockedUsersResponse);
rpc AddContact (AddContactRequest) returns (AddContactResponse);
rpc GetContacts (GetContactsRequest) returns (GetContactsResponse);
rpc SystemGetProfileBatch(SystemGetProfileBatchRequest) returns (SystemGetProfileBatchResponse);
}
message UserSettingsMessage {
@@ -129,4 +131,20 @@ message GetBlockedUsersRequest {
}
message GetBlockedUsersResponse {
repeated BlockedUserItem blocked_users = 1;
}
message SystemGetProfileBatchRequest {
repeated string user_ids = 1;
}
message ProfileBasicItem {
string id = 1;
optional string email = 2;
optional string phone = 3;
optional string full_name = 4;
bool is_public = 5;
}
message SystemGetProfileBatchResponse {
repeated ProfileBasicItem profiles = 1;
}