SHA256
Доделать профиль, связи и серверные миграции
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user