Доделать профиль, связи и серверные миграции

This commit is contained in:
AidarKC
2026-09-01 18:14:55 +04:00
parent 632d56737b
commit c03d94105c
42 changed files with 1555 additions and 414 deletions
+12
View File
@@ -2905,6 +2905,18 @@ export class AuthService {
return response.payload || {};
}
async listUserProfileRelations(login, listType, limit = 100, offset = 0) {
const response = await this.ws.request('ListUserProfileRelations', { login, listType, limit, offset });
if (response.status !== 200) throw opError('ListUserProfileRelations', response);
return response.payload || {};
}
async listUserProfileChannels(login, mode, limit = 100, offset = 0) {
const response = await this.ws.request('ListUserProfileChannels', { login, mode, limit, offset });
if (response.status !== 200) throw opError('ListUserProfileChannels', response);
return response.payload || {};
}
async searchUsers(prefix, options = {}) {
const payload = { prefix };
if (typeof options?.isServer === 'boolean') {