Кэш для GIF, подсветка цитат и ответов
This commit is contained in:
@@ -382,6 +382,15 @@ class ApiClient {
|
||||
async getIceServers() {
|
||||
return this.request<{ iceServers: RTCIceServer[] }>('/webrtc/ice-servers');
|
||||
}
|
||||
|
||||
// Klipy
|
||||
async getTrendingGifs() {
|
||||
return this.request<any>('/klipy/trending');
|
||||
}
|
||||
|
||||
async searchKlipyGifs(query: string) {
|
||||
return this.request<any>(`/klipy/search?q=${encodeURIComponent(query)}`);
|
||||
}
|
||||
}
|
||||
|
||||
export const api = new ApiClient();
|
||||
|
||||
Reference in New Issue
Block a user